/* ═══════════════════════════════════════════════ */
/* BebinRitam Landing Page — Dark Theme            */
/* ═══════════════════════════════════════════════ */

:root {
    --bg-dark: #0A0A1A;
    --bg-surface: #13131F;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --text-primary: #F0F0F5;
    --text-secondary: #A0A3B5;
    --text-muted: #6B6F85;
    --coral: #FF6B6B;
    --coral-deep: #E85D5D;
    --coral-glow: rgba(255, 107, 107, 0.15);
    --gradient-text: linear-gradient(135deg, #FF6B6B, #FFD93D);
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(255, 107, 107, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ═══════════════ NAV ═══════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ═══════════════ BUTTONS ═══════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 44px;
    font-size: 18px;
    border-radius: var(--r-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral), var(--coral-deep));
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    font-size: 1.1em;
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ═══════════════ SECTION ═══════════════ */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 48px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════ HERO ═══════════════ */

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

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, transparent 70%);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: var(--coral);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-avatars {
    font-size: 18px;
    letter-spacing: -4px;
}

/* Phone mockup */
.hero-phone,
.demo-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1A1A2E;
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 107, 0.06);
    overflow: hidden;
    padding: 12px;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0A0A1A;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    object-position: top;
}

/* ═══════════════ PAIN POINTS ═══════════════ */

.pain-points {
    background: var(--bg-surface);
}

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

.pain-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s ease;
}

.pain-card:hover {
    border-color: rgba(255, 107, 107, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pain-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pain-quote {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ═══════════════ FEATURES ═══════════════ */

.features {
    background: var(--bg-dark);
}

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

.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 107, 107, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(255, 107, 107, 0.08);
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: var(--r-md);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ═══════════════ APP DEMO ═══════════════ */

.app-demo {
    background: var(--bg-surface);
}

.demo-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.demo-feature.active,
.demo-feature:hover {
    background: var(--bg-card);
    border-color: var(--border);
}

.demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    margin-top: 8px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.demo-feature.active .demo-dot {
    background: var(--coral);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

.demo-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.demo-feature p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ═══════════════ HOW IT WORKS ═══════════════ */

.how-it-works {
    background: var(--bg-dark);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    flex: 1;
    max-width: 320px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 107, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--coral), var(--coral-deep));
    color: #FFF;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.step-connector {
    color: var(--coral);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.4;
}

/* ═══════════════ TESTIMONIALS ═══════════════ */

.testimonials {
    background: var(--bg-surface);
}

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

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 107, 107, 0.15);
}

.testimonial-stars {
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    font-size: 28px;
    width: 44px;
    height: 44px;
    background: rgba(255, 107, 107, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════════════ PRIVACY ═══════════════ */

.privacy {
    background: var(--bg-dark);
}

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

.privacy-badge {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s ease;
}

.privacy-badge:hover {
    border-color: rgba(255, 107, 107, 0.15);
    transform: translateY(-4px);
}

.privacy-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.privacy-badge h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.privacy-badge p {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* ═══════════════ PRICING ═══════════════ */

.pricing {
    background: var(--bg-surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(255, 107, 107, 0.2);
    transform: translateY(-4px);
}

.pricing-premium {
    border-color: rgba(255, 107, 107, 0.2);
}

.pricing-badge-premium {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--coral), var(--coral-deep));
    color: #FFF;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* ═══════════════ FINAL CTA ═══════════════ */

.final-cta {
    background: var(--bg-dark);
    padding: 80px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06), rgba(255, 217, 61, 0.03));
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: var(--r-xl);
}

.cta-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════ FOOTER ═══════════════ */

.footer {
    background: var(--bg-surface);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--coral);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════════════ SCROLL REVEAL ═══════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-sub {
        font-size: 0.95rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .demo-showcase {
        grid-template-columns: 1fr;
    }

    .demo-phone {
        order: -1;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-xl {
        padding: 14px 32px;
        font-size: 16px;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}