﻿/* ==================================================
   RAPITRIX V2 PREMIUM CLEAN CSS
   Mobile First • Clean Architecture • No Patch Chaos
================================================== */

/* ===============================
   ROOT
================================= */

:root {
    --primary: #142B5F;
    --primary-dark: #0f224d;
    --primary-light: #7ea7ff;
    --text: #111827;
    --muted: #64748b;
    --white: #ffffff;
    --soft: #f8fafc;
    --line: #e5e7eb;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm: 0 10px 24px rgba(15,23,42,.06);
    --shadow-md: 0 18px 40px rgba(15,23,42,.08);
    --shadow-lg: 0 28px 60px rgba(15,23,42,.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 78px;
    font-family: 'Inter',sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

section {
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none;
}

/* ===============================
   LAYOUT
================================= */

.content-section {
    padding: 82px 0;
}

.bg-light-soft {
    background: var(--soft);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 44px;
}

    .section-head.left {
        margin: 0 0 20px;
    }

    .section-head h2 {
        margin: 0;
        font-size: 2rem;
        line-height: 1.2;
        font-weight: 800;
    }

    .section-head p {
        margin: 14px 0 0;
        color: var(--muted);
        font-size: 1rem;
    }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* ===============================
   NAVBAR
================================= */

.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .8px;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 600;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

/* ===============================
   BUTTONS
================================= */

.btn {
    transition: all .25s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary-rapitrix,
.btn-secondary-rapitrix,
.btn-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 700;
}

.btn-primary-rapitrix {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

    .btn-primary-rapitrix:hover {
        color: var(--primary);
    }

.btn-secondary-rapitrix {
    border: 1.5px solid rgba(255,255,255,.75);
    color: #fff;
}

    .btn-secondary-rapitrix:hover {
        background: #fff;
        color: var(--primary);
    }

.btn-final {
    margin-top: 20px;
    background: #fff;
    color: var(--primary);
    padding: 0 28px;
}

.full-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* ===============================
   HERO
================================= */

.hero-section {
    padding: 42px 0 56px;
    background: linear-gradient(135deg,#0f1f4b,#142B5F);
    color: #fff;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: .75rem;
    font-weight: 700;
}

.hero-title {
    margin: 18px 0 0;
    font-size: 2.1rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.8px;
}

    .hero-title span {
        display: block;
        color: var(--primary-light);
    }

.hero-subtitle {
    margin: 16px auto 0;
    max-width: 520px;
    color: rgba(255,255,255,.86);
    font-size: 1rem;
}

.hero-buttons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-points {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: .88rem;
    color: rgba(255,255,255,.84);
}

/* ===============================
   DASHBOARD
================================= */

.hero-dashboard {
    margin-top: 34px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.08);
}

.dashboard-card {
    background: #fff;
    color: var(--text);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
}

.dashboard-top,
.activity-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .dashboard-top h5,
    .activity-head span {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
    }

.live-pill {
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.stats-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-card,
.chart-card,
.activity-card,
.feature-card,
.lead-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.mini-card {
    padding: 16px;
    background: var(--soft);
}

    .mini-card small {
        display: block;
        color: var(--muted);
        font-size: .74rem;
    }

    .mini-card h4 {
        margin: 6px 0 0;
        font-size: 1.55rem;
        font-weight: 800;
    }

.growth,
.warning {
    display: block;
    margin-top: 6px;
    font-size: .74rem;
    font-weight: 700;
}

.growth {
    color: #16a34a;
}

.warning {
    color: #d97706;
}

.chart-card {
    margin-top: 16px;
    padding: 18px;
    background: var(--soft);
}

.chart-head {
    text-align: left;
}

    .chart-head span {
        display: block;
        font-weight: 800;
        font-size: 1rem;
    }

    .chart-head small {
        display: block;
        margin-top: 2px;
        color: var(--muted);
        font-size: .78rem;
    }

.bars {
    margin-top: 18px;
    height: 155px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bar-wrap {
    flex: 1;
    text-align: center;
}

    .bar-wrap small {
        display: block;
        margin-top: 8px;
        color: var(--muted);
        font-size: .68rem;
    }

.bar {
    width: 100%;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg,var(--primary-light),var(--primary));
}

.h45 {
    height: 45px;
}

.h55 {
    height: 55px;
}

.h65 {
    height: 65px;
}

.h72 {
    height: 72px;
}

.h80 {
    height: 80px;
}

.h92 {
    height: 92px;
}

.activity-card {
    margin-top: 16px;
    padding: 18px;
    background: var(--soft);
}

.activity-head small {
    color: var(--muted);
    font-size: .78rem;
}

.activity-item {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .activity-item small {
        font-size: .8rem;
        color: #334155;
    }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.success {
    background: #22c55e;
}

.pending {
    background: #f59e0b;
}

/* ===============================
   TRUST
================================= */

.trust-section {
    padding: 34px 0;
    border-bottom: 1px solid #eef2f7;
}

.trust-title {
    margin: 0;
    font-weight: 800;
}

.trust-items {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    color: var(--muted);
    font-size: .92rem;
}

/* ===============================
   CARDS
================================= */

.feature-card {
    padding: 24px;
    border: 1px solid #eef2f7;
    height: 100%;
}

    .feature-card h5 {
        margin: 0 0 10px;
        font-weight: 800;
    }

    .feature-card p {
        margin: 0;
        color: var(--muted);
    }

.lead-card {
    padding: 24px;
    box-shadow: var(--shadow-md);
}

/* ===============================
   FORM
================================= */

.form-control-custom {
    width: 100%;
    height: 54px;
    margin-bottom: 12px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    font-size: .95rem;
}

/* ===============================
   LIST
================================= */

.benefit-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    color: var(--text);
}

    .benefit-list li {
        margin-bottom: 10px;
    }

/* ===============================
   FINAL
================================= */

.final-section {
    padding: 82px 0;
    background: linear-gradient(135deg,#0f1f4b,#142B5F);
    color: #fff;
    text-align: center;
}

    .final-section h2 {
        margin: 0;
        font-size: 2rem;
        font-weight: 800;
    }

    .final-section p {
        margin: 14px auto 0;
        max-width: 650px;
        color: rgba(255,255,255,.85);
    }

/* ===============================
   TABLET
================================= */

@media (min-width:768px) {

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .grid-3 {
        grid-template-columns: repeat(2,1fr);
    }
}

/* ===============================
   DESKTOP
================================= */

@media (min-width:992px) {

    body {
        padding-top: 82px;
    }

    .content-section {
        padding: 96px 0;
    }

    .hero-section {
        text-align: left;
        padding: 78px 0 72px;
    }

    .hero-title {
        font-size: 3.35rem;
    }

        .hero-title span {
            display: inline;
        }

    .hero-subtitle {
        margin-left: 0;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-points {
        justify-content: flex-start;
    }

    .hero-dashboard {
        margin-top: 0;
        padding: 18px;
    }

    .dashboard-card {
        padding: 24px;
    }

    .grid-3 {
        grid-template-columns: repeat(3,1fr);
        gap: 24px;
    }

    .section-head h2,
    .final-section h2 {
        font-size: 2.55rem;
    }

    .section-head p {
        font-size: 1.08rem;
    }
}

/* FOOTER ONLY FIX */
/* Tambahkan di PALING BAWAH rapitrix.css */

/* spacing footer desktop + mobile */
.footer-rapitrix {
    padding: 72px 0 34px !important;
    margin-top: 0 !important;
}

    .footer-rapitrix .container {
        padding-left: 24px;
        padding-right: 24px;
    }

.footer-logo {
    margin-bottom: 18px !important;
}

.footer-text {
    margin-bottom: 28px !important;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 16px !important;
}

.footer-links {
    padding-left: 0;
    margin: 0 0 24px 0;
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
    }

.footer-subscribe {
    margin-top: 10px;
}

    .footer-subscribe input {
        margin-bottom: 12px;
    }

.footer-line {
    margin: 34px 0 24px !important;
}

.footer-bottom {
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

/* mobile */
@media (max-width:991.98px) {

    .footer-rapitrix {
        padding: 56px 0 26px !important;
    }

    .footer-logo {
        margin-bottom: 14px !important;
    }

    .footer-text {
        margin-bottom: 24px !important;
    }

    .footer-title {
        margin-top: 6px;
    }

    .footer-bottom {
        gap: 10px;
        font-size: .95rem;
    }
}

/* desktop */
@media (min-width:992px) {

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-links {
        margin-bottom: 0;
    }
}

.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

/* ===============================
   FAQ
================================= */

.faq-box {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    padding: 22px 0;
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

    .faq-question h5 {
        margin: 0;
        font-weight: 700;
        color: #111827;
    }

.faq-answer {
    display: none;
    padding-top: 14px;
}

    .faq-answer p {
        margin: 0;
        color: #64748b;
        line-height: 1.8;
    }

.faq-arrow {
    width: 10px;
    height: 10px;
    margin-left: 20px;
    flex-shrink: 0;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: .25s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-arrow {
    transform: rotate(-135deg);
}