:root {
    --bg-dark: #000000;
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --accent: #FFFFFF;
    --card-bg: #1C1C1E;
    --border: #333336;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.ambient-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at top, rgba(220, 225, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; position: fixed; top: 0; width: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(20px);
    z-index: 100; border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--text-main); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.cta-btn {
    background-color: var(--accent); color: #000; border: none; border-radius: 99px;
    font-weight: 600; cursor: pointer; transition: transform 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.cta-btn:hover { transform: scale(1.02); }
.cta-btn.sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.cta-btn.lg { padding: 1.2rem 2.5rem; font-size: 1.1rem; }
.w-100 { width: 100%; padding: 1rem !important; }

.secondary-btn {
    background-color: transparent; color: var(--text-main); border: 1px solid var(--border);
    border-radius: 99px; font-weight: 600; cursor: pointer; transition: background 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.secondary-btn:hover { background-color: var(--card-bg); }

/* Hero */
.hero { text-align: center; padding: 12rem 5% 6rem; max-width: 1000px; margin: 0 auto; }
.hero-title { font-size: 5.5rem; line-height: 1; margin-bottom: 1.5rem; letter-spacing: -0.05em; }
.hero-subtitle { font-size: 1.5rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 3rem; font-weight: 400; letter-spacing: -0.01em; }
.hero-cta-group { margin-bottom: 5rem; }

.hero-mockup { margin: 0 auto 4rem; max-width: 900px; }
.mockup-img { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

.social-proof p { color: var(--text-muted); font-size: 1rem; }
.social-proof strong { color: var(--text-main); }

/* Globals */
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 4rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.25rem; }

/* Bento Features */
.features { padding: 8rem 5%; max-width: 1200px; margin: 0 auto; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card { background: var(--card-bg); border-radius: 24px; padding: 3rem; transition: transform 0.3s; }
.bento-card:hover { transform: scale(1.01); }
.bento-card.tall { grid-column: span 1; grid-row: span 2; }
.bento-card.wide { grid-column: span 2; grid-row: span 1; }
.bento-card.square { grid-column: span 1; grid-row: span 1; }

.feature-icon { color: var(--text-main); margin-bottom: 2rem; width: 32px; height: 32px; }
.bento-card h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.bento-card p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

/* Bento Visuals */
.bento-card { display: flex; flex-direction: column; overflow: hidden; }
.bento-card.wide { flex-direction: row; align-items: center; justify-content: space-between; gap: 4rem; }
.card-text { flex: 1; }
.bento-visual { margin-top: 2rem; display: flex; flex-direction: column; justify-content: center; }
.bento-card.wide .bento-visual { margin-top: 0; flex: 1; }

.mock-ui { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.mock-tweet { display: flex; gap: 1rem; margin-bottom: 1.5rem; opacity: 0.4; }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.mock-lines .line { height: 8px; background: var(--border); border-radius: 4px; width: 100%; }
.mock-lines .line.short { width: 60%; }

.mock-reply-bubble { display: flex; gap: 1rem; background: var(--bg-dark); padding: 1rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.reply-avatar { width: 24px; height: 24px; flex-shrink: 0; }
.reply-avatar img { width: 100%; filter: invert(1); }
.reply-content { font-size: 0.95rem; color: var(--text-main); }

.wide-visual { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1rem; background: rgba(255,255,255,0.02); padding: 2rem; border-radius: 16px; border: 1px solid var(--border); }
.rewrite-box { padding: 1rem; border-radius: 8px; font-size: 0.9rem; flex: 1; text-align: center; }
.rewrite-box.before { background: var(--bg-dark); color: var(--text-muted); border: 1px dashed var(--border); }
.rewrite-box.after { background: var(--accent); color: var(--bg-dark); font-weight: 600; box-shadow: 0 4px 20px rgba(255,255,255,0.15); }
.arrow { color: var(--text-muted); flex-shrink: 0; }

.center-visual { display: flex; flex-direction: column; align-items: center; gap: 1rem; background: rgba(255,255,255,0.02); padding: 2rem; border-radius: 16px; border: 1px solid var(--border); }
.lang-pill { background: var(--bg-dark); padding: 0.8rem 1.5rem; border-radius: 99px; font-weight: 600; border: 1px solid var(--border); font-size: 0.9rem; }
.arrow-vertical { color: var(--text-muted); }

.grid-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid var(--border); }
.vault-item { height: 48px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.vault-item:hover { background: rgba(255,255,255,0.1); }

/* Safety */
.safety-section { padding: 8rem 5%; max-width: 800px; margin: 0 auto; text-align: center; }
.safety-content h2 { font-size: 4rem; margin-bottom: 1.5rem; }
.safety-content p { color: var(--text-muted); font-size: 1.25rem; margin-bottom: 4rem; }
.safety-list { list-style: none; text-align: left; background: var(--card-bg); padding: 3rem; border-radius: 24px; }
.safety-list li { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-muted); }
.safety-list li:last-child { margin-bottom: 0; }
.safety-list li strong { color: var(--text-main); display: block; font-size: 1.25rem; margin-bottom: 0.25rem; }

/* Pricing */
.pricing-section { padding: 8rem 5%; max-width: 1000px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.pricing-card { background: var(--card-bg); padding: 4rem 3rem; border-radius: 24px; }
.pricing-card.premium-tier { border: 1px solid #555; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.price { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.price span { font-size: 4rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.05em; }
.price-desc { color: var(--text-muted); margin-bottom: 3rem; }
.feature-list { list-style: none; margin-bottom: 3rem; }
.feature-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-list li i { width: 16px; height: 16px; }

/* Bottom CTA */
.bottom-cta { padding: 8rem 5%; text-align: center; }
.cta-banner h2 { font-size: 4rem; margin-bottom: 3rem; }

/* Footer */
footer { padding: 4rem 5% 2rem; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto 3rem; }
.footer-brand .logo { font-size: 1rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-main); }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding-top: 2rem; }

/* Responsive */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.tall, .bento-card.wide, .bento-card.square { grid-column: span 1; }
    .hero-title { font-size: 3.5rem; }
    .section-header h2 { font-size: 3rem; }
}
