/* =====================================================
   OPENSCAN DESIGN SYSTEM
   Premium Edition
   Inspired by Apple • Stripe • Vercel • Linear
===================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* =========================
        RESET
========================= */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
    font-size:16px;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body{
    font-family:"Inter",sans-serif;
    background:#0E1014;
    color:#fff;
    line-height:1.65;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

/* =========================
        LINKS
========================= */

a{
    text-decoration:none;
    color:inherit;
    transition:
        color .45s cubic-bezier(.22,1,.36,1),
        opacity .45s cubic-bezier(.22,1,.36,1);
}

/* =========================
        IMAGES
========================= */

img{
    display:block;
    max-width:100%;
}

/* =========================
      DESIGN TOKENS
========================= */

:root{

    --bg:#0E1014;

    --surface:#171A20;

    --surface-2:#1C2028;

    --surface-3:#22262F;

    --border:rgba(255,255,255,.06);

    --border-hover:rgba(255,107,0,.18);

    --text:#FFFFFF;

    --muted:#98A1AE;

    --orange:#ff6b00;

    --orange-light:#ff9440;

    --radius:20px;

    --radius-small:14px;

    --shadow:
        0 30px 70px rgba(0,0,0,.38);

    --shadow-hover:
        0 40px 90px rgba(0,0,0,.50);

    --glass:
        rgba(255,255,255,.03);

    --transition:
        .55s cubic-bezier(.22,1,.36,1);

}

/* =========================
        CONTAINER
========================= */

.container{
    width: min(1140px, 92%);
    margin-inline: auto;
}

/* =========================
        SECTIONS
========================= */

section{

    position:relative;
    padding:120px 0;

}

/* =========================
        GLOBAL TRANSITIONS
========================= */

button,
a,
.feature-card,
.step-card,
.btn-primary,
.btn-secondary,
.navbar{

    transition:var(--transition);

}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6{
    color:var(--text);
    font-weight:500;
    letter-spacing:-0.04em;
    line-height:1.08;
}

h1{
    font-size:clamp(2.5rem,1vw,4.4rem);
    max-width:15ch;
    margin-bottom:1.25rem;
}

h2{
    font-size:clamp(2rem,3vw,2rem);
    margin-bottom:1rem;
}

h3{
    font-size:1.18rem;
    font-weight:600;
    margin-bottom:.75rem;
}

h4{
    font-size:1rem;
    font-weight:600;
}

p{
    color:var(--muted);
    font-size:.97rem;
    line-height:1.85;
    max-width:65ch;
}

small{
    color:var(--muted);
    font-size:.82rem;
}

/* =====================================================
   TEXT UTILITIES
===================================================== */

.text-center{
    text-align:center;
}

.text-muted{
    color:var(--muted);
}

.lead{
    font-size:1.1rem;
    line-height:1.9;
    color:#B4BBC6;
    max-width:60ch;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.55rem;

    padding:.45rem .9rem;

    border-radius:999px;

    border:1px solid rgba(255,107,0,.12);

    background:rgba(255,107,0,.06);

    color:var(--orange);

    font-size:.75rem;

    font-weight:600;

    letter-spacing:.04em;

    text-transform:uppercase;
}

/* =====================================================
   RESPONSIVE TYPE
===================================================== */

@media (max-width:992px){

    h1{
        font-size:clamp(2.5rem,8vw,3.5rem);
        max-width:none;
    }

    h2{
        font-size:clamp(1.8rem,6vw,2.6rem);
    }

}

@media (max-width:640px){

    h1{
        font-size:2.35rem;
        line-height:1.1;
    }

    h2{
        font-size:1.8rem;
    }

    h3{
        font-size:1.05rem;
    }

    p{
        font-size:.92rem;
        line-height:1.8;
    }

    .lead{
        font-size:1rem;
    }

}

/* =====================================================
   BUTTONS
===================================================== */

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;

    min-height:46px;

    padding:.82rem 1.35rem;

    border-radius:14px;

    font-size:.88rem;

    font-weight:500;

    letter-spacing:-0.01em;

    white-space:nowrap;

    cursor:pointer;

    user-select:none;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        box-shadow .55s cubic-bezier(.22,1,.36,1),
        background .55s cubic-bezier(.22,1,.36,1),
        border-color .55s cubic-bezier(.22,1,.36,1),
        color .55s cubic-bezier(.22,1,.36,1);
}

