:root {
    --bg-color: #05050a;
    --bg-alt: #0a0b14;
    --card-bg: #12131e;
    --card-hover: #1a1b28;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, .logo {
    font-family: 'Outfit', sans-serif;
}

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

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

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

.bg-alt {
    background-color: var(--bg-alt);
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

.section-title.left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.text-secondary { color: var(--text-secondary); }

.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 6rem;
    color: var(--text-secondary);
}

.page-content h2 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content a {
    color: #c4b5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content ul {
    margin: 0 0 1.25rem 1.25rem;
}

.page-content li {
    margin-bottom: 0.75rem;
}

.policy-meta {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .glow {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.language-picker {
    position: relative;
    width: 150px;
    flex: 0 0 150px;
}

.language-picker__trigger {
    width: 100%;
    min-height: 43px;
    padding: 0.65rem 2rem 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.language-picker__trigger::after {
    content: "v";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transform: translateY(-50%);
}

.language-picker__trigger:hover,
.language-picker__trigger:focus {
    border-color: var(--accent);
    outline: none;
}

.language-picker__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: max(280px, 100%);
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(18, 19, 30, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    z-index: 200;
}

.language-picker__search {
    width: 100%;
    min-height: 42px;
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.language-picker__search:focus {
    border-color: var(--accent);
    outline: none;
}

.language-picker__list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-color: rgba(161, 161, 170, 0.65) transparent;
    scrollbar-width: thin;
}

.language-picker__list::-webkit-scrollbar {
    width: 8px;
}

.language-picker__list::-webkit-scrollbar-track {
    background: transparent;
}

.language-picker__list::-webkit-scrollbar-thumb {
    min-height: 42px;
    border: 2px solid rgba(18, 19, 30, 0.98);
    border-radius: 999px;
    background-color: rgba(161, 161, 170, 0.72);
}

.language-picker__list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(199, 210, 254, 0.88);
}

.language-picker__list::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.language-picker__option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    text-align: left;
}

.language-picker__option:hover,
.language-picker__option:focus {
    background-color: rgba(255, 255, 255, 0.06);
    outline: none;
}

.language-picker__option[data-active="true"] {
    background-color: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
}

.language-picker__option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.language-picker__option-code {
    flex: 0 0 auto;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.language-picker__empty {
    padding: 0.85rem 0.7rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

html[dir="rtl"] .language-picker__trigger,
html[dir="rtl"] .language-picker__option,
html[dir="rtl"] .faq-question,
html[dir="rtl"] .section-title.left {
    text-align: right;
}

html[dir="rtl"] .language-picker__trigger {
    padding-right: 0.75rem;
    padding-left: 2rem;
}

html[dir="rtl"] .language-picker__trigger::after {
    right: auto;
    left: 0.75rem;
}

html[dir="rtl"] .language-picker__panel {
    right: auto;
    left: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        gap: 1.5rem;
    }
    .nav a {
        color: var(--text-secondary);
        font-size: 0.95rem;
        font-weight: 500;
    }
    .nav a:hover {
        color: var(--text-primary);
    }
}

@media (min-width: 1100px) {
    .nav {
        gap: 2.5rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    background-color: rgba(99, 102, 241, 0.05);
}

/* Hero Section */
.hero {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    margin-bottom: 2rem;
}

.box-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    max-width: 450px;
    line-height: 1.4;
}

.box-disclaimer svg {
    flex-shrink: 0;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Hero Visual with Floating Elements */
.image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-color);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.floating-chat {
    position: absolute;
    background: rgba(18, 19, 30, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-chat.top-left {
    top: 40px;
    left: -20px;
}

.floating-chat.bottom-right {
    bottom: 60px;
    right: -20px;
    animation-delay: 2s;
}

.floating-chat.user-msg {
    background: var(--accent);
    border-color: var(--accent-hover);
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-chat .msg {
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Emotional Benefits */
.benefits {
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .how-it-works-content {
        grid-template-columns: 1fr 1fr;
    }
}

.steps-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.rounded-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Trust & Safety */
.trust-safety {
    padding: 6rem 0;
}

.ts-box {
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(18, 19, 30, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem;
}

.ts-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.ts-header svg {
    margin-bottom: 1rem;
}

.ts-header h2 {
    font-size: 2.25rem;
}

.ts-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.ts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.ts-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.ts-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* SEO Intent Section */
.seo-intents {
    padding: 6rem 0;
}

.seo-panel {
    max-width: 1040px;
    margin: 0 auto;
}

.seo-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.seo-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.seo-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

/* FAQ */
.faq {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--card-bg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Bottom CTA */
.bottom-cta {
    padding: 4rem 0 8rem;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(192, 132, 252, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4rem 2rem;
    border-radius: 24px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: #020205;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

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

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    line-height: 1.5;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Age Gate Modal (Theme Matched Architecture) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 10, 0.90);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-gate-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.02);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .age-gate-content {
    transform: translateY(0);
}

.age-warning {
    color: #f43f5e; /* Rose warning color matching dark theme */
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.age-subtitle {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}

.age-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.age-text p {
    margin-bottom: 1.25rem;
}

.age-text p:last-child {
    margin-bottom: 0;
}

.age-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.age-link-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: normal;
    height: auto;
}

.btn-block {
    width: 100%;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .header {
        padding: 0.9rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .language-picker {
        width: 116px;
        flex-basis: 116px;
    }

    .language-picker__trigger {
        min-height: 39px;
        padding: 0.55rem 1.6rem 0.55rem 0.6rem;
        font-size: 0.9rem;
    }

    .language-picker__panel {
        right: 0;
        width: min(calc(100vw - 24px), 320px);
    }
}
