:root{
    --bg:#07111f;
    --bg-soft:#0b1728;
    --panel:rgba(16, 25, 42, 0.72);
    --panel-strong:#101b2f;
    --panel-light:rgba(255,255,255,0.05);
    --text:#ecf3ff;
    --muted:#9fb0c9;
    --line:rgba(255,255,255,0.08);
    --line-strong:rgba(255,255,255,0.14);
    --primary:#5ea2ff;
    --primary-strong:#3a7cff;
    --secondary:#8d7dff;
    --success:#37d39a;
    --warning:#ffd166;
    --danger:#ff7f7f;
    --shadow:0 20px 50px rgba(0,0,0,0.35);
    --radius-xl:28px;
    --radius-lg:22px;
    --radius-md:16px;
    --radius-sm:12px;
    --container:1280px;
    --transition:220ms ease;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body.landing-page{
    margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(94,162,255,0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(141,125,255,0.12), transparent 24%),
        linear-gradient(180deg, #07111f 0%, #081321 100%);
    color:var(--text);
    min-height:100vh;
    overflow-x:hidden;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
select,
textarea{
    font:inherit;
}

.hidden{
    display:none !important;
}

.container{
    width:min(calc(100% - 40px), var(--container));
    margin:0 auto;
}

.page-bg{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:0;
    overflow:hidden;
}

.bg-orb{
    position:absolute;
    border-radius:50%;
    filter:blur(60px);
    opacity:0.5;
}

.orb-1{
    width:320px;
    height:320px;
    top:60px;
    left:-80px;
    background:rgba(94,162,255,0.20);
}

.orb-2{
    width:420px;
    height:420px;
    top:240px;
    right:-100px;
    background:rgba(141,125,255,0.18);
}

.orb-3{
    width:260px;
    height:260px;
    bottom:140px;
    left:20%;
    background:rgba(55,211,154,0.10);
}

.grid-overlay{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size:40px 40px;
    mask-image:linear-gradient(180deg, rgba(0,0,0,0.65), transparent 90%);
}

.topbar{
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(16px);
    background:rgba(7,17,31,0.65);
    border-bottom:1px solid rgba(255,255,255,0.06);
}

.topbar-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    letter-spacing:0.01em;
}

.brand-logo{
    width:38px;
    height:38px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
    box-shadow:0 10px 25px rgba(94,162,255,0.35);
    font-size:1rem;
    flex-shrink:0;
}

.brand-text{
    white-space:nowrap;
}

.topnav{
    display:flex;
    align-items:center;
    gap:28px;
}

.topnav a{
    color:var(--muted);
    transition:color var(--transition);
    font-size:0.95rem;
}

.topnav a:hover{
    color:var(--text);
}

.topbar-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.mobile-menu-toggle{
    display:none;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    background:rgba(255,255,255,0.04);
    border-radius:14px;
    cursor:pointer;
    padding:0;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.mobile-menu-toggle span{
    width:18px;
    height:2px;
    background:#fff;
    border-radius:2px;
    display:block;
}

.mobile-menu{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:0 20px 18px;
    border-top:1px solid rgba(255,255,255,0.05);
    background:rgba(7,17,31,0.96);
}

.mobile-menu a{
    color:var(--muted);
    font-size:0.98rem;
}

.mobile-login-link{
    color:var(--text) !important;
    font-weight:600;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border-radius:999px;
    font-weight:600;
    transition:transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    border:1px solid transparent;
    cursor:pointer;
}

.btn:hover{
    transform:translateY(-1px);
}

.btn-primary{
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
    box-shadow:0 14px 34px rgba(94,162,255,0.22);
}

.btn-primary:hover{
    box-shadow:0 18px 40px rgba(94,162,255,0.28);
}

.btn-secondary{
    background:rgba(255,255,255,0.04);
    border-color:var(--line);
    color:var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover{
    background:rgba(255,255,255,0.08);
}

.btn-ghost{
    background:transparent;
    border-color:var(--line);
    color:var(--text);
}

.btn-large{
    min-height:54px;
    padding:0 24px;
    font-size:1rem;
}

.hero{
    position:relative;
    z-index:1;
    padding:72px 0 56px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.05fr 1fr;
    gap:42px;
    align-items:center;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 16px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,0.04);
    color:var(--muted);
    font-size:0.92rem;
    margin-bottom:22px;
}

.eyebrow-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--success);
    box-shadow:0 0 0 6px rgba(55,211,154,0.14);
}

.hero-copy h1{
    margin:0 0 20px;
    font-size:clamp(2.8rem, 5vw, 5rem);
    line-height:1.02;
    letter-spacing:-0.04em;
    max-width:760px;
}

.gradient-text{
    background:linear-gradient(135deg, #ffffff 0%, #9fd6ff 45%, #8d7dff 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero-text{
    margin:0;
    max-width:700px;
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.75;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:30px;
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
    margin-top:34px;
}

.stat-card{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:20px;
    padding:18px;
    box-shadow:var(--shadow);
}

.stat-value{
    font-size:2rem;
    font-weight:800;
    letter-spacing:-0.04em;
    margin-bottom:6px;
}

.stat-label{
    color:var(--muted);
    font-size:0.92rem;
    line-height:1.45;
}

.hero-visual{
    position:relative;
}

.dashboard-shell{
    position:relative;
    border:1px solid rgba(255,255,255,0.08);
    background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    backdrop-filter:blur(16px);
    border-radius:32px;
    box-shadow:0 30px 70px rgba(0,0,0,0.38);
    overflow:hidden;
}

.dashboard-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px;
    border-bottom:1px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.03);
}

