/* Secrets AI Styles */

:root {
    --pri: #8b5cf6;
    --pri-light: #a78bfa;
    --pri-dark: #6d28d9;
    --pri-dim: #c4b5fd;
    --neon: #d946ef;
    --bg-0: #030306;
    --bg-1: #09090f;
    --bg-2: #101018;
    --bg-3: #18182a;
    --surface: rgba(16, 16, 28, 0.75);
    --surface-hover: rgba(24, 24, 42, 0.85);
    --text-1: #ededf4;
    --text-2: #9d9db5;
    --text-3: #555570;
    --line: rgba(139, 92, 246, 0.1);
    --line-active: rgba(139, 92, 246, 0.3);
    --grad: linear-gradient(135deg, var(--pri), var(--neon));
    --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(217, 70, 239, 0.06));
    --glow-s: 0 0 12px rgba(139, 92, 246, 0.2);
    --glow-m: 0 4px 24px rgba(139, 92, 246, 0.25);
    --glow-l: 0 8px 48px rgba(139, 92, 246, 0.15);
    --ok: #22c55e;
    --r-s: 8px;
    --r-m: 14px;
    --r-l: 20px;
}

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

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

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { color: var(--text-1); text-decoration: none; transition: color .25s; }
a:hover { color: var(--pri-light); }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* ===== Ambient background ===== */
.glow-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.glow-orb:nth-child(1) {
    width: 500px; height: 500px;
    background: rgba(139, 92, 246, 0.4);
    top: -15%; left: 60%;
    animation: drift 16s ease-in-out infinite;
}
.glow-orb:nth-child(2) {
    width: 350px; height: 350px;
    background: rgba(217, 70, 239, 0.3);
    bottom: 5%; left: -8%;
    animation: drift 20s ease-in-out infinite reverse;
}
.glow-orb:nth-child(3) {
    width: 200px; height: 200px;
    background: rgba(196, 181, 253, 0.25);
    top: 50%; left: 35%;
    animation: drift 14s ease-in-out infinite 3s;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(40px, -30px); }
    50% { transform: translate(-25px, 20px); }
    75% { transform: translate(15px, -10px); }
}

/* ===== Desktop Nav ===== */
.desktop-nav {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(3, 3, 6, 0.8);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0; z-index: 100;
    transition: all .35s;
}

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

.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }

.nav-links {
    display: flex; gap: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 4px;
}

.nav-link {
    color: var(--text-2); font-size: 13px; font-weight: 500;
    padding: 7px 16px; border-radius: 30px;
    transition: all .25s; position: relative;
}
.nav-link:hover {
    color: var(--text-1);
    background: rgba(139, 92, 246, 0.08);
}
.nav-link::after { display: none; }

.nav-actions { display: flex; gap: 8px; }

.secondary-nav-btn {
    padding: 8px 18px; border-radius: var(--r-s);
    background: transparent; border: 1px solid var(--line);
    color: var(--text-2); font-size: 13px; font-weight: 500;
    transition: all .25s;
}
.secondary-nav-btn:hover { border-color: var(--pri); color: var(--text-1); }

.primary-nav-btn {
    padding: 8px 20px; border-radius: var(--r-s);
    background: var(--pri); color: white;
    font-size: 13px; font-weight: 600; transition: all .25s;
}
.primary-nav-btn:hover { background: var(--pri-dark); box-shadow: var(--glow-s); }

