/* AI Snusk — Main Stylesheet */
/* Modern dark theme with gradient accents */

:root {
    --bg-primary: #12141d;
    --bg-secondary: #1a1c29;
    --bg-tertiary: #202336;
    --bg-card: rgba(30, 33, 46, 0.7);
    --bg-card-hover: rgba(35, 38, 52, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-pink: #f43f5e;
    --accent-purple: #8b5cf6;
    --accent-blue: #0ea5e9;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --gradient-primary: linear-gradient(135deg, #f43f5e, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9, #10b981);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,.5);
    --transition: all .3s cubic-bezier(.16,1,.3,1);
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-purple); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    border-radius: var(--radius-md); font-weight: 600; font-size: 14px;
    cursor: pointer; border: none; transition: var(--transition);
    text-decoration: none; font-family: var(--font-body);
}
.btn-primary { background: var(--gradient-primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,0,110,.3); color: #fff; }
.btn-glass { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.08); border-color: var(--border-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-danger { background: var(--accent-red); color: #fff; }
.btn-xl { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-glow { box-shadow: 0 0 20px rgba(255,0,110,.2); }
.btn-glow:hover { box-shadow: 0 0 40px rgba(255,0,110,.4); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Nav ───────────────────────────────────────────────── */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition);
    background: transparent;
}
.landing-nav.scrolled { background: rgba(10,10,15,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-icon { width: 36px; height: 36px; background: var(--gradient-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.logo-icon i { width: 20px; height: 20px; }
.logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 700; }
.gradient-text { background: var(--gradient-primary); background-size: 200% 200%; animation: gradient 5s ease infinite; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes gradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.nav-links { display: flex; gap: 32px; }
.nav-link { color: var(--text-secondary); font-weight: 500; font-size: 14px; }
.nav-link:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }

/* ── Hero ──────────────────────────────────────────────── */
.hero-section { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; overflow: hidden; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.hero-title { font-family: var(--font-heading); font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 60px; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 36px; font-weight: 700; }
.stat-suffix { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--accent-pink); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; background: var(--border); }

/* ── Hero Preview ─────────────────────────────────────── */
.hero-visual { position: relative; z-index: 1; max-width: 900px; width: 100%; margin-top: 60px; }
.hero-preview { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.preview-window { }
.preview-topbar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: rgba(0,0,0,.3); border-bottom: 1px solid var(--border); }
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #e63946; }
.preview-dots span:nth-child(2) { background: #ffbe0b; }
.preview-dots span:nth-child(3) { background: #06d6a0; }
.preview-title { font-size: 12px; color: var(--text-muted); }
.preview-content { display: flex; min-height: 300px; }
.preview-sidebar { width: 56px; background: rgba(0,0,0,.2); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-right: 1px solid var(--border); }
.preview-tool { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.preview-tool.active { background: var(--gradient-primary); color: #fff; }
.preview-tool i { width: 18px; height: 18px; }
.preview-main { flex: 1; display: flex; align-items: center; justify-content: center; }
.preview-canvas { flex: 1; display: flex; align-items: center; justify-content: center; }
.canvas-placeholder { text-align: center; color: var(--text-muted); }
.canvas-placeholder i { margin-bottom: 12px; }
.canvas-placeholder p { font-size: 13px; }
.preview-panel { width: 200px; border-left: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.panel-item { height: 60px; background: rgba(255,255,255,.03); border-radius: var(--radius-sm); }

/* ── Trusted ──────────────────────────────────────────── */
.trusted-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-label { text-align: center; font-size: 11px; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 16px; text-transform: uppercase; }
.trusted-logos { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.trusted-logo { font-size: 14px; color: var(--text-muted); opacity: .6; }

/* ── Sections ─────────────────────────────────────────── */
.section-dark { padding: 100px 0; background: var(--bg-primary); }
.section-gradient { padding: 100px 0; background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)); }
.page-hero { padding: 140px 0 60px; text-align: center; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ── Tools Grid ───────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; overflow: hidden; }
.tool-card-glow { position: absolute; inset: 0; opacity: .05; pointer-events: none; }
.tool-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin: 16px 0 8px; }
.tool-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.tool-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tool-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.tool-credits { font-size: 12px; font-weight: 600; color: var(--accent-yellow); background: rgba(255,190,11,.1); padding: 4px 12px; border-radius: 100px; display: inline-block; }
.tool-card-featured { grid-column: span 1; border-color: rgba(255,0,110,.2); }

/* ── Feature Showcase ─────────────────────────────────── */
.features-showcase { display: flex; flex-direction: column; gap: 24px; }
.showcase-row { display: flex; gap: 24px; }
.showcase-card { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.showcase-card.showcase-wide { flex: 2; }
.showcase-icon { font-size: 32px; margin-bottom: 12px; }
.showcase-card h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 16px; }
.showcase-features { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chip { padding: 6px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 100px; font-size: 12px; color: var(--text-secondary); transition: var(--transition); }
.feature-chip:hover { background: rgba(255,0,110,.1); border-color: rgba(255,0,110,.3); color: var(--text-primary); }

/* ── Girlfriend Grid ──────────────────────────────────── */
.girlfriend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gf-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center; transition: var(--transition); }
.gf-feature:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.gf-icon { font-size: 36px; margin-bottom: 12px; }
.gf-feature h4 { font-size: 16px; margin-bottom: 8px; }
.gf-feature p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ── Safety Grid ──────────────────────────────────────── */
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.safety-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.safety-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.safety-icon i { width: 24px; height: 24px; }
.safety-card h4 { font-size: 16px; margin-bottom: 8px; }
.safety-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ── Community ────────────────────────────────────────── */
.community-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cf-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center; transition: var(--transition); }
.cf-card:hover { transform: translateY(-4px); }
.cf-card h4 { margin: 16px 0 8px; font-size: 16px; }
.cf-card p { font-size: 13px; color: var(--text-secondary); }

/* ── Pricing ──────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; position: relative; transition: var(--transition); }
.price-card:hover { transform: translateY(-4px); }
.price-card-popular { border-color: rgba(255,0,110,.4); background: linear-gradient(180deg, rgba(255,0,110,.05), var(--bg-card)); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: #fff; padding: 4px 16px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.price-tier { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.price-amount { font-family: var(--font-heading); font-size: 42px; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--text-secondary); }
.price-features li i { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; }
.pricing-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 14px; }

/* ── Credit packs ─────────────────────────────────────── */
.credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.credit-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; text-align: center; position: relative; transition: var(--transition); }
.credit-card:hover { transform: translateY(-4px); }
.credit-card-best { border-color: rgba(255,0,110,.4); }
.credit-amount { font-family: var(--font-heading); font-size: 48px; font-weight: 800; color: var(--accent-yellow); }
.credit-label { font-size: 16px; color: var(--text-secondary); margin-bottom: 12px; }
.credit-price { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.credit-per { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ── Enterprise ───────────────────────────────────────── */
.enterprise-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 60px; }
.enterprise-content h2 { font-family: var(--font-heading); font-size: 28px; margin: 16px 0; }
.enterprise-content p { color: var(--text-secondary); margin-bottom: 24px; }
.enterprise-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.enterprise-features span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.enterprise-features i { width: 16px; height: 16px; color: var(--accent-green); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-card); border: none; color: var(--text-primary); font-size: 15px; font-weight: 500; cursor: pointer; font-family: var(--font-body); }
.faq-question i { width: 18px; height: 18px; transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer p { padding: 0 20px 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── CTA ──────────────────────────────────────────────── */
.cta-section { padding: 100px 0; background: radial-gradient(ellipse at center, rgba(255,0,110,.08), transparent 70%); }
.cta-content { text-align: center; }
.cta-content h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-content p { color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 8px; max-width: 280px; }
.footer-links h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: var(--text-secondary); }
.footer-links a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ── Features detail ──────────────────────────────────── */
.features-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-detail-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }
.feature-detail-card:hover { border-color: var(--border-hover); }
.fdc-dot { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 12px; }
.feature-detail-card h4 { font-size: 15px; margin-bottom: 6px; }
.feature-detail-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ── Legal content ────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; padding-bottom: 60px; }
.legal-content h2 { font-family: var(--font-heading); font-size: 22px; margin: 40px 0 12px; color: var(--text-primary); padding-top: 20px; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; }
.legal-content h3 { font-size: 17px; margin: 20px 0 8px; }
.legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 16px 24px; }
.legal-content li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--accent-blue); }
.legal-content code { background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* ── Animations ───────────────────────────────────────── */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all .6s cubic-bezier(.16,1,.3,1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .tools-grid, .safety-grid, .features-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .girlfriend-grid, .community-features, .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .showcase-row { flex-direction: column; }
    .enterprise-features { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .preview-panel { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: rgba(10,10,15,.98); backdrop-filter: blur(20px); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-actions .btn-ghost { display: none; }
    .tools-grid, .pricing-grid, .pricing-grid-4, .safety-grid, .girlfriend-grid, .community-features, .credits-grid, .features-detail-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-visual { margin-top: 40px; }
    .preview-sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .enterprise-features { grid-template-columns: 1fr; }
    .enterprise-card { padding: 32px; }
}
