/* ========================================
   MULE CUBE - Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-bg: #0a0a0b;
    --color-bg-secondary: #111113;
    --color-bg-card: #161618;
    --color-text: #e4e4e7;
    --color-text-muted: #a1a1aa;
    --color-primary: #22c55e;
    --color-primary-hover: #16a34a;
    --color-accent: #3b82f6;
    --color-border: #27272a;
    --color-border-light: #3f3f46;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    /* Legacy variable aliases */
    --bg-primary: var(--color-bg);
    --bg-secondary: var(--color-bg-secondary);
    --text-primary: var(--color-text);
    --text-secondary: var(--color-text-muted);
    --accent: var(--color-primary);
    --accent-color: var(--color-primary);
    --primary: var(--color-primary);
    --primary-color: var(--color-primary);
    --primary-dark: var(--color-primary-hover);
    --border-color: var(--color-border);

    /* Legacy variable aliases - compatibility fix */
    --bg-primary: var(--color-bg);
    --bg-secondary: var(--color-bg-secondary);
    --text-primary: var(--color-text);
    --text-secondary: var(--color-text-muted);
    --accent: var(--color-primary);
    --accent-color: var(--color-primary);
    --primary: var(--color-primary);
    --primary-color: var(--color-primary);
    --primary-dark: var(--color-primary-hover);
    --border-color: var(--color-border);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Logo watermark background */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220vmin;
    height: 220vmin;
    background: url('/images/mulecube-logo-bg.png') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-md); }

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

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text);
    font-size: 1.25rem;
}

.logo-img {
    height: 64px;
    width: auto;
    
}

.logo span,
.logo:hover span,
.logo:active span,
.logo:visited span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-variant: small-caps;
    font-size: 1.5rem;
}

.logo-img-small {
    height: 32px;
}

