/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */

:root {
    /* Brand Colors - Refined & Apple-inspired */
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-lightest: #EDE9FE;
    --secondary: #EC4899;
    --secondary-dark: #DB2777;
    --secondary-light: #F472B6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-accent: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    
    /* Neutral Colors - True blacks & sophisticated grays */
    --bg-primary: #0A0E27;
    --bg-secondary: #151B2F;
    --bg-tertiary: #1F2937;
    --bg-quaternary: #374151;
    --text-primary: #F8F9FA;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --border-color: #374151;
    --border-light: #4B5563;
    
    /* Semantic Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    
    /* Spacing - Generous Apple-style whitespace */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
    
    /* Typography - SF Pro stack */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', 'SF Pro Text', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Menlo, monospace;
    
    /* Font sizes - Apple hierarchy */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Line heights - Optimal reading */
    --line-height-tight: 1.2;
    --line-height-snug: 1.35;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    
    /* Font weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Letter spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.02em;
    
    /* Shadows - Layered, soft, Apple-style */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px 0 rgba(0, 0, 0, 0.18);
    --shadow-2xl: 0 30px 60px 0 rgba(0, 0, 0, 0.2);
    --shadow-elevation: 0 0 0 1px rgba(255, 255, 255, 0.08);
    
    /* Border Radius - Apple 12-16px preference */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    /* Transitions - Smooth, purposeful */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-slow: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-ease: 200ms ease-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-weight: var(--font-weight-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: var(--letter-spacing-normal);
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 999;
    padding: var(--spacing-sm);
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
}

.skip-link:focus {
    top: var(--spacing-md);
    left: var(--spacing-md);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    color: var(--text-primary);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--font-size-6xl);
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-4xl);
    line-height: 1.15;
    font-weight: 700;
}

h3 {
    font-size: var(--font-size-2xl);
    line-height: 1.25;
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h5, h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

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

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

a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

main {
    display: flex;
    flex-direction: column;
}

section {
    padding: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }
    
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.logo:hover .logo-icon {
    transform: scale(1.1);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

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

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: var(--bg-secondary, rgba(21, 27, 47, 0.98));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        padding: var(--spacing-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
        z-index: 200;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-md) 0;
        color: var(--text-primary);
        font-size: 1rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 7rem var(--spacing-md) 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.1));
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.hero-title {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-6xl);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.hero-tagline {
    font-size: var(--font-size-lg);
    color: var(--primary-light);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-graphic {
    position: relative;
    height: 400px;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: 0;
    opacity: 0.3;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    opacity: 0.25;
    background: radial-gradient(circle, var(--secondary), transparent);
    animation-delay: 0.5s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 10%;
    opacity: 0.2;
    animation-delay: 1s;
}

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

@media (max-width: 768px) {
    .hero {
        padding: 4rem var(--spacing-md) 3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-2xl);
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-graphic {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    gap: 0.5rem;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* WCAG AA: Minimum 4.5:1 contrast for text */
.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-lg);
    border: none;
}

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

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(124, 58, 237, 0.05);
}

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

.btn-outline:hover {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    min-height: 48px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: rgba(21, 27, 47, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    background-color: rgba(21, 27, 47, 0.6);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-xl);
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 600;
}

.feature-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   VIDEO CALL SHOWCASE
   ============================================ */

.video-showcase {
    padding: 5rem var(--spacing-md);
    background: var(--bg-secondary);
}

