/* ====================================
   Reset & Base Styles
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e90ff;
    --primary-dark: #1873cc;
    --primary-light: #4da6ff;
    --secondary-color: #0066cc;
    --accent-color: #c41e3a;
    --accent-light: #dc143c;
    --gradient: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    --gradient-accent: linear-gradient(135deg, #1e90ff 0%, #c41e3a 100%);
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f0f8ff;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(30, 144, 255, 0.4));
}

.nav-brand:hover .brand-name {
    transform: translateX(2px);
}

.nav-logo {
    width: 40px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(30, 144, 255, 0.2));
}

.navbar.scrolled .nav-logo {
    width: 32px;
    height: 32px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    transition: all 0.3s ease;
}

.navbar.scrolled .brand-name {
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    opacity: 0;
    animation: fadeInStagger 0.6s ease-out forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }

.nav-menu a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-menu a {
    font-size: 0.9375rem;
}

/* Underline Slide Animation - Exclude CTA button */
.nav-menu a:not(.btn-nav-cta)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:not(.btn-nav-cta):hover::before,
.nav-menu a:not(.btn-nav-cta).active::before {
    width: 100%;
}

/* Background Highlight - Exclude CTA button */
.nav-menu a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(0, 102, 204, 0.1));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu a:not(.btn-nav-cta):hover::after {
    opacity: 1;
}

/* 3D Lift & Glow Effect - Exclude CTA button */
.nav-menu a:not(.btn-nav-cta):hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

/* Active State - Exclude CTA button */
.nav-menu a:not(.btn-nav-cta).active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a:not(.btn-nav-cta).active::after {
    opacity: 0.5;
}

/* CTA Button */
.nav-cta {
    opacity: 0;
    animation: fadeInStagger 0.6s ease-out 0.6s forwards;
}

.btn-nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none !important;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
}

/* Hover and Active States */
.btn-nav-cta:hover {
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.5);
    background: linear-gradient(135deg, #4da6ff 0%, #1873cc 100%);
    animation: none;
    text-decoration: none !important;
}

.btn-nav-cta:active {
    color: white !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
    text-decoration: none !important;
}

.navbar.scrolled .btn-nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Keyframe Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30, 144, 255, 0.5);
    }
}

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

/* ====================================
   Hero Section
   ==================================== */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e6f4ff 0%, #b3d9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231e90ff" fill-opacity="0.08" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ====================================
   Section Styles
   ==================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   Features Section
   ==================================== */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    stroke: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ====================================
   Modules Section
   ==================================== */