/* =========================
      PRIMARY BUTTON
========================= */

.btn-primary{

    color:#fff;

    background:
        linear-gradient(
            180deg,
            var(--orange-light),
            var(--orange)
        );

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 10px 28px rgba(255,107,0,.22);

}

.btn-primary:hover{

    transform:
        translateY(-2px)
        scale(1.02);

    box-shadow:
        0 18px 42px rgba(255,107,0,.28);

}

.btn-primary:active{

    transform:
        translateY(0)
        scale(.98);

}

/* =========================
     SECONDARY BUTTON
========================= */

.btn-secondary{

    background:rgba(255,255,255,.03);

    border:1px solid var(--border);

    color:#fff;

    backdrop-filter:blur(18px);

}

.btn-secondary:hover{

    background:rgba(255,255,255,.06);

    border-color:rgba(255,255,255,.12);

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 36px rgba(0,0,0,.25);

}

.btn-secondary:active{

    transform:scale(.98);

}

/* =========================
      BUTTON ICON
========================= */

.btn-primary i,
.btn-secondary i,
.btn-primary svg,
.btn-secondary svg{

    font-size:.95rem;

    transition:transform .4s ease;

}

.btn-primary:hover i,
.btn-primary:hover svg{

    transform:translateX(2px);

}

/* =========================
      FOCUS STATE
========================= */

.btn-primary:focus-visible,
.btn-secondary:focus-visible{

    outline:none;

    box-shadow:
        0 0 0 3px rgba(255,107,0,.25);

}

/* =========================
      MOBILE
========================= */

