/* ============================================
   GLASS THEME - Resource Highway Design System
   Extracted from home_glass.html
   ============================================ */

/* ============================================
   CSS VARIABLES
============================================ */
:root {
    /* Background Colors */
    --bg-base: #0a0f1a;
    --bg-elevated: #0d1220;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);

    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(0, 242, 169, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4bcd0;
    --text-muted: #b4bcd0;

    /* Accent Colors */
    --accent-cyan: #00F2A9;
    --accent-blue: #2D7CFF;
    --accent-purple: #a855f7;
    --accent-red: #ef4444;
    --accent-gradient: linear-gradient(135deg, #00F2A9 0%, #2D7CFF 100%);
    --accent-glow: rgba(0, 242, 169, 0.4);

    /* HHT CTA Button Colors */
    --hht-cyan: #00BFFF;
    --hht-teal: #4AEADC;
    --hht-cta-gradient: linear-gradient(135deg, #2D7CFF 0%, #00F2A9 100%);
    --hht-cta-color: #fff;
    --hht-cta-glow: rgba(0, 191, 255, 0.3);

    /* Glass Effects */
    --glass-blur: 16px;
    --glass-bg: rgba(13, 18, 32, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Satoshi', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Component Colors (used in place of hardcoded values) */
    --bg-logo-opacity: 0.18;
    --bg-logo-glow: radial-gradient(ellipse at center, rgba(0, 242, 169, 0.03) 0%, transparent 60%);
    --bg-navbar-scrolled: rgba(10, 15, 26, 0.9);
    --shadow-navbar-scrolled: none;
    --bg-panel-hover: rgba(13, 18, 32, 0.8);
    --border-panel-hover: rgba(255, 255, 255, 0.15);
    --shadow-panel-hover: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --bg-card-reflection: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    --border-card-hover: rgba(0, 242, 169, 0.2);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 242, 169, 0.08);
    --heading-xl-gradient: linear-gradient(135deg, #ffffff 0%, #b4bcd0 100%);
    --bg-input: rgba(255, 255, 255, 0.05);
    --border-faq-hover: rgba(255, 255, 255, 0.15);
    --color-brand-name: #2D7CFF;
    --color-brand-tagline: #ffffff;
}

/* ============================================
   LIGHT MODE OVERRIDES
============================================ */
[data-theme="light"] .glass-theme {
    /* Background Colors */
    --bg-base: #f4f6fb;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.2);
    --bg-card-hover: rgba(255, 255, 255, 0.35);

    /* Border Colors */
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(0, 180, 130, 0.25);

    /* Text Colors */
    --text-primary: #1a1f36;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    /* Accent Colors */
    --accent-cyan: #00c98d;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-red: #dc2626;
    --accent-gradient: linear-gradient(135deg, #00c98d 0%, #2563eb 100%);
    --accent-glow: rgba(0, 201, 141, 0.25);

    /* Glass Effects */
    --glass-blur: 18px;
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(0, 0, 0, 0.07);

    /* Component Colors */
    --bg-logo-opacity: 0.12;
    --bg-logo-glow: radial-gradient(ellipse at center, rgba(0, 201, 141, 0.04) 0%, rgba(37, 99, 235, 0.02) 40%, transparent 65%);
    --bg-navbar-scrolled: rgba(244, 246, 251, 0.95);
    --shadow-navbar-scrolled: 0 1px 20px rgba(0, 0, 0, 0.04);
    --bg-panel-hover: rgba(255, 255, 255, 0.7);
    --border-panel-hover: rgba(0, 0, 0, 0.1);
    --shadow-panel-hover: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --bg-card-reflection: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    --border-card-hover: rgba(0, 201, 141, 0.2);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 60px rgba(0, 201, 141, 0.05);
    --heading-xl-gradient: linear-gradient(135deg, #1a1f36 0%, #4a5568 100%);
    --bg-input: rgba(255, 255, 255, 0.7);
    --border-faq-hover: rgba(0, 0, 0, 0.12);
    --color-brand-name: #2563eb;
    --color-brand-tagline: #4a5568;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
.glass-theme {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 100px;
}

.glass-theme main {
    padding-top: 48px;
}

.glass-theme *,
.glass-theme *::before,
.glass-theme *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   FIXED BACKGROUND LOGO
============================================ */
.fixed-logo-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 1000px;
    min-width: 400px;
    height: auto;
    opacity: var(--bg-logo-opacity);
    z-index: 0;
    pointer-events: none;
}

.fixed-logo-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: var(--bg-logo-glow);
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   GLASS PANEL STYLES
============================================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.glass-panel:hover {
    background: var(--bg-panel-hover);
    border-color: var(--border-panel-hover);
    box-shadow: var(--shadow-panel-hover);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-card-reflection);
}

@media (hover: hover) {
    .glass-card:hover {
        transform: translateY(-4px) scale(1.01);
        background: var(--bg-card-hover);
        border-color: var(--border-card-hover);
        box-shadow: var(--shadow-card-hover);
    }
}

/* Static version without hover transform */
.glass-card-static {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

/* ============================================
   TYPOGRAPHY
============================================ */
.glass-theme h1,
.glass-theme h2,
.glass-theme h3,
.glass-theme h4,
.glass-theme h5,
.glass-theme h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.heading-xl {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: var(--heading-xl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.heading-md {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

.heading-sm {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
}

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

.text-secondary {
    color: var(--text-secondary);
}

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

/* ============================================
   BUTTONS
============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--hht-cta-color);
    background: var(--hht-cta-gradient);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--hht-cta-glow),
                0 0 0 1px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ============================================
   SECTION LAYOUTS
============================================ */
.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

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

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

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* ============================================
   HERO STYLES
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ============================================
   ICON BOXES
============================================ */
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box.cyan {
    background: rgba(0, 242, 169, 0.15);
    color: var(--accent-cyan);
}

.icon-box.blue {
    background: rgba(45, 124, 255, 0.15);
    color: var(--accent-blue);
}

.icon-box.purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
}

.icon-box.red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.icon-box-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

/* ============================================
   LISTS & ITEMS
============================================ */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.x-icon {
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-red);
    font-size: 0.75rem;
}

/* Pills/Tags */
.pill {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pill-accent {
    background: rgba(0, 242, 169, 0.1);
    border-color: rgba(0, 242, 169, 0.3);
    color: var(--accent-cyan);
}

/* ============================================
   FORM ELEMENTS
============================================ */
.glass-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.glass-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 169, 0.1);
}

.glass-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    resize: vertical;
    min-height: 120px;
}

.glass-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 169, 0.1);
}

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

/* ============================================
   FAQ ACCORDION
============================================ */
.faq-item {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--transition-base);
    margin-bottom: 1rem;
}

.faq-item:hover {
    border-color: var(--border-faq-hover);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    padding-right: 1rem;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

details.faq-item > summary {
    list-style: none;
}

details.faq-item > summary::-webkit-details-marker {
    display: none;
}

details.faq-item[open] > summary svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FOOTER
============================================ */
.glass-footer {
    position: relative;
    z-index: 1;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Glow pulse animation */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 242, 169, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 242, 169, 0.5); }
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* ============================================
   NAVBAR (Glass Style)
============================================ */
.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.glass-navbar.scrolled {
    background: var(--bg-navbar-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-navbar-scrolled);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.navbar-logo {
    height: 64px;
    width: auto;
    margin: -6px;
}

.navbar-logo-light { display: none; }
[data-theme="light"] .navbar-logo-dark { display: none; }
[data-theme="light"] .navbar-logo-light { display: block; }

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.navbar-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brand-name) !important;
    line-height: 1.1;
    margin-bottom: -2px;
}

.navbar-brand-tagline {
    font-size: 0.65rem;
    color: var(--color-brand-tagline) !important;
    letter-spacing: 0.05em;
    line-height: 1.1;
    opacity: 1 !important;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-dropdown-toggle:hover {
    color: var(--text-primary);
}

.nav-dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-base);
        padding: 2rem;
        z-index: 99;
    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-link {
        display: block;
        padding: 1rem;
        color: var(--text-secondary);
        text-decoration: none;
        font-family: var(--font-display);
        font-weight: 500;
        font-size: 1.1rem;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        background: var(--bg-card);
        color: var(--text-primary);
    }
}