.modules {
    background: var(--bg-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.module-card {
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.module-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.module-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(196, 30, 58, 0.3);
}

.module-card p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ====================================
   Download Section
   ==================================== */
.download {
    background: var(--gradient);
    color: white;
}

.download .section-title,
.download .section-description {
    color: white;
}

.download-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.version-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.requirements {
    list-style: none;
}

.requirements li {
    color: var(--text-medium);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ====================================
   Documentation Section
   ==================================== */
.docs {
    background: var(--bg-white);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
    position: relative;
}

.doc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.doc-card:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(30, 144, 255, 0.3),
                0 10px 20px -5px rgba(30, 144, 255, 0.2);
}

.doc-card:hover::before {
    opacity: 0.05;
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.doc-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ====================================
   Support Section
   ==================================== */
.support {
    background: var(--bg-light);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.support-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.support-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: var(--primary-dark);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: contents;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ====================================
   Back to Top Button
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(30, 144, 255, 0.2);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(30, 144, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(30, 144, 255, 0.4);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.back-to-top:hover .back-to-top-icon {
    color: var(--primary-dark);
    animation: bounceUp 0.6s ease infinite;
}

/* Progress Ring */
.back-to-top-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.back-to-top-progress-ring {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 163.36; /* 2 * PI * 26 */
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.3s ease, stroke 0.3s ease;
}

.back-to-top:hover .back-to-top-progress-ring {
    stroke: var(--accent-color);
}

/* Bounce Up Animation */
@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(30, 144, 255, 0.1);
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        display: flex;
    }

    /* Reset stagger animations for mobile menu items */
    .nav-menu li {
        opacity: 1;
        animation: none;
        width: 100%;
    }

    /* Mobile menu links - full width buttons */
    .nav-menu li:not(.nav-cta) a {
        display: block;
        padding: 0.875rem 1rem;
        border-radius: 0.5rem;
        width: 100%;
    }

    /* Mobile CTA button styling */
    .nav-cta {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(30, 144, 255, 0.1);
        width: 100%;
    }

    .btn-nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Disable pulse animation on mobile for better performance */
    .btn-nav-cta {
        animation: none;
    }

    /* Simplify hover effects for mobile touch */
    .nav-menu a:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Disable gradient shift on mobile for performance */
    .brand-name {
        animation: none;
        background-position: 0% 50%;
    }

    /* Navbar shrink adjustment for mobile */
    .navbar.scrolled {
        padding: 0.375rem 0;
    }

    /* Hero section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-card {
        grid-template-columns: 1fr;
    }

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

    .features-grid,
    .modules-grid,
    .docs-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce hover lift on mobile for cards */
    .doc-card:hover,
    .feature-card:hover,
    .module-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Back to Top Button Mobile */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .back-to-top-icon {
        width: 20px;
        height: 20px;
    }

    .back-to-top:hover {
        animation: none;
    }

    /* Milestone Navigation Mobile */
    .milestone-container {
        bottom: calc(1rem + 50px + 10px); /* Mobile button height + gap */
        right: calc(1rem + 25px); /* Center on mobile button (button width 50px / 2 = 25px) */
    }

    .milestone-tooltip {
        display: none; /* Hide labels on mobile to save space */
    }

    .milestone-line {
        bottom: -10px; /* Extends to top of back to top button on mobile */
    }

    .milestone-marker {
        transform: translateY(10px) scale(0.7);
    }

    .milestone-marker.visible {
        transform: translateY(0) scale(0.9);
    }

    .milestone-marker.active {
        transform: translateY(0) scale(1.1);
    }

    .milestone-marker[data-shape="diamond"] {
        transform: translateY(10px) scale(0.7) rotate(45deg);
    }

    .milestone-marker[data-shape="diamond"].visible {
        transform: translateY(0) scale(0.9) rotate(45deg);
    }

    .milestone-marker[data-shape="diamond"].active {
        transform: translateY(0) scale(1.1) rotate(45deg);
    }

    .milestone-marker:hover {
        transform: translateY(0) scale(1);
    }

    .milestone-marker[data-shape="diamond"]:hover {
        transform: translateY(0) scale(1) rotate(45deg);
    }
}

/* ===================================
   Vertical Navigation Indicator
   =================================== */

/* Main container - fixed to right side, vertically centered */
.vertical-nav {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
}

/* Vertical connector line behind dots */
.vertical-nav-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4px; /* Position at center of 10px dots: 10px/2 - 2px/2 = 4px */
    width: 2px;
    background: rgba(30, 144, 255, 0.2);
    pointer-events: none;
    border-radius: 1px;
    z-index: 0;
}

/* Container for navigation items */
.vertical-nav-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
    align-items: flex-end;
}

/* Individual navigation item */
.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    justify-content: flex-end;
}

/* Navigation label (text) */
.nav-label {
    font-family: 'Inter', 'Poppins', 'Segoe UI', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(30, 144, 255, 0.6);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
    font-size: 11px;
}

/* Dot indicator */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 144, 255, 0.4);
    border: 2px solid rgba(30, 144, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Active state - dot enlarges and label appears */
.nav-item.active .dot {
    width: 16px;
    height: 16px;
    background: #1e90ff;
    border-color: #0066cc;
    border-width: 3px;
    box-shadow: 0 0 12px rgba(30, 144, 255, 0.6),
                0 0 20px rgba(30, 144, 255, 0.4);
}

.nav-item.active .nav-label {
    opacity: 1;
    transform: translateX(0);
    color: #1e90ff;
    font-weight: 400;
}

/* Hover state - partial label reveal */
.nav-item:hover .dot {
    width: 13px;
    height: 13px;
    background: rgba(30, 144, 255, 0.7);
    border-color: rgba(30, 144, 255, 0.5);
    border-width: 2.5px;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
}

.nav-item:hover .nav-label {
    opacity: 0.7;
    transform: translateX(0);
}

/* Keep active state on hover */
.nav-item.active:hover .dot {
    width: 16px;
    height: 16px;
    background: #4da6ff;
    border-color: #1e90ff;
    border-width: 3px;
    box-shadow: 0 0 16px rgba(30, 144, 255, 0.8),
                0 0 24px rgba(30, 144, 255, 0.5);
}

.nav-item.active:hover .nav-label {
    opacity: 1;
    color: #4da6ff;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .vertical-nav {
        display: none;
    }
}

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

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}