.window-dots{
    display:flex;
    gap:8px;
}

.window-dots span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,0.25);
}

.dashboard-title{
    color:var(--muted);
    font-size:0.94rem;
    font-weight:600;
}

.dashboard-body{
    display:grid;
    grid-template-columns:240px 1fr;
    min-height:580px;
}

.dashboard-sidebar{
    border-right:1px solid rgba(255,255,255,0.07);
    padding:22px 18px;
    background:rgba(4,10,20,0.25);
}

.mini-title{
    color:#dbe7ff;
    font-size:0.88rem;
    text-transform:uppercase;
    letter-spacing:0.12em;
    margin-bottom:14px;
}

.ingredient-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 14px;
    border:1px solid rgba(255,255,255,0.07);
    border-radius:16px;
    background:rgba(255,255,255,0.03);
    margin-bottom:10px;
    color:var(--muted);
}

.ingredient-item strong{
    color:var(--text);
    font-size:0.94rem;
}

.ingredient-item.active{
    border-color:rgba(94,162,255,0.45);
    box-shadow:0 0 0 1px rgba(94,162,255,0.12) inset;
    background:rgba(94,162,255,0.08);
}

.mini-add-btn{
    margin-top:8px;
    width:100%;
    min-height:44px;
    border-radius:14px;
    border:1px dashed rgba(255,255,255,0.20);
    color:var(--text);
    background:transparent;
    cursor:pointer;
    transition:background var(--transition), border-color var(--transition);
}

.mini-add-btn:hover{
    background:rgba(255,255,255,0.04);
    border-color:rgba(255,255,255,0.32);
}

.dashboard-main{
    padding:22px;
}

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
    margin-bottom:16px;
}

.dashboard-metric{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:20px;
    padding:18px;
}

.metric-label{
    display:block;
    color:var(--muted);
    font-size:0.9rem;
    margin-bottom:8px;
}

.metric-value{
    display:block;
    font-size:1.45rem;
    font-weight:800;
    letter-spacing:-0.03em;
}

.live-table-wrap{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:22px;
    padding:18px;
}

.live-table,
.preview-table{
    width:100%;
    border-collapse:collapse;
}

.live-table thead th,
.preview-table thead th{
    text-align:left;
    font-size:0.88rem;
    color:#d7e4fb;
    font-weight:700;
    padding:14px 12px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.live-table tbody td,
.preview-table tbody td{
    padding:14px 12px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    color:var(--muted);
    transition:background var(--transition), color var(--transition);
}

.live-table tbody tr:last-child td,
.preview-table tbody tr:last-child td{
    border-bottom:none;
}

.live-table tbody tr:hover td,
.preview-table tbody tr:hover td{
    background:rgba(255,255,255,0.03);
    color:var(--text);
}

.rdi-pill,
.preview-rdi{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:62px;
    min-height:30px;
    border-radius:999px;
    padding:0 10px;
    font-size:0.85rem;
    font-weight:700;
    border:1px solid transparent;
}

.rdi-pill.good,
.preview-rdi.high{
    background:rgba(55,211,154,0.13);
    color:#8effc7;
    border-color:rgba(55,211,154,0.20);
}

.rdi-pill.medium,
.preview-rdi.medium{
    background:rgba(255,209,102,0.12);
    color:#ffe29c;
    border-color:rgba(255,209,102,0.20);
}

.bar-metrics{
    margin-top:16px;
    display:grid;
    gap:14px;
}

.bar-row{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:18px;
    padding:16px;
}

.bar-row-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
    color:var(--muted);
}

.bar-row-head strong{
    color:var(--text);
}

