/* /index.css */

/* ============ BASE ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #152126;
    background: #fbfcfc;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:root {
    --bg: #fbfcfc;
    --card: #ffffff;
    --text: #152126;
    --muted: #51646c;

    --brand: #2a9d8f;
    --brand-2: #1f4e5a;
    --brand-3: #0f3540;

    --line: rgba(19, 35, 41, 0.12);
    --line-2: rgba(19, 35, 41, 0.08);

    --shadow: 0 14px 40px rgba(8, 25, 32, 0.12);
    --shadow-soft: 0 10px 26px rgba(8, 25, 32, 0.08);

    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 12px;

    --container: 1120px;

    /* Spacing scale */
    --space-1: 10px;
    --space-2: 14px;
    --space-3: 18px;
    --space-4: 26px;
    --space-5: 40px;
    --space-6: 56px;
    --space-7: 74px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    padding: 10px 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    z-index: 9999;
}

.skip-link:focus {
    left: 12px;
}

/* ============ TOPBAR ============ */
.topbar {
    background: linear-gradient(90deg, rgba(42, 157, 143, 0.16), rgba(31, 78, 90, 0.12));
    border-bottom: 1px solid var(--line-2);
}

.topbar-inner {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.topbar-text {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.topbar-link {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-3);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(31, 78, 90, 0.18);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
}

.topbar-link:hover {
    transform: translateY(-1px);
}

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 252, 252, 0.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(19, 35, 41, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 52px;
    width: auto;
}

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

.nav-link {
    font-size: 14px;
    color: var(--muted);
    font-weight: 650;
    padding: 10px 12px;
    border-radius: 999px;
    transition: 160ms ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(42, 157, 143, 0.10);
}

.nav-link.is-active {
    color: var(--text);
    background: rgba(31, 78, 90, 0.10);
    border: 1px solid rgba(31, 78, 90, 0.14);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hamburger button (mobile) */
.menu-btn {
    display: none;
    /* shown via media query */
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 160ms ease;
}

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

.menu-btn:active {
    transform: translateY(0px);
}

.menu-lines {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 0 auto;
    position: relative;
    border-radius: 999px;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.menu-lines::before {
    top: -7px;
}

.menu-lines::after {
    top: 7px;
}

/* Mobile menu */
.mobile-menu {
    border-top: 1px solid var(--line-2);
    background: rgba(251, 252, 252, 0.92);
    backdrop-filter: blur(10px);
}

.mobile-menu-inner {
    padding: 14px 0 18px;
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.70);
    color: var(--text);
    font-weight: 850;
}

.mobile-link:hover {
    transform: translateY(-1px);
}

.mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    font-size: 14px;
    transition: 160ms ease;
    cursor: pointer;
    user-select: none;
}

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

.btn:active {
    transform: translateY(0px);
}

.btn-solid {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 28px rgba(42, 157, 143, 0.25);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(31, 78, 90, 0.16);
    color: var(--brand-3);
}

.btn-block {
    width: 100%;
}

/* ============ TYPE ============ */
.h1,
.h2 {
    margin: 0;
    letter-spacing: -0.02em;
}

.h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.05;
}

.h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.1;
}

.lead {
    margin: 16px 0 0;
    font-size: 16px;
    color: var(--muted);
    max-width: 54ch;
}

.section-sub {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 62ch;
}