/* ============================================
   UTILITY CLASSES
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

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

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================
   NUMBERED STEPS
============================================ */
.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-number.cyan {
    background: rgba(0, 242, 169, 0.15);
    color: var(--accent-cyan);
}

.step-number.blue {
    background: rgba(45, 124, 255, 0.15);
    color: var(--accent-blue);
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   HHT NAVBAR
============================================ */
.hht-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-navbar-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.hht-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.hht-nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.hht-nav-logo span {
    background: var(--hht-cta-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.25rem;
}

.hht-nav-brand {
    display: flex;
    flex-direction: column;
}

.hht-nav-back {
    font-size: 0.85rem;
    background: linear-gradient(135deg, #2D7CFF, #2D7CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    padding-left: calc(36px + 0.625rem);
    margin-top: -2px;
    transition: color 0.2s;
}

.hht-nav-back:hover {
    color: var(--accent-cyan);
}

.hht-mobile-back {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}

.hht-mobile-back:hover {
    color: var(--accent-cyan);
}

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

.hht-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.hht-nav-link:hover {
    color: var(--accent-cyan);
}

.hht-nav-link.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 4px;
}

.hht-nav-cta {
    background: var(--hht-cta-gradient);
    color: var(--hht-cta-color);
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hht-nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--hht-cta-glow);
}

/* HHT CTA Buttons */
.hht-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hht-cta-gradient);
    color: var(--hht-cta-color);
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hht-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--hht-cta-glow);
}

.hht-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--hht-cta-gradient);
    color: var(--hht-cta-color);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px var(--hht-cta-glow);
}

.hht-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.5);
}

.hht-cta-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--hht-cta-gradient);
    color: var(--hht-cta-color);
    padding: 1.125rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 40px var(--hht-cta-glow);
    position: relative;
}

.hht-cta-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0, 191, 255, 0.5);
}

.hht-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 1024px) {
    .hht-nav-links { display: none; }
    .hht-mobile-toggle { display: block; }
    .hht-nav { padding: 1rem; }
}

/* HHT Mobile Menu */
.hht-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-base);
    z-index: 99;
    padding: 6.5rem 2rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
}

.hht-mobile-menu.open { display: flex; }

.hht-mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.hht-mobile-menu a.active {
    color: var(--accent-cyan);
}

/* ============================================
   HHT FOOTER
============================================ */
.hht-footer {
    padding: 2rem 1.5rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hht-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hht-footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hht-footer-links a:hover {
    color: var(--accent-cyan);
}

.hht-footer-copy {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0;
    opacity: 0.6;
}

/* ============================================
   THEME TOGGLE BUTTON (Glass Style)
============================================ */
.glass-theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.glass-theme-toggle:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

/* Default (light mode): show moon icon, hide sun */
.glass-theme-toggle .sun-icon { display: none !important; }
.glass-theme-toggle .moon-icon { display: flex !important; }

/* Dark mode: show sun icon, hide moon */
[data-theme="dark"] .glass-theme-toggle .sun-icon { display: flex !important; }
[data-theme="dark"] .glass-theme-toggle .moon-icon { display: none !important; }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