/* ===== Mobile Nav ===== */
.mobile-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(3, 3, 6, 0.92); backdrop-filter: blur(16px);
    display: none;
}
.mobile-nav-content { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-logo { font-size: 1.1rem; font-weight: 800; }
.mobile-actions { display: flex; align-items: center; gap: 8px; }

.login-btn {
    padding: 6px 14px; background: var(--pri); color: white;
    border-radius: var(--r-s); font-size: .78rem; font-weight: 600;
}
.login-btn:hover { background: var(--pri-dark); }

.menu-btn { width: 24px; height: 20px; display: flex; flex-direction: column; justify-content: space-around; background: none; padding: 0; }
.menu-btn span { display: block; width: 100%; height: 2px; background: var(--pri-light); transition: all .3s; border-radius: 1px; }
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu { max-height: 0; overflow: hidden; transition: all .3s; opacity: 0; }
.mobile-menu.active { max-height: 500px; opacity: 1; padding: 10px 0; }
.mobile-menu-content { background: var(--bg-1); border-radius: var(--r-m); border: 1px solid var(--line); padding: 6px; }

.mobile-menu-item {
    display: flex; align-items: center; width: 100%; text-align: left;
    padding: 12px 14px; color: var(--text-2); background: none;
    border-radius: 8px; font-size: .85rem; font-weight: 500; transition: all .25s;
}
.mobile-menu-item:hover { background: rgba(139, 92, 246, 0.1); color: var(--pri-light); }
.mobile-menu-item i { margin-right: 12px; width: 18px; text-align: center; }

.join-btn {
    width: 100%; margin-top: 4px; padding: 12px; background: var(--pri);
    color: white; border-radius: 8px; font-size: .85rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.join-btn:hover { background: var(--pri-dark); }

/* ===== Hero ===== */
.main-content { padding-top: 0; }

.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 110px 0 80px; overflow: hidden;
}

.hero .container {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-content { max-width: 560px; z-index: 2; }

.promo-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--grad-soft); color: var(--pri-light);
    padding: 7px 16px; border-radius: 6px;
    font-size: .8rem; font-weight: 600; margin-bottom: 22px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero-title {
    font-size: 1.3rem; line-height: 1.1; margin-bottom: 22px;
    display: flex; flex-direction: column; gap: 6px;
}
.hero-title .gradient-text { font-size: 3rem; }
.main-title { font-size: 2.5rem; font-weight: 800; line-height: 1.08; }

.hero-description {
    font-size: 1rem; color: var(--text-2);
    margin-bottom: 28px; max-width: 480px; line-height: 1.75;
}
.hero-description strong { color: var(--text-1); }

.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.primary-btn {
    padding: 12px 24px; background: var(--pri); color: white;
    border-radius: var(--r-s); font-weight: 600; font-size: .92rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s;
}
.primary-btn:hover { background: var(--pri-dark); box-shadow: var(--glow-m); transform: translateY(-1px); }
.primary-btn.large { padding: 14px 30px; font-size: 1rem; }

.secondary-btn {
    padding: 12px 24px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--line); color: var(--text-1);
    border-radius: var(--r-s); font-weight: 600; font-size: .92rem;
    display: inline-flex; align-items: center; gap: 8px; transition: all .25s;
}
.secondary-btn:hover { border-color: var(--pri); background: rgba(139, 92, 246, 0.06); }

.trust-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: .8rem; }
.trust-badge i { color: var(--ok); font-size: .85rem; }

/* Hero image */
.hero-image {
    position: relative; flex-shrink: 0;
    width: 380px; height: 520px; z-index: 1;
    border-radius: var(--r-l); overflow: hidden;
}

.companion-image {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--r-l);
    border: 1px solid var(--line-active);
    box-shadow: var(--glow-l);
}

.hero-image::before { display: none; }

.hero-image::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, var(--bg-0), transparent);
    border-radius: 0 0 var(--r-l) var(--r-l);
    z-index: 2; pointer-events: none;
}


/* ===== Sections ===== */
section { padding: 90px 0; position: relative; }

.section-title {
    font-size: 2.2rem; font-weight: 800;
    margin-bottom: 14px; text-align: center;
    letter-spacing: -0.3px;
}

.section-description {
    font-size: 1rem; color: var(--text-2); text-align: center;
    max-width: 650px; margin: 0 auto 50px; line-height: 1.75;
}
.section-description strong { color: var(--pri-light); }

/* Characters - horizontal scroll */
.characters { background: var(--bg-1); overflow: hidden; }

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

.character-card {
    min-width: 270px; max-width: 290px; flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--surface); border-radius: var(--r-m);
    overflow: hidden; transition: all .35s;
    border: 1px solid var(--line);
}
.character-card:hover {
    border-color: var(--line-active);
    box-shadow: var(--glow-m);
    transform: translateY(-4px);
}

