:root {
    --bg-color: #050508;
    --surface: #12121a;
    --surface-light: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #9494a0;
    --accent-1: #00f0ff;
    --accent-2: #7000ff;
    --accent-3: #ff0055;
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(18, 18, 26, 0.6);
    --card-width: 340px;
    --card-gap: 24px;
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-2) 0%, rgba(112,0,255,0) 70%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}
.bg-glow.top-left { top: -200px; left: -200px; }
.bg-glow.bottom-right { bottom: -200px; right: -200px; background: radial-gradient(circle, var(--accent-1) 0%, rgba(0,240,255,0) 70%); }
h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2rem;
}
.gradient-text {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}
.accent {
    color: var(--accent-1);
}
@keyframes shine {
    to { background-position: 200% center; }
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    white-space: nowrap;
}
.mobile-only {
    display: none;
}
.nav-toggle {
    display: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--text-primary);
}
button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.15s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.15s ease, border-color 0.15s ease;
    will-change: transform;
}
button:active {
    transform: translateY(1px) scale(0.97) !important;
    box-shadow: none !important;
}
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--text-secondary);
}
.glow-btn {
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
    color: white;
    box-shadow: 0 0 20px rgba(112,0,255,0.4);
}
.glow-btn:hover {
    box-shadow: 0 0 30px rgba(0,240,255,0.6);
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: calc(100vh - 80px);
    padding: 5rem 5%;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.3);
    color: var(--accent-1);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.cta-group {
    display: flex;
    gap: 1rem;
}
.hero-animation {
    position: relative;
    height: 500px;
    perspective: 1000px;
}
.window-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: absolute;
    transition: transform 0.3s;
}
.window-header {
    background: var(--surface-light);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.window-header .title {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
}
.code-window {
    width: 350px;
    height: 300px;
    top: 20px;
    left: 0;
    z-index: 2;
    transform: rotateY(15deg) rotateX(5deg);
    animation: float1 6s ease-in-out infinite;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
}
.code-window .window-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #a0a0b0;
}
.cursor {
    animation: blink 1s step-start infinite;
    color: var(--accent-1);
}
@keyframes float1 {
    0%, 100% { transform: rotateY(15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(15deg) rotateX(5deg) translateY(-15px); }
}
@keyframes float2 {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-15px); }
}
@keyframes blink {
    50% { opacity: 0; }
}
.preview-window {
    width: 450px;
    height: 380px;
    bottom: 20px;
    right: 0;
    z-index: 1;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float2 7s ease-in-out infinite;
    background: #0d0d14;
}
.browser-bar {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.2rem 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 100%;
    text-align: center;
}
.preview-area {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.mock-element {
    background: var(--surface-light);
    border-radius: 6px;
    opacity: 0;
    transform: translateY(10px);
    animation: construct 0.5s forwards ease-out;
}
.p-nav { height: 20px; width: 100%; animation-delay: 1s; }
.p-hero { height: 100px; width: 100%; animation-delay: 2s; background: linear-gradient(45deg, var(--surface-light), rgba(112,0,255,0.2)); }
.p-grid { display: flex; gap: 10px; }
.p-card { height: 80px; flex: 1; }
.p-card:nth-child(1) { animation-delay: 3s; }
.p-card:nth-child(2) { animation-delay: 3.2s; }
.p-card:nth-child(3) { animation-delay: 3.4s; }
@keyframes construct {
    to { opacity: 1; transform: translateY(0); }
}
.scanning-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1), 0 0 20px var(--accent-1);
    animation: scan 4s infinite linear;
    z-index: 10;
    opacity: 0.5;
}
@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}
.portfolio {
    padding: 3.5rem 5% 5rem;
    background: linear-gradient(to bottom, var(--bg-color), #08080c);
    overflow: hidden;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header p {
    margin: 0 auto;
}
.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
    display: flex;
    gap: var(--card-gap);
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-card {
    width: var(--card-width);
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
    text-decoration: none;
}
.marquee-card:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
    border-radius: 12px;
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,240,255,0.15), 0 0 30px rgba(112,0,255,0.15);
}
.marquee-card .window-header {
    background: var(--surface-light);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}