.video-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.vs-text .section-eyebrow {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.vs-feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vs-feature-list li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.vs-mockup {
    background: #0f1117;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.vs-browser-chrome {
    background: #1a1d27;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.vs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vs-dot-red    { background: #ff5f57; }
.vs-dot-yellow { background: #febc2e; }
.vs-dot-green  { background: #28c840; }

.vs-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.2rem 0.7rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vs-call-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 3px;
    background: #070a10;
}

.vs-tile {
    background: #1e2235;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.vs-tile.speaking {
    border-color: #22c55e;
    box-shadow: inset 0 0 14px rgba(34, 197, 94, 0.18);
}

.vs-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #ec4899);
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.vs-name {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.vs-speaking-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: badge-pulse 1.4s ease-in-out infinite;
}

.vs-hud {
    background: rgba(10, 12, 20, 0.97);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-hud-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.vs-hud-btn.end-call {
    background: #ef4444;
    color: #fff;
}

.vs-hud-btn svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 768px) {
    .video-showcase-inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background-color: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.pricing-card {
    background-color: rgba(21, 27, 47, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    background-color: rgba(21, 27, 47, 0.6);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.pricing-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.pricing-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.05));
    transform: scale(1.04);
    position: relative;
}

.pricing-featured:hover {
    transform: scale(1.04) translateY(-12px);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-xl);
}

.badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gradient-accent);
    color: white;
    padding: 0.375rem var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.pricing-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-weight: 600;
}

