/*======================================
SaffronNode Calculator
Part 1
======================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{

    --primary:#f5b841;
    --primary-dark:#d99d24;
    --bg:#050505;
    --surface:#101010;
    --surface-2:#171717;
    --border:#2b2b2b;
    --text:#ffffff;
    --muted:#9c9c9c;
    --radius:20px;
    --transition:.35s ease;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);
    color:var(--text);
    font-family:'Inter',sans-serif;
    overflow-x:hidden;

}

body::before{

    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top,
    rgba(245,184,65,.08),
    transparent 55%);
    pointer-events:none;
    z-index:-1;

}

a{

    text-decoration:none;
    color:inherit;

}

img{

    display:block;
    max-width:100%;

}

section{

    padding:90px 8%;

}

.section-title{

    text-align:center;
    margin-bottom:70px;

}

.section-title span{

    display:inline-block;
    padding:8px 18px;
    border:1px solid rgba(245,184,65,.25);
    border-radius:50px;
    background:rgba(245,184,65,.08);
    color:var(--primary);
    font-size:.82rem;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:20px;

}

.section-title h2{

    font-size:2.7rem;
    margin-bottom:18px;

}

.section-title p{

    color:var(--muted);
    max-width:700px;
    margin:auto;
    line-height:1.8;

}

/*======================================
NAVBAR
======================================*/

.navbar{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(10,10,10,.72);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.05);

}

.nav-container{

    max-width:1400px;
    margin:auto;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;

}

.logo{

    display:flex;
    align-items:center;
    gap:12px;
    font-size:1.35rem;
    font-weight:800;

}

.logo img{

    width:46px;

}

.nav-links{

    display:flex;
    gap:40px;
    list-style:none;

}

.nav-links a{

    color:#d6d6d6;
    transition:.3s;

}

.nav-links a:hover,
.nav-links .active{

    color:var(--primary);

}

.nav-buttons{

    display:flex;
    align-items:center;
    gap:15px;

}

.client-btn{

    padding:12px 22px;
    border-radius:12px;
    border:1px solid var(--border);
    transition:.3s;

}

.client-btn:hover{

    border-color:var(--primary);
    color:var(--primary);

}

.launch-btn{

    padding:12px 24px;
    border-radius:12px;
    background:linear-gradient(135deg,
    var(--primary),
    #ffcf6c);
    color:#111;
    font-weight:700;
    transition:.35s;

}

.launch-btn:hover{

    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(245,184,65,.25);

}

/*======================================
HERO
======================================*/

.hero{

    padding-top:180px;
    padding-bottom:90px;
    text-align:center;

}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    border-radius:50px;
    border:1px solid rgba(245,184,65,.25);
    background:rgba(245,184,65,.08);
    color:var(--primary);
    font-weight:700;
    margin-bottom:30px;

}

.hero h1{

    font-size:4.4rem;
    line-height:1.1;
    margin-bottom:20px;

}

.hero h1 span{

    display:block;
    color:var(--primary);

}

.hero p{

    max-width:760px;
    margin:auto;
    color:var(--muted);
    line-height:1.9;
    font-size:1.08rem;

}
/*======================================
CALCULATOR LAYOUT
Part 2A
======================================*/

.calculator-section{

    padding-top:20px;
    padding-bottom:100px;

}

.calculator-wrapper{

    max-width:1450px;
    margin:auto;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:40px;
    align-items:start;

}

.calculator-card{

    background:linear-gradient(180deg,#121212,#0c0c0c);
    border:1px solid rgba(255,255,255,.06);
    border-radius:28px;
    padding:40px;
    position:sticky;
    top:110px;
    overflow:hidden;

}

.calculator-card::before{

    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:radial-gradient(circle,
    rgba(245,184,65,.12),
    transparent 70%);
    top:-120px;
    right:-120px;
    pointer-events:none;

}

.card-header{

    margin-bottom:40px;

}

.card-header h2{

    display:flex;
    align-items:center;
    gap:14px;
    font-size:2rem;
    margin-bottom:10px;

}

.card-header h2 i{

    color:var(--primary);

}

.card-header p{

    color:var(--muted);
    line-height:1.7;

}





/*======================================
CONFIG GROUP
======================================*/

.config-group{

    margin-bottom:32px;

}

.config-group label{

    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    margin-bottom:15px;
    color:#fff;

}

.config-group label i{

    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(245,184,65,.12);
    color:var(--primary);
    font-size:1rem;

}





/*======================================
SELECT
======================================*/

.config-group select{

    width:100%;
    height:56px;
    border:none;
    outline:none;
    border-radius:16px;
    padding:0 18px;
    background:#1a1a1a;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
    font-size:.95rem;

}

.config-group select:hover{

    border-color:rgba(245,184,65,.35);

}

.config-group select:focus{

    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(245,184,65,.12);

}





/*======================================
SLIDER
======================================*/

.slider-value{

    display:flex;
    justify-content:flex-end;
    margin-bottom:12px;

}

.slider-value span{

    background:rgba(245,184,65,.12);
    color:var(--primary);
    padding:7px 15px;
    border-radius:50px;
    font-weight:700;
    font-size:.9rem;

}

input[type="range"]{

    width:100%;
    appearance:none;
    height:8px;
    border-radius:50px;
    background:#202020;
    cursor:pointer;

}

input[type="range"]::-webkit-slider-thumb{

    appearance:none;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--primary);
    border:3px solid #fff;
    cursor:pointer;
    box-shadow:0 0 18px rgba(245,184,65,.5);

}

