/* ===== SKILLVANCE TECHNOLOGIES — DESIGN SYSTEM v2 ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Properties --- */
:root {
    --bg-primary: #06060a;
    --bg-secondary: #0c0c14;
    --bg-tertiary: #111119;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(124, 58, 237, 0.35);
    --text-primary: #eeeef2;
    --text-secondary: #9595ad;
    --text-muted: #5a5a72;
    --accent-1: #7c3aed;
    --accent-2: #06b6d4;
    --accent-3: #3b82f6;
    --accent-4: #a855f7;
    --gradient-main: linear-gradient(135deg, #7c3aed, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #a855f7 30%, #06b6d4 70%, #3b82f6 100%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.03));
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.12);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 0.25s var(--ease-out);
    --transition-med: 0.5s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    /* Smooth scrolling momentum on iOS */
    -webkit-scroll-smoothing-type: continuous;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    /* Enhanced mobile scrolling with momentum */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better touch interaction */
    touch-action: manipulation;
    position: relative;
}

body.nav-open {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

button,
input,
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
    border: none;
    outline: none;
    background: none;
    color: var(--text-primary);
}

/* --- Noise Overlay --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* --- Custom Cursor --- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background 0.2s;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(124, 58, 237, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
    transform: translate(-50%, -50%);
}

.cursor-dot.hovering {
    width: 10px;
    height: 10px;
    background: var(--accent-2);
}

.cursor-ring.hovering {
    width: 50px;
    height: 50px;
    border-color: rgba(6, 182, 212, 0.5);
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* --- Keyframes --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.06);
        opacity: 0.7
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.4));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.7));
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 100
    }

    to {
        stroke-dashoffset: 0
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes morphBlob {

    0%,
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    25% {
        border-radius: 73% 27% 42% 58% / 28% 62% 38% 72%;
    }

    50% {
        border-radius: 28% 72% 55% 45% / 65% 35% 60% 40%;
    }

    75% {
        border-radius: 60% 40% 32% 68% / 50% 55% 45% 50%;
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes revealUp {
    from {
        clip-path: inset(100% 0 0 0)
    }

    to {
        clip-path: inset(0 0 0 0)
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger */
.stagger .reveal:nth-child(1) {
    transition-delay: 0.05s
}

.stagger .reveal:nth-child(2) {
    transition-delay: 0.12s
}

.stagger .reveal:nth-child(3) {
    transition-delay: 0.19s
}

.stagger .reveal:nth-child(4) {
    transition-delay: 0.26s
}

.stagger .reveal:nth-child(5) {
    transition-delay: 0.33s
}

.stagger .reveal:nth-child(6) {
    transition-delay: 0.4s
}

.stagger .reveal:nth-child(7) {
    transition-delay: 0.47s
}

.stagger .reveal:nth-child(8) {
    transition-delay: 0.54s
}

/* --- Page Transition --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease-out);
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: bottom;
}

/* --- Top Banner --- */
.top-banner {
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #3b82f6, #7c3aed);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
    padding: 10px 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
    color: #fff;
}

.top-banner a {
    color: #fff;
    margin-left: 10px;
    text-decoration: underline;
    font-weight: 700;
}

.top-banner .close-banner {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    background: none;
    border: none;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition-med);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 6, 10, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo-img {
    height: auto;
    max-width: 100%;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition-med);
    border-radius: 2px;
}

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

.nav-links a.active {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 10px 26px;
    background: var(--gradient-main);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #fff !important;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* --- SVG Icon Container --- */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-med);
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-1);
    stroke-width: 1.5;
    fill: none;
    transition: var(--transition-med);
}

.icon-box.draw svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.icon-box.draw.active svg {
    animation: drawLine 1s var(--ease-out) forwards;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

/* --- Buttons --- */
.btn-primary {
    padding: 15px 38px;
    min-height: 48px;  /* Touch-friendly size */
    background: var(--gradient-main);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    letter-spacing: 0.3px;
    /* Better touch interaction */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    padding: 15px 38px;
    min-height: 48px;  /* Touch-friendly size */
    background: transparent;
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-secondary:hover {
    border-color: var(--accent-1);
    background: rgba(124, 58, 237, 0.08);
    transform: translateY(-3px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.1));
    animation: morphBlob 12s ease-in-out infinite;
    filter: blur(60px);
}

.hero-blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.08));
    animation: morphBlob 15s ease-in-out infinite reverse;
    filter: blur(80px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--accent-4);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

