/* AI BlackBox Landing Page - Premium Design */

:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-surface-elevated: #141414;
    --color-border: #333333;
    --color-text: #ffffff;
    --color-text-secondary: #c9c9c9;
    --color-primary: #ff4a4a;
    --color-primary-hover: #ff6b6b;
    --color-accent: #ff4a4a;
    --color-accent-red: #ff4a4a;
    --gradient-primary: linear-gradient(135deg, #ff4a4a 0%, #ff6b6b 50%, #ff8585 100%);
    --gradient-text: linear-gradient(135deg, #ff4a4a 0%, #ff6b6b 100%);
    --shadow-glow: 0 0 60px rgba(255, 74, 74, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 74, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 74, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-text-secondary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Animated Logo - Nav */
.logo-animated {
    position: relative;
    width: 28px;
    height: 28px;
}

.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 74, 74, 0.8), 0 0 30px rgba(255, 74, 74, 0.4);
    animation: core-pulse 2s ease-in-out infinite;
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: ring-rotate 3s linear infinite;
}

@keyframes core-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Logo - Centered at Top */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.hero-logo-large {
    position: relative;
    width: 140px;
    height: 140px;
}

.logo-core-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 74, 74, 0.9), 0 0 100px rgba(255, 74, 74, 0.5);
    animation: core-pulse 2s ease-in-out infinite;
}

.logo-ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 74, 74, 0.8);
    border-radius: 50%;
    animation: ring-rotate 3s linear infinite;
}

.logo-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95px;
    height: 95px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 74, 74, 0.5);
    border-bottom-color: rgba(255, 74, 74, 0.3);
    border-radius: 50%;
    animation: ring-rotate 4s linear infinite reverse;
}

.logo-ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border: 1px solid transparent;
    border-top-color: rgba(255, 74, 74, 0.3);
    border-radius: 50%;
    animation: ring-rotate 6s linear infinite;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--color-primary-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 74, 74, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-cinematic {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    line-height: 1;
}

.title-line-1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--color-text);
}

.title-line-2 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative;
}

.appliance-mockup {
    background: rgba(10, 10, 10, 0.85);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--color-border);
    max-width: 400px;
    margin: 0 auto;
}

.mockup-screen {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-content {
    padding: 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    max-width: 85%;
    font-size: 0.9375rem;
}

.chat-bubble.ai {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    align-self: flex-start;
}

.chat-bubble.user {
    background: var(--color-primary);
    align-self: flex-end;
}

/* Problem Section */
.problem {
    padding: 120px 24px;
    background: rgba(10, 10, 10, 0.85);
}

.problem-header {
    text-align: center;
    margin-bottom: 60px;
}

.problem-header h2 {
    margin-bottom: 16px;
}

.problem-header p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.comparison-col {
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-border);
}

.comparison-col.freedom {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(255, 74, 74, 0.1);
}

.col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.col-header h3 {
    font-size: 1.25rem;
}

.col-tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.col-tag.bad {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-accent-red);
}

.col-tag.good {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-accent);
}

.cost-list {
    list-style: none;
    margin-bottom: 24px;
}

.cost-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.cost-list li:last-child {
    border-bottom: none;
}

.cost-list .service {
    color: var(--color-text-secondary);
}

.cost-list .cost {
    font-weight: 600;
}

.cost-list .cost.included {
    color: var(--color-accent);
}

.total-row, .ownership-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 600;
}

.total-bad { color: var(--color-accent-red); font-size: 1.25rem; }
.total-good { color: var(--color-accent); font-size: 1.25rem; }
.ownership-bad { color: var(--color-accent-red); }
.ownership-good { color: var(--color-accent); }