input[type="range"]::-moz-range-thumb{

    width:22px;
    height:22px;
    border:none;
    border-radius:50%;
    background:var(--primary);

}





/*======================================
TOGGLE BUTTONS
======================================*/

.toggle-group{

    display:flex;
    gap:15px;

}

.toggle-btn{

    flex:1;
    height:54px;
    border:none;
    border-radius:14px;
    background:#191919;
    color:#bdbdbd;
    border:1px solid rgba(255,255,255,.06);
    cursor:pointer;
    transition:.3s;
    font-weight:700;

}

.toggle-btn:hover{

    border-color:rgba(245,184,65,.35);

}

.toggle-btn.active{

    background:linear-gradient(135deg,
    var(--primary),
    #ffcf6c);

    color:#111;
    border-color:transparent;

}





/*======================================
CALCULATE BUTTON
======================================*/

.calculate-area{

    margin-top:45px;

}

.calculate-btn{

    width:100%;
    height:62px;
    border:none;
    border-radius:18px;
    cursor:pointer;
    background:linear-gradient(135deg,
    var(--primary),
    #ffd56d);

    color:#111;
    font-size:1rem;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:.35s;

}

.calculate-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 18px 35px rgba(245,184,65,.25);

}

.calculate-btn i{

    font-size:1rem;

}
/*======================================
RECOMMENDATION CARD
Part 2B
======================================*/

.recommendation-card{

    background:linear-gradient(180deg,#131313,#0c0c0c);
    border:1px solid rgba(255,255,255,.06);
    border-radius:28px;
    padding:40px;
    position:sticky;
    top:110px;
    overflow:hidden;

}

.recommendation-card::before{

    content:"";
    position:absolute;
    width:320px;
    height:320px;
    top:-120px;
    right:-120px;

    background:radial-gradient(circle,
    rgba(245,184,65,.12),
    transparent 70%);

    pointer-events:none;

}





/*======================================
HEADER
======================================*/

.recommend-header{

    text-align:center;
    margin-bottom:35px;

}

.recommend-header span{

    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(245,184,65,.12);
    color:var(--primary);
    font-size:.8rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:16px;

}

.recommend-header h2{

    font-size:2rem;

}





/*======================================
MOB HEAD
======================================*/

.mob-head{

    width:140px;
    height:140px;
    margin:0 auto 25px;
    border-radius:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(135deg,
    rgba(245,184,65,.12),
    rgba(245,184,65,.03));

    border:1px solid rgba(245,184,65,.18);

}

.mob-head img{

    width:105px;
    image-rendering:pixelated;

}





/*======================================
PLAN INFO
======================================*/

#recommendedPlan{

    text-align:center;
    font-size:2rem;
    margin-bottom:8px;

}

#recommendedSeries{

    text-align:center;
    color:var(--primary);
    font-weight:700;
    margin-bottom:22px;

}

.recommended-price{

    text-align:center;
    font-size:3rem;
    font-weight:800;
    color:#fff;
    margin-bottom:35px;

}

.recommended-price span{

    font-size:1rem;
    color:var(--muted);
    font-weight:500;

}





/*======================================
CONFIDENCE
======================================*/

.confidence{

    margin-bottom:35px;

}

.confidence-top{

    display:flex;
    justify-content:space-between;
    margin-bottom:12px;

    font-weight:600;

}

.confidence-top span:last-child{

    color:var(--primary);

}

.confidence-bar{

    width:100%;
    height:10px;
    border-radius:50px;
    overflow:hidden;
    background:#202020;

}

#confidenceFill{

    width:98%;
    height:100%;

    background:linear-gradient(90deg,
    var(--primary),
    #ffd86d);

    border-radius:50px;

}





/*======================================
RESOURCE SECTION
======================================*/

.resource-section{

    margin-bottom:35px;

}

.resource-section h3{

    margin-bottom:22px;
    font-size:1.2rem;

}

.resource-item{

    margin-bottom:20px;

}

.resource-top{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;

}

.resource-top span:first-child{

    display:flex;
    align-items:center;
    gap:10px;

}

.resource-top i{

    color:var(--primary);

}

.progress{

    width:100%;
    height:9px;
    background:#1f1f1f;
    border-radius:50px;
    overflow:hidden;

}

#ramBar,
#cpuBar,
#storageBar{

    width:40%;
    height:100%;
    border-radius:50px;

    background:linear-gradient(90deg,
    var(--primary),
    #ffd76a);

    transition:.45s ease;

}





/*======================================
WHY SECTION
======================================*/