.marquee-card:hover .window-header {
    background: #1d1d2b;
}
.browser-viewport {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0d0d14;
}
.browser-address {
    font-size: 0.68rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0.15rem 1rem;
    margin-left: 1.2rem;
    flex-grow: 0.6;
    text-align: center;
    font-family: 'Fira Code', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}
.marquee-card:hover .portfolio-img {
    transform: scale(1.03);
}
.card-content {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    background: var(--surface-light);
    border-top: 1px solid var(--border);
    transition: background 0.3s;
}
.marquee-card:hover .card-content {
    background: #1d1d2b;
}
.card-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-4 * (var(--card-width) + var(--card-gap)))); }
}
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    background: var(--bg-color);
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.footer-content p {
    margin: 0;
    font-size: 0.9rem;
}
@media (max-width: 900px) {
    h1 {
        font-size: 2.6rem;
    }
    h2 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .cta-group {
        justify-content: center;
    }
    .hero-animation {
        height: 420px;
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
    }
    .code-window {
        width: 90%;
        max-width: 290px;
        left: 50%;
        transform: translateX(-50%) rotateY(0) rotateX(0);
        top: 0;
        animation: none;
    }
    .preview-window {
        width: 95%;
        max-width: 330px;
        left: 50%;
        transform: translateX(-50%) rotateY(0) rotateX(0);
        bottom: 0;
        animation: none;
    }
}
.arch-section {
    padding: 3.5rem 5% 3.5rem;
    background: linear-gradient(to bottom, #08080c, #050508);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.arch-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(0,240,255,0.18) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(112,0,255,0.15) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(0,240,255,0.10) 1px,   transparent 1px),
        radial-gradient(circle, rgba(255,0,85,0.12)  1px,   transparent 1px),
        radial-gradient(circle, rgba(255,170,0,0.10) 1px,   transparent 1px);
    background-size:
        340px 340px,
        280px 280px,
        200px 200px,
        420px 420px,
        260px 260px;
    background-position:
        0 0,
        80px 120px,
        200px 60px,
        30px 200px,
        160px 300px;
    animation: scatterDrift 18s ease-in-out infinite alternate;
    opacity: 0.7;
}
@keyframes scatterDrift {
    0%   { background-position: 0 0, 80px 120px, 200px 60px, 30px 200px, 160px 300px; opacity: 0.7; }
    25%  { background-position: 40px -30px, 110px 160px, 170px 90px, 60px 170px, 130px 330px; }
    50%  { background-position: -20px 50px, 50px 80px,  230px 30px, 10px 240px, 200px 260px; }
    75%  { background-position: 60px 20px, 90px 140px, 190px 70px, 50px 210px, 150px 310px; }
    100% { background-position: 0 0, 80px 120px, 200px 60px, 30px 200px, 160px 300px; opacity: 0.5; }
}
.arch-section > * { position: relative; z-index: 1; }
.arch-pipeline {
    display: flex;
    align-items: stretch;
    margin: 2.2rem 0 2.5rem;
    gap: 0;
}
.pipe-step-wrap {
    flex: 1;
    min-width: 0;
}
.pipe-node {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 2px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 1.4rem 1rem 1.2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease var(--delay, 0s),
                transform 0.55s ease var(--delay, 0s),
                box-shadow 0.3s ease, border-color 0.3s ease;
}
.arch-pipeline.in-view .pipe-node {
    opacity: 1;
    transform: translateY(0);
}
.node-cyan    { border-top-color: var(--accent-1); }
.node-purple  { border-top-color: var(--accent-2); }
.node-magenta { border-top-color: var(--accent-3); }
.node-gold    { border-top-color: #ffaa00; }
.node-cyan:hover    { box-shadow: 0 0 28px rgba(0,240,255,0.18);   border-color: rgba(0,240,255,0.3); }
.node-purple:hover  { box-shadow: 0 0 28px rgba(112,0,255,0.18);   border-color: rgba(112,0,255,0.3); }
.node-magenta:hover { box-shadow: 0 0 28px rgba(255,0,85,0.18);    border-color: rgba(255,0,85,0.3); }
.node-gold:hover    { box-shadow: 0 0 28px rgba(255,170,0,0.18);   border-color: rgba(255,170,0,0.3); }
.pipe-num {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}
.pipe-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin: 0.1rem 0 0.2rem;
}
.node-cyan    .pipe-icon { color: var(--accent-1); }
.node-purple  .pipe-icon { color: var(--accent-2); }
.node-magenta .pipe-icon { color: var(--accent-3); }
.node-gold    .pipe-icon { color: #ffaa00; }
.pipe-node h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}
.pipe-node p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: none;
    line-height: 1.5;
}
.pipe-tag {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 0.18rem 0.55rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    margin-top: auto;
}
.pipe-connector {
    width: 36px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
}
.pipe-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,240,255,0.15), rgba(112,0,255,0.3), rgba(0,240,255,0.15));
    transform: translateY(-50%);
}
.flow-packet {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 8px var(--accent-1), 0 0 16px rgba(0,240,255,0.5);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    animation: none;
}
.arch-pipeline.in-view .flow-packet {
    animation: pktRight 2.2s ease-in-out infinite;
}
@keyframes pktRight {
    0%   { left: 0;    opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: calc(100% - 7px); opacity: 0; }
}
.arch-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}
.arch-stat {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.arch-pipeline.in-view ~ .arch-stats .arch-stat {
    opacity: 1;
    transform: translateY(0);
}
.arch-stat:nth-child(1) { transition-delay: 0.6s; }
.arch-stat:nth-child(2) { transition-delay: 0.72s; }
.arch-stat:nth-child(3) { transition-delay: 0.84s; }
.arch-stat:nth-child(4) { transition-delay: 0.96s; }
.arch-stat:nth-child(5) { transition-delay: 1.08s; }
.stat-val {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
@media (max-width: 900px) {
    .arch-pipeline {
        flex-direction: column;
    }
    .pipe-connector {
        width: auto;
        height: 32px;
        justify-content: center;
    }
    .pipe-connector::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 1px;
        height: auto;
        transform: translateX(-50%);
        background: linear-gradient(180deg, rgba(0,240,255,0.15), rgba(112,0,255,0.3), rgba(0,240,255,0.15));
    }
    .flow-packet {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .arch-pipeline.in-view .flow-packet {
        animation: pktDown 2.2s ease-in-out infinite;
    }
    @keyframes pktDown {
        0%   { top: 0;    opacity: 0; }
        8%   { opacity: 1; }
        92%  { opacity: 1; }
        100% { top: calc(100% - 7px); opacity: 0; }
    }
    .arch-stats {
        gap: 2rem;
    }
    .pipe-node {
        border-radius: 8px;
    }
}
.mission-section {
    padding: 3.5rem 5% 3.5rem;
    background: linear-gradient(to bottom, #050508, #09090e);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.mission-glow {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(112,0,255,0.08) 0%, rgba(255,0,85,0) 70%);
    width: 800px;
    height: 800px;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2.2rem auto 0;
    position: relative;
    z-index: 1;
}
.mission-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.8rem 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0s),
                transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0s),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}
