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

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #d946ef;
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                     radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                     radial-gradient(ellipse at 20% 80%, rgba(217, 70, 239, 0.08) 0%, transparent 50%);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ===== RGB WAVE AMBIENT BACKGROUND ===== */
.rgb-wave-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
    opacity: 0.06;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4, #a855f7, #0ea5e9, #6d28d9, #8b5cf6);
    background-size: 400% 400%;
    animation: rgbWave 10s ease infinite;
    mix-blend-mode: screen;
}

@keyframes rgbWave {
    0%   { background-position: 0% 0%; }
    25%  { background-position: 100% 0%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Patreon Nav Button */
.patreon-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 66, 77, 0.12);
    border: 1px solid rgba(255, 66, 77, 0.3);
    border-radius: 20px;
    text-decoration: none;
    color: #ff424d;
    font-size: 0.72rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.patreon-nav-btn:hover {
    background: rgba(255, 66, 77, 0.25);
    border-color: rgba(255, 66, 77, 0.5);
    transform: translateY(-1px);
}

.patreon-icon {
    flex-shrink: 0;
    color: #ff424d;
}

.patreon-nav-text {
    color: rgba(255, 255, 255, 0.75);
}

/* Patreon Hero Button */
.btn-patreon {
    background: rgba(255, 66, 77, 0.15) !important;
    border: 1px solid rgba(255, 66, 77, 0.4) !important;
    color: #ff424d !important;
}

.btn-patreon:hover {
    background: rgba(255, 66, 77, 0.3) !important;
    border-color: rgba(255, 66, 77, 0.6) !important;
}

@media (max-width: 768px) {
    .patreon-nav-btn {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 1px;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 15, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 160px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: var(--shadow-glow);
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-primary);
}

.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.2);
    top: -10%;
    left: 20%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.15);
    top: 30%;
    right: -5%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(217, 70, 239, 0.12);
    bottom: -5%;
    left: -5%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 600px;
    height: 600px;
    object-fit: contain;
    margin-top: -40px;
    margin-bottom: -120px;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(6, 182, 212, 0.4)); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 16px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #8b5cf6, #06b6d4, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rgbNeon 4s linear infinite;
}

@keyframes rgbNeon {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== VOLUME CONTROL ===== */
.volume-control {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 8px 14px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.volume-control:hover {
    opacity: 1;
}

.volume-icon {
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.2s;
}

.volume-icon:hover {
    color: var(--accent-cyan);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    transition: background 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--accent-cyan);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    border: none;
}

/* ===== BTN SECONDARY ===== */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

/* ===== JULIA TYPHON SECTION ===== */
.julia {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.julia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.julia-badge {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.julia-tagline {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.julia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.julia-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.julia-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.julia-card-highlight {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.04);
}

.julia-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.julia-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.julia-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Julia Chat Section */
.julia-chat-section {
    margin-bottom: 60px;
    text-align: center;
}

.julia-chat-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.julia-chat-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.julia-chat-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.25);
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    height: 500px;
    min-height: 400px;
}

.julia-chat-video {
    position: relative;
    overflow: hidden;
    background: #000;
}

.julia-chat-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.julia-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.julia-chat-messages {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
    min-height: 0;
}

.julia-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.julia-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 2px;
}

.julia-msg {
    max-width: 85%;
    text-align: left;
}

.julia-msg-ai {
    align-self: flex-start;
}

.julia-msg-user {
    align-self: flex-end;
}

.julia-msg-name {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: var(--accent-purple);
}

.julia-msg-user .julia-msg-name {
    color: var(--accent-cyan);
    text-align: right;
}

.julia-msg p {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px 12px 12px 4px;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.julia-msg-user p {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.15);
    border-radius: 12px 12px 4px 12px;
    color: var(--text-primary);
}

.julia-chat-input-wrap {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(15, 15, 35, 0.7);
    flex-shrink: 0;
}

.julia-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 16px; /* minimum 16px to prevent iOS auto-zoom */
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.julia-chat-input:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.12);
}

.julia-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
}