.character-image { height: 300px; overflow: hidden; position: relative; }
.character-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.character-card:hover .character-image img { transform: scale(1.05); }

.live-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(139, 92, 246, 0.85); backdrop-filter: blur(4px);
    color: white; padding: 4px 10px; border-radius: 4px;
    font-size: .7rem; font-weight: 600;
    display: flex; align-items: center; gap: 5px; z-index: 2;
}
.live-badge i { font-size: .4rem; animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.character-info { padding: 20px; }
.character-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.character-info > p { color: var(--text-2); margin-bottom: 12px; font-size: .83rem; line-height: 1.5; }

.character-stats { display: flex; gap: 14px; font-size: .78rem; color: var(--text-2); }
.character-stats span { display: flex; align-items: center; gap: 4px; }
.character-stats i { color: var(--pri-light); }

.characters-cta { text-align: center; margin-top: 36px; }

/* ===== Article Sections ===== */
.article-section { padding: 80px 0; }
.article-section:nth-child(even) { background: var(--bg-1); }
.article-section:nth-child(odd) { background: var(--bg-0); }

.article-section .section-intro {
    font-size: 1rem; color: var(--text-2);
    max-width: 720px; margin: 0 auto 44px;
    text-align: center; line-height: 1.75;
}
.article-section .section-intro strong { color: var(--text-1); }

.content-block { display: flex; align-items: center; gap: 40px; margin-bottom: 56px; }
.content-block.reverse { flex-direction: row-reverse; }
.content-block .content-text { flex: 1; }
.content-block .content-image { flex: 0 0 38%; max-width: 400px; }

.content-image {
    border-radius: var(--r-m); overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.content-image img { width: 100%; display: block; }

.subsection { max-width: 720px; margin: 0 auto 48px; }
.subsection:last-child { margin-bottom: 0; }

.subsection h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--pri);
}

.subsection p { color: var(--text-2); line-height: 1.8; margin-bottom: 12px; font-size: .95rem; }
.subsection p strong { color: var(--text-1); }

.subsection ol {
    margin: 18px 0; padding: 0 0 0 24px;
    counter-reset: steps; list-style: none;
}
.subsection ol li {
    padding: 10px 0 10px 32px; position: relative;
    color: var(--text-2); font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    counter-increment: steps;
}
.subsection ol li:last-child { border-bottom: none; }
.subsection ol li::before {
    content: counter(steps);
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; background: var(--pri);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 700; color: white;
}
.subsection ol li strong { color: var(--text-1); }

.subsection ul { list-style: none; margin: 18px 0; padding: 0; }
.subsection ul li {
    padding: 10px 0 10px 22px; position: relative;
    color: var(--text-2); font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.subsection ul li:last-child { border-bottom: none; }
.subsection ul li::before {
    content: ''; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; background: var(--pri); border-radius: 2px;
}
.subsection ul li strong { color: var(--text-1); }

.subsection blockquote {
    background: var(--grad-soft);
    border-left: 3px solid var(--neon);
    padding: 20px 24px; border-radius: 0 var(--r-s) var(--r-s) 0;
    font-size: .98rem; color: var(--text-2);
    line-height: 1.8; margin: 20px 0; font-style: italic;
}
.subsection blockquote strong { color: var(--text-1); }

/* ===== Pricing ===== */
.pricing-grid {
    display: grid; grid-template-columns: 1fr 1.12fr 1fr;
    gap: 20px; margin-bottom: 44px; align-items: center;
}

.pricing-card {
    background: var(--surface); border-radius: var(--r-m);
    padding: 30px; border: 1px solid var(--line);
    text-align: center; transition: all .35s;
}
.pricing-card:hover {
    border-color: var(--line-active);
    box-shadow: var(--glow-m);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--pri);
    background: linear-gradient(170deg, rgba(139, 92, 246, 0.1), var(--surface) 50%);
    position: relative; padding: 38px 30px;
}
.pricing-card.featured::after {
    content: 'Recommended';
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--pri); color: white;
    padding: 3px 14px; border-radius: 4px;
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 4px; font-weight: 700; }
.pricing-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 2px; }
.pricing-price span { font-size: .9rem; color: var(--text-2); font-weight: 400; }
.pricing-desc { color: var(--text-2); font-size: .85rem; margin-bottom: 20px; }