.text-link {
    color: var(--brand-3);
    font-weight: 850;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.text-link:hover {
    border-color: rgba(31, 78, 90, 0.14);
    background: rgba(31, 78, 90, 0.08);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-7) 0 var(--space-6);
    background:
        radial-gradient(900px 380px at 18% 20%, rgba(42, 157, 143, 0.18), transparent 60%),
        radial-gradient(800px 360px at 88% 10%, rgba(31, 78, 90, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(255, 247, 239, 0.72), rgba(251, 252, 252, 1));
    border-bottom: 1px solid var(--line-2);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 0 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(31, 78, 90, 0.14);
    background: rgba(255, 255, 255, 0.65);
    color: var(--brand-3);
    font-weight: 850;
    font-size: 13px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.14);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

/* Highlights */
.quick-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.qp {
    font-size: 13px;
    font-weight: 750;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(19, 35, 41, 0.10);
    padding: 12px 14px;
    border-radius: 14px;
}

.micro-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ms {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(19, 35, 41, 0.10);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
}

.ms-top {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}

.ms-big {
    margin: 6px 0 0;
    font-weight: 900;
    color: var(--text);
    font-size: 14px;
}

/* ============ SLIDER ============ */
.hero-media {
    display: grid;
    gap: 14px;
}

.slider {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    min-height: 380px;
}

.slides {
    position: relative;
    height: 100%;
    min-height: 380px;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 450ms ease, transform 700ms ease;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(15, 31, 36, 0.35);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 160ms ease;
}

.slider-btn:hover {
    background: rgba(15, 31, 36, 0.50);
}

.slider-btn.prev {
    left: 12px;
}

.slider-btn.next {
    right: 12px;
}

.dots {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.dot-btn.is-active {
    width: 22px;
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(255, 255, 255, 0.90);
}

.mini-card {
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.mini-title {
    margin: 0;
    font-weight: 900;
}

.mini-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.mini-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 900;
    color: var(--brand-3);
    padding: 10px 12px;
    border-radius: 12px;
}

.mini-link:hover {
    background: rgba(31, 78, 90, 0.08);
    border: 1px solid rgba(31, 78, 90, 0.10);
}

/* ============ SECTIONS (MORE SPACE) ============ */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.snapshot {
    padding: var(--space-6) 0;
}

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

.snap {
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(19, 35, 41, 0.10);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.snap-title {
    margin: 0;
    font-weight: 900;
}

.snap-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* How it works */
.how {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    background: linear-gradient(180deg, rgba(31, 78, 90, 0.04), transparent 55%);
}

.how-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: start;
}

.steps {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-soft);
}

.steps .n {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.steps .t {
    font-weight: 800;
    color: var(--text);
}

.how-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Side cards */
.side {
    display: grid;
    gap: 12px;
}

.side-card {
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.side-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.side-title {
    margin: 10px 0 0;
    font-weight: 900;
    font-size: 18px;
}

.side-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* FAQ */
.faq {
    padding: var(--space-6) 0;
    background:
        radial-gradient(780px 240px at 20% 20%, rgba(42, 157, 143, 0.14), transparent 60%),
        radial-gradient(680px 220px at 90% 30%, rgba(31, 78, 90, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(255, 247, 239, 0.75), rgba(251, 252, 252, 1));
    border-bottom: 1px solid var(--line-2);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: start;
}

.faq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.accordion {
    display: grid;
    gap: 12px;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    padding: 16px 18px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
}

/* CTA */
.cta {
    padding: var(--space-6) 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(19, 35, 41, 0.10);
    background:
        radial-gradient(600px 220px at 20% 50%, rgba(42, 157, 143, 0.18), transparent 60%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.95), rgba(255, 255, 255, 0.82));
    box-shadow: var(--shadow);
}

.cta-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

/* Footer */
.footer {
    padding: 24px 0 18px;
    background: #0f1f24;
    color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.8fr;
    gap: 16px;
    align-items: start;
}

.footer-logo {
    height: 46px;
    width: auto;
    filter: brightness(1.3) contrast(1.05);
}

.footer-text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-weight: 600;
    max-width: 46ch;
}

.footer-title {
    margin: 6px 0 10px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
}

.footer-link {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 650;
    font-size: 14px;
}

.footer-link:hover {
    color: #fff;
}

.footer-small {
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .micro-stats {
        grid-template-columns: 1fr;
    }

    .slider,
    .slides {
        min-height: 340px;
    }
}

@media (max-width: 860px) {

    .nav,
    .header-cta {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}