.julia-chat-upload {
    background: none;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.julia-chat-upload:hover {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.julia-chat-emoji {
    background: none;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.julia-chat-emoji:hover {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.emoji-picker-wrap {
    position: relative;
    flex-shrink: 0;
}

.emoji-panel {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 45, 0.97);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 10px;
    width: 280px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.emoji-panel::-webkit-scrollbar {
    width: 6px;
}

.emoji-panel::-webkit-scrollbar-track {
    background: transparent;
}

.emoji-panel::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
}

.emoji-grid span {
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.15s;
    line-height: 1.3;
}

.emoji-grid span:hover {
    background: rgba(139, 92, 246, 0.25);
}

@media (max-width: 480px) {
    .emoji-panel {
        width: 240px;
        left: 0;
        transform: none;
    }
}

.julia-chat-send {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.julia-chat-send:hover {
    opacity: 0.85;
}

.julia-chat-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.julia-typing {
    display: inline-flex;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px 12px 12px 4px;
}

.julia-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
    animation: typingDot 1.4s infinite;
}

.julia-typing span:nth-child(2) { animation-delay: 0.2s; }
.julia-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.2; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.julia-msg-image {
    margin-top: 6px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-width: 80px;
    display: inline-block;
}

.julia-msg-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    animation: imgFadeIn 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.25);
    cursor: pointer;
    transition: transform 0.2s;
}

.julia-msg-image img:hover {
    transform: scale(2.5);
    z-index: 100;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.julia-img-caption {
    display: none;
}

.julia-img-loading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.julia-img-loading small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

.julia-meet-cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

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

.julia-comparison h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

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

.comparison-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.comparison-table th:last-child {
    color: var(--accent-purple);
}

.comparison-table td {
    padding: 10px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.comparison-table td:last-child {
    color: var(--accent-cyan);
    font-weight: 500;
}

.comparison-table tr:hover td {
    background: rgba(139, 92, 246, 0.04);
}

/* ===== SECTIONS COMMON ===== */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.05rem;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-chat { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.feature-icon-image { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.feature-icon-video { background: rgba(217, 70, 239, 0.15); color: var(--accent-pink); }
.feature-icon-music { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.feature-icon-swap { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.feature-icon-tools { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.2);
}

.price-card-popular {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
    transform: scale(1.05);
}

.price-card-popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.price-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.price-badge-basic { color: #a78bfa; }
.price-badge-standard { color: #06b6d4; }
.price-badge-premium { color: #d946ef; }
.price-badge-vip { color: #fbbf24; }

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-purple);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.highlight:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.15);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 !important;
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
}

.contact-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent-purple);
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 12px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .price-card-popular {
        transform: scale(1);
    }
    .price-card-popular:hover {
        transform: translateY(-4px);
    }
    .hero-logo {
        width: 400px;
        height: 400px;
        margin-top: -20px;
        margin-bottom: -80px;
    }
}

/* Mobile landscape + small tablets */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 26, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 80px 0 30px;
    }

    .hero-logo {
        width: 280px;
        height: 280px;
        margin-top: 0;
        margin-bottom: -60px;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Chat Julia mobile */
    .julia-chat-section {
        margin-top: 20px;
    }

    .julia-chat-heading {
        font-size: 1.3rem;
    }

    .julia-chat-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }

    .julia-chat-video {
        height: 180px;
    }

    .julia-chat-video video {
        height: 180px;
    }

    .julia-chat-container {
        height: 320px;
    }

    .julia-chat-messages {
        padding: 12px;
        gap: 8px;
    }

    .julia-msg p {
        font-size: 0.82rem;
        padding: 8px 12px;
    }

    .julia-chat-input {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .julia-chat-input-wrap {
        padding: 10px 12px;
    }

    /* Julia section */
    .julia-grid {
        grid-template-columns: 1fr;
    }

    .julia-card {
        padding: 20px;
    }

    .julia-comparison {
        padding: 16px 10px;
    }

    .comparison-table {
        font-size: 0.72rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 8px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Volume control */
    .volume-control {
        top: auto;
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
    }

    .volume-slider {
        width: 60px;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }
}

/* Mobile portrait (small phones) */
@media (max-width: 480px) {
    .hero-logo {
        width: 200px;
        height: 200px;
        margin-top: 0;
        margin-bottom: -40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .julia-chat-video {
        height: 150px;
    }

    .julia-chat-video video {
        height: 150px;
    }

    .julia-chat-container {
        height: 280px;
    }

    .julia-chat-heading {
        font-size: 1.1rem;
    }

    .comparison-table {
        font-size: 0.65rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 5px 6px;
    }

    .navbar {
        padding: 0 12px;
    }

    .nav-logo img {
        height: 30px;
    }

    .nav-logo span {
        font-size: 0.9rem;
    }
}

/* Very small phones (iPhone SE, etc) */
@media (max-width: 360px) {
    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .julia-chat-container {
        height: 250px;
    }

    .btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
}

/* ===== BRAIN INFO GRID ===== */
.brain-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0 32px;
}

.brain-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.brain-info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.2);
}

.brain-info-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.brain-info-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.brain-info-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .brain-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== PERSONAL STORY (discreet) ===== */
.personal-story {
    margin: 16px 0 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
}

.personal-story summary {
    padding: 14px 24px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    transition: var(--transition);
    list-style: none;
    text-align: center;
}

.personal-story summary::-webkit-details-marker { display: none; }
.personal-story summary::marker { display: none; content: ''; }

.personal-story summary:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.personal-story[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.story-content {
    padding: 24px 28px;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.story-content p:last-child {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .story-content {
        padding: 18px 16px;
    }
}

/* ===== SPONSOR BANNER ===== */
.julia-sponsor-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(217, 70, 239, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.julia-sponsor-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
}

.sponsor-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sponsor-text strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #d946ef, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sponsor-text p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.sponsor-cta {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.sponsor-cta:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .julia-sponsor-banner {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

.price-card:nth-child(2) { transition-delay: 0.1s; }
.price-card:nth-child(3) { transition-delay: 0.2s; }
.price-card:nth-child(4) { transition-delay: 0.3s; }
.price-card:nth-child(5) { transition-delay: 0.4s; }
