/* Intrvl Design System - Shared Styles */
/* Rebuild: Ensure navigation hover effects are deployed */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Colors */
    --primary: #00D9FF;
    --primary-dim: #0099CC;
    --accent: #FF006E;
    --success: #00FF88;
    --warning: #FFB800;
    
    --background: #0A0E17;
    --surface: #131824;
    --surface-elevated: #1C2333;
    --surface-glass: rgba(19, 24, 36, 0.7);
    
    --text-primary: #FFFFFF;
    --text-secondary: #8B92A8;
    --text-tertiary: #5A6278;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(0, 217, 255, 0.2);
    
    /* Typography */
    --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
    
    /* Layout */
    --container-width: 1400px;
    --container-narrow: 900px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 30px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-display);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.06) 0%, transparent 50%);
    animation: drift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-border {
    border-top: 1px solid var(--border);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.6s ease-out;
}

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

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.2);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    position: relative;
}

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

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

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

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: -0.5rem -0.75rem;
}

.nav-dropdown > a::after {
    content: '▼';
    font-size: 0.65rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    margin-left: 0.25rem;
    opacity: 0.7;
}

/* Open state (for both mobile tap and desktop) */
.nav-dropdown.open > a {
    background: rgba(0, 217, 255, 0.12);
    color: var(--primary);
}

.nav-dropdown.open > a::after {
    transform: rotate(180deg);
    color: var(--primary);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    background: #131824;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 217, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    margin: 0;
}

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

/* Desktop hover styles - only for devices with true hover (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover > a {
        background: rgba(0, 217, 255, 0.08);
        color: var(--primary);
    }

    .nav-dropdown:hover > a::after {
        transform: rotate(180deg);
        color: var(--primary);
        opacity: 1;
    }

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

/* Keep dropdown open when hovering over menu (desktop only) */
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown-menu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
    font-weight: 600;
    position: relative;
    background: transparent !important;
}

.nav-dropdown-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    background: transparent !important;
    color: var(--primary) !important;
}

.nav-dropdown-menu a:hover::before,
.nav-dropdown-menu a:focus::before {
    width: calc(100% - 2rem);
}

.nav-dropdown-menu a.active {
    background: transparent !important;
    color: var(--primary) !important;
}

.nav-dropdown-menu a.active::before {
    width: calc(100% - 2rem);
}

/* Navigation CTA Button */
.nav-cta {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
}

.nav-cta .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 217, 255, 0.8) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--background);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.nav-cta .btn > * {
    position: relative;
    z-index: 2;
}

.nav-cta .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
}

.nav-cta .btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.nav-cta .btn:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.9) 0%, rgba(0, 217, 255, 0.7) 100%);
    border-color: transparent;
    color: var(--background);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-cta .btn:hover::before {
    opacity: 1;
}

.nav-cta .btn:hover::after {
    opacity: 1;
}

.nav-cta .btn span:last-child {
    transition: transform 0.3s;
}

.nav-cta .btn:hover span:last-child {
    transform: translateX(4px);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger:hover {
    border-color: var(--border-bright);
}

.nav-open .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
    display: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

.btn-primary {
    background: var(--primary);
    color: var(--background);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.5);
    color: var(--background);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-bright);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
    color: var(--text-primary);
}

.btn-ghost {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--border-bright);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 217, 255, 0.3);
}

.card h3, .card h4 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================
   GRIDS
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   BADGES & LABELS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border-bright);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--primary);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Pill tags (use cases, badges) */
.use-case-tag {
    background: var(--surface-elevated);
    border: 1px solid var(--border-bright);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

/* Shared card variants */
.timer-card,
.floating-card,
.pricing-card,
.blog-card,
.blog-post,
.feature-panel,
.faq-card,
.section-content,
.content-block,
.summary-box,
.contact-box {
    border-radius: var(--radius-xl);
}

.timer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
}

.floating-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
}

.blog-card,
.blog-post {
    background: var(--surface);
    border: 1px solid var(--border);
}

.blog-content,
.blog-post-content {
    padding: 2rem;
}

.blog-date-lines {
    margin-top: 0.6rem;
    display: grid;
    gap: 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.timer-display {
    font-family: var(--font-mono);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem;
}

.footer-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

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

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-heading {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .nav-container {
        overflow: visible;
    }

    .logo {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }

    .logo-img {
        display: block !important;
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }

    /* Mobile nav - positioned below header */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        display: none;
        pointer-events: none;
    }

    body.nav-open nav {
        display: block;
        pointer-events: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        list-style: none;
        margin: 0.5rem 1rem 1rem;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        scroll-behavior: smooth;
    }

    .nav-links li {
        margin: 0;
    }

    /* Section headers (dropdown parents) */
    .nav-dropdown > a {
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.12em;
        padding: 1rem 0 0.25rem;
        margin: 0;
        pointer-events: none;
    }

    /* First dropdown header - no top padding */
    .nav-links > li:first-child > a {
        padding-top: 0;
    }

    /* Hide the dropdown arrow on mobile */
    .nav-dropdown > a::after {
        display: none;
    }

    /* All dropdown menus always visible */
    .nav-dropdown-menu {
        position: static;
        max-height: none;
        opacity: 1;
        visibility: visible;
        overflow: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        transition: none;
    }

    .nav-dropdown-menu li {
        margin: 0;
    }

    .nav-dropdown-menu a {
        display: block;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        padding: 0.625rem 0;
        transition: color 0.2s ease;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:active {
        color: var(--primary);
    }

    .nav-dropdown-menu a::before {
        display: none;
    }

    /* Mobile CTA button */
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        padding-left: 0;
        padding-top: 1rem;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* Hide the overlay div */
    .nav-overlay {
        display: none !important;
    }

    body.nav-open .nav-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Note: Removed overflow:hidden on body - it breaks iOS Safari scroll */

    /* Hamburger transforms to X when open */
    body.nav-open .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    body.nav-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

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

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

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

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

.relative {
    position: relative;
}

.z-1 {
    z-index: 1;
}

/* ============================================
   SPECIAL COMPONENTS
   ============================================ */

/* Code blocks */
pre, code {
    font-family: var(--font-mono);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

pre code {
    background: transparent;
    border: none;
    padding: 0;
}

/* Lists */
ul, ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

li strong {
    color: var(--text-primary);
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}
