/* =====================================================
   TEBIKOMAPAY LANDING PAGE CSS
   File: static/css/landing.css
   ===================================================== */

:root {
    --primary: #16a34a;
    --primary-dark: #0f7a37;
    --blue: #2563eb;
    --dark: #07111f;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: min(1150px, calc(100% - 32px));
    margin: auto;
}

/* =====================================================
   TOP BAR
   ===================================================== */

.topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar a {
    color: #86efac;
    font-weight: 700;
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-size: 23px;
    font-weight: 900;
}

 .navbar .brand .brand-logo {
    width: 95px !important;
    height: 95px !important;
    min-width: 95px !important;
    object-fit: contain !important;
    border-radius: 16px;
    background: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 13px 19px;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 14px 30px rgba(22,163,74,0.26);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-soft {
    background: #ecfdf5;
    color: var(--primary-dark);
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    background:
        radial-gradient(circle at top left, rgba(34,197,94,0.32), transparent 34%),
        radial-gradient(circle at top right, rgba(37,99,235,0.24), transparent 32%),
        linear-gradient(135deg, #07111f, #0f2f22);
    color: white;
    padding: 86px 0 70px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 42px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #bbf7d0;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(37px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.7px;
}

.hero h1 span {
    color: #86efac;
}

.hero-text {
    margin: 20px 0 22px;
    color: rgba(255,255,255,0.84);
    font-size: 18px;
    max-width: 650px;
}

.mission {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: 4px solid #86efac;
    border-radius: 18px;
    padding: 17px;
    margin-bottom: 25px;
    max-width: 650px;
}

.mission strong {
    display: block;
    color: white;
    font-size: 17px;
    margin-bottom: 4px;
}

.mission span {
    color: rgba(255,255,255,0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 650px;
}

.hero-point {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 15px;
    padding: 12px;
    font-weight: 800;
    color: rgba(255,255,255,0.86);
}

/* =====================================================
   LOGIN PREVIEW CARD
   ===================================================== */

.preview-card {
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 34px;
    padding: 18px;
    box-shadow: 0 34px 86px rgba(0,0,0,0.38);
}

.phone-screen {
    background: white;
    color: var(--text);
    border-radius: 26px;
    padding: 22px;
}

.phone-head {
    text-align: center;
    margin-bottom: 17px;
}

.phone-head img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 10px;
}

.phone-head h3 {
    margin: 0;
    font-size: 23px;
}

.phone-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.input-demo {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.connect-demo {
    background: var(--primary);
    color: white;
    border-radius: 15px;
    padding: 14px;
    text-align: center;
    font-weight: 900;
    margin-bottom: 15px;
}

.package-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px;
    margin-bottom: 10px;
}

.package-demo strong {
    display: block;
}

.package-demo small {
    color: var(--muted);
}

.package-demo b {
    color: var(--primary);
    white-space: nowrap;
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: 78px 0;
}

.section.light {
    background: var(--bg);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    color: var(--primary-dark);
    background: rgba(22,163,74,0.1);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.13;
    color: var(--dark);
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}

/* =====================================================
   FEATURES
   ===================================================== */

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

.feature-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 14px 40px rgba(15,23,42,0.06);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ecfdf5;
    color: var(--primary);
    font-size: 23px;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 21px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--dark);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 15px;
}

.step h3 {
    margin: 0 0 8px;
    color: var(--dark);
}

.step p {
    margin: 0;
    color: var(--muted);
}

/* =====================================================
   CONTACT
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card,
.cta-card {
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 14px 40px rgba(15,23,42,0.06);
}

.contact-card {
    background: white;
    border: 1px solid var(--line);
}

.contact-card h3,
.cta-card h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
}

.contact-card p {
    color: var(--muted);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
    border-bottom: none;
}

.contact-line i {
    color: var(--primary);
    width: 24px;
}

.contact-line a {
    color: var(--dark);
    font-weight: 800;
}

.cta-card {
    background:
        radial-gradient(circle at top right, rgba(134,239,172,0.16), transparent 34%),
        linear-gradient(135deg, var(--dark), #0f2f22);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 22px;
}

/* =====================================================
   FAQ
   ===================================================== */

.faq {
    max-width: 860px;
    margin: auto;
    display: grid;
    gap: 14px;
}

details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--dark);
}

details p {
    color: var(--muted);
    margin-bottom: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: var(--dark);
    color: white;
    padding: 42px 0;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
}

.footer-grid p {
    color: rgba(255,255,255,0.65);
    margin: 8px 0 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.82);
    font-weight: 800;
}

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: grid;
    place-items: center;
    z-index: 80;
    font-size: 29px;
    box-shadow: 0 15px 35px rgba(37,211,102,0.35);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 960px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .nav-links {
        display: none;
    }
}

@media (max-width: 620px) {
    .topbar {
        display: none;
    }

    .nav-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-actions {
        width: 100%;
    }

    .nav-actions .btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 13px;
    }

    .hero {
        padding: 56px 0 46px;
    }

    .hero-points,
    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .brand {
        font-size: 20px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }
}

/* =====================================================
   COMPACT LANDING PAGE SPACING FIX
   Keep this at the bottom so it overrides bigger styles.
   ===================================================== */

.topbar {
    font-size: 12px;
}

.topbar-inner {
    min-height: 30px;
    padding: 4px 0;
}

.nav-inner {
    min-height: 58px;
}

.brand {
    font-size: 20px;
}

.brand-logo {
    width: 38px;
    height: 38px;
}

.nav-links {
    gap: 14px;
}

.nav-links a {
    font-size: 13px;
}

.btn {
    padding: 9px 14px;
    border-radius: 11px;
    font-size: 14px;
}

.nav-actions {
    gap: 7px;
}

.hero {
    padding: 48px 0 42px;
}

.hero-grid {
    gap: 28px;
}

.badge {
    margin-bottom: 12px;
    padding: 7px 12px;
}

.hero h1 {
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
}

.hero-text {
    margin: 14px 0 16px;
    font-size: 16px;
}

.mission {
    padding: 13px;
    margin-bottom: 18px;
}

.hero-actions {
    margin-bottom: 16px;
    gap: 9px;
}

.hero-point {
    padding: 9px 11px;
    font-size: 14px;
}

.preview-card {
    padding: 10px;
    border-radius: 24px;
}

.phone-screen {
    padding: 15px;
    border-radius: 20px;
}

.phone-head {
    margin-bottom: 12px;
}

.phone-head img {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
}

.phone-head h3 {
    font-size: 19px;
}

.phone-head p {
    font-size: 12px;
}

.input-demo,
.connect-demo {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.package-demo {
    padding: 10px;
    border-radius: 13px;
    margin-bottom: 7px;
}

.package-demo strong {
    font-size: 14px;
}

.package-demo small {
    font-size: 12px;
}

.package-demo b {
    font-size: 13px;
}

.section {
    padding: 52px 0;
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: clamp(26px, 3.5vw, 38px);
}

.section-head p {
    font-size: 15px;
}

.feature-card,
.step,
.contact-card,
.cta-card {
    padding: 20px;
    border-radius: 20px;
}

.icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
}

footer {
    padding: 28px 0;
}

.footer-brand img {
    width: 36px;
    height: 36px;
}