@media (max-width:640px){

    .hero-buttons{

        display:flex;

        flex-direction:row;

        justify-content:center;

        gap:.75rem;

        flex-wrap:wrap;

    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{

        flex:1;

        min-width:145px;

        max-width:180px;

    }

}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{

position:fixed;  
  
    top:18px;  
    left:18px;  
    right:18px;  
  
    height:50px;  
  
    z-index:1000;  
  
    display:flex;  
    align-items:center;  
  
    background:rgba(14,16,20,.68);  
  
    backdrop-filter:blur(24px);  
    -webkit-backdrop-filter:blur(24px);  
  
    border:1px solid rgba(255,255,255,.06);  
  
    border-radius:999px;  
  
    box-shadow:  
        0 12px 35px rgba(0,0,0,.28);  
  
    transition:  
        all .55s cubic-bezier(.22,1,.36,1);

}

.navbar .container{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 20px;

}

/* =========================
        LOGO
========================= */

.logo{

    display:flex;

    align-items:center;

    gap:.75rem;

    font-size:.96rem;

    font-weight:600;

    color:#fff;

    letter-spacing:-.02em;

}

.logo img{

    width:25px;

    height:25px;

    object-fit:contain;

}

.logo span span{

    color:var(--orange);

}

/* =========================
      RIGHT SIDE
========================= */

.nav-right{

    display:flex;

    align-items:center;

    gap:.9rem;

}

.nav-right img{

    width:25px;

    height:25px;

    border-radius:50%;

    object-fit:cover;

    border:1px solid rgba(255,255,255,.08);

}

/* =========================
    SCROLL EFFECT
========================= */

.navbar.scrolled{

    top:12px;

    height:58px;

    background:rgba(14,16,20,.86);

    border-color:rgba(255,255,255,.08);

    box-shadow:
        0 18px 50px rgba(0,0,0,.34);

}

/* =========================
     NAVBAR HOVER
========================= */

.navbar:hover{

    border-color:
        rgba(255,255,255,.09);

}

/* =========================
        MOBILE
========================= */

@media (max-width:640px){

    .navbar{

        top:10px;

        left:10px;

        right:10px;

        height:58px;

    }

    .navbar .container{

        padding:0 18px;

    }

    .logo{

        font-size:.92rem;

    }

    .logo img{

        width:28px;

        height:28px;

    }

    .nav-right{

        gap:.7rem;

    }

    .nav-right img{

        width:30px;

        height:30px;

    }

}

/* =====================================================
   HERO
===================================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:100px;

    overflow:hidden;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.08fr .92fr;

    align-items:center;

    gap:min(8vw,6rem);

}

/* =========================
        BADGE
========================= */

.badge{

    display:inline-flex;

    align-items:center;

    gap:.55rem;

    padding:.48rem .9rem;

    margin-bottom:1.8rem;

    border-radius:999px;

    background:rgba(255,107,0,.06);

    border:1px solid rgba(255,107,0,.12);

    color:var(--orange);

    font-size:.74rem;

    font-weight:600;

    letter-spacing:.03em;

    text-transform:uppercase;

}

.dot{

    width:7px;

    height:7px;

    border-radius:50%;

    background:var(--orange);

    animation:pulse 2.5s infinite;

}

@keyframes pulse{

    0%,100%{

        transform:scale(1);

        opacity:1;

    }

    50%{

        transform:scale(1.5);

        opacity:.5;

    }

}

/* =========================
       HERO CONTENT
========================= */

.hero h1{

    margin-bottom:1.4rem;

}

.hero p{

    max-width:560px;

    margin-bottom:2rem;

}

.hero-buttons{

    display:flex;

    align-items:center;

    gap:.9rem;

    flex-wrap:wrap;

    margin-bottom:3rem;

}

/* =========================
        STATS
========================= */

.stats{

    display:flex;

    gap:2.5rem;

    flex-wrap:wrap;

}

.stats h2{

    font-size:1.7rem;

    font-weight:600;

    margin-bottom:.2rem;

}

.stats small{

    display:block;

    color:var(--muted);

    font-size:.82rem;

}

/* =========================
      HERO IMAGE
========================= */

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image img{

    width:100%;

    max-width:470px;

    position:relative;

    z-index:2;

    animation:heroFloat 8s ease-in-out infinite;

    will-change:transform;

}

@keyframes heroFloat{

    0%,100%{

        transform:
            translateY(0px);

    }

    50%{

        transform:
            translateY(-10px);

    }

}

/* =========================
      BACKGROUND GLOW
========================= */

.glow{

    position:absolute;

    width:480px;

    height:480px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(255,107,0,.18),

            rgba(255,107,0,.04),

            transparent 72%

        );

    filter:blur(28px);

    animation:glowPulse 7s ease-in-out infinite;

}

@keyframes glowPulse{

    0%,100%{

        transform:scale(1);

        opacity:.85;

    }

    50%{

        transform:scale(1.08);

        opacity:1;

    }

}

/* =========================
       HERO DECORATION
========================= */

.hero::before{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(255,255,255,.05),

            transparent 72%

        );

    pointer-events:none;

}

/* =========================
      TABLET
========================= */

@media (max-width:992px){

    .hero{

        text-align:center;

        padding-top:90px;

    }

    .hero-grid{

        grid-template-columns:1fr;

        gap:4rem;

    }

    .hero p{

        margin-inline:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .stats{

        justify-content:center;

    }

}

/* =========================
       MOBILE
========================= */

@media (max-width:640px){

    .hero{

        min-height:auto;

        padding-top:90px;

    }

    .hero-grid{

        gap:3rem;

    }

    .hero-image img{

        max-width:330px;

    }

    .stats{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:1.5rem;

        text-align:center;

    }

    .stats h2{

        font-size:1.45rem;

    }

}

/* =====================================================
   FEATURES
===================================================== */

.features{
    position:relative;
}

.features-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:1.5rem;

    margin-top:4rem;

}

