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

:root {
    --bg-0: #07081A;
    --bg-1: #0C0E22;
    --bg-2: #11142B;
    --bg-3: #181C36;
    --accent: #5B8BF5;
    --accent-hi: #7AA3FF;
    --accent-dim: #2E4FA8;
    --accent-soft: rgba(91, 139, 245, .13);
    --accent-glow: rgba(91, 139, 245, .22);
    --violet: #8B6FE8;
    --violet-soft: rgba(139, 111, 232, .1);
    --line: rgba(91, 139, 245, .22);
    --line-dim: rgba(255, 255, 255, .07);
    --text-1: #F0F3FF;
    --text-2: #c5c9da;
    --text-3: #6B7299;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-1);
    background: var(--bg-1);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(ellipse 70% 45% at 8% 18%, rgba(91, 139, 245, .11) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 92% 82%, rgba(139, 111, 232, .09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(91, 139, 245, .05) 0%, transparent 70%),
    var(--bg-1);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 70px, rgba(75, 124, 243, .025) 70px, rgba(75, 124, 243, .025) 71px),
    repeating-linear-gradient(90deg, transparent, transparent 70px, rgba(75, 124, 243, .025) 70px, rgba(75, 124, 243, .025) 71px);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 9, 26, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-dim);
    padding: 1rem 0;
}

.nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    letter-spacing: 2px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(75, 124, 243, .5);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .5px;
    transition: color .2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .25s;
}

.nav-links a:hover {
    color: var(--text-1);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--accent-dim);
    color: var(--text-1);
    padding: .65rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .5px;
    transition: all .25s;
    border: 1px solid rgba(75, 124, 243, .4);
}

.btn-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-nav::after {
    display: none;
}

.wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section {
    padding: 6rem 0;
}

.label {
    display: inline-block;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-1);
    margin-bottom: 1.25rem;
}

.title span {
    color: var(--accent-hi);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.85;
    max-width: 680px;
}

.centered {
    text-align: center;
}

.centered .lead {
    margin: 0 auto;
}

.hero {
    margin-top: 72px;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 780px;
    height: 780px;
    border-radius: 50%;
    background: radial-gradient(ellipse,
    rgba(91, 139, 245, .18) 0%,
    rgba(139, 111, 232, .10) 40%,
    transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroPulse 6s ease-in-out infinite;
}

.hero-bg-glow2 {
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(91, 139, 245, .08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@keyframes heroPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .8;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

.hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 1.75rem;
    padding: .4rem 1.25rem;
    border-radius: 4px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    color: var(--accent-hi);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.08;
    color: var(--text-1);
    letter-spacing: 1.5px;
    margin-bottom: 1.1rem;
}

.hero h1 span {
    color: var(--accent-hi);
    text-shadow: 0 0 50px rgba(91, 139, 245, .4);
}

.hero-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: .9rem;
    color: var(--text-3);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background: radial-gradient(ellipse,
    rgba(91, 139, 245, .22) 0%,
    rgba(139, 111, 232, .12) 45%,
    transparent 72%);
    animation: ringGlow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes ringGlow {
    0%, 100% {
        opacity: .7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: -4%;
    border-radius: 50%;
    border: 1px solid rgba(91, 139, 245, .2);
    animation: ringRotate 18s linear infinite;
    z-index: 0;
}

@keyframes ringRotate {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

.hero-img {
    width: 100%;
    max-width: 460px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(91, 139, 245, .45)) drop-shadow(0 0 80px rgba(139, 111, 232, .2));
    animation: imgFloat 5s ease-in-out infinite;
}

@keyframes imgFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-stat {
    background: rgba(26, 31, 58, .8);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: .45rem 1.1rem;
    font-size: .82rem;
    color: var(--text-2);
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.hero-stat strong {
    color: var(--accent-hi);
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: .85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .5px;
    transition: all .25s;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(75, 124, 243, .25);
}

.btn-outline {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--line-dim);
    padding: .85rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: .95rem;
    letter-spacing: .5px;
    transition: all .25s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--text-1);
}

.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.what-text p {
    font-size: 1.05rem;
    color: var(--text-2);
    margin-bottom: 1.25rem;
    line-height: 1.85;
}

.card {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 12px;
    overflow: hidden;
}

.card-bar {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--line-dim);
    background: var(--bg-0);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-3);
}

