/* =============================================================================
   AI Girlfriend Template V2 - Glassmorphism + FAB
   ============================================================================= */

:root {
    --primary: #FF7E55;
    --primary-dark: #FF6B3C;
    --primary-glow: #FF7E5540;
    --bg-dark: #100D0B;
    --bg-card: #1D1D1D;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --radius: 16px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header - Minimal Glass */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(10,10,15,0.9), transparent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo { height: 36px; width: auto; }

.header-cta {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 80%; height: 150%;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-video-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.5) 50%,
        rgba(10, 10, 15, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    text-align: center;
}

.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 24px;
}

.live-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-subheadline strong {
    color: var(--primary);
    font-weight: 600;
}

.cta-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 40px var(--primary-glow);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px var(--primary-glow);
}

.cta-main svg { width: 20px; height: 20px; }

.cta-subtext {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.cta-subtext span {
    color: #22c55e;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--glass);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.badge svg { width: 14px; height: 14px; color: var(--primary); }

/* Features - Glass Cards */
.features {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); }

.features-cta { text-align: center; margin-top: 40px; }

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Reviews - Horizontal Scroll */
.reviews {
    padding: 80px 0;
    overflow: hidden;
}

.reviews .section-header { padding: 0 20px; }

.reviews-scroll {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 300px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    scroll-snap-align: start;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-meta { flex: 1; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-stars { color: #fbbf24; font-size: 0.85rem; }
.review-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ Section */
.faq-section { padding: 80px 20px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--glass-border); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--primary); }
.faq-icon { transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); font-size: 0.95rem; }

/* SEO Content */
.seo-content {
    padding: 60px 20px;
    background: var(--bg-card);
}

.seo-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: white; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 { font-size: 1.1rem; margin: 24px 0 12px; color: var(--primary); }
.seo-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.seo-content a { color: var(--primary); text-decoration: none; }
.seo-content a:hover { text-decoration: underline; }
.seo-content ul, .seo-content ol { color: var(--text-muted); margin: 16px 0; padding-left: 24px; }
.seo-content li { margin-bottom: 8px; }

/* Final CTA */
.final-cta {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.final-headline {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
}

.final-cta .cta-main { position: relative; }

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 40px 20px;
    text-align: center;
}

.disclaimer { font-size: 12px; color: var(--text-muted); max-width: 600px; margin: 0 auto 20px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }

.footer-languages { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.footer-lang {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}
.footer-lang:hover, .footer-lang.active { background: var(--glass); color: white; }
.copyright { font-size: 12px; color: var(--text-muted); }

/* Floating CTA (FAB) */
.fab-cta {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 999;
}

.fab-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 30px var(--primary-glow);
    transition: all 0.3s;
    animation: fab-pulse 2s infinite;
}

.fab-button:hover { transform: scale(1.05); }
.fab-button svg { width: 20px; height: 20px; }

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 4px 30px var(--primary-glow); }
    50% { box-shadow: 0 4px 50px var(--primary-glow); }
}

/* Exit Popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.active { display: flex; }

.popup {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: popup-in 0.3s ease;
}

@keyframes popup-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.popup-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.popup-subtitle { color: var(--text-muted); margin-bottom: 24px; }
.popup .cta-main { width: 100%; }

/* Responsive */
@media (min-width: 768px) {
    .hero { padding: 120px 20px 80px; }
    .hero-headline { font-size: 3.5rem; }
    .hero-subheadline { font-size: 1.4rem; }
    .features-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
    .section-title { font-size: 2.5rem; }
    .review-card { flex: 0 0 350px; }
    .final-headline { font-size: 3rem; }
    .fab-cta { bottom: 32px; right: 32px; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .fab-button span { display: none; }
    .fab-button { padding: 16px; border-radius: 50%; }
}