.feature-card{

    position:relative;

    padding:1.8rem;

    border-radius:22px;

    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.02)
        );

    border:1px solid var(--border);

    backdrop-filter:blur(22px);

    transition:
        transform .6s cubic-bezier(.22,1,.36,1),
        box-shadow .6s cubic-bezier(.22,1,.36,1),
        border-color .6s cubic-bezier(.22,1,.36,1),
        background .6s cubic-bezier(.22,1,.36,1);

    will-change:transform;

}

.feature-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.06),
            transparent 55%
        );

    opacity:0;

    transition:.6s;

}

.feature-card:hover{

    transform:
        translateY(-6px)
        scale(1.015);

    border-color:
        rgba(255,107,0,.18);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.03)
        );

    box-shadow:
        0 30px 70px rgba(0,0,0,.34);

}

.feature-card:hover::before{

    opacity:1;

}

/* =========================
        ICON
========================= */

.feature-icon{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:1.4rem;

    border-radius:18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,107,0,.12),
            rgba(255,107,0,.06)
        );

    color:var(--orange);

    font-size:1.45rem;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        background .55s;

}

.feature-card:hover .feature-icon{

    transform:
        rotate(-4deg)
        scale(1.08);

}

/* =========================
       TEXT
========================= */

.feature-card h3{

    margin-bottom:.8rem;

    font-size:1.08rem;

    font-weight:600;

    letter-spacing:-.02em;

}

.feature-card p{

    font-size:.9rem;

    line-height:1.8;

    color:var(--muted);

}

/* =========================
     SECTION TITLE
========================= */

.section-title{

    max-width:760px;

    margin:0 auto 4rem;

    text-align:center;

}

.section-title span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:.45rem .9rem;

    margin-bottom:1rem;

    border-radius:999px;

    background:
        rgba(255,107,0,.06);

    border:1px solid
        rgba(255,107,0,.12);

    color:var(--orange);

    font-size:.74rem;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:.05em;

}

.section-title h2{

    margin-bottom:1rem;

}

.section-title p{

    max-width:620px;

    margin-inline:auto;

}

/* =========================
       RESPONSIVE
========================= */

@media (max-width:992px){

    .features-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:640px){

    .features-grid{

        grid-template-columns:1fr;

        gap:1.2rem;

    }

    .feature-card{

        padding:1.5rem;

    }

    .feature-icon{

        width:54px;

        height:54px;

        font-size:1.3rem;

    }

    .feature-card h3{

        font-size:1rem;

    }

    .feature-card p{

        font-size:.88rem;

    }

}

/* =====================================================
   HOW IT WORKS
===================================================== */

.how-it-works{
    position:relative;
}

.steps{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:1.5rem;

}

.step-card{

    position:relative;

    padding:2rem 1.8rem;

    border-radius:22px;

    text-align:center;

    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.02)
        );

    border:1px solid var(--border);

    backdrop-filter:blur(22px);

    transition:
        transform .6s cubic-bezier(.22,1,.36,1),
        box-shadow .6s cubic-bezier(.22,1,.36,1),
        border-color .6s cubic-bezier(.22,1,.36,1);

    will-change:transform;

}

.step-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.06),
            transparent 60%
        );

    opacity:0;

    transition:.6s;

}

.step-card:hover{

    transform:
        translateY(-6px)
        scale(1.015);

    border-color:
        rgba(255,107,0,.18);

    box-shadow:
        0 30px 70px rgba(0,0,0,.34);

}

.step-card:hover::before{

    opacity:1;

}

/* =========================
      STEP NUMBER
========================= */