.hero-overline {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    animation: slideUp 0.8s var(--ease-out), glow 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.06;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.65;
}

.hero-typed {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 40px;
    min-height: 38px;
}

.hero-typed .cursor {
    animation: blink 0.8s infinite;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

.hero-stat .num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* --- Ticker --- */
.ticker-wrap {
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.ticker {
    display: flex;
    gap: 52px;
    animation: ticker 25s linear infinite;
    width: max-content;
}

.ticker-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item .sep {
    color: var(--accent-1);
    font-size: 0.5rem;
}

/* --- Feature Cards (Home) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card>* {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Domain Cards --- */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.domain-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: var(--transition-med);
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 800px;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.domain-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.domain-card:hover::before {
    opacity: 1;
}

.domain-card>* {
    position: relative;
    z-index: 1;
}

.domain-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.domain-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.domain-meta span {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.domain-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-2);
    transition: var(--transition-fast);
}

.domain-card:hover .learn-more {
    color: var(--accent-1);
    gap: 12px;
}

/* --- About page styles --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.about-text p:first-child::first-letter {
    font-size: 3.8rem;
    font-family: var(--font-heading);
    font-weight: 900;
    float: left;
    margin-right: 14px;
    margin-top: 4px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.value-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition-med);
    cursor: default;
}

.value-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.value-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* MSME Badge */
.msme-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(6, 182, 212, 0.03));
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.msme-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(34, 197, 94, 0.04), transparent 30%);
    animation: spin 10s linear infinite;
}

.msme-badge .content {
    position: relative;
    z-index: 1;
}

.msme-badge .check-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.msme-badge .check-icon svg {
    width: 28px;
    height: 28px;
    stroke: #22c55e;
    stroke-width: 2;
    fill: none;
}

.msme-badge h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 8px;
}

.msme-badge p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Diff Table --- */
.diff-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 48px;
}

.diff-table th {
    padding: 18px 24px;
    font-family: var(--font-heading);
    text-align: left;
    font-weight: 700;
    font-size: 0.92rem;
}

.diff-table th:first-child {
    width: 18%;
}

.diff-table th:nth-child(2) {
    background: rgba(255, 59, 48, 0.06);
    color: var(--text-muted);
}

.diff-table th:nth-child(3) {
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-1);
}

.diff-table td {
    padding: 14px 24px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.88rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.diff-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.diff-table td:nth-child(3) {
    color: var(--text-primary);
}

.diff-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

/* --- Team Structure --- */
.team-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    position: relative;
}

.team-role {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    text-align: center;
    transition: var(--transition-med);
    min-width: 260px;
    position: relative;
}

.team-role:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.team-role.lead {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.05));
    border-color: rgba(124, 58, 237, 0.2);
}

.team-role h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.team-role p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.team-members {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
    border-radius: 2px;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 48px 0;
    margin-top: 56px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), var(--accent-3));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 64px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 48px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-med);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    color: #fff;
    z-index: 2;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Programs grid --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.program-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-med);
}

.program-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.program-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Comparison --- */
.comparison-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 48px 0;
    flex-wrap: wrap;
    align-items: center;
}

.comparison-select {
    padding: 14px 22px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.92rem;
    cursor: pointer;
    min-width: 230px;
    appearance: none;
    transition: var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239595ad' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.comparison-select:focus {
    border-color: var(--accent-1);
}

.comparison-vs {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-1);
    font-size: 1.2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th {
    padding: 18px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    background: rgba(124, 58, 237, 0.08);
    text-align: left;
    font-size: 0.92rem;
}

.comparison-table td {
    padding: 14px 22px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.88rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.comparison-table .aspect-label {
    font-weight: 600;
    color: var(--text-primary);
}

.tech-tag {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: 0.74rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-4);
    margin: 3px;
    font-weight: 500;
}

/* --- Choose steps --- */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.choose-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-med);
    text-align: center;
}

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

.choose-card .num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    line-height: 1;
}

.choose-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
}

.choose-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- Quiz --- */
.quiz-container {
    max-width: 680px;
    margin: 56px auto 0;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

.quiz-progress {
    margin-bottom: 36px;
}

.quiz-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.quiz-progress-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: right;
}

.quiz-question h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quiz-option {
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.92rem;
    text-align: left;
    color: var(--text-secondary);
}

