/* =====================================================================
   Sabill Data — Landing Page Styles
   Brand: #182569 (deep indigo)  ·  Accent: logo rainbow
   ===================================================================== */

:root {
    --brand: #182569;
    --brand-700: #101a4d;
    --brand-300: #4456a8;
    --blue: #0072ce;
    --sky: #2e9bff;
    --ink: #1b2233;
    --muted: #667089;
    --line: #e8ecf5;
    --bg: #ffffff;
    --bg-soft: #f4f6fc;
    --bg-soft-2: #eef1fb;
    --white: #ffffff;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 6px 20px rgba(24, 37, 105, 0.06);
    --shadow: 0 18px 50px rgba(24, 37, 105, 0.1);
    --shadow-lg: 0 30px 70px rgba(24, 37, 105, 0.16);
    --rainbow: linear-gradient(
        90deg,
        #2365bc,
        #2365bc,
        #2365bc,
        #0e284b,
        #0e284b,
        #0e284b
    );
    --rainbow-soft: linear-gradient(
        90deg,
        #e4002b1a,
        #ffcb051a,
        #3aaa351a,
        #0072ce1a,
        #1825691a
    );
    --font:
        "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto,
        sans-serif;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font);
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
    line-height: 1.18;
}

a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

.text-brand {
    color: var(--brand) !important;
}
.text-muted2 {
    color: var(--muted) !important;
}

/* Rainbow text accent */
.text-rainbow {
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    border: 2px solid var(--brand);
    transition: 0.25s ease;
    box-shadow: 0 10px 24px rgba(24, 37, 105, 0.22);
}
.btn-brand:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(24, 37, 105, 0.3);
}
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    background: transparent;
    color: var(--brand);
    font-weight: 700;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    border: 2px solid var(--brand);
    transition: 0.25s ease;
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Section helpers ---------- */
.section-pad {
    padding: 96px 0;
}
.bg-soft {
    background: var(--bg-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--bg-soft-2);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: var(--rainbow);
}

.section-title h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    margin-bottom: 0.8rem;
}
.section-title p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.04rem;
}