.card-title-text {
    font-size: .78rem;
    color: var(--text-3);
    letter-spacing: 1px;
    margin-left: auto;
    font-family: 'Orbitron', sans-serif;
}

.code {
    font-family: 'Courier New', monospace;
    font-size: .85rem;
    padding: 1.75rem;
    overflow-x: auto;
    line-height: 1.75;
    background: var(--bg-0);
}

.kw {
    color: #9580FF;
}

.str {
    color: #69DB7C;
}

.key {
    color: #74C0FC;
}

.cmt {
    color: var(--text-3);
    font-style: italic;
}

.num {
    color: #FFD43B;
}

.ok {
    color: #69DB7C;
}

.feat-section {
    background: var(--bg-0);
    border-top: 1px solid var(--line-dim);
    border-bottom: 1px solid var(--line-dim);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 10px;
    padding: 2rem;
    transition: border-color .25s, transform .25s;
}

.feat-card:hover {
    border-color: var(--line);
    transform: translateY(-4px);
}

.feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--accent-soft), var(--violet-soft));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(91, 139, 245, .12);
}

.feat-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-hi);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feat-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: .65rem;
    letter-spacing: .5px;
}

.feat-card p {
    font-size: .98rem;
    color: var(--text-2);
    line-height: 1.75;
}

.feat-card:nth-child(2) .feat-icon svg,
.feat-card:nth-child(4) .feat-icon svg,
.feat-card:nth-child(6) .feat-icon svg {
    stroke: var(--violet);
}

.hiw-card {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 14px;
    padding: 4rem 3.5rem;
    position: relative;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3.5rem;
    position: relative;
}

.hiw-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 14px);
    right: calc(16.66% + 14px);
    height: 1px;
    background: var(--line-dim);
}

.hiw-step {
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(91, 139, 245, .2), rgba(139, 111, 232, .15));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-hi);
    box-shadow: 0 0 20px rgba(91, 139, 245, .15);
}

.hiw-step h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-1);
    margin-bottom: .65rem;
    letter-spacing: .5px;
}

.hiw-step p {
    font-size: .98rem;
    color: var(--text-2);
    line-height: 1.8;
}

.ind-section {
    background: var(--bg-0);
    border-top: 1px solid var(--line-dim);
    border-bottom: 1px solid var(--line-dim);
}

.ind-section .section {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.ind-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3.5rem;
    align-items: start;
}

.ind-sidenav {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.ind-sidenav-label {
    font-family: 'Orbitron', sans-serif;
    font-size: .65rem;
    color: var(--text-3);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: .75rem;
    padding-left: .85rem;
}

.sidenav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: .7rem .85rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
    color: var(--text-3);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .2s;
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.sidenav-btn::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-3);
    flex-shrink: 0;
    transition: all .2s;
}

.sidenav-btn:hover {
    color: var(--text-2);
    background: rgba(91, 139, 245, .05);
    border-left-color: rgba(91, 139, 245, .3);
}

.sidenav-btn:hover::before {
    background: var(--accent);
}

.sidenav-btn.active {
    color: var(--accent-hi);
    background: var(--accent-soft);
    border-left-color: var(--accent);
}

.sidenav-btn.active::before {
    background: var(--accent-hi);
    box-shadow: 0 0 8px rgba(91, 139, 245, .6);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.story {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.story-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line-dim);
    margin-bottom: 4rem;
}

.story-badge {
    display: inline-block;
    padding: .35rem 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--accent-hi);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.story-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.story-intro {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.9;
}

.story-act {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3.5rem;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--line-dim);
    align-items: start;
}

.story-act:last-child {
    border-bottom: none;
}

.act-label-col {
    padding-top: .35rem;
}

.act-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: .5rem;
    background: linear-gradient(135deg, var(--accent-hi), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: .35;
}