.mission-grid.in-view .mission-card {
    opacity: 1;
    transform: translateY(0);
}
.mission-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}
.mission-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: none;
    position: relative;
    z-index: 1;
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}
.mission-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
}
.card-cyan .card-icon {
    color: var(--accent-1);
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.15);
}
.card-purple .card-icon {
    color: var(--accent-2);
    background: rgba(112, 0, 255, 0.03);
    border: 1px solid rgba(112, 0, 255, 0.15);
}
.card-magenta .card-icon {
    color: var(--accent-3);
    background: rgba(255, 0, 85, 0.03);
    border: 1px solid rgba(255, 0, 85, 0.15);
}
.mission-card:hover {
    transform: translateY(-8px);
}
.mission-card.card-cyan:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.12);
}
.mission-card.card-purple:hover {
    border-color: rgba(112, 0, 255, 0.3);
    box-shadow: 0 15px 30px rgba(112, 0, 255, 0.12);
}
.mission-card.card-magenta:hover {
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 15px 30px rgba(255, 0, 85, 0.12);
}
.card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.mission-card:hover .card-glow {
    opacity: 1;
}
.card-cyan .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.06), transparent 75%);
}
.card-purple .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(112, 0, 255, 0.06), transparent 75%);
}
.card-magenta .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 85, 0.06), transparent 75%);
}
.growth-intro {
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-bottom: 1.2rem !important;
}
.growth-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}
.growth-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.growth-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--accent-2);
    font-size: 0.85rem;
}
.growth-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
}
.card-badge {
    position: absolute;
    top: 2.8rem;
    right: 2.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 0, 85, 0.08);
    border: 1px solid rgba(255, 0, 85, 0.18);
    border-radius: 4px;
    color: var(--accent-3);
    z-index: 2;
}
.highlight-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem !important;
    background: linear-gradient(135deg, var(--accent-3), #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .mission-section {
        padding: 4rem 5% 5rem;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .mission-card {
        padding: 2.2rem 1.8rem;
    }
}
.contact-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    background: linear-gradient(to bottom, #09090e, #050508);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.contact-glow {
    position: absolute;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0,240,255,0.08) 0%, rgba(112,0,255,0) 70%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}