.bar-track{
    width:100%;
    height:12px;
    border-radius:999px;
    background:rgba(255,255,255,0.06);
    overflow:hidden;
}

.bar-fill{
    height:100%;
    width:0%;
    border-radius:999px;
    transition:width 800ms cubic-bezier(.22,.61,.36,1);
}

.bar-fill-c{
    background:linear-gradient(90deg, #57d2ff, #3a7cff);
}

.bar-fill-m{
    background:linear-gradient(90deg, #ffd166, #ff9f43);
}

.floating{
    animation:floatCard 6s ease-in-out infinite;
}

@keyframes floatCard{
    0%{ transform:translateY(0px); }
    50%{ transform:translateY(-8px); }
    100%{ transform:translateY(0px); }
}

.floating-info{
    position:absolute;
    padding:14px 16px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(10,20,35,0.78);
    backdrop-filter:blur(16px);
    box-shadow:var(--shadow);
}

.floating-info span{
    display:block;
    font-size:0.8rem;
    color:var(--muted);
    margin-bottom:4px;
}

.floating-info strong{
    display:block;
    font-size:0.95rem;
    color:var(--text);
}

.floating-info-1{
    right:-22px;
    top:90px;
}

.floating-info-2{
    left:-18px;
    bottom:60px;
}

.trust-strip{
    position:relative;
    z-index:1;
    padding:8px 0 12px;
}

.trust-strip-inner{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
    color:var(--muted);
    text-align:center;
    font-weight:600;
    font-size:0.94rem;
}

.section{
    position:relative;
    z-index:1;
    padding:110px 0;
}

.section-head{
    max-width:820px;
    margin:0 auto 46px;
    text-align:center;
}

.section-tag{
    display:inline-block;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.04);
    color:#dbe7ff;
    font-size:0.84rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    margin-bottom:16px;
}

.section-head h2,
.live-preview-copy h2,
.compare-card h2,
.cta-panel h2{
    margin:0 0 16px;
    font-size:clamp(2rem, 4vw, 3.4rem);
    line-height:1.08;
    letter-spacing:-0.035em;
}

.section-head p,
.live-preview-copy p,
.compare-card p,
.cta-panel p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:1.02rem;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.feature-card{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:24px;
    padding:28px;
    box-shadow:var(--shadow);
    transition:transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover{
    transform:translateY(-4px);
    border-color:rgba(94,162,255,0.35);
    background:rgba(255,255,255,0.06);
}

.feature-icon{
    width:50px;
    height:50px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    background:linear-gradient(135deg, rgba(94,162,255,0.18), rgba(141,125,255,0.16));
    color:#dbe7ff;
    font-weight:800;
}

.feature-card h3{
    margin:0 0 12px;
    font-size:1.25rem;
    letter-spacing:-0.02em;
}

.feature-card p{
    margin:0;
    color:var(--muted);
    line-height:1.75;
}

.live-preview-grid{
    display:grid;
    grid-template-columns:0.92fr 1.08fr;
    gap:28px;
    align-items:center;
}

.comparison-points{
    display:grid;
    gap:14px;
    margin-top:28px;
}

.comparison-point{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--text);
    font-weight:500;
}

.comparison-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--success);
    box-shadow:0 0 0 6px rgba(55,211,154,0.12);
    flex-shrink:0;
}

.preview-panel{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:28px;
    padding:24px;
    box-shadow:var(--shadow);
}

.preview-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}

.preview-header h3{
    margin:0;
    font-size:1.3rem;
}

.preview-badge{
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(55,211,154,0.13);
    color:#8effc7;
    border:1px solid rgba(55,211,154,0.20);
    font-size:0.88rem;
    font-weight:700;
}

.preview-table-wrap{
    overflow-x:auto;
}

.workflow-line{
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
    gap:18px;
    align-items:center;
}

.workflow-step{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:24px;
    padding:24px;
    min-height:220px;
    box-shadow:var(--shadow);
}

.workflow-number{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:linear-gradient(135deg, rgba(94,162,255,0.20), rgba(141,125,255,0.20));
    font-weight:800;
    margin-bottom:18px;
}

.workflow-step h3{
    margin:0 0 12px;
    font-size:1.2rem;
}

.workflow-step p{
    margin:0;
    color:var(--muted);
    line-height:1.75;
}

.workflow-connector{
    width:100%;
    height:2px;
    background:linear-gradient(90deg, rgba(94,162,255,0.18), rgba(141,125,255,0.38), rgba(55,211,154,0.18));
    border-radius:999px;
}

.compare-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.compare-card{
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:28px;
    padding:30px;
    box-shadow:var(--shadow);
}