.act-name {
    font-family: 'Orbitron', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.act-line {
    width: 2px;
    height: 40px;
    background: var(--line-dim);
    margin: 1rem 0 0 1px;
}

.act-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.act-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.3;
}

.act-text {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.9;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    margin-top: .5rem;
}

.pain-item {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}

.pain-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
    background: rgba(139, 111, 232, .12);
    border: 1px solid rgba(139, 111, 232, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}

.pain-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--violet);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pain-item p {
    font-size: .92rem;
    color: var(--text-2);
    line-height: 1.55;
}

.solution-box {
    background: linear-gradient(135deg, rgba(91, 139, 245, .07), rgba(139, 111, 232, .05));
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem 2.25rem;
}

.solution-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    color: var(--accent-hi);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sol-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sol-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sol-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent-hi);
    margin-top: .15rem;
}

.sol-step p {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
}

.sol-step p strong {
    color: var(--text-1);
    font-weight: 600;
}

.story-code {
    background: var(--bg-0);
    border: 1px solid var(--line-dim);
    border-radius: 10px;
    overflow: hidden;
    margin-top: .5rem;
}

.story-code-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    border-bottom: 1px solid var(--line-dim);
    background: var(--bg-2);
}

.story-code-bar .dot {
    background: var(--bg-3);
}

.story-code-bar span {
    font-size: .72rem;
    color: var(--text-3);
    letter-spacing: 1px;
    margin-left: auto;
    font-family: 'Orbitron', sans-serif;
}

.story-code pre {
    font-family: 'Courier New', monospace;
    font-size: .83rem;
    padding: 1.5rem;
    overflow-x: auto;
    line-height: 1.75;
    background: var(--bg-0);
    margin: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}

.result-card {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color .25s;
}

.result-card:hover {
    border-color: var(--line);
}

.result-val {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-hi), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: .3rem;
}

.result-lbl {
    font-size: .83rem;
    color: var(--text-3);
    line-height: 1.45;
}

.arch-flow-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-dim);
}

.arch-flow-row span.node {
    background: var(--bg-3);
    border: 1px solid var(--line-dim);
    color: var(--text-1);
    padding: .38rem .9rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: .82rem;
    white-space: nowrap;
}

.arch-flow-row span.node.hi {
    background: var(--accent-soft);
    border-color: var(--line);
    color: var(--accent-hi);
}

.arch-flow-row .arr {
    color: var(--text-3);
    font-size: .85rem;
}

.aud-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.aud-card {
    background: var(--bg-2);
    border: 1px solid var(--line-dim);
    border-radius: 10px;
    padding: 1.75rem 1rem;
    text-align: center;
    transition: border-color .25s, transform .25s;
}

.aud-card:hover {
    border-color: var(--line);
    transform: translateY(-4px);
}

.aud-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    margin: 0 auto 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aud-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aud-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: .82rem;
    color: var(--text-1);
    letter-spacing: .5px;
}

.cta-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(75, 124, 243, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-2);
    margin-bottom: 2.25rem;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 26, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--line-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--bg-2);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--text-1);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--accent-hi);
    background: var(--accent-soft);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-0);
    border: 1px solid var(--line-dim);
    border-radius: 8px;
    color: var(--text-1);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 139, 245, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-3);
    opacity: 0.5;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-group .checkbox-label {
    display: inline;
    font-size: 0.85rem;
}

.modal .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-1);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-2);
    margin-bottom: 1.5rem;
}

.grecaptcha-badge {
    display: none;
}

footer {
    background: var(--bg-0);
    border-top: 1px solid var(--line-dim);
    padding: 3.5rem 0 2rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-dim);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(75, 124, 243, .4);
}

.footer-tagline {
    font-size: .92rem;
    color: var(--text-3);
    margin-top: .5rem;
}

.footer-links {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-3);
    text-decoration: none;
    font-size: .92rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text-1);
}

.footer-copy {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-3);
    font-size: .88rem;
}