.contact-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}
.contact-content-col {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.contact-grid.in-view .contact-content-col {
    opacity: 1;
    transform: translateX(0);
}
.student-badge {
    background: rgba(112, 0, 255, 0.12) !important;
    border: 1px solid rgba(112, 0, 255, 0.35) !important;
    color: #b080ff !important;
    animation: badgeFloat 4s ease-in-out infinite alternate;
}
@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}
.contact-content-col h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.pricing-headline {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}
.price-val {
    font-size: 2.4rem;
    font-weight: 800;
    vertical-align: middle;
    margin-left: 0.4rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.features-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.feat-bullet {
    color: var(--accent-1);
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 0.2rem;
}
.features-list li strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.features-list li span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.contact-card-col {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s,
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}
.contact-grid.in-view .contact-card-col {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.chat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.chat-card:hover {
    border-color: rgba(37, 211, 102, 0.25);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.08);
}
.chat-card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
}
.chat-user-info {
    display: flex;
    flex-direction: column;
}
.chat-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}
.chat-status {
    font-size: 0.72rem;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.status-dot {
    width: 7px;
    height: 7px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 1.8s infinite;
}
@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.chat-card-body {
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.15);
    min-height: 270px;
}
.chat-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    position: relative;
}
.chat-bubble p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.4;
}
.chat-bubble.received {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}
.chat-bubble.sent {
    background: rgba(112, 0, 255, 0.12);
    color: #e2d9ff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid rgba(112, 0, 255, 0.25);
}
.chat-time {
    font-size: 0.6rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.3rem;
    text-align: right;
}
.chat-card-footer {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border);
}
.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 0.85rem 1.8rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappPulse 2.5s infinite;
}
.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation-play-state: paused;
}
.whatsapp-icon {
    display: flex;
    align-items: center;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-content-col {
        text-align: center;
    }
    .features-list {
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .features-list li {
        text-align: left;
    }
    .contact-content-col h2 {
        font-size: clamp(1.2rem, 5.2vw, 2.2rem);
        white-space: nowrap;
    }
}
@media (max-width: 768px) {
    .navbar {
        padding: 1.2rem 5%;
        height: 70px;
    }
    .nav-cta-desktop {
        display: none;
    }
    .mobile-only {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }
    .mobile-only .btn-primary {
        width: 100%;
        padding: 0.9rem;
    }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
        cursor: pointer;
        z-index: 100;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--accent-1);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--accent-1);
    }
    .nav-links {
        position: fixed;
        top: 70px;
        right: -320px;
        width: 300px;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 3.5rem 2.5rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 35px rgba(0,0,0,0.6);
        z-index: 99;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
        display: block;
        padding: 0.5rem 0;
        color: var(--text-primary);
    }
    .nav-links a:hover {
        color: var(--accent-1);
    }
}