.step-number{

    position:absolute;

    top:18px;

    right:18px;

    width:34px;

    height:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:
        rgba(255,107,0,.08);

    border:1px solid
        rgba(255,107,0,.12);

    color:var(--orange);

    font-size:.75rem;

    font-weight:600;

}

/* =========================
        ICON
========================= */

.step-icon{

    width:72px;

    height:72px;

    margin:0 auto 1.5rem;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:20px;

    background:
        linear-gradient(
            180deg,
            rgba(255,107,0,.12),
            rgba(255,107,0,.06)
        );

    color:var(--orange);

    font-size:1.8rem;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1);

}

.step-card:hover .step-icon{

    transform:
        scale(1.08)
        rotate(-5deg);

}

/* =========================
        TEXT
========================= */

.step-card h3{

    margin-bottom:.8rem;

    font-size:1.08rem;

    font-weight:600;

    letter-spacing:-.02em;

}

.step-card p{

    font-size:.9rem;

    line-height:1.8;

    color:var(--muted);

}

/* =========================
      RESPONSIVE
========================= */

@media (max-width:992px){

    .steps{

        grid-template-columns:1fr;

        gap:1.4rem;

    }

}

@media (max-width:640px){

    .step-card{

        padding:1.8rem 1.5rem;

    }

    .step-icon{

        width:60px;

        height:60px;

        font-size:1.5rem;

    }

    .step-card h3{

        font-size:1rem;

    }

    .step-card p{

        font-size:.88rem;

    }

}

/* =====================================================
   FOOTER
===================================================== */

.footer{

    position:relative;

    padding:90px 0 35px;

    border-top:1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,255,255,.015)
        );

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:2.5rem;

    margin-bottom:3.5rem;

}

/* =========================
      ABOUT
========================= */

.footer-about{

    max-width:360px;

}

.footer-about p{

    margin-top:1.2rem;

    font-size:.92rem;

    color:var(--muted);

    line-height:1.8;

}

/* =========================
      TITLES
========================= */

.footer h4{

    margin-bottom:1rem;

    font-size:.88rem;

    font-weight:600;

    letter-spacing:.02em;

    color:#fff;

}

/* =========================
      LINKS
========================= */

.footer ul{

    list-style:none;

}

.footer li{

    margin-bottom:.75rem;

}

.footer a{



    font-size:.86rem;

    font-weight:400;

    color:var(--muted);

    transition:
        color .35s ease,
        transform .35s ease;

}

.footer a:hover{

    color:#fff;

    transform:translateX(3px);

}

/* =========================
     BOTTOM BAR
========================= */

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:1rem;

    padding-top:1.8rem;

    border-top:1px solid var(--border);

    font-size:.82rem;

    color:#7E8793;

}

.footer-bottom a{

    color:#7E8793;

}

.footer-bottom a:hover{

    color:#fff;

}

/* =====================================================
      TABLET
===================================================== */

@media (max-width:992px){

    .footer-grid{

        grid-template-columns:repeat(2,1fr);

        gap:2rem;

    }

    .footer-about{

        grid-column:1/-1;

        max-width:none;

    }

}

/* =====================================================
      MOBILE
===================================================== */

@media (max-width:640px){

    .footer{

        padding:70px 0 30px;

    }

    /* Keep links side by side */
    .footer-grid{

        grid-template-columns:repeat(2,1fr);

        gap:2rem 1.5rem;

        text-align:left;

    }

    /* About spans both columns */
    .footer-about{

        grid-column:1/-1;

    }

    .footer h4{

        font-size:.84rem;

    }

    .footer a{

        font-size:.82rem;

    }

    .footer-about p{

        font-size:.88rem;

    }

    .footer-bottom{

        flex-direction:row;

        justify-content:space-between;

        align-items:center;

        flex-wrap:wrap;

        font-size:.78rem;

        gap:.75rem;

    }

}