:root {
    --primary-purple: #66ccff;
    --accent-orange: #66ccff;
    --secondary-teal: #0f172a;

    --bg-dark: #fefefe;
    --bg-darker: #f1f5f9;
    --card-bg: #ffffff;
    --card-bg-light: #eef4ff;

    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    --transition-fast: 0.2s ease-out;
    --transition-smooth: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-purple);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-purple);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(102, 204, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(102, 204, 255, 0.5);
    color: #0f172a;
}

.btn-secondary {
    background: var(--card-bg-light);
    color: var(--text-main);
    border: 1.5px solid rgba(102, 204, 255, 0.6);
}

.btn-secondary:hover {
    background: rgba(102, 204, 255, 0.25);
    transform: translateY(-2px);
    color: var(--text-main);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(100, 116, 139, 0.4);
}

.btn-outline:hover {
    background: rgba(102, 204, 255, 0.25);
    color: var(--text-main);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition-smooth);
    background: rgba(254, 254, 254, 0.9);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(254, 254, 254, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.75rem 2rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
}

.nav-logo-image {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-close-item {
    display: none;
}

.nav-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-main);
    cursor: pointer;
}

.nav-item {
    position: relative;
    padding-bottom: 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-item.open .nav-dropdown-icon {
    transform: rotate(-180deg);
}

@media (min-width: 769px) {
    .nav-item:hover .nav-dropdown-icon,
    .nav-item:focus-within .nav-dropdown-icon,
    .nav-item:has(.nav-dropdown:hover) .nav-dropdown-icon {
        transform: rotate(-180deg);
    }
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 0.75rem 0;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    z-index: 1100;
    list-style: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item:has(.nav-dropdown:hover) .nav-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.nav-dropdown .nav-link {
    padding: 0.5rem 1.25rem;
    width: 100%;
}

.nav-dropdown .nav-link::after,
.nav-link.nav-dropdown-toggle::after,
.nav-cta .nav-link::after {
    content: none;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-purple);
}

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

.cta-btn {
    padding: 10px 24px !important;
    background: var(--primary-purple) !important;
    color: #0f172a !important;
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.cta-btn:hover {
    background: #8dd7ff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Sections */
section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: none;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-divider {
    width: 80px;
    height: 6px;
    border-radius: 999px;
    background: rgba(102, 204, 255, 0.4);
    margin: 1.5rem auto 0;
}

.section-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0.75rem auto 0;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-top: 1rem;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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


/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background: rgba(254, 254, 254, 0.98);
        width: min(80vw, 360px);
        text-align: center;
        transition: 0.3s;
        gap: 1.5rem;
        padding: 2rem;
        border-left: 1px solid rgba(148, 163, 184, 0.2);
        box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
        align-items: center;
    }

    .nav-close-item {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }

    .nav-dropdown {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 0;
        background: transparent;
        opacity: 0;
        transform: translateY(-6px);
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
    }

    .nav-item.open .nav-dropdown {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        display: none;
        opacity: 0;
        transform: translateY(-6px);
    }

    .nav-item.open:hover .nav-dropdown,
    .nav-item.open:focus-within .nav-dropdown {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }

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


    .navbar.scrolled .nav-menu, .navbar:not(.scrolled) .nav-menu.active  {
        top: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(10px);
    }

    .navbar.scrolled .nav-menu.active, .navbar:not(.scrolled):has(.nav-menu.active) {
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(10px);
    }

    section {
        padding: 4rem 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: radial-gradient(circle at top, rgba(102, 204, 255, 0.2), transparent 60%);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}