/* === PREFACE: TALKING JOKER & CLOWN: AI CHAT - PREMIUM STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nunito:wght@400;600;700&display=swap');

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #d946ef; /* Vibrant Joker Purple/Pink */
  --accent-secondary: #22c55e; /* Clown Green */
  --accent-gradient: linear-gradient(135deg, #d946ef 0%, #3b82f6 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --shadow-glass: 0 8px 32px 0 rgba(217, 70, 239, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --container-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: clip;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, .dramatic-title {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

img { max-width: 100%; height: auto; display: block; }

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    border: 3px solid var(--bg-alt);
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

section { padding: 90px 0; position: relative; overflow: hidden; }

/* Alternating Full-Bleed & Contained */
section:nth-child(odd) { width: 100%; padding-left: 0; padding-right: 0; }
section:nth-child(odd) .section-inner { width: 100%; }
section:nth-child(even) .section-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05), var(--shadow-glass);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(217, 70, 239, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: #f1f5f9;
    border-color: var(--accent);
}

/* === NAVIGATION (PILL NAV) === */
.pill-nav-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.pill-nav {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-full);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-nav-toggle { display: block; }
    .pill-nav { width: 90%; justify-content: space-between; }
    .pill-nav .btn-primary { display: none; }
}

/* === HERO SECTION === */
.hero-arena {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding-top: 120px;
}

.spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
    animation: pulse 8s infinite alternate;
    z-index: 1;
}

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

.hero-glass-card {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(217, 70, 239, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, var(--text) 60%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === SCREENSHOT GALLERY (FULL-BLEED SLIDER) === */
.gallery-showcase {
    background: var(--bg-alt);
}

.gallery-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-img-wrapper {
    position: relative;
    max-height: 550px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(217, 70, 239, 0.2));
    pointer-events: none;
}

.gallery-slide img {
    max-height: 550px;
    width: auto;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 20;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.gallery-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.gallery-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 10px;
}

/* === FEATURES (ICON GRID) === */
.power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === REVIEWS (QUOTE SPOTLIGHT) === */
.voice-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 400px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.review-slide.active {
    opacity: 1;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(217, 70, 239, 0.1);
    margin-bottom: 1rem;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.review-text {
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.review-user {
    font-family: 'Anton', sans-serif;
    color: var(--accent);
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* === DOWNLOAD CTA === */
.cta-reinforcement {
    text-align: center;
    background: linear-gradient(to bottom, #fff, #fdf4ff);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: 'Anton', sans-serif;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === FOOTER (CARD GRID) === */
.footer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    background: #f1f5f9;
    padding: 4rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.footer-card h4 {
    font-family: 'Anton', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text);
}

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

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

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #f1f5f9;
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === SECTION DIVIDERS === */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.divider-line {
    height: 1px;
    flex: 1;
    background: repeating-linear-gradient(to right, #e2e8f0, #e2e8f0 4px, transparent 4px, transparent 8px);
    max-width: 200px;
}

.divider-mark {
    width: 24px;
    height: 24px;
    opacity: 0.3;
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

/* Auto-fix: prevent default blue/purple browser links */
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: currentColor; }