.savings-callout {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

.savings-callout strong {
    color: var(--color-accent);
}

/* Features Section */
.features {
    padding: 120px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(255, 74, 74, 0.1) 100%);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.provider-badge {
    padding: 6px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.memory-stat {
    margin-top: 20px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.memory-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.memory-label {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   MEMORY SECTION - Core Differentiator
   ======================================== */

.memory-section {
    padding: 140px 24px;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 74, 74, 0.03) 50%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.memory-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 74, 74, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Memory Header */
.memory-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.memory-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 74, 74, 0.15);
    border: 1px solid rgba(255, 74, 74, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.memory-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.memory-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Philosophy Quote */
.memory-philosophy {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.memory-philosophy blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 40px;
    background: rgba(255, 74, 74, 0.05);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Memory Architecture Visualization */
.memory-architecture {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.arch-visual {
    position: relative;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

/* Center Volume */
.arch-volume {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    box-shadow: 0 0 60px rgba(255, 74, 74, 0.2), inset 0 0 30px rgba(255, 74, 74, 0.05);
    z-index: 3;
}

.volume-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: var(--color-primary);
}

.volume-icon svg {
    width: 100%;
    height: 100%;
}

.arch-volume h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.arch-volume > p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.volume-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.vol-stat {
    text-align: center;
}

.vol-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.vol-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Orbiting Items */
.arch-orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.orbit-item:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 74, 74, 0.2);
}

.orbit-item.active {
    border-color: var(--color-primary);
    background: rgba(255, 74, 74, 0.15);
    box-shadow: 0 0 30px rgba(255, 74, 74, 0.3);
    transform: scale(1.1);
}

.orbit-item .orbit-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    z-index: 100;
}

.orbit-item.active .orbit-tooltip {
    display: block;
}

.orbit-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.orbit-icon svg {
    width: 100%;
    height: 100%;
}

.orbit-item span {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* RAG Comparison */
.rag-comparison {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.rag-comparison h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.compare-col {
    background: rgba(10, 10, 10, 0.8);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--color-border);
}

.compare-col.blackbox-col {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(255, 74, 74, 0.1);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.compare-header svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.compare-header.bad svg {
    color: #ef4444;
}

.compare-header.good svg {
    color: #22c55e;
}

.compare-header h4 {
    font-size: 1.1rem;
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.x-mark {
    color: #ef4444;
    font-weight: 700;
    font-size: 1rem;
}

.check-mark {
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
}

/* Memory Features Grid */
.memory-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.mem-feature {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mem-feature:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 74, 74, 0.1);
}

.mem-feature.active {
    border-color: var(--color-primary);
    background: rgba(255, 74, 74, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 74, 74, 0.2);
}

.mem-feature.active .mem-feature-icon {
    background: rgba(255, 74, 74, 0.25);
    transform: scale(1.1);
}

.mem-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 74, 74, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.mem-feature-icon svg {
    width: 26px;
    height: 26px;
}

.mem-feature h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.mem-feature p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Exosuit Section */
.exosuit-section {
    background: rgba(255, 74, 74, 0.05);
    border: 1px solid rgba(255, 74, 74, 0.2);
    border-radius: var(--radius-xl);
    padding: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.exosuit-content {
    text-align: center;
}

.exosuit-content h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.exosuit-intro {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.exosuit-capabilities {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.exo-cap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: var(--radius-md);
}

.exo-cap:hover {
    transform: translateY(-5px);
}

.exo-cap.active {
    background: rgba(255, 74, 74, 0.1);
    transform: translateY(-5px);
}

.exo-cap.active .exo-icon {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(255, 74, 74, 0.5);
}

.exo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    position: relative;
}

.exo-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

/* Exo icon specific styles */
.exo-icon.memory-icon::before { content: '🧠'; font-size: 1.5rem; }
.exo-icon.vision-icon::before { content: '👁️'; font-size: 1.5rem; }
.exo-icon.hearing-icon::before { content: '👂'; font-size: 1.5rem; }
.exo-icon.voice-icon::before { content: '🗣️'; font-size: 1.5rem; }
.exo-icon.agency-icon::before { content: '⚡'; font-size: 1.5rem; }

.exo-label {
    font-weight: 600;
    font-size: 1rem;
}

.exo-desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.exosuit-tagline {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Memory CTA */
.memory-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.memory-cta p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

/* Memory Section Responsive */
@media (max-width: 968px) {
    .memory-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .arch-visual {
        height: 500px;
    }

    .orbit-1 { top: 10px; }
    .orbit-2 { right: 10px; }
    .orbit-3 { bottom: 10px; }
    .orbit-4 { left: 10px; }

    .exosuit-capabilities {
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .memory-features {
        grid-template-columns: 1fr;
    }

    .memory-philosophy blockquote {
        font-size: 1.2rem;
        padding: 20px 25px;
    }

    .arch-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .arch-volume {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    .arch-orbit {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .orbit-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        padding: 12px;
    }

    .orbit-item .orbit-tooltip {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 8px;
        white-space: normal;
        text-align: center;
    }

    .exosuit-section {
        padding: 30px 20px;
    }

    .exosuit-capabilities {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
    }

    .exosuit-capabilities .exo-cap:nth-child(5) {
        grid-column: span 2;
    }

    .exo-cap {
        min-width: auto;
        width: 100%;
        max-width: 140px;
        padding: 10px;
    }

    .exo-icon {
        width: 50px;
        height: 50px;
    }

    .exo-label {
        font-size: 0.9rem;
    }

    .exo-desc {
        font-size: 0.75rem;
    }

    .mem-feature {
        padding: 20px;
    }

    .mem-feature h4 {
        font-size: 1rem;
    }

    .mem-feature p {
        font-size: 0.85rem;
    }
}

/* How It Works */
.how-it-works {
    padding: 120px 24px;
    background: rgba(10, 10, 10, 0.85);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-text-secondary);
}

/* Demo Section */
.demo {
    padding: 120px 24px;
}

.demo-placeholder {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--color-text-secondary);
}

.video-placeholder svg {
    opacity: 0.5;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: 140px 24px;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 74, 74, 0.03) 50%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 74, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 74, 74, 0.15);
    border: 1px solid rgba(255, 74, 74, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Mission Card */
.about-mission {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.mission-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-statement {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.mission-philosophy {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.mission-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.mission-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Founding Team */
.about-team {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.about-team > h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.team-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(255, 74, 74, 0.4);
    box-shadow: 0 20px 40px rgba(255, 74, 74, 0.08);
}

.team-member {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(255, 74, 74, 0.3);
}

.member-avatar svg {
    width: 40px;
    height: 40px;
    color: white;
}

.member-info {
    flex: 1;
}

.member-info h4 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.member-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.member-links {
    margin-top: 20px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(10, 102, 194, 0.15);
    border: 1px solid rgba(10, 102, 194, 0.3);
    border-radius: var(--radius-sm);
    color: #0a66c2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.25);
    border-color: rgba(10, 102, 194, 0.5);
    transform: translateY(-2px);
}

.linkedin-link svg {
    flex-shrink: 0;
}

/* Technology Stack */
.about-tech {
    position: relative;
    z-index: 2;
}

.about-tech > h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.tech-intro {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: rgba(255, 74, 74, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 74, 74, 0.08);
}

.tech-category h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.tech-category h4 svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    font-size: 0.875rem;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-name {
    font-weight: 600;
    color: var(--color-text);
}

.tech-desc {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

/* About Section Responsive */
@media (max-width: 968px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .mission-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mission-details {
        grid-template-columns: 1fr;
    }

    .mission-card {
        padding: 28px;
    }

    .team-card {
        padding: 28px;
    }

    .member-links {
        display: flex;
        justify-content: center;
    }
}

/* Pricing Section */
.pricing {
    padding: 120px 24px;
    background: rgba(10, 10, 10, 0.85);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-tagline {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.pricing-amount {
    margin-bottom: 32px;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-left: 8px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.faq {
    padding: 120px 24px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--color-text-secondary);
}

/* Apps Showcase */
.apps-showcase {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 74, 74, 0.03) 50%, var(--color-bg) 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 74, 74, 0.15);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover::before {
    opacity: 1;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.app-tagline {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.app-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge.free {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.app-badge.byok {
    background: rgba(255, 74, 74, 0.15);
    color: var(--color-primary);
}

.app-badge.family {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.app-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.app-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-app:hover {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-app svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    padding: 60px 24px 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .title-line-1,
    .title-line-2 {
        font-size: 3.5rem;
    }

    .hero-title-cinematic {
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.highlight {
        grid-column: span 1;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-logo-wrapper {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .hero-logo-large {
        width: 80px;
        height: 80px;
    }

    .logo-core-large {
        width: 24px;
        height: 24px;
    }

    .logo-ring-1 { width: 38px; height: 38px; }
    .logo-ring-2 { width: 54px; height: 54px; }
    .logo-ring-3 { width: 74px; height: 74px; }

    .title-line-1,
    .title-line-2 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .step {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .app-header {
        flex-direction: column;
        text-align: center;
    }

    .app-badges {
        justify-content: center;
    }

    .app-card {
        padding: 24px;
    }
}

/* ========================================
   EMBER PARTICLE EFFECT
   ======================================== */

.ember-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    animation: ember-rise linear infinite;
    opacity: 0;
}

/* Different ember sizes */
.ember.tiny {
    width: 2px;
    height: 2px;
}

.ember.small {
    width: 3px;
    height: 3px;
}

.ember.medium {
    width: 5px;
    height: 5px;
}

.ember.large {
    width: 7px;
    height: 7px;
}

/* Ember colors with glow effects */
.ember.red {
    background: #ff4a4a;
    box-shadow:
        0 0 6px 2px rgba(255, 74, 74, 0.8),
        0 0 12px 4px rgba(255, 74, 74, 0.5),
        0 0 20px 6px rgba(255, 74, 74, 0.3);
}

.ember.orange {
    background: #ff7b00;
    box-shadow:
        0 0 6px 2px rgba(255, 123, 0, 0.8),
        0 0 12px 4px rgba(255, 123, 0, 0.5),
        0 0 20px 6px rgba(255, 123, 0, 0.3);
}

.ember.yellow {
    background: #ffcc00;
    box-shadow:
        0 0 6px 2px rgba(255, 204, 0, 0.8),
        0 0 12px 4px rgba(255, 204, 0, 0.5),
        0 0 20px 6px rgba(255, 204, 0, 0.3);
}

.ember.white {
    background: #fff5e6;
    box-shadow:
        0 0 6px 2px rgba(255, 245, 230, 0.9),
        0 0 12px 4px rgba(255, 200, 150, 0.6),
        0 0 20px 6px rgba(255, 150, 100, 0.3);
}

/* Ember rise animation */
@keyframes ember-rise {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) translateX(var(--drift-x, 10px)) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50vh) translateX(var(--drift-mid, -5px)) scale(0.9);
    }
    80% {
        opacity: 0.4;
        transform: translateY(-80vh) translateX(var(--drift-end, 15px)) scale(0.6);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(var(--drift-final, 0px)) scale(0.3);
    }
}

/* Flicker animation for extra realism */
@keyframes ember-flicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.7; }
    50% { opacity: 0.9; }
    75% { opacity: 0.6; }
}

.ember.flickering {
    animation: ember-rise linear infinite, ember-flicker 0.3s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes ember-pulse {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.3);
        transform: scale(1.1);
    }
}

.ember.pulsing {
    animation: ember-rise linear infinite, ember-pulse 0.8s ease-in-out infinite;
}

/* Ensure content stays above embers */
.nav,
.hero,
.features,
.how-it-works,
.pricing,
.apps,
.faq,
.cta,
.footer,
section {
    position: relative;
    z-index: 2;
}

/* ========================================
   FIREFLY PARTICLE EFFECT
   ======================================== */

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

/* Firefly sizes */
.firefly.tiny {
    width: 3px;
    height: 3px;
}

.firefly.small {
    width: 4px;
    height: 4px;
}

.firefly.medium {
    width: 6px;
    height: 6px;
}

.firefly.large {
    width: 8px;
    height: 8px;
}

/* Firefly colors - bioluminescent greens and yellows */
.firefly.green {
    background: #7fff00;
    box-shadow:
        0 0 8px 3px rgba(127, 255, 0, 0.9),
        0 0 16px 6px rgba(127, 255, 0, 0.6),
        0 0 30px 10px rgba(127, 255, 0, 0.3),
        0 0 50px 15px rgba(127, 255, 0, 0.1);
}

.firefly.yellow-green {
    background: #adff2f;
    box-shadow:
        0 0 8px 3px rgba(173, 255, 47, 0.9),
        0 0 16px 6px rgba(173, 255, 47, 0.6),
        0 0 30px 10px rgba(173, 255, 47, 0.3),
        0 0 50px 15px rgba(173, 255, 47, 0.1);
}

.firefly.warm-yellow {
    background: #ffd700;
    box-shadow:
        0 0 8px 3px rgba(255, 215, 0, 0.9),
        0 0 16px 6px rgba(255, 215, 0, 0.6),
        0 0 30px 10px rgba(255, 215, 0, 0.3),
        0 0 50px 15px rgba(255, 215, 0, 0.1);
}

.firefly.soft-white {
    background: #fffacd;
    box-shadow:
        0 0 8px 3px rgba(255, 250, 205, 0.9),
        0 0 16px 6px rgba(200, 255, 150, 0.5),
        0 0 30px 10px rgba(150, 255, 100, 0.3),
        0 0 50px 15px rgba(127, 255, 0, 0.1);
}

/* Firefly float animation - slow, meandering movement */
@keyframes firefly-float {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.3);
    }
    5% {
        opacity: 0.3;
    }
    15% {
        opacity: 1;
        transform: translate(var(--drift-1x, 20px), var(--drift-1y, -30px)) scale(1);
    }
    30% {
        opacity: 0.8;
        transform: translate(var(--drift-2x, -15px), var(--drift-2y, -80px)) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translate(var(--drift-3x, 40px), var(--drift-3y, -150px)) scale(1);
    }
    70% {
        opacity: 0.7;
        transform: translate(var(--drift-4x, -25px), var(--drift-4y, -220px)) scale(0.85);
    }
    85% {
        opacity: 0.4;
        transform: translate(var(--drift-5x, 30px), var(--drift-5y, -300px)) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translate(var(--drift-6x, 0px), var(--drift-6y, -400px)) scale(0.3);
    }
}

/* Firefly blink/glow animation - characteristic firefly flash */
@keyframes firefly-blink {
    0%, 100% {
        opacity: 0.1;
        filter: brightness(0.3);
    }
    10%, 15% {
        opacity: 1;
        filter: brightness(1.5);
    }
    20%, 80% {
        opacity: 0.15;
        filter: brightness(0.4);
    }
    85%, 90% {
        opacity: 1;
        filter: brightness(1.3);
    }
}

/* Soft glow pulse for some fireflies */
@keyframes firefly-pulse {
    0%, 100% {
        opacity: 0.3;
        filter: brightness(0.5);
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
        transform: scale(1.1);
    }
}

.firefly.blinking {
    animation: firefly-float linear infinite, firefly-blink ease-in-out infinite;
}

.firefly.pulsing {
    animation: firefly-float linear infinite, firefly-pulse ease-in-out infinite;
}

.firefly.steady {
    animation: firefly-float linear infinite;
}
