
:root {
    --color-background: #0c0c1d; /* Near Black */
    --color-surface: #1a1a2e; /* Dark Blue-Purple */
    --color-primary: #9a34d9; /* Deep Purple */
    --color-secondary: #f03a8b; /* Soft Magenta */
    --color-accent: #d946ef; /* Neon Violet */
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0c0;
    --color-glass-bg: rgba(26, 26, 46, 0.7);
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 12px;
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(154, 52, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(154, 52, 217, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* --- Header --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo a::before {
    content: "";
    width: 2rem;
    height: 2rem;
    display: inline-block;
    background: url("images/site-icon-192.png") center / cover no-repeat;
    border-radius: 0.55rem;
    box-shadow: 0 0 18px rgba(217, 70, 239, 0.35);
    flex: 0 0 auto;
}

.main-nav {
    display: none; /* Hidden on mobile */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

.header-cta {
    display: none; /* Hidden on mobile */
}

.mobile-menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle .hamburger {
    width: 30px;
    height: 2px;
    background-color: #fff;
    display: block;
    position: relative;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle .hamburger::before { top: -8px; }
.mobile-menu-toggle .hamburger::after { bottom: -8px; }

.mobile-nav-open .hamburger {
    transform: rotate(45deg);
}
.mobile-nav-open .hamburger::before {
    transform: translateY(8px) rotate(90deg);
}
.mobile-nav-open .hamburger::after {
    transform: translateY(-8px) rotate(90deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-surface);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

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

.mobile-nav .header-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--color-text-muted);
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-legal-text {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-accent);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- Sections & Cards --- */
section {
    padding: 6rem 0;
}

.hero-section {
    position: relative;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(12, 12, 29, 0.7), rgba(12, 12, 29, 1));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Specific hero for homepage */
.home-hero {
    min-height: 100vh;
}

.hero-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
    color: var(--color-text);
}

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

.final-cta,
.final-cta .container,
.container.text-center {
    text-align: center;
}

.final-cta .btn,
.container.text-center .btn,
.text-content .btn {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.trust-bar {
    background-color: var(--color-surface);
}

.grid-container {
    display: grid;
    gap: 1.5rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    align-items: center;
}

.glass-card {
    background: var(--color-glass-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.feature-card, .character-card, .product-card, .blog-card {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover, .character-card:hover, .product-card:hover, .blog-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.feature-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.character-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.faq-accordion details {
    background-color: var(--color-surface);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.faq-accordion summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.faq-accordion .faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.character-grid-item {
    display: flex;
    flex-direction: column;
}

.character-grid-item img {
    aspect-ratio: 1 / 1;
}

.content-section {
    padding: 4rem 0;
}

.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.icon-list svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.safety-warning {
    background-color: var(--color-surface);
    border-left: 5px solid var(--color-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* --- Media Queries --- */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .header-cta {
        display: flex;
        gap: 1rem;
    }
}

/* --- Scoped SEO landing pages --- */
.seo-page {
    background:
        radial-gradient(circle at 18% 8%, rgba(240, 58, 139, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 30%, rgba(217, 70, 239, 0.12), transparent 24rem),
        var(--color-background);
}

.seo-page .seo-hero {
    min-height: 72vh;
}

.seo-page .seo-hero::before {
    background: linear-gradient(90deg, rgba(12, 12, 29, 0.92), rgba(12, 12, 29, 0.68) 52%, rgba(12, 12, 29, 0.96));
}

.seo-hero-characters {
    background-image: url("images/aigirlfriend10.jpg");
}

.seo-hero-girlfriend {
    background-image: url("images/aigirlfriend.jpg");
}

.seo-hero-spicy {
    background-image: url("images/aigirlfriend11.jpg");
}

.seo-hero-chat-room {
    background-image: url("images/aigirlfriend12.jpg");
}

.seo-hero-live {
    background-image: url("images/candiaivideo.jpg");
}

.seo-hero-roleplay {
    background-image: url("images/aigirlfriend9.jpg");
}

.seo-hero-safety {
    background-image: url("images/join.jpg");
}

.seo-kicker {
    color: #fff;
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    text-transform: uppercase;
    background: rgba(240, 58, 139, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.seo-section-lead {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.seo-intro,
.seo-table-section,
.seo-gallery-row {
    background: rgba(255, 255, 255, 0.02);
}

.seo-band {
    background: rgba(26, 26, 46, 0.72);
}

.seo-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    gap: 3rem;
    align-items: center;
}

.seo-split-reverse {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.seo-photo-card {
    background: rgba(26, 26, 46, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.seo-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.seo-photo-card figcaption {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 1rem 1.15rem 1.25rem;
}

.seo-card-grid {
    display: grid;
    gap: 1.5rem;
}

.seo-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-feature-card,
.seo-text-card {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    height: 100%;
    padding: 1.35rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.seo-feature-card:hover,
.seo-text-card:hover {
    border-color: rgba(217, 70, 239, 0.75);
    transform: translateY(-4px);
}

.seo-feature-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
    margin-bottom: 1.1rem;
}

.seo-feature-card h3,
.seo-text-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.75rem;
}

.seo-feature-card p,
.seo-text-card p {
    margin-bottom: 0;
}

.seo-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-check-list li {
    position: relative;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.seo-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    box-shadow: 0 0 0 0.28rem rgba(217, 70, 239, 0.12);
}

.seo-check-list strong {
    color: #fff;
}

.seo-table-wrap {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.seo-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: rgba(26, 26, 46, 0.92);
}

.seo-table th,
.seo-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-table th {
    color: #fff;
    background: rgba(154, 52, 217, 0.28);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seo-table td {
    color: var(--color-text-muted);
}

.seo-table tr:last-child td {
    border-bottom: 0;
}

.seo-note {
    background: rgba(240, 58, 139, 0.1);
    border-top: 1px solid rgba(240, 58, 139, 0.28);
    border-bottom: 1px solid rgba(240, 58, 139, 0.22);
}

.seo-note .container {
    max-width: 920px;
}

.seo-note p {
    margin-bottom: 0;
}

.seo-detail-section {
    background: linear-gradient(180deg, rgba(12, 12, 29, 0.98), rgba(26, 26, 46, 0.7));
}

.seo-stat-panel {
    background: rgba(12, 12, 29, 0.74);
    border: 1px solid rgba(217, 70, 239, 0.28);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.seo-stat-panel h3 {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.seo-stat-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-stat-panel li {
    color: var(--color-text-muted);
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.seo-stat-panel li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 0.55rem;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: var(--color-secondary);
}

.seo-image-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-image-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
    .seo-page .seo-hero {
        min-height: 64vh;
    }

    .seo-split,
    .seo-split-reverse,
    .seo-card-grid-three,
    .seo-card-grid-four {
        grid-template-columns: 1fr;
    }

    .seo-card-grid-four {
        gap: 1rem;
    }

    .seo-image-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .seo-page section {
        padding: 4rem 0;
    }

    .seo-kicker {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .seo-photo-card img,
    .seo-image-row img {
        aspect-ratio: 3 / 2;
    }

    .seo-table {
        min-width: 560px;
    }
}