/* ---------- Navbar ---------- */
#mainNav {
    padding: 1rem 0;
    background: transparent;
    transition: 0.35s ease;
}
#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 6px 24px rgba(24, 37, 105, 0.08);
    padding: 0.55rem 0;
}
#mainNav .navbar-brand img {
    height: 52px;
    width: auto;
}
#mainNav.scrolled .navbar-brand img {
    height: 44px;
}
#mainNav .nav-link {
    color: var(--ink);
    font-weight: 600;
    margin: 0 0.35rem;
    padding: 0.5rem 0.65rem !important;
    border-radius: 8px;
    transition: 0.2s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--brand);
}
#mainNav .navbar-toggler {
    border: 0;
    font-size: 1.7rem;
    color: var(--brand);
    padding: 0;
}
#mainNav .navbar-toggler:focus {
    box-shadow: none;
}
.mobile-offcanvas {
    width: 300px;
}
.mobile-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--line);
}
.mobile-offcanvas .navbar-brand img {
    height: 46px;
}
.mobile-offcanvas .nav-link i {
    color: var(--blue);
    margin-right: 0.35rem;
}
.offcanvas-cta .btn-brand,
.offcanvas-cta .btn-outline-brand {
    padding: 0.6rem 1.2rem;
}
@media (max-width: 991px) {
    .offcanvas-cta {
        width: 100%;
    }
    .offcanvas-cta .btn-brand,
    .offcanvas-cta .btn-outline-brand {
        flex: 1;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 150px 0 90px;
    background:
        radial-gradient(
            60% 70% at 85% 5%,
            rgba(0, 114, 206, 0.1),
            transparent 60%
        ),
        radial-gradient(
            50% 60% at 5% 90%,
            rgba(228, 0, 43, 0.06),
            transparent 60%
        ),
        var(--bg);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: var(--rainbow);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin: 1rem 0;
}
.hero .lead {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 540px;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.badge-pill i {
    color: #3aaa35;
}

/* Hero network logos row */
.hero-networks {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-networks__label {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-networks__logos {
    display: flex;
    gap: 0.6rem;
}
.hero-networks__logos img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: 0.25s;
}
.hero-networks__logos img:hover {
    transform: translateY(-4px);
}

/* Hero image + spinning rainbow ring */
.hero-img-wrap {
    position: relative;
}
.hero-img-wrap > img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 50px rgba(24, 37, 105, 0.25));
}
.hero-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(
        #e4002b,
        #ff8a00,
        #ffcb05,
        #3aaa35,
        #0072ce,
        #182569,
        #e4002b
    );
    filter: blur(2px);
    opacity: 0.9;
    -webkit-mask: radial-gradient(
        circle,
        transparent 58%,
        #000 59%,
        #000 63%,
        transparent 64%
    );
    mask: radial-gradient(
        circle,
        transparent 58%,
        #000 59%,
        #000 63%,
        transparent 64%
    );
    animation: spin 18s linear infinite;
    z-index: 1;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.hero-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.9rem;
}
.hero-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.72rem;
}
.hero-card .ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
}
.hero-card.c1 {
    top: 12%;
    left: -4%;
    animation: float 4s ease-in-out infinite;
}
.hero-card.c2 {
    bottom: 14%;
    right: -2%;
    animation: float 4s ease-in-out infinite 0.8s;
}
.hero-card.c1 .ic {
    background: #3aaa35;
}
.hero-card.c2 .ic {
    background: #0072ce;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ---------- Stats ---------- */
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.2rem;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--rainbow);
    transform: scaleX(0);
    transition: 0.35s ease;
}
.stat-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.stat-card:hover::after {
    transform: scaleX(1);
}
.stat-ic {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.45rem;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 22px rgba(24, 37, 105, 0.18);
}
.stat-card .num {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}
.stat-card .num span {
    -webkit-text-fill-color: #3aaa35;
    color: #3aaa35;
}
.stat-card .label {
    color: var(--muted);
    font-weight: 600;
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

/* ---------- Service cards ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    height: 100%;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rainbow);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card .ic {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-soft-2);
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    transition: 0.3s;
}
.service-card .ic img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.service-card:hover .ic {
    background: var(--brand);
}
.service-card:hover .ic i {
    color: #fff !important;
}
.service-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.service-card .more {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}
.service-card .more i {
    transition: 0.25s;
}
.service-card .more:hover i {
    transform: translateX(4px);
}

/* ---------- How it works ---------- */
.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.2rem 1.6rem;
    height: 100%;
    border: 1px solid var(--line);
    text-align: center;
    transition: 0.3s;
}
.step:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.step .num-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--rainbow);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1.1rem;
    box-shadow: 0 10px 22px rgba(24, 37, 105, 0.25);
}
.step h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.step p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- About ---------- */
.about-img-wrap {
    position: relative;
}
.about-img-wrap::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 28px;
    background: var(--rainbow-soft);
    z-index: 0;
}
.about-img-wrap img {
    position: relative;
    z-index: 1;
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--ink);
}
.features-list li i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eafaf0;
    color: #3aaa35;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

/* ---------- Pricing ---------- */
.price-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.price-head {
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.price-head img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
    padding: 5px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.price-head h3 {
    color: inherit;
    margin: 0;
    font-size: 1.3rem;
}
.price-head small {
    display: block;
    font-weight: 600;
    opacity: 0.85;
    font-size: 0.78rem;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.price-table thead th {
    text-align: left;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--line);
}
.price-table .th-amount,
.price-table .th-days {
    text-align: center;
}
.price-table tbody td {
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid var(--bg-soft);
}
.price-table tbody tr:last-child td {
    border-bottom: 0;
}
.price-table .plan {
    font-weight: 600;
    color: var(--ink);
}
.price-table .amount {
    text-align: center;
}
.price-table .amount span {
    font-weight: 800;
    color: var(--brand);
}
.price-table .days {
    text-align: center;
}
.price-table .days span {
    background: var(--bg-soft-2);
    color: var(--brand-300);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}
.price-scroll {
    max-height: 360px;
    overflow-y: auto;
}
.price-scroll::-webkit-scrollbar {
    width: 6px;
}
.price-scroll::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
}
.price-foot {
    padding: 1.2rem;
    margin-top: auto;
}