.logo-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.logo strong {
    color: var(--color-primary);
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #000;
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

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

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-disabled {
    background: var(--color-border);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

/* ========================================
   ACCESSIBILITY - FOCUS STATES
   ======================================== */
/* Visible focus indicators for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

/* Product cards and interactive elements */
.quick-compare-card:focus-visible,
.finder-option:focus-visible,
.feature-card:focus-visible,
.product-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Remove default outline (replaced by focus-visible) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #000;
    padding: 12px 24px;
    z-index: 9999;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ========================================
   HERO SECTION WITH SLIDESHOW
   ======================================== */
.hero {
    padding: var(--space-3xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero slide backgrounds - Desktop (default) */
.hero-slide-camping { background-image: url('/images/hero/camping.webp'); }
.hero-slide-sailing { background-image: url('/images/hero/sailing.webp'); }
.hero-slide-emergency { background-image: url('/images/hero/emergency.webp'); }
.hero-slide-remote-work { background-image: url('/images/hero/remote-work.webp'); }
.hero-slide-expeditions { background-image: url('/images/hero/expeditions.webp'); }

/* Hero slide backgrounds - Mobile (smaller images) */
@media (max-width: 768px) {
    .hero-slide-camping { background-image: url('/images/hero/mobile/camping.webp'); }
    .hero-slide-sailing { background-image: url('/images/hero/mobile/sailing.webp'); }
    .hero-slide-emergency { background-image: url('/images/hero/mobile/emergency.webp'); }
    .hero-slide-remote-work { background-image: url('/images/hero/mobile/remote-work.webp'); }
    .hero-slide-expeditions { background-image: url('/images/hero/mobile/expeditions.webp'); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 11, 0.95) 0%,
        rgba(10, 10, 11, 0.85) 35%,
        rgba(10, 10, 11, 0.5) 70%,
        rgba(10, 10, 11, 0.3) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    position: relative;
    min-height: 4.5em; /* Reserve space for text */
}

.hero-subtitle .subtitle-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hero-subtitle .subtitle-text.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Usecases with highlight animation */
.hero-usecases {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.hero-usecases .usecase {
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    margin: 0 -0.2rem;
}

.hero-usecases .usecase:hover {
    color: var(--color-text);
}

.hero-usecases .usecase.active {
    background: var(--color-primary);
    color: #000;
    font-weight: 500;
}

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

/* Hero definition and benefits (new) */
.hero-definition {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    max-width: 550px;
    line-height: 1.5;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl) 0;
    display: grid;
    gap: var(--space-sm);
}

.hero-benefits li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

.hero-benefits li strong {
    color: var(--color-text);
}

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

.hero-product-img {
    max-width: 80%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
}

.cube-preview {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
}

.cube-face {
    font-size: 8rem;
    color: var(--color-primary);
}

/* Hero disclaimer and asterisk */
.hero .asterisk {
    color: var(--color-primary);
}

.hero-disclaimer {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-disclaimer a {
    color: var(--color-text);
    font-weight: 500;
}

.hero-disclaimer a:hover {
    color: var(--color-primary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-overview {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--color-border-light);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-icon a {
    display: block;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.feature-card p a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--color-primary);
}

.feature-card p a:hover {
    color: var(--color-primary-hover);
    border-bottom-style: solid;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-preview {
    padding: var(--space-3xl) 0;
}

.products-preview h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.product-card {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.product-card-image {
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md);
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-card-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: var(--color-bg-secondary);
    padding: var(--space-md);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    z-index: 1;
}

.product-card h3 {
    margin-bottom: var(--space-xs);
}

.product-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-xl);
    flex-grow: 1;
}

.product-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.product-features li:last-child {
    border-bottom: none;
}

.products-all-link {
    text-align: center;
}

/* ========================================
   USE CASES SECTION
   ======================================== */
.use-cases {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.use-cases h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.use-cases .section-subtitle {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.use-case {
    text-align: center;
    padding: var(--space-lg);
}

.use-case-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.use-case h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.use-case p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ========================================
   AI EXPECTATIONS SECTION
   ======================================== */
.ai-expectations {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.ai-expectations h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.ai-lead {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.ai-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.ai-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.ai-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-card li {
    padding: var(--space-sm) 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
}

.ai-card li:last-child {
    border-bottom: none;
}

.ai-card li strong {
    color: var(--color-text);
}

.ai-card-warning h4 {
    color: #f59e0b;
}

.ai-card-speed h4 {
    color: #3b82f6;
}

.ai-footnote {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    margin: var(--space-2xl) auto 0;
    font-style: italic;
}

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

/* ========================================
   CRISIS TEASER (condensed)
   ======================================== */
.crisis-teaser {
    padding: var(--space-lg) 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.crisis-line {
    text-align: center;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.crisis-line strong {
    color: var(--color-text);
}

.crisis-emoji {
    margin-right: var(--space-sm);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

.cta-section > .container > p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.page-header {
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    background: url('/images/products-hero-bg.jpg') center center / cover no-repeat;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.8);
    z-index: 1;
}

.page-header-hero .container {
    position: relative;
    z-index: 2;
}

.page-header-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.page-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.products-page {
    padding: var(--space-2xl) 0;
}

.included-features {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-2xl);
}

.included-features h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.included-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.included-item span {
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.products-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.product-card-full {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
}

.product-card-full.featured {
    border-color: var(--color-primary);
}

.product-card-full-image {
    margin: calc(var(--space-xl) * -1) calc(var(--space-xl) * -1) var(--space-lg);
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    background: var(--color-bg-secondary);
}

.product-card-full-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: var(--space-lg);
}

.product-header h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.product-price-block {
    margin: var(--space-lg) 0;
}

.product-price-block .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-note {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.product-specs h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
}

.product-specs li::before {
    content: "•";
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.product-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.shipping-info {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.shipping-info h3 {
    margin-bottom: var(--space-lg);
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.shipping-zone strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.shipping-zone p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.products-contact {
    text-align: center;
    color: var(--color-text-muted);
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */
.product-single {
    padding: var(--space-2xl) 0;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-border);
}

.product-hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.product-price-large .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-cta {
    margin-top: var(--space-xl);
}

.product-shipping {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

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

.product-hero-image img {
    max-width: 80%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
}

.product-placeholder {
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-icon {
    font-size: 6rem;
    color: var(--color-primary);
}

.product-quick-specs {
    margin-bottom: var(--space-2xl);
}

.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.spec-pill {
    background: var(--color-bg-card);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
}

.product-content {
    max-width: var(--container-narrow);
}

.product-content h2 {
    margin-top: var(--space-2xl);
}

.product-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.product-content th,
.product-content td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.product-content th {
    color: var(--color-text-muted);
    font-weight: 500;
}

.related-products {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.related-card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--color-border-light);
}

.related-card h4 {
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.related-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.related-price {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   PRODUCT BUY SECTION (Sticky CTA on product pages)
   ======================================== */
.product-buy-section {
    margin: var(--space-2xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.buy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    max-width: 500px;
}

.buy-box-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.buy-box-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.buy-box-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .buy-box {
        flex-direction: column;
        text-align: center;
        max-width: none;
    }
    
    .buy-box-content {
        align-items: center;
    }
    
    .buy-box .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   POWERED BY SECTION
   ======================================== */
.powered-by {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-xl);
}

[data-theme="light"] .powered-by {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.powered-by .container {
    text-align: center;
}

.powered-by-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: var(--space-sm);
}

.powered-by-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
}

.powered-by-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.powered-by-logos a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.powered-by-logos img {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Per-logo size adjustments */
.powered-by-logos img[alt="Raspberry Pi"] { height: 46px; }
.powered-by-logos img[alt="Geekworm"] { height: 52px; }
.powered-by-logos img[alt="Heltec"] { height: 24px; }
.powered-by-logos img[alt="Ground Control"] { height: 46px; }
.powered-by-logos img[alt="Iridium"] { height: 34px; }
.powered-by-logos img[alt="Ubuntu"] { height: 36px; }
.powered-by-logos img[alt="Docker"] { height: 34px; }
.powered-by-logos img[alt="Hugo"] { height: 14px; }
.powered-by-logos img[alt="Claude"] { height: 32px; }
.powered-by-logos img[alt="Nuclear Lighters Inc."] { height: 72px; }

/* Dark/Light logo switching - now using light logos for both since bg is light */
.powered-by-logos .logo-dark {
    display: none;
}

.powered-by-logos .logo-light {
    display: block;
}

/* Light theme - same behavior */
[data-theme="light"] .powered-by-logos .logo-dark {
    display: none;
}

[data-theme="light"] .powered-by-logos .logo-light {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .powered-by-logos {
        gap: var(--space-lg);
    }
    
    .powered-by-logos img {
        height: 24px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    font-size: 0.85rem !important;
}

.footer-links h3,
.footer-links h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

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

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.footer-bottom a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-text-muted);
}

.footer-bottom a:hover {
    color: var(--color-primary);
    text-decoration-color: var(--color-primary);
}

.footer-open-source a {
    color: var(--color-primary);
}

.footer-contact {
    margin-top: var(--space-sm);
}

.footer-contact a {
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.page-single {
    padding: var(--space-3xl) 0;
}

.page-content {
    color: var(--color-text);
}

.page-content h2 {
    margin-top: var(--space-2xl);
}

.page-content ul, .page-content ol {
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.page-content li {
    margin-bottom: var(--space-sm);
}

.page-content code {
    background: var(--color-bg-card);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.page-content pre {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-bottom: var(--space-lg);
}

.page-content pre code {
    background: none;
    padding: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    
    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: var(--space-sm);
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-md);
        min-height: 4.5em;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    /* Show product image on mobile, repositioned above content */
    .hero-image {
        order: -1;
        margin-bottom: var(--space-sm);
    }
    
    .hero-product-img {
        max-width: 45%;
        max-height: 150px;
    }
    
    .hero-bg-overlay {
        background: rgba(10, 10, 11, 0.88);
    }
    
    .hero-usecases {
        margin: 0 auto var(--space-sm);
        font-size: 0.85rem;
    }
    
    .hero-disclaimer {
        margin: 0 auto var(--space-md);
        font-size: 0.75rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-hero {
        grid-template-columns: 1fr;
    }
    
    .products-full-grid {
        grid-template-columns: 1fr;
    }
    
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-compare-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    /* Compact mobile hero */
    .hero {
        min-height: auto;
        padding: var(--space-md) 0 var(--space-lg);
    }
    
    .hero .container {
        gap: var(--space-sm);
    }
    
    .hero-slide {
        background-position: 70% center;
    }
    
    .hero-image {
        margin-bottom: var(--space-xs);
    }
    
    .hero-product-img {
        max-width: 40%;
        max-height: 120px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: var(--space-xs);
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        min-height: 3.5em;
        margin-bottom: var(--space-sm);
        line-height: 1.4;
    }
    
    .hero-usecases {
        font-size: 0.8rem;
        margin-bottom: var(--space-xs);
    }
    
    .hero-disclaimer {
        font-size: 0.7rem;
        margin-bottom: var(--space-sm);
        line-height: 1.3;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-xs);
        margin-bottom: var(--space-sm);
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }
    
    .trust-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        z-index: 99;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .shipping-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-compare-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: var(--space-sm) 0 var(--space-md);
    }
    
    .hero h1 {
        font-size: 1.35rem;
    }
    
    .hero-product-img {
        max-width: 35%;
        max-height: 100px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        min-height: 3em;
    }
    
    .hero-usecases {
        font-size: 0.75rem;
    }
    
    .hero-disclaimer {
        font-size: 0.65rem;
    }
    
    .hero-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .trust-badge {
        font-size: 0.65rem;
    }
    
    .product-price-large .price {
        font-size: 2rem;
    }
    
    .product-hero h1 {
        font-size: 1.5rem;
    }
}

/* Product image glow effect */
.product-card-image img {
    filter: drop-shadow(0 0 20px rgba(100, 200, 255, 0.15));
    transition: filter 0.3s ease;
}

.product-card-image:hover img {
    filter: drop-shadow(0 0 30px rgba(100, 200, 255, 0.3));
}

/* Product hero image inherits same shadow as homepage hero */
.product-hero-image:hover img {
    filter: drop-shadow(0 25px 70px rgba(0, 0, 0, 0.9));
}

/* Table styling for legal pages */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table th,
table td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
    font-weight: 600;
    color: var(--primary);
}

table th:first-child,
table td:first-child {
    padding-left: 0;
    width: 30%;
}

table th:last-child,
table td:last-child {
    padding-right: 0;
}

table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Pre-order Banner */
.preorder-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    text-align: center;
}

.preorder-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.preorder-banner a {
    color: #4dabf7;
    text-decoration: none;
    font-weight: 500;
}

.preorder-banner a:hover {
    text-decoration: underline;
}

/* 404 Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    opacity: 0.3;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.error-message {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Foundation easter egg section */
.foundation-easter-egg {
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
}

.foundation-easter-egg h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.foundation-easter-egg blockquote,
.foundation-easter-egg em {
    color: var(--color-text-muted);
    font-style: italic;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.comparison-section h2 {
    text-align: center;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: var(--space-xl);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-bg-card);
    font-weight: 600;
    position: sticky;
    top: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .price-small {
    display: block;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: var(--space-xs);
}

.comparison-table .category-row td {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: var(--space-md) var(--space-md) var(--space-xs);
}

.comparison-table tbody tr:hover {
    background: rgba(34, 197, 94, 0.05);
}

.comparison-table .best-for-row td {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    vertical-align: top;
}

.comparison-table tfoot td {
    padding: var(--space-lg) var(--space-md);
    border-bottom: none;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.comparison-table td:not(:first-child) {
    color: var(--color-text-muted);
}

/* Mobile: make first column sticky */
@media (max-width: 768px) {
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--color-bg-secondary);
        z-index: 1;
    }
    
    .comparison-table th:first-child {
        background: var(--color-bg-card);
    }
    
    .comparison-table .category-row td:first-child {
        background: var(--color-bg);
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--space-3xl) 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.faq-item {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.faq-item h4 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.faq-more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ========================================
   PRODUCTS LIST PAGE - CONSISTENT CARDS
   ======================================== */
.products-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.product-list-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-list-card.featured {
    border-color: var(--color-primary);
}

.product-list-image {
    background: var(--color-bg-secondary);
    padding: var(--space-lg);
    text-align: center;
}

.product-list-image img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.product-list-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-list-content h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.product-list-content .product-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.product-list-content .product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.product-list-content .product-description {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.product-specs-list {
    list-style: none;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.product-specs-list li {
    padding: var(--space-xs) 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.product-specs-list li:last-child {
    border-bottom: none;
}

.product-specs-list li::before {
    content: "✓";
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.product-list-card .product-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
}

.product-list-card .product-actions .btn {
    flex: 1;
    text-align: center;
}

/* ========================================
   QUICK COMPARE (Homepage)
   ======================================== */
.quick-compare-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-secondary);
}

.quick-compare-section h2 {
    text-align: center;
}

.quick-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.quick-compare-card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.quick-compare-card.featured {
    border-color: var(--color-primary);
}

.quick-compare-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.quick-compare-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.quick-compare-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.quick-compare-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    background: var(--color-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
}

.quick-compare-link {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Section CTA (used after comparison sections) */
.section-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    flex-wrap: wrap;
}

.cta-helper {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.cta-helper a {
    color: var(--color-text);
}

.cta-helper a:hover {
    color: var(--color-primary);
}

.quick-compare-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: var(--space-md);
}

/* ========================================
   FULL COMPARISON TABLE (Products Page)
   ======================================== */
.full-comparison {
    margin: var(--space-3xl) 0;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.full-comparison h2 {
    text-align: center;
}

.full-comparison .section-subtitle {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.comparison-table.compact {
    font-size: 0.85rem;
}

.comparison-table.compact th,
.comparison-table.compact td {
    padding: var(--space-sm);
}

.comparison-table.compact .price-small {
    font-size: 1rem;
}

.comparison-table.compact .best-for-row td {
    background: var(--color-bg);
    font-style: italic;
    color: var(--color-text-muted);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}
/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
}

/* ========================================
   PRIVACY SECTION
   ======================================== */
.privacy-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.privacy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    margin-bottom: 0.5rem;
}

.privacy-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.privacy-point {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-weight: 500;
}

.privacy-icon {
    font-size: 1.25rem;
}

.privacy-tagline {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .privacy-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .privacy-points {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CRISIS / PREPPER SECTION
   ======================================== */
.crisis-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d1f0d 100%);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.crisis-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.crisis-content h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.crisis-content > p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.crisis-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.crisis-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.crisis-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.crisis-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
}

.crisis-stats-table {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.crisis-stats-table .stat-cell {
    flex: 1;
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.crisis-stats-table .stat-cell:last-child {
    border-right: none;
}

.crisis-stats-table .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.crisis-stats-table .stat-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

.crisis-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
}

.crisis-link {
    margin-top: 1.5rem;
}

.crisis-link a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.crisis-link a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .crisis-stats-table {
        flex-direction: column;
    }
    
    .crisis-stats-table .stat-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }
    
    .crisis-stats-table .stat-cell:last-child {
        border-bottom: none;
    }
    
    .crisis-stats-table .stat-value {
        font-size: 1.25rem;
    }
}

/* ========================================
   WHAT'S INCLUDED PAGE - SCREENSHOTS
   ======================================== */
.content img,
.single-content img {
    display: block;
    margin: 2rem auto;
    max-width: 800px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

@media (max-width: 850px) {
    .content img,
    .single-content img {
        max-width: 100%;
    }
}

/* Fix: correct selector for page content images */
.page-content img {
    display: block;
    margin: 2rem auto;
    max-width: 800px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

/* Fix dropdown visibility in dark theme */
.form-group select,
.form-group select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group select option {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem;
}

/* Video Section */
.video-section {
    padding: 2rem 0 4rem;
    background: var(--bg-secondary);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-section {
        padding: 1.5rem 0 3rem;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
}

/* Demo button in navigation */
.nav-demo-btn {
    background: var(--color-primary) !important;
    color: #000 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
    text-decoration: none !important;
}

.nav-demo-btn:hover {
    background: var(--color-primary-hover) !important;
    transform: translateY(-1px) !important;
    color: #000 !important;
}

/* Footer demo link highlight */
.footer-demo-link {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* ========================================
   QUICK COMPARE CARDS - CLICKABLE
   ======================================== */
a.quick-compare-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

a.quick-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15);
    border-color: var(--color-primary);
}

a.quick-compare-card:hover h3 {
    color: var(--color-primary);
}

a.quick-compare-card:hover .quick-compare-price {
    transform: scale(1.05);
}

a.quick-compare-card .quick-compare-price {
    transition: transform 0.2s;
}

/* ========================================
   PRODUCT LIST CARDS - CLICKABLE
   ======================================== */
a.product-list-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

a.product-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
    border-color: var(--color-primary);
}

a.product-list-card:hover h2 {
    color: var(--color-primary);
}

a.product-list-card .product-actions .btn {
    pointer-events: none;
}

/* ========================================
   MOBILE FIXES - Added by fix script
   ======================================== */

/* Header - Mobile Logo Size */
@media (max-width: 768px) {
    .logo-img {
        height: 48px;
    }
    .site-header nav {
        height: 56px;
    }
    .nav-links {
        top: 56px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .site-header nav {
        height: 48px;
    }
    .nav-links {
        top: 48px;
        padding: var(--space-md);
    }
}

/* Preorder Banner - Mobile */
@media (max-width: 768px) {
    .preorder-banner {
        padding: 0.5rem var(--space-sm);
    }
    .preorder-banner p,
    .preorder-banner .preorder-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .preorder-banner p,
    .preorder-banner .preorder-text {
        font-size: 0.75rem;
    }
}

/* Hero - Mobile */
@media (max-width: 768px) {
    .hero {
        padding: var(--space-xl) 0;
        min-height: auto;
    }
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-usecases {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    .hero-disclaimer {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    .hero-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .hero-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-lg) 0;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-usecases {
        font-size: 0.8rem;
    }
}

/* Buttons - Mobile */
@media (max-width: 480px) {
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Crisis Section - Mobile */
@media (max-width: 768px) {
    .crisis-section {
        padding: 3rem 0;
    }
    .crisis-content h2 {
        font-size: 1.5rem;
    }
    .crisis-content > p {
        font-size: 1rem;
    }
    .crisis-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    .crisis-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .crisis-section {
        padding: 2rem 0;
    }
    .crisis-content h2 {
        font-size: 1.25rem;
    }
}

/* How It Works - Mobile */
@media (max-width: 768px) {
    .how-it-works {
        padding: 3rem 0;
    }
    .how-it-works h2 {
        font-size: 1.5rem;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    .step h3 {
        font-size: 1rem;
    }
    .step p {
        font-size: 0.85rem;
    }
}

/* Features - Mobile */
@media (max-width: 768px) {
    .features-overview {
        padding: var(--space-2xl) 0;
    }
    .feature-card {
        padding: var(--space-md);
    }
    .feature-card h3 {
        font-size: 0.95rem;
    }
    .feature-card p {
        font-size: 0.8rem;
    }
    .feature-icon img {
        width: 32px;
        height: 32px;
    }
}

/* Privacy Section - Mobile */
@media (max-width: 768px) {
    .privacy-section {
        padding: 3rem 0;
    }
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    .privacy-lead {
        font-size: 1rem;
    }
    .privacy-point {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    .privacy-tagline {
        font-size: 0.95rem;
    }
}

/* Use Cases - Mobile */
@media (max-width: 768px) {
    .use-cases {
        padding: var(--space-2xl) 0;
    }
    .use-cases h2 {
        font-size: 1.5rem;
    }
    .use-case {
        padding: var(--space-md);
    }
    .use-case-icon {
        font-size: 1.75rem;
    }
    .use-case h4 {
        font-size: 0.85rem;
    }
    .use-case p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    .use-case {
        padding: var(--space-sm);
    }
    .use-case-icon {
        font-size: 1.5rem;
    }
}

/* Quick Compare - Mobile */
@media (max-width: 768px) {
    .quick-compare-section {
        padding: var(--space-2xl) 0;
    }
    .quick-compare-section h2 {
        font-size: 1.5rem;
    }
    .quick-compare-card {
        padding: var(--space-md);
    }
    .quick-compare-card h3 {
        font-size: 0.9rem;
    }
    .quick-compare-price {
        font-size: 1.25rem;
    }
    .quick-compare-card p {
        font-size: 0.75rem;
    }
    .quick-compare-tag {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .quick-compare-grid {
        gap: var(--space-sm);
    }
    .quick-compare-card {
        padding: var(--space-sm) var(--space-md);
    }
}

/* FAQ - Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--space-2xl) 0;
    }
    .faq-section h2 {
        font-size: 1.5rem;
    }
    .faq-item {
        padding: var(--space-md);
    }
    .faq-item h4 {
        font-size: 0.9rem;
    }
    .faq-item p {
        font-size: 0.8rem;
    }
}

/* CTA - Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-2xl) 0;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        width: 100%;
    }
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Footer - Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: var(--space-2xl) 0 var(--space-lg);
        margin-top: var(--space-2xl);
    }
    .footer-brand {
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links h4 {
        margin-top: var(--space-lg);
    }
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm) var(--space-md);
    }
    .footer-links li {
        margin-bottom: 0;
    }
}

/* Container - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* Touch Targets - Accessibility */
@media (max-width: 768px) {
    .nav-links a {
        padding: var(--space-sm) 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Prevent Horizontal Scroll */
html, body {
    overflow-x: hidden;
}

/* END MOBILE FIXES */

/* ========================================
   STICKY CTA BAR
   ======================================== */
.sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.98) 0%, rgba(22, 33, 62, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(34, 197, 94, 0.3);
    transition: bottom 0.3s ease-out;
}

.sticky-cta.visible {
    bottom: 0;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-cta-text {
    font-size: 0.9rem;
    color: var(--color-text);
}

.sticky-cta-text strong {
    color: var(--color-primary);
}

.sticky-cta .btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-weight: 600;
}

/* Desktop: subtle bar at bottom */
@media (min-width: 769px) {
    .sticky-cta {
        padding: 10px 40px;
    }
    .sticky-cta-text {
        font-size: 0.95rem;
    }
}

/* Mobile: more prominent */
@media (max-width: 768px) {
    .sticky-cta {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px 16px;
    }
    .sticky-cta-content {
        width: 100%;
        justify-content: center;
    }
    .sticky-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Adjust footer padding when sticky CTA is visible */
body.sticky-cta-active .site-footer {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    body.sticky-cta-active .site-footer {
        padding-bottom: 100px;
    }
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-start;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.trust-badge-icon {
    font-size: 1rem;
}

.trust-badges-inline {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.trust-badges-inline span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Hero trust badges */
.hero .trust-badges {
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .hero .trust-badges {
        justify-content: center;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.testimonials-section .section-subtitle {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.testimonial-card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    padding-top: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    font-size: 0.9rem;
    margin: 0 0 2px 0;
    color: var(--color-text);
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.testimonial-usecase {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    background: var(--color-bg);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   PRODUCT FINDER QUIZ
   ======================================== */
.product-finder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.product-finder h2 {
    margin-bottom: var(--space-sm);
}

.product-finder .section-subtitle {
    margin-bottom: var(--space-2xl);
}

.finder-container {
    max-width: 600px;
    margin: 0 auto;
}

.finder-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.finder-step.active {
    display: block;
}

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

.finder-question {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

.finder-options {
    display: grid;
    gap: var(--space-md);
}

.finder-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.finder-option:hover {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.05);
}

.finder-option.selected {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.1);
}

.finder-option-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.finder-option-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.finder-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-xl);
}

.finder-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.finder-progress-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.finder-progress-dot.completed {
    background: var(--color-primary);
}

.finder-result {
    display: none;
    animation: fadeIn 0.3s ease;
}

.finder-result.active {
    display: block;
}

.finder-result-card {
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.finder-result-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.finder-result-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.finder-result-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.finder-result-reason {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.finder-restart {
    margin-top: var(--space-lg);
    font-size: 0.85rem;
}

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

.finder-restart a:hover {
    color: var(--color-primary);
}

/* ========================================
   MOBILE COMPARISON TABS
   ======================================== */
.mobile-comparison {
    display: none;
}

@media (max-width: 768px) {
    .full-comparison .comparison-table-wrapper {
        display: none;
    }
    
    .mobile-comparison {
        display: block;
    }
}

.comparison-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: var(--space-lg);
    -webkit-overflow-scrolling: touch;
}

.comparison-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.comparison-tab.active {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
    font-weight: 600;
}

.comparison-tab-content {
    display: none;
}

.comparison-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-spec-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.mobile-spec-header {
    background: var(--color-bg-secondary);
    padding: var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.mobile-spec-header h3 {
    margin: 0 0 8px 0;
}

.mobile-spec-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-spec-list {
    padding: var(--space-md);
}

.mobile-spec-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.mobile-spec-item:last-child {
    border-bottom: none;
}

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

.mobile-spec-value {
    color: var(--color-text);
    font-weight: 500;
}

.mobile-spec-value.yes {
    color: var(--color-primary);
}

.mobile-spec-value.no {
    color: var(--color-text-muted);
}

.mobile-spec-cta {
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
}

.mobile-spec-cta .btn {
    width: 100%;
}

.mobile-compare-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.mobile-compare-toggle:hover {
    color: var(--color-primary);
}

/* ========================================
   ANIMATED WIFI EXPLAINER (ENHANCED)
   ======================================== */
.wifi-explainer-enhanced {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    overflow: hidden;
}

.wifi-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 2rem auto;
    max-width: 700px;
    position: relative;
}

.wifi-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    min-width: 120px;
    position: relative;
    z-index: 2;
}

.wifi-device-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.wifi-device.cube .wifi-device-icon {
    animation-delay: 0.5s;
}

.wifi-device-label {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 500;
}

.wifi-connection {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    position: relative;
}

.wifi-wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent, var(--color-primary));
    animation: wave 1.5s ease-in-out infinite;
}

.wifi-wave:nth-child(2) {
    animation-delay: 0.3s;
    top: -8px;
    opacity: 0.7;
}

.wifi-wave:nth-child(3) {
    animation-delay: 0.6s;
    top: 8px;
    opacity: 0.4;
}

.wifi-signal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes wave {
    0% { transform: scaleX(0); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.wifi-no-internet {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ef4444;
}

.wifi-no-internet-icon {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .wifi-animation {
        flex-direction: column;
        gap: 0;
    }
    
    .wifi-connection {
        transform: rotate(90deg);
        width: 60px;
        height: 60px;
    }
    
    .wifi-device {
        min-width: 150px;
    }
}

/* ========================================
   SOCIAL PROOF COUNTER
   ======================================== */
.social-proof-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-lg) 0;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.social-proof-item {
    text-align: center;
}

.social-proof-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.social-proof-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .social-proof-bar {
        gap: var(--space-lg);
        padding: var(--space-md);
    }
    
    .social-proof-number {
        font-size: 1.25rem;
    }
    
    .social-proof-label {
        font-size: 0.7rem;
    }
}

/* ========================================
   PRIVACY GRID FIX
   ======================================== */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ========================================
   ENHANCED CTA SECTION
   ======================================== */
.cta-section .trust-badges {
    justify-content: center;
    margin-top: var(--space-lg);
}

/* ========================================
   PRODUCT PAGE TRUST BADGES
   ======================================== */
.product-cta .trust-badges {
    margin-top: var(--space-md);
}

.buy-box .trust-badges-inline {
    margin-top: var(--space-sm);
    justify-content: center;
}

/* ========================================
   SECTION BACKGROUND GRAPHICS
   Subtle monochrome icons for visual depth
   ======================================== */

/* WiFi Explainer - WiFi Prohibited Icon */
.wifi-explainer {
    position: relative;
    overflow: hidden;
}
.wifi-explainer::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h.01'/%3E%3Cpath d='M8.5 16.429a5 5 0 0 1 7 0'/%3E%3Cpath d='M5 12.859a10 10 0 0 1 5.17-2.69'/%3E%3Cpath d='M13.83 10.17A10 10 0 0 1 19 12.859'/%3E%3Cpath d='M2 8.82a15 15 0 0 1 4.17-2.65'/%3E%3Cpath d='M10.66 6.34A15 15 0 0 1 22 8.82'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.wifi-explainer > * {
    position: relative;
    z-index: 1;
}

/* Crisis Section - Lightning Bolt */
.crisis-section {
    position: relative;
    overflow: hidden;
}
.crisis-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 3%;
    width: 350px;
    height: 350px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973'/%3E%3Cpath d='m13 12-3 5h4l-3 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}
.crisis-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.36 6.64A9 9 0 0 1 20.77 15'/%3E%3Cpath d='M6.16 6.16a9 9 0 1 0 12.68 12.68'/%3E%3Cpath d='M12 2v4'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.crisis-section > * {
    position: relative;
    z-index: 1;
}

/* How It Works - Tesseract Logo */
.how-it-works {
    position: relative;
    overflow: hidden;
}
.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ffffff' stroke-width='1'%3E%3C!-- Outer cube --%3E%3Cpath d='M10 30 L50 10 L90 30 L90 70 L50 90 L10 70 Z'/%3E%3Cpath d='M10 30 L50 50 L90 30'/%3E%3Cpath d='M50 50 L50 90'/%3E%3C!-- Inner cube --%3E%3Cpath d='M30 40 L50 30 L70 40 L70 60 L50 70 L30 60 Z'/%3E%3Cpath d='M30 40 L50 50 L70 40'/%3E%3Cpath d='M50 50 L50 70'/%3E%3C!-- Connecting lines --%3E%3Cpath d='M10 30 L30 40'/%3E%3Cpath d='M50 10 L50 30'/%3E%3Cpath d='M90 30 L70 40'/%3E%3Cpath d='M10 70 L30 60'/%3E%3Cpath d='M50 90 L50 70'/%3E%3Cpath d='M90 70 L70 60'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.how-it-works > * {
    position: relative;
    z-index: 1;
}

/* Features Overview - Circuit Board Pattern */
.features-overview {
    position: relative;
    overflow: hidden;
}
.features-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10h80v80H10z' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cpath d='M30 10v20h40V10M30 90V70h40v20M10 30h20v40H10M90 30H70v40h20' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23ffffff'/%3E%3Ccircle cx='70' cy='30' r='3' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='70' r='3' fill='%23ffffff'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}
.features-overview > * {
    position: relative;
    z-index: 1;
}

/* Privacy Section - Shield Icon */
.privacy-section {
    position: relative;
    overflow: hidden;
}
.privacy-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}
.privacy-section > * {
    position: relative;
    z-index: 1;
}

/* Use Cases (Built For) - Tesseract Logo */
.use-cases {
    position: relative;
    overflow: hidden;
}
.use-cases::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ffffff' stroke-width='1'%3E%3C!-- Outer cube --%3E%3Cpath d='M10 30 L50 10 L90 30 L90 70 L50 90 L10 70 Z'/%3E%3Cpath d='M10 30 L50 50 L90 30'/%3E%3Cpath d='M50 50 L50 90'/%3E%3C!-- Inner cube --%3E%3Cpath d='M30 40 L50 30 L70 40 L70 60 L50 70 L30 60 Z'/%3E%3Cpath d='M30 40 L50 50 L70 40'/%3E%3Cpath d='M50 50 L50 70'/%3E%3C!-- Connecting lines --%3E%3Cpath d='M10 30 L30 40'/%3E%3Cpath d='M50 10 L50 30'/%3E%3Cpath d='M90 30 L70 40'/%3E%3Cpath d='M10 70 L30 60'/%3E%3Cpath d='M50 90 L50 70'/%3E%3Cpath d='M90 70 L70 60'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.use-cases > * {
    position: relative;
    z-index: 1;
}

/* Testimonials - Quote Marks */
.testimonials-section {
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.025;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 0;
}
.testimonials-section > * {
    position: relative;
    z-index: 1;
}

/* Product Finder - Compass/Target */
.product-finder {
    position: relative;
    overflow: hidden;
}
.product-finder::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.product-finder > * {
    position: relative;
    z-index: 1;
}

/* Quick Compare - Grid Pattern */
.quick-compare-section {
    position: relative;
    overflow: hidden;
}
.quick-compare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 0h40v40H0z' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 40px 40px;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}
.quick-compare-section > * {
    position: relative;
    z-index: 1;
}

/* FAQ Section - Tesseract Logo */
.faq-section {
    position: relative;
    overflow: hidden;
}
.faq-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ffffff' stroke-width='1'%3E%3C!-- Outer cube --%3E%3Cpath d='M10 30 L50 10 L90 30 L90 70 L50 90 L10 70 Z'/%3E%3Cpath d='M10 30 L50 50 L90 30'/%3E%3Cpath d='M50 50 L50 90'/%3E%3C!-- Inner cube --%3E%3Cpath d='M30 40 L50 30 L70 40 L70 60 L50 70 L30 60 Z'/%3E%3Cpath d='M30 40 L50 50 L70 40'/%3E%3Cpath d='M50 50 L50 70'/%3E%3C!-- Connecting lines --%3E%3Cpath d='M10 30 L30 40'/%3E%3Cpath d='M50 10 L50 30'/%3E%3Cpath d='M90 30 L70 40'/%3E%3Cpath d='M10 70 L30 60'/%3E%3Cpath d='M50 90 L50 70'/%3E%3Cpath d='M90 70 L70 60'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.faq-section > * {
    position: relative;
    z-index: 1;
}

/* CTA Section - Mountain Silhouette */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200 L0 150 L100 100 L200 130 L350 60 L450 90 L550 40 L650 80 L750 30 L850 70 L950 50 L1050 90 L1150 60 L1200 100 L1200 200 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.cta-section > * {
    position: relative;
    z-index: 1;
}

/* Video Section - Play Button */
.video-section {
    position: relative;
    overflow: hidden;
}
.video-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='10 8 16 12 10 16 10 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}
.video-section > * {
    position: relative;
    z-index: 1;
}

/* Hero Section - Subtle Grid Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0h80v80H0z' fill='none' stroke='%23ffffff' stroke-width='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

/* Mobile adjustments - reduce size of background graphics */
@media (max-width: 768px) {
    .wifi-explainer::before,
    .crisis-section::before,
    .privacy-section::before,
    .testimonials-section::before,
    .testimonials-section::after,
    .product-finder::before,
    .faq-section::before,
    .how-it-works::before,
    .use-cases::before {
        width: 200px;
        height: 200px;
        opacity: 0.025;
    }
    
    .crisis-section::after {
        width: 150px;
        height: 150px;
    }
    
    .cta-section::before {
        height: 100px;
    }
    
    .video-section::before {
        width: 120px;
        height: 120px;
    }
}

/* ========================================
   THEME TOGGLE - Added for Light/Dark Mode
   ======================================== */

/* Light Theme Variables */
[data-theme="light"] {
    --color-bg: #f8f9fa;
    --color-bg-secondary: #ffffff;
    --color-bg-card: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #52525b;
    --color-primary: #16a34a;
    --color-primary-hover: #15803d;
    --color-accent: #2563eb;
    --color-border: #e4e4e7;
    --color-border-light: #d4d4d8;
    
    /* Legacy aliases for light theme */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #52525b;
    --accent: #16a34a;
    --accent-color: #16a34a;
    --primary: #16a34a;
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --border-color: #e4e4e7;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(34, 197, 94, 0.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

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

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

/* Nav actions container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Logo swap for light/dark themes */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

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

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

/* Light theme header */
[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.95);
}

/* Light theme hero overlay */
[data-theme="light"] .hero-bg-overlay {
    background: linear-gradient(
        90deg,
        rgba(248, 249, 250, 0.97) 0%,
        rgba(248, 249, 250, 0.9) 35%,
        rgba(248, 249, 250, 0.7) 70%,
        rgba(248, 249, 250, 0.5) 100%
    );
}

/* Light theme preorder banner */
[data-theme="light"] .preorder-banner {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
}

[data-theme="light"] .preorder-banner p {
    color: var(--color-text);
}

/* Light theme cards */
[data-theme="light"] .feature-card,
[data-theme="light"] .product-card,
[data-theme="light"] .quick-compare-card,
[data-theme="light"] .use-case-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .product-card:hover,
[data-theme="light"] .quick-compare-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Light theme sections */
[data-theme="light"] .features-overview,
[data-theme="light"] .comparison-section,
[data-theme="light"] .quick-compare-section {
    background: #f1f5f9;
}

/* Light theme footer */
[data-theme="light"] .site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

/* Light theme sticky CTA */
[data-theme="light"] .sticky-cta {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Light theme mobile menu */
[data-theme="light"] .nav-links {
    background: var(--color-bg-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Light theme background graphics */
[data-theme="light"] .wifi-explainer::before,
[data-theme="light"] .crisis-section::before,
[data-theme="light"] .crisis-section::after,
[data-theme="light"] .privacy-section::before,
[data-theme="light"] .use-cases::before,
[data-theme="light"] .testimonials-section::before,
[data-theme="light"] .testimonials-section::after,
[data-theme="light"] .product-finder::before,
[data-theme="light"] .faq-section::before,
[data-theme="light"] .how-it-works::before,
[data-theme="light"] .cta-section::before,
[data-theme="light"] .video-section::before,
[data-theme="light"] .features-overview::before,
[data-theme="light"] .quick-compare-section::before {
    filter: invert(1);
    opacity: 0.06;
}

/* Light theme watermark */
[data-theme="light"] body::before {
    filter: invert(1);
    opacity: 0.04;
}

/* Light theme tables */
[data-theme="light"] table tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Light theme Product Finder section */
[data-theme="light"] .product-finder {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
}

[data-theme="light"] .product-finder h2,
[data-theme="light"] .product-finder .section-subtitle,
[data-theme="light"] .finder-question {
    color: var(--color-text);
}

[data-theme="light"] .finder-option {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .finder-option:hover {
    background: rgba(22, 163, 74, 0.08);
    border-color: var(--color-primary);
}

[data-theme="light"] .finder-option.selected {
    background: rgba(22, 163, 74, 0.12);
    border-color: var(--color-primary);
}

[data-theme="light"] .finder-option-title {
    color: var(--color-text);
}

[data-theme="light"] .finder-option-desc {
    color: var(--color-text-muted);
}

[data-theme="light"] .finder-progress-dot {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .finder-progress-dot.active {
    background: var(--color-primary);
}

/* Light theme Weatherproof Addon section (inline styles override) */
[data-theme="light"] .product-addon {
    border-top-color: rgba(22, 163, 74, 0.3);
}

[data-theme="light"] .addon-card {
    background: rgba(22, 163, 74, 0.06);
    border-color: rgba(22, 163, 74, 0.25);
}

[data-theme="light"] .addon-description {
    color: var(--color-text-muted);
}

[data-theme="light"] .addon-specs li {
    color: var(--color-text-muted);
}

[data-theme="light"] .addon-note {
    color: #666;
}

/* Light theme footer logo - use dark version */
[data-theme="light"] .site-footer .logo-img {
    filter: invert(1) brightness(0.2);
}

/* Smooth transitions */
body,
.site-header,
.site-footer,
.nav-links,
.preorder-banner,
.sticky-cta,
.hero-bg-overlay,
.product-finder,
.finder-option,
.addon-card {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