@media (max-width: 1100px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aud-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .ind-layout {
        grid-template-columns: 180px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img {
        max-width: 280px;
    }

    .title {
        font-size: 2rem;
    }

    .what-grid,
    .hiw-steps,
    .story-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hiw-steps::before {
        display: none;
    }

    .hiw-card {
        padding: 2rem 1.5rem;
    }

    .feat-grid {
        grid-template-columns: 1fr;
    }

    .aud-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .story-act {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .act-label-col {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .act-line {
        display: none;
    }

    .act-number {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .nav-inner {
        padding: 0 1rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

    .wrap {
        padding: 0 1.5rem;
    }

    .ind-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ind-sidenav {
        position: relative;
        top: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0 1rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--line-dim);
        background: linear-gradient(to right, var(--bg-0) 0%, var(--bg-0) 95%, transparent 100%);
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--accent) var(--bg-2);
        white-space: nowrap;
        z-index: 10;
    }

    .ind-sidenav::-webkit-scrollbar {
        height: 4px;
    }

    .ind-sidenav::-webkit-scrollbar-track {
        background: var(--bg-2);
        border-radius: 4px;
    }

    .ind-sidenav::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 4px;
    }

    .ind-sidenav-label {
        display: none;
    }

    .sidenav-btn {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 4px;
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
        background: var(--bg-2);
        border: 1px solid var(--line-dim);
    }

    .sidenav-btn.active {
        border-bottom-color: var(--accent);
        border-left-color: transparent;
        background: var(--accent-soft);
        border-color: var(--accent);
    }

    .sidenav-btn::before {
        display: none;
    }

    .story-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .story-title {
        font-size: 1.8rem;
    }

    .story-intro {
        font-size: 1rem;
    }

    .story-code pre,
    .code {
        font-size: 0.75rem;
        padding: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .solution-box {
        padding: 1.5rem;
    }

    .sol-step {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sol-num {
        margin-bottom: 0.25rem;
    }

    .pain-grid {
        gap: 0.75rem;
    }

    .pain-item {
        padding: 0.75rem 1rem;
    }

    .pain-item p {
        font-size: 0.85rem;
    }

    .arch-flow-row {
        gap: 0.4rem;
    }

    .arch-flow-row span.node {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .result-card {
        padding: 1rem;
    }

    .result-val {
        font-size: 1.3rem;
    }

    .result-lbl {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }

    .aud-grid {
        grid-template-columns: 1fr;
    }

    .feat-card {
        padding: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-stat {
        width: 100%;
        text-align: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btns a {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .footer-links a {
        font-family: var(--font-display);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-dim);
        transition: color 0.15s;
    }
    .footer-links a:hover { color: var(--accent); }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .sidenav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .story-act {
        gap: 1rem;
    }

    .act-number {
        font-size: 2rem;
    }

    .act-heading {
        font-size: 1.2rem;
    }

    .act-text {
        font-size: 0.95rem;
    }

    .sol-step p {
        font-size: 0.9rem;
    }

    .story-code-bar span {
        font-size: 0.65rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0;
    }

    .hero-img {
        max-width: 200px;
    }

    .ind-sidenav {
        top: 60px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .sidenav-btn {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }

    .btn-nav,
    .btn-primary,
    .btn-outline {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ind-sidenav {
        -webkit-overflow-scrolling: touch;
    }
}

.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-trigger span {
    width: 100%;
    height: 3px;
    background: var(--text-1);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-0);
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--line-dim);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--line-dim);
}

.mobile-nav-header .logo {
    font-size: 1.1rem;
}

.mobile-nav-header .logo img {
    width: 32px;
    height: 32px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-1);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.mobile-menu-close:hover {
    color: var(--accent-hi);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--text-2);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--text-1);
    background: var(--accent-soft);
    border-left-color: var(--accent);
}

.mobile-nav-link.btn-mobile {
    background: var(--accent-dim);
    color: var(--text-1);
    text-align: center;
    margin-top: 1rem;
    border: 1px solid rgba(75, 124, 243, .4);
}

.mobile-nav-link.btn-mobile:hover {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }

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

    .nav-inner {
        padding: 0 1.5rem;
    }
}

body.menu-open {
    overflow: hidden;
}