.compare-card.good{
    border-color:rgba(55,211,154,0.20);
    background:linear-gradient(180deg, rgba(55,211,154,0.07), rgba(255,255,255,0.04));
}

.compare-list{
    list-style:none;
    padding:0;
    margin:26px 0 0;
    display:grid;
    gap:14px;
}

.compare-list li{
    position:relative;
    padding-left:28px;
    color:var(--muted);
    line-height:1.7;
}

.compare-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    width:12px;
    height:12px;
    border-radius:50%;
}

.bad-list li::before{
    background:var(--danger);
    box-shadow:0 0 0 6px rgba(255,127,127,0.10);
}

.good-list li{
    color:#d9f7eb;
}

.good-list li::before{
    background:var(--success);
    box-shadow:0 0 0 6px rgba(55,211,154,0.10);
}

.audience-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.audience-card{
    min-height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:24px;
    background:rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:22px;
    color:var(--text);
    font-size:1.05rem;
    font-weight:600;
    box-shadow:var(--shadow);
    transition:transform var(--transition), border-color var(--transition);
}

.audience-card:hover{
    transform:translateY(-4px);
    border-color:rgba(94,162,255,0.30);
}

.cta-panel{
    text-align:center;
    max-width:920px;
    margin:0 auto;
    background:
        radial-gradient(circle at top left, rgba(94,162,255,0.14), transparent 35%),
        radial-gradient(circle at bottom right, rgba(141,125,255,0.16), transparent 35%),
        rgba(255,255,255,0.04);
    border:1px solid var(--line);
    border-radius:32px;
    padding:54px 28px;
    box-shadow:var(--shadow);
}

.cta-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:28px;
}

.footer{
    position:relative;
    z-index:1;
    padding:28px 0 42px;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
}

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

.reveal{
    opacity:0;
    transform:translateY(30px);
    transition:opacity 700ms ease, transform 700ms ease;
}

.reveal.reveal-visible{
    opacity:1;
    transform:translateY(0);
}

.reveal-delay-1{
    transition-delay:120ms;
}

.reveal-delay-2{
    transition-delay:240ms;
}

.pulse-value{
    transition:transform 260ms ease, color 260ms ease;
}

.pulse-value.pulse-active{
    transform:scale(1.05);
    color:#ffffff;
}

.flash-row td{
    background:rgba(94,162,255,0.08) !important;
    color:#fff !important;
}

@media (max-width: 1200px){
    .hero-grid,
    .live-preview-grid{
        grid-template-columns:1fr;
    }

    .hero-copy{
        max-width:900px;
    }

    .workflow-line{
        grid-template-columns:1fr;
    }

    .workflow-connector{
        width:2px;
        height:34px;
        margin:0 auto;
    }
}

@media (max-width: 980px){
    .topnav,
    .topbar-actions{
        display:none;
    }

    .mobile-menu-toggle{
        display:flex;
    }

    .dashboard-body{
        grid-template-columns:1fr;
    }

    .dashboard-sidebar{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,0.07);
    }

    .dashboard-cards,
    .feature-grid,
    .audience-grid,
    .compare-grid,
    .hero-stats,
    .trust-strip-inner{
        grid-template-columns:1fr;
    }

    .floating-info-1,
    .floating-info-2{
        display:none;
    }
}

@media (max-width: 640px){
    .container{
        width:min(calc(100% - 24px), var(--container));
    }

    .hero{
        padding:42px 0 36px;
    }

    .section{
        padding:80px 0;
    }

    .hero-copy h1{
        font-size:2.5rem;
    }

    .dashboard-main,
    .dashboard-sidebar,
    .feature-card,
    .preview-panel,
    .workflow-step,
    .compare-card,
    .cta-panel{
        padding:20px;
    }

    .dashboard-cards{
        grid-template-columns:1fr;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .footer-text{
        text-align:left;
    }
}

.w-0   { width: 0%; }
.w-5   { width: 5%; }
.w-10  { width: 10%; }
.w-15  { width: 15%; }
.w-20  { width: 20%; }
.w-25  { width: 25%; }
.w-30  { width: 30%; }
.w-35  { width: 35%; }
.w-40  { width: 40%; }
.w-45  { width: 45%; }
.w-50  { width: 50%; }
.w-55  { width: 55%; }
.w-60  { width: 60%; }
.w-65  { width: 65%; }
.w-70  { width: 70%; }
.w-75  { width: 75%; }
.w-80  { width: 80%; }
.w-85  { width: 85%; }
.w-90  { width: 90%; }
.w-95  { width: 95%; }
.w-100 { width: 100%; }