.why-section{

    margin-bottom:35px;

}

.why-section h3{

    margin-bottom:18px;

}

.why-section ul{

    list-style:none;

}

.why-section li{

    display:flex;
    align-items:center;
    gap:12px;

    padding:12px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

    color:#d7d7d7;

}

.why-section li:last-child{

    border-bottom:none;

}

.why-section i{

    color:var(--primary);

}





/*======================================
DEPLOY BUTTON
======================================*/

.recommend-actions{

    margin-top:35px;

}

.deploy-btn{

    width:100%;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    border-radius:18px;

    background:linear-gradient(135deg,
    var(--primary),
    #ffd76d);

    color:#111;

    font-weight:800;

    transition:.35s;

}

.deploy-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 18px 35px rgba(245,184,65,.25);

}
/*======================================
FAQ
======================================*/

.faq-section{

    padding-top:100px;

}

.faq-container{

    max-width:900px;
    margin:60px auto 0;

}

.faq-item{

    background:#111;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    margin-bottom:18px;
    overflow:hidden;
    transition:.35s;

}

.faq-item:hover{

    border-color:rgba(245,184,65,.25);

}

.faq-question{

    width:100%;
    background:none;
    border:none;
    color:#fff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:24px 28px;

    cursor:pointer;

    font-size:1rem;
    font-weight:700;

}

.faq-question i{

    color:var(--primary);
    transition:.35s;

}

.faq-answer{

    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;

}

.faq-answer p{

    padding:0 28px 24px;
    color:var(--muted);
    line-height:1.8;

}

.faq-item.active .faq-answer{

    max-height:250px;

}

.faq-item.active .faq-question i{

    transform:rotate(45deg);

}





/*======================================
CTA
======================================*/

.cta-section{

    padding:110px 8%;

}

.cta-content{

    max-width:1000px;
    margin:auto;

    text-align:center;

    background:linear-gradient(180deg,#141414,#0d0d0d);

    border:1px solid rgba(245,184,65,.15);

    border-radius:28px;

    padding:70px 40px;

}

.cta-content span{

    display:inline-block;

    padding:8px 20px;

    border-radius:50px;

    background:rgba(245,184,65,.1);

    color:var(--primary);

    font-weight:700;

    margin-bottom:25px;

}

.cta-content h2{

    font-size:3rem;
    margin-bottom:18px;

}

.cta-content p{

    color:var(--muted);
    max-width:650px;
    margin:auto auto 35px;
    line-height:1.8;

}

.cta-buttons{

    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;

}

.primary-btn,
.secondary-btn{

    padding:16px 34px;
    border-radius:14px;
    transition:.35s;
    font-weight:700;

}

.primary-btn{

    background:linear-gradient(135deg,
    var(--primary),
    #ffd76d);

    color:#111;

}

.primary-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(245,184,65,.25);

}

.secondary-btn{

    border:1px solid rgba(255,255,255,.08);
    color:#fff;

}

.secondary-btn:hover{

    border-color:var(--primary);
    color:var(--primary);

}





/*======================================
FOOTER
======================================*/

.footer{

    border-top:1px solid rgba(255,255,255,.06);
    padding:30px 8%;
    text-align:center;
    color:var(--muted);

}





/*======================================
RESPONSIVE
======================================*/

@media (max-width:1100px){

.calculator-wrapper{

grid-template-columns:1fr;

}

.calculator-card,
.recommendation-card{

position:static;

}

}

@media (max-width:768px){

.hero h1{

font-size:3rem;

}

.section-title h2{

font-size:2rem;

}

.nav-links{

display:none;

}

.nav-buttons{

display:none;

}

.calculator-card,
.recommendation-card{

padding:28px;

}

.cta-content{

padding:50px 25px;

}

.cta-content h2{

font-size:2.2rem;

}

.primary-btn,
.secondary-btn{

width:100%;

display:flex;
justify-content:center;

}

}

@media (max-width:520px){

.hero{

padding-top:150px;

}

.hero h1{

font-size:2.4rem;

}

.card-header h2{

font-size:1.6rem;

}

.recommended-price{

font-size:2.4rem;

}

.mob-head{

width:120px;
height:120px;

}

.mob-head img{

width:90px;

}

}
/*======================================
PERFORMANCE PRIORITY
======================================*/

.input-group{

    margin-bottom:28px;

}

.input-group label{

    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:14px;

    font-size:1rem;
    font-weight:700;
    color:#fff;

}

#priority{

    width:100%;
    height:64px;

    padding:0 22px;

    border-radius:16px;

    background:#171717;
    color:#fff;

    border:1px solid rgba(255,255,255,.08);

    font-size:1rem;
    font-weight:500;

    outline:none;

    transition:.3s ease;

    cursor:pointer;

}

#priority:hover{

    border-color:rgba(245,184,65,.35);

}

#priority:focus{

    border-color:var(--primary);

    box-shadow:
    0 0 0 4px rgba(245,184,65,.12);

}

#priority option{

    background:#151515;
    color:#fff;

}