/* ---------- Testimonials ---------- */
.testi-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 1.8rem;
    height: 100%;
    transition: 0.3s;
    position: relative;
}
.testi-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.testi-card .stars {
    color: #ffcb05;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.testi-card p {
    color: var(--ink);
    font-size: 0.95rem;
}
.testi-bio {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.testi-bio .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    flex: 0 0 auto;
}
.testi-bio h5 {
    margin: 0;
    font-size: 1rem;
}
.testi-bio span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ---------- Partners marquee ---------- */
.partners {
    padding: 70px 0;
    overflow: hidden;
}
.marquee {
    margin-top: 2rem;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    overflow: hidden;
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track {
    animation-play-state: paused;
}
.marquee__item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    margin: 0 1rem;
    display: grid;
    place-items: center;
}
.marquee__item img {
    max-height: 54px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: 0.3s;
}
.marquee__item img:hover {
    filter: grayscale(0);
    opacity: 1;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Download app ---------- */
.download-app {
    background:
        radial-gradient(
            120% 130% at 100% 0%,
            rgba(0, 114, 206, 0.5),
            transparent 55%
        ),
        var(--brand);
    border-radius: 26px;
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.download-app::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--rainbow);
}
.download-app h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.download-app p {
    color: #d4d9f3;
}
.download-app .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.download-app .eyebrow::before {
    background: #ffcb05;
}
.store-btns img {
    height: 52px;
}
.download-app .phone-img {
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
}

/* ---------- FAQ ---------- */
.accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.9rem;
    overflow: hidden;
}
.accordion-button {
    font-weight: 700;
    color: var(--brand);
    background: #fff;
    padding: 1.1rem 1.3rem;
}
.accordion-button:not(.collapsed) {
    background: var(--bg-soft-2);
    color: var(--brand);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button::after {
    background-size: 1.1rem;
    filter: hue-rotate(200deg);
}
.accordion-body {
    color: var(--muted);
    font-size: 0.96rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--brand-700);
    color: #c7cdf0;
    padding: 70px 0 30px;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--rainbow);
}
.footer h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.1rem;
    font-weight: 700;
}
.footer p {
    color: #a7afe0;
    font-size: 0.93rem;
}
.footer .quick-links a {
    color: #a7afe0;
    font-size: 0.93rem;
    display: inline-block;
    padding: 0.25rem 0;
    transition: 0.2s;
}
.footer .quick-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer .social {
    display: flex;
    gap: 0.6rem;
}
.footer .social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: grid;
    place-items: center;
    transition: 0.25s;
}
.footer .social a:hover {
    background: var(--rainbow);
    transform: translateY(-3px);
}
.footer .contact-item {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    align-items: flex-start;
}
.footer .contact-item i {
    color: #ffcb05;
    margin-top: 0.2rem;
}
.footer .contact-item a {
    color: #a7afe0;
}
.footer .contact-item a:hover {
    color: #fff;
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.88rem;
    color: #8b93cc;
}
.copyright a {
    color: #fff;
    font-weight: 600;
}

/* ---------- Go top ---------- */
.go-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.3s;
    z-index: 999;
    box-shadow: var(--shadow);
}
.go-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.go-top:hover {
    background: var(--brand-700);
}

/* ---------- Scroll reveal ---------- */
.js-reveal [data-aos] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    will-change: opacity, transform;
}
.js-reveal [data-aos].revealed,
.reveal-all [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .section-pad {
        padding: 70px 0;
    }
    .hero {
        padding: 130px 0 70px;
        text-align: center;
    }
    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-networks {
        justify-content: center;
    }
    .badge-pill {
        margin: 0 auto;
    }
    .hero-img-wrap {
        margin-top: 3rem;
    }
    .download-app {
        padding: 2.2rem;
        text-align: center;
    }
}
@media (max-width: 575px) {
    .hero-card {
        display: none;
    }
    .download-app {
        padding: 1.8rem;
    }
    .store-btns img {
        height: 46px;
    }
}