.quiz-option:hover {
    border-color: var(--accent-1);
    background: rgba(124, 58, 237, 0.06);
    color: var(--text-primary);
}

.quiz-option.selected {
    border-color: var(--accent-1);
    background: rgba(124, 58, 237, 0.12);
    color: var(--text-primary);
}

.quiz-result {
    text-align: center;
    display: none;
}

.quiz-result.show {
    display: block;
    animation: scaleIn 0.5s var(--ease-out);
}

.quiz-result h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.quiz-result p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* --- Seats --- */
.seats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.seat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: var(--transition-med);
}

.seat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.seat-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 12px;
}

.seat-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.seat-status.open {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.seat-status.open .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

.seat-status.filling {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border: 1px solid #f59e0b;
}

.seat-status.filling .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulse 1.5s infinite;
}

.seat-status.limited {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border: 1px solid #ef4444;
}

.seat-status.limited .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fca5a5;
    animation: pulse 1.5s infinite;
}

/* --- Roadmap --- */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.roadmap-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition-med);
}

.roadmap-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.roadmap-card .step {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-1);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.roadmap-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
}

.roadmap-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- Verify --- */
.verify-container {
    max-width: 540px;
    margin: 56px auto 0;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.verify-input-wrap {
    position: relative;
    margin: 28px 0;
}

.verify-input {
    width: 100%;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

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

.verify-input:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.verify-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.verify-btn:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
    transform: translateY(-2px);
}

.verify-info {
    margin-top: 28px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    text-align: left;
}

.verify-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.verify-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.verify-result {
    margin-top: 20px;
    padding: 22px;
    border-radius: var(--radius-md);
    display: none;
}

.verify-result.success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.verify-result.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 56px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    gap: 18px;
    transition: var(--transition-med);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-info-card a {
    color: var(--accent-2);
    transition: var(--transition-fast);
}

.contact-info-card a:hover {
    color: var(--accent-1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-submit {
    padding: 16px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
    transform: translateY(-2px);
}

/* --- CTA Block --- */
.cta-block {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(124, 58, 237, 0.06), transparent 30%);
    animation: spin 12s linear infinite;
}

.cta-block>* {
    position: relative;
    z-index: 1;
}

.cta-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-block p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-brand .logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 22px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer ul a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-4);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition-fast);
    cursor: pointer;
    animation: float 3s ease infinite;
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab .tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.whatsapp-fab:hover .tooltip {
    opacity: 1;
}

/* --- Responsive --- */
@media(max-width:1024px) {

    .domains-grid,
    .programs-grid,
    .features-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .timeline::before {
        left: 28px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-dot {
        left: 28px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: auto;
    }
}

@media(max-width:768px) {
    html {
        scroll-padding-top: 70px;
    }

    .section {
        padding: 80px 0;
    }

    .logo-img {
        height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 6, 10, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(20px);
        transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.05rem;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hamburger {
        display: flex;
        min-height: 48px;
        min-width: 48px;
        align-items: center;
        justify-content: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .seats-grid,
    .choose-grid,
    .domains-grid,
    .programs-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 50px;
        font-size: 1rem;
        padding: 14px 24px;
    }

    .hero-stats {
        justify-content: center;
        gap: 18px;
        padding: 32px 0 0;
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 0 1 calc(50% - 9px);
        min-width: 100px;
    }

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

    .comparison-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .comparison-select {
        min-width: auto;
        min-height: 44px;
    }

    .glass-card {
        padding: 24px 20px;
    }

    input,
    textarea,
    select {
        min-height: 48px;
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        transform: none;
        transition-duration: 0.45s;
    }

    .whatsapp-fab {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }

    .top-banner {
        padding: 12px 40px 12px 16px;
        line-height: 1.4;
        font-size: 0.92rem;
    }

    .top-banner a {
        white-space: nowrap;
    }
}

@media(max-width:480px) {
    .container {
        padding: 0 16px;
    }

    html {
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .values-grid,
    .seats-grid,
    .choose-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .domains-grid,
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat {
        flex: 0 1 calc(50% - 6px);
        min-width: 90px;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .glass-card,
    .quiz-container,
    .verify-container {
        padding: 20px 16px;
    }

    .cta-block {
        padding: 32px 16px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .top-banner .close-banner {
        right: 10px;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .page-transition {
        display: none !important;
    }
}