.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-features li {
    padding: 8px 0; color: var(--text-2); font-size: .85rem;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--pri-light); font-size: .8rem; }

/* ===== Privacy ===== */
.privacy-section { background: var(--bg-1); }

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

.privacy-card {
    background: var(--surface); border-radius: var(--r-m);
    padding: 30px; transition: all .35s;
    border-left: 3px solid var(--pri);
    border-top: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.privacy-card:hover {
    box-shadow: var(--glow-m);
    transform: translateX(4px);
}

.privacy-icon {
    width: 52px; height: 52px; background: var(--pri);
    border-radius: var(--r-s); display: flex; align-items: center;
    justify-content: center; margin-bottom: 18px; font-size: 1.3rem;
}

.privacy-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.privacy-card p { color: var(--text-2); line-height: 1.7; font-size: .9rem; }
.privacy-card p strong { color: var(--text-1); }

/* ===== FAQ ===== */
.faq { background: var(--bg-0); }
.faq .section-title { margin-bottom: 44px; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    background: var(--surface);
    border-radius: var(--r-s); margin-bottom: 8px;
    overflow: hidden; border: 1px solid transparent;
    transition: border-color .25s;
}
.faq-item:hover, .faq-item.active { border-color: var(--line-active); }

.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; cursor: pointer; transition: background .25s;
}
.faq-question:hover { background: rgba(139, 92, 246, 0.03); }
.faq-question h3 { font-size: .97rem; font-weight: 600; padding-right: 14px; }

.faq-icon { color: var(--pri-light); transition: transform .3s; font-size: .85rem; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 20px 18px; }
.faq-answer p { color: var(--text-2); line-height: 1.7; font-size: .9rem; }
.faq-answer p strong { color: var(--text-1); }

/* ===== CTA ===== */
.cta {
    text-align: center; padding: 100px 0;
    position: relative; overflow: hidden; background: var(--bg-0);
}
.cta::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta-title { font-size: 2.4rem; margin-bottom: 16px; font-weight: 800; letter-spacing: -0.3px; }
.cta p { font-size: 1.05rem; color: var(--text-2); margin-bottom: 30px; line-height: 1.7; }
.cta p strong { color: var(--text-1); }
.cta-note { margin-top: 16px; font-size: .82rem; color: var(--text-3); }

/* ===== Footer ===== */
.footer { background: var(--bg-1); padding: 56px 0 28px; border-top: 1px solid var(--line); }

.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 40px; margin-bottom: 36px; flex-wrap: wrap;
}

.footer-brand { max-width: 280px; }
.footer-brand .gradient-text { font-size: 1.4rem; }
.footer-brand p { font-size: .82rem; color: var(--text-2); margin-top: 8px; line-height: 1.6; }

.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-nav-col h4 { font-size: .85rem; color: var(--text-1); font-weight: 600; margin-bottom: 12px; }
.footer-nav-col ul { list-style: none; }
.footer-nav-col ul li { margin-bottom: 8px; }
.footer-nav-col ul li a { color: var(--text-2); font-size: .82rem; }
.footer-nav-col ul li a:hover { color: var(--pri-light); }

.footer-notice {
    font-size: .78rem; color: var(--text-3); line-height: 1.6;
    padding: 16px 0; border-top: 1px solid var(--line);
    margin-bottom: 16px;
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: .78rem; color: var(--text-3); }

.social-links { display: flex; gap: 8px; }
.social-links a {
    width: 34px; height: 34px; border-radius: 6px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2); font-size: .82rem; transition: all .25s;
}
.social-links a:hover { background: var(--pri); border-color: var(--pri); color: white; }


/* ===== Animations ===== */
.animate-in { animation: slideUp .5s ease forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.character-card, .privacy-card, .pricing-card, .faq-item, .subsection {
    opacity: 0; transform: translateY(20px);
}
.character-card.animate-in, .privacy-card.animate-in, .pricing-card.animate-in,
.faq-item.animate-in, .subsection.animate-in {
    opacity: 1; transform: translateY(0);
}