.pricing-amount {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.currency {
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.period {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-period {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.check {
    color: var(--success);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

/* AUD/GST Pricing Styles - Australian Consumer Law Compliance */
.price-aud {
    position: relative;
}

.price-aud .currency-code {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.25rem;
    vertical-align: super;
    background: transparent;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: currentColor;
    background-clip: unset;
}

.pricing-gst-notice {
    text-align: center;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.gst-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.gst-inc {
    color: var(--text-tertiary);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.pricing-transparency {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.pricing-transparency p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: scale(1);
    }
    
    .pricing-featured:hover {
        transform: translateY(-12px);
    }
    
    .pricing-transparency {
        padding: var(--spacing-sm);
    }
}

/* ============================================
   SIGNUP SECTION
   ============================================ */

.signup {
    background: linear-gradient(135deg, rgba(21, 27, 47, 0.5) 0%, rgba(10, 14, 39, 0.8) 100%);
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-description {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.signup-form {
    background-color: rgba(21, 27, 47, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group:last-of-type {
    margin-bottom: var(--spacing-xl);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background-color: rgba(10, 14, 39, 0.6);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    font-family: inherit;
}

.form-input:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background-color: rgba(10, 14, 39, 0.8);
}

.form-input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 0;
    border-color: var(--primary);
    background-color: rgba(10, 14, 39, 0.9);
}

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

/* WCAG AA: Error states */
.form-input:invalid:not(:placeholder-shown) {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.08);
}

.form-input:invalid:not(:placeholder-shown):focus {
    outline-color: var(--error);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    min-height: 1.25rem;
}

.form-confirmation {
    display: block;
    color: var(--success);
    font-size: var(--font-size-base);
    text-align: center;
    margin-top: var(--spacing-md);
}

.signup-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(21, 27, 47, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.benefit-icon {
    font-size: var(--font-size-2xl);
}

@media (max-width: 768px) {
    .signup-benefits {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #060B18;
    border-top: none;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    color: var(--text-secondary);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Footer Brand Section with Mascot */
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.footer-mascot {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-mascot:hover {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.5));
}

.footer-mascot-inline {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: var(--spacing-xs);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
    max-width: 280px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    color: var(--text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
    font-size: var(--font-size-sm);
    display: inline-block;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Australian Badge */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.footer-badge:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.footer-badge-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.footer-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-badge-primary {
    font-weight: 600;
    color: var(--text-primary);
}

.footer-badge-secondary {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.footer-bottom {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-abn {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    opacity: 0.8;
}

.footer-powered {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-link-highlight {
    color: #7C3AED;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-underline-offset var(--transition-fast);
}

.footer-link-highlight:hover {
    color: #A78BFA;
    text-underline-offset: 5px;
}

.footer-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.5;
}

.accessibility-note {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.accessibility-note a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.accessibility-note a:hover {
    color: var(--primary);
}

/* Legal links row */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xs) var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--spacing-md);
}

.footer-legal-links a {
    color: var(--text-tertiary);
    font-size: var(--font-size-xs);
    transition: color var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-badge {
        margin: var(--spacing-md) auto 0;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .footer-divider {
        display: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
    :root {
        --spacing-2xl: 2rem;
        --font-size-4xl: 1.875rem;
        --font-size-5xl: 2.25rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* High contrast mode support */
@media (prefers-contrast: more) {
    :root {
        --primary: #5B21B6;
        --border-color: #64748B;
    }
}

/* Reduced motion support - respect user preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* Ensure text is readable during web font load */
@font-face {
    font-display: swap;
}

/* ============================================
   TRADING FEATURES SECTION
   ============================================ */

.trading-features {
    background-color: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
}

.trading-disclaimer {
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    text-align: center;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.command-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.command-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.command-card code {
    display: block;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-light);
    margin-bottom: var(--spacing-xs);
}

.command-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Markdown content inside AI message bubbles */
.markdown-content p { margin: 0 0 0.5em; color: inherit; }
.markdown-content p:last-child { margin-bottom: 0; }
.markdown-content ul,
.markdown-content ol { padding-left: 1.25em; margin: 0.5em 0; }
.markdown-content li { margin-bottom: 0.25em; }
.markdown-content pre {
    background: rgba(0,0,0,0.15);
    border-radius: var(--radius-sm);
    padding: 0.75em 1em;
    overflow-x: auto;
    margin: 0.5em 0;
}
.markdown-content code {
    font-family: var(--font-family-mono);
    font-size: 0.875em;
    background: rgba(0,0,0,0.12);
    border-radius: 3px;
    padding: 0.1em 0.3em;
}
.markdown-content pre code { background: none; padding: 0; }
.markdown-content blockquote {
    border-left: 3px solid var(--primary-light);
    margin: 0.5em 0;
    padding-left: 1em;
    opacity: 0.85;
}
.markdown-content h1,.markdown-content h2,.markdown-content h3,
.markdown-content h4,.markdown-content h5,.markdown-content h6 {
    margin: 0.5em 0 0.25em;
    line-height: 1.3;
    color: inherit;
}


   The @media prefers-color-scheme is intentionally NOT used here to ensure
   dark is the default regardless of OS setting. */

/* Manual dark theme override (js toggle) */
html[data-theme="dark"] {
    --bg-primary: #0A0E27;
    --bg-secondary: #0D1117;
    --bg-tertiary: #161B22;
    --bg-quaternary: #1C2333;
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-tertiary: #6E7681;
    --border-color: #30363D;
    --border-light: #21262D;
}

html[data-theme="dark"] .navbar {
    background-color: rgba(10, 14, 39, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dark mode footer — white, high contrast against dark body */
html[data-theme="dark"] .footer {
    background: #F8F9FA;
    border-top: none;
    color: #374151;
}

html[data-theme="dark"] .wave-fill-footer { fill: #F8F9FA; }
html[data-theme="dark"] .wave-bg-footer   { background: #F8F9FA; }

html[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: #6B7280;
}

html[data-theme="dark"] .footer-heading { color: #0A0E27; }
html[data-theme="dark"] .footer-link    { color: #4B5563; }
html[data-theme="dark"] .footer-link:hover { color: #7C3AED; }
html[data-theme="dark"] .footer-copyright { color: #6B7280; }
html[data-theme="dark"] .footer-abn       { color: #9CA3AF; }

html[data-theme="dark"] .theme-toggle-btn .sun-icon  { display: block; }
html[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none;  }

/* Manual light theme override (js toggle) */
html[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F3F5;
    --bg-quaternary: #E9ECEF;
    --text-primary: #0A0E27;
    --text-secondary: #374151;
    --text-tertiary: #6B7280;
    --border-color: #D1D5DB;
    --border-light: #E5E7EB;
}

html[data-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .nav-menu {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .nav-link {
    color: #374151;
}

html[data-theme="light"] .nav-link:hover {
    color: #7C3AED;
}

html[data-theme="light"] .feature-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .signup-form,
html[data-theme="light"] .benefit-item {
    background-color: rgba(248, 249, 250, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Light mode footer — dark, high contrast against white body */
html[data-theme="light"] .footer {
    background: #0A0E27;
    border-top: none;
    color: #D1D5DB;
}

html[data-theme="light"] .wave-fill-footer { fill: #0A0E27; }
html[data-theme="light"] .wave-bg-footer   { background: #0A0E27; }

html[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: #9CA3AF;
}

html[data-theme="light"] .footer-heading { color: #F8F9FA; }
html[data-theme="light"] .footer-link    { color: #D1D5DB; }
html[data-theme="light"] .footer-link:hover { color: #A78BFA; }
html[data-theme="light"] .footer-copyright { color: #9CA3AF; }
html[data-theme="light"] .footer-abn       { color: #6B7280; }

html[data-theme="light"] .theme-toggle-btn .moon-icon { display: block; }
html[data-theme="light"] .theme-toggle-btn .sun-icon  { display: none;  }

/* ── Theme toggle button ────────────────────────────────────────────────── */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary, #F0F6FC);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    padding: 0;
}

.theme-toggle-btn:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.6);
    transform: scale(1.08);
}

.theme-toggle-btn:focus-visible {
    outline: 2px solid #7C3AED;
    outline-offset: 2px;
}

/* Default state: dark bg → show sun (to switch to light) */
.theme-toggle-btn .sun-icon  { display: block; }
.theme-toggle-btn .moon-icon { display: none;  }

/* ── Section wave dividers ───────────────────────────────── */
.section-wave,
.home-wave-separator {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

.section-wave svg,
.home-wave-separator svg {
    display: block;
    width: 100%;
    height: 50px;
}

@media (min-width: 600px) {
    .section-wave svg,
    .home-wave-separator svg { height: 70px; }
}

@media (min-width: 1024px) {
    .section-wave svg,
    .home-wave-separator svg { height: 90px; }
}

/* Wave fill helpers — SVG fills match the section colour they curve INTO */
.wave-fill-primary   { fill: var(--bg-primary); }
.wave-fill-secondary { fill: var(--bg-secondary); }
.wave-fill-footer    { fill: #1A0B2E; }

/* Wave background helpers — bg matches the section colour ABOVE the wave */
.wave-bg-secondary { background: var(--bg-secondary); }
.wave-bg-primary   { background: var(--bg-primary); }
.wave-bg-footer    { background: #1A0B2E; }

/* Print styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .hero-cta .btn-secondary,
    .signup {
        display: none;
    }
    
    body {
        color: #000;
        background-color: #fff;
        font-family: system-ui, -apple-system, sans-serif;
    }
}

/* ============================================
   LOGO & MASCOT IMAGES
   ============================================ */

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.hero-mascot {
    width: 100%;
    max-width: 350px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.3));
}

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

.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-mascot {
        max-width: 250px;
    }
}

/* ============================================================================
   Social Login Buttons
   ============================================================================ */

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login-label {
    color: var(--text-secondary, #666);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-github,
.btn-apple,
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
    position: relative;
}

.btn-github {
    background: #24292e;
    color: #fff;
    border: 1px solid #24292e;
}

.btn-github:hover,
.btn-github:focus {
    background: #2f363d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Apple Sign In - Official branding (black button, white text/logo) */
.btn-apple {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-apple:hover,
.btn-apple:focus {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-google:hover,
.btn-google:focus {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* "Coming Soon" badge for buttons */
.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color, #7C3AED);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* MetaMask button - official orange brand color */
.btn-metamask {
    background: #f6851b;
    color: #fff;
    border: 1px solid #e2761b;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
    position: relative;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.btn-metamask:hover,
.btn-metamask:focus {
    background: #e2761b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 133, 27, 0.35);
}

/* Focus states for accessibility */
.btn-github:focus,
.btn-apple:focus,
.btn-google:focus,
.btn-metamask:focus {
    outline: 2px solid var(--focus-color, #7C3AED);
    outline-offset: 2px;
}

/* DOGE Donation Footer */
.doge-donation-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30,30,40,0.95);
  border-top: 1px solid rgba(255,200,0,0.3);
  padding: 8px 16px;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.doge-donation-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #ccc;
}
.doge-copy-btn {
  background: rgba(255,200,0,0.15);
  border: 1px solid rgba(255,200,0,0.4);
  border-radius: 6px;
  color: #ffd700;
  padding: 4px 10px;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.doge-copy-btn:hover, .doge-copy-btn:focus {
  background: rgba(255,200,0,0.25);
  outline: 2px solid #ffd700;
}
.doge-qr-link {
  color: #ffd700;
  text-decoration: underline;
  font-size: 0.8rem;
  white-space: nowrap;
}
.doge-qr-link:focus { outline: 2px solid #ffd700; }
.doge-icon { font-size: 1.4rem; }

/* ===== Sign-up form styles (from index.html) ===== */
.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.form-confirmation {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}
.form-confirmation.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-confirmation.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}
button[aria-busy="true"] {
    opacity: 0.7;
    cursor: wait;
}
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}
.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    accent-color: var(--primary, #7C3AED);
    cursor: pointer;
    flex-shrink: 0;
}
.form-checkbox:focus-visible {
    outline: 2px solid var(--primary, #7C3AED);
    outline-offset: 2px;
}
.checkbox-text {
    color: var(--text-secondary, #a0aec0);
}
.form-note {
    font-size: 0.8rem;
    color: var(--text-tertiary, #718096);
    display: block;
    margin-top: 0.25rem;
}
.form-note a {
    color: var(--primary-light, #a78bfa);
}
.form-note a:hover {
    text-decoration: underline;
}

/* ============================================================
   Trust / Social Proof Section
   ============================================================ */
.trust-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.trust-card {
    background-color: rgba(21, 27, 47, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--transition-base);
}

.trust-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.trust-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.trust-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.trust-link {
    color: var(--primary-light, #a78bfa);
    text-decoration: none;
}

.trust-link:hover {
    text-decoration: underline;
}

/* Light theme trust cards */
html[data-theme="light"] .trust-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .trust-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
}

/* Discord Bot Section */
.discord-section { padding: 80px 0; background: #f8faff; }
[data-theme="dark"] .discord-section { background: #0d1117; }
.discord-content { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.discord-text { flex: 1; min-width: 280px; }
.discord-badge { display: inline-block; background: #5865F2; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.discord-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 12px; color: var(--text-primary, #0f172a); }
.discord-desc { font-size: 17px; color: var(--text-secondary, #64748b); margin-bottom: 24px; line-height: 1.6; }
.discord-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.discord-features li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-primary, #0f172a); }
.discord-features li strong { color: var(--text-primary, #0f172a); }
.discord-features code { background: var(--surface, #f1f5f9); padding: 1px 5px; border-radius: 4px; font-family: monospace; font-size: 13px; }
.discord-cta-group { display: flex; flex-direction: column; gap: 10px; }
.btn-discord { display: inline-flex; align-items: center; gap: 8px; background: #5865F2; color: #fff; font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 10px; text-decoration: none; transition: background 0.2s; width: fit-content; }
.btn-discord:hover { background: #4752C4; }
.discord-cta-sub { font-size: 13px; color: var(--text-secondary, #64748b); }
.discord-cta-sub a { color: var(--accent, #007AFF); }
.discord-preview { flex: 0 0 300px; }
.discord-mockup { background: #36393f; border-radius: 16px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.discord-msg { display: flex; gap: 12px; }
.discord-avatar { width: 36px; height: 36px; border-radius: 50%; background: #5865F2; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.discord-bubble { flex: 1; }
.discord-name { font-size: 13px; font-weight: 600; color: #5865F2; display: block; margin-bottom: 8px; }
.discord-chart-placeholder { background: #0d1117; border-radius: 8px; overflow: hidden; }
.dcp-header { font-size: 11px; color: #d1d4dc; padding: 8px 10px 4px; font-family: monospace; }
.dcp-bars { display: flex; gap: 3px; align-items: flex-end; padding: 4px 10px 4px; height: 80px; }
.dcp-bar { flex: 1; border-radius: 2px 2px 0 0; min-width: 8px; }
.dcp-footer { font-size: 9px; color: rgba(255,255,255,0.2); text-align: right; padding: 2px 10px 6px; font-family: monospace; }
@media (max-width: 768px) { .discord-content { flex-direction: column; } .discord-preview { width: 100%; } }
