/* ============================================
   Snapi - Landing Page (Dark Theme)
   PAS + AIDA structure
   Primary: #1D2B4E | Accent: #0F4C5C
   ============================================ */

html { scroll-behavior: smooth; }

/* Navbar */
.nav {
    background: rgba(11,14,20,0.95);
    border-bottom: 1px solid #1A1F2E;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}
.nav-brand {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.nav-brand .brand-icon { font-size: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #8B95A5; font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Landing Button */
.btn-landing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #0F4C5C;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-landing:hover { background: #1B6B75; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(15,76,92,0.35); }
.btn-lg { padding: 16px 36px !important; font-size: 16px !important; border-radius: 12px; }
.btn-ghost-landing { padding: 16px 24px; color: #8B95A5; font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost-landing:hover { color: #fff; }

/* Hero */
.hero-section {
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: calc(100vh - 60px);
    background: radial-gradient(ellipse at 70% 0%, rgba(15,76,92,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(29,43,78,0.08) 0%, transparent 50%);
}
.hero-text { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(15,76,92,0.15);
    border: 1px solid rgba(15,76,92,0.35);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #1B6B75;
    margin-bottom: 24px;
}
.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: #fff;
}
.hero-section h1 .highlight {
    background: linear-gradient(135deg, #1B6B75, #3A9BA8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    font-size: 1.15rem;
    color: #8B95A5;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 13px;
    color: #555e6e;
}

/* Hero Profiles Strip */
.hero-profiles {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-profile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}
.hero-profile-item:hover { transform: translateY(-4px); }
.hero-profile-item img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 2px solid rgba(15,76,92,0.3);
    transition: border-color 0.2s;
}
.hero-profile-item:hover img { border-color: #1B6B75; }
.hero-profile-item span {
    font-size: 10px;
    font-weight: 600;
    color: #8B95A5;
    text-align: center;
}

/* Pipeline Visual */
.pipeline-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.pipeline-card {
    width: 380px;
    background: #12161F;
    border: 1px solid #1A1F2E;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 120px rgba(15,76,92,0.1);
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.4s;
}
.pipeline-card:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }

.pipeline-header {
    background: #1A1F2E;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #242938;
}
.pipeline-logo {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, #0F4C5C, #1B6B75);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff; font-weight: 800;
}
.pipeline-title { font-size: 14px; font-weight: 700; color: #fff; }

.pipeline-body { padding: 16px; }

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #242938;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.pipeline-step:hover { border-color: rgba(15,76,92,0.4); }
.pipeline-step-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(15,76,92,0.15); color: #1B6B75;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.pipeline-step-text { flex: 1; }
.pipeline-step-label { font-size: 13px; font-weight: 700; color: #fff; }
.pipeline-step-desc { font-size: 11px; color: #8B95A5; }

.pipeline-arrow {
    text-align: center;
    color: #1B6B75;
    font-size: 16px;
    margin: 4px 0;
    opacity: 0.5;
}

/* Floating badges */
.float-badge {
    position: absolute;
    padding: 8px 14px;
    background: rgba(18,22,31,0.9);
    border: 1px solid #1A1F2E;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    animation: float 6s ease-in-out infinite;
}
.float-badge .fb-icon { margin-right: 6px; }
.fb-1 { top: 10%; right: -30px; animation-delay: 0s; }
.fb-2 { bottom: 25%; left: -40px; animation-delay: 2s; }
.fb-3 { bottom: 5%; right: -20px; animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Profiles Section */
.profiles-section {
    padding: 80px 24px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(15,76,92,0.06) 0%, transparent 60%);
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1rem;
    color: #8B95A5;
    margin-bottom: 48px;
}
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.profile-card {
    background: #12161F;
    border: 1px solid #1A1F2E;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: left;
    transition: border-color 0.3s, transform 0.2s;
}
.profile-card:hover { border-color: rgba(15,76,92,0.5); transform: translateY(-3px); }
.profile-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(15,76,92,0.15); color: #1B6B75;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 24px;
}
.profile-icon-img {
    width: 56px; height: 56px; border-radius: 14px;
    margin-bottom: 16px;
}
.profile-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.profile-books { font-size: 13px; color: #8B95A5; line-height: 1.6; }

/* Features Section */
.features-section { padding: 80px 24px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.f-card {
    background: #12161F;
    border: 1px solid #1A1F2E;
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color 0.3s, transform 0.2s;
}
.f-card:hover { border-color: rgba(15,76,92,0.5); transform: translateY(-3px); }
.f-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(15,76,92,0.15); color: #1B6B75;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 22px;
}
.f-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.f-text { font-size: 14px; color: #8B95A5; line-height: 1.6; }

/* Pain Section */
.pain-section {
    padding: 80px 24px;
    text-align: center;
    position: relative;
}
.pain-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #0F4C5C, #1B6B75);
    border-radius: 2px;
}
.pain-icon { font-size: 48px; margin-bottom: 24px; display: block; }
.pain-text {
    font-size: 1.25rem;
    color: #8B95A5;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}
.pain-text strong { color: #fff; font-weight: 700; }

/* How It Works */
.how-section {
    padding: 80px 24px;
    text-align: center;
    border-top: 1px solid #1A1F2E;
}
.steps-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    position: relative;
}
.step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F4C5C, #1B6B75);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: #8B95A5; line-height: 1.6; }

/* Pricing */
.pricing-section {
    padding: 80px 24px;
    text-align: center;
}

/* CTA Final */
.cta-final {
    padding: 80px 24px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(15,76,92,0.1) 0%, transparent 60%);
}
.cta-final h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-final p { color: #8B95A5; margin-bottom: 32px; font-size: 1.1rem; }

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #1A1F2E;
    color: #8B95A5;
    font-size: 13px;
}
.footer a { color: #8B95A5; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-accent { color: #1B6B75; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px 40px;
        min-height: auto;
        text-align: center;
    }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-lead { margin: 0 auto 24px; }
    .hero-actions { justify-content: center; }
    .hero-profiles { justify-content: center; }
    .pipeline-visual { order: -1; }
    .pipeline-card { width: 320px; transform: perspective(1200px) rotateY(0deg) rotateX(3deg); }
    .pipeline-card:hover { transform: perspective(1200px) rotateY(0deg) rotateX(1deg); }
    .float-badge { display: none; }
}

@media (max-width: 600px) {
    .hero-section h1 { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; }
    .hero-profiles { gap: 12px; }
    .hero-profile-item img { width: 44px; height: 44px; border-radius: 11px; }
    .hero-profile-item span { font-size: 9px; }
    .features-grid, .profiles-grid { grid-template-columns: 1fr; }
    .section-title, .cta-final h2 { font-size: 1.5rem; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(11,14,20,0.98);
        padding: 16px; border-bottom: 1px solid #1A1F2E;
    }
    .nav-toggle { display: block; }
    .steps-grid { flex-direction: column; align-items: center; }
}
