@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
    --red: #bc2b2b;
    --red-dark: #9b0000;
    --blue: #1e1787;
    --blue-dark: #020040;
    --gray-50: #f6f7fb;
    --gray-100: #eef1f7;
    --gray-300: #d6d6d6;
    --gray-700: #343a40;
    --text: #1f252f;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    --radius: 16px;
    --gradient: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--red) 100%);
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
    background: var(--gray-50);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.page {
    overflow-x: hidden;
    background: radial-gradient(1400px 1400px at -15% -10%, rgba(30, 23, 135, 0.08), transparent 45%),
        radial-gradient(1200px 1200px at 120% 10%, rgba(188, 43, 43, 0.09), transparent 40%),
        var(--gray-50);
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

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

.brand img {
    width: 92px;
    height: auto;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(30, 23, 135, 0.24);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    font-size: 0.98rem;
}

.nav a {
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    background: rgba(30, 23, 135, 0.08);
    color: var(--blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 30px rgba(30, 23, 135, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 32px rgba(30, 23, 135, 0.3);
}

.btn-ghost {
    background: #fff;
    color: var(--blue);
    border-color: rgba(30, 23, 135, 0.35);
}

.btn-ghost:hover {
    background: rgba(30, 23, 135, 0.06);
}

.hero {
    padding: 96px 0 72px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 40px -140px 0 auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(188, 43, 43, 0.22), transparent 60%);
    filter: blur(16px);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(30, 23, 135, 0.08);
    color: var(--blue);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.eyebrow span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 10px rgba(188, 43, 43, 0.12);
}

.hero h1 {
    font-size: clamp(2rem, 3.2vw + 1rem, 3.4rem);
    line-height: 1.1;
    margin: 20px 0 18px;
    color: var(--blue-dark);
}

.hero p.lead {
    font-size: 1.08rem;
    color: #2d3240;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 26px 0 14px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.pill {
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid rgba(52, 58, 64, 0.1);
    color: #4a4f57;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pill i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 8px rgba(188, 43, 43, 0.14);
}

.hero-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(30, 23, 135, 0.12);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -90px -60px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(30, 23, 135, 0.08), transparent 60%);
}

.hero-card img {
    width: 120px;
    margin-bottom: 12px;
    background: var(--blue-dark);
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(30, 23, 135, 0.25);
}

.hero-card h3 {
    color: var(--blue-dark);
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.hero-card p {
    color: #4a4f57;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.badge {
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(30, 23, 135, 0.1), rgba(188, 43, 43, 0.1));
    color: var(--blue-dark);
    font-weight: 700;
    border: 1px solid rgba(30, 23, 135, 0.14);
}

.section {
    padding: 72px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: 2rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.section-heading p {
    color: #4a4f57;
    max-width: 720px;
    margin: 0 auto;
}

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

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(52, 58, 64, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(30, 23, 135, 0.12);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-weight: 800;
}

.feature-card h3 {
    color: var(--blue-dark);
    font-size: 1.15rem;
}

.feature-card p {
    color: #4a4f57;
}

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

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid rgba(52, 58, 64, 0.08);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
    position: relative;
}

.step .number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.step h3 {
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.plan-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(52, 58, 64, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.plan-card.highlight {
    background: linear-gradient(155deg, rgba(30, 23, 135, 0.95), rgba(2, 0, 64, 0.98));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card.highlight .price,
.plan-card.highlight .price small,
.plan-card.highlight h3,
.plan-card.highlight p,
.plan-card.highlight li {
    color: #fff;
}

.plan-card .ribbon {
    position: absolute;
    top: 16px;
    right: -54px;
    background: var(--red);
    color: #fff;
    padding: 8px 70px;
    transform: rotate(38deg);
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.plan-card h3 {
    font-size: 1.2rem;
    color: var(--blue-dark);
}

.price {
    font-size: 2.4rem;
    color: var(--red);
    line-height: 1.1;
}

.price small {
    font-size: 0.95rem;
    color: #4a4f57;
    font-weight: 600;
}

.plan-bullets {
    list-style: none;
    display: grid;
    gap: 8px;
    color: #4a4f57;
}

.plan-bullets li {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: flex-start;
    gap: 8px;
}

.plan-bullets li::before {
    content: "✔";
    color: var(--red);
    font-weight: 800;
}

.plan-card .btn {
    width: 100%;
    margin-top: 4px;
}

.plan-card.highlight .btn {
    background: #fff;
    color: var(--blue-dark);
    box-shadow: none;
}

.all-benefits {
    margin-top: 16px;
    text-align: center;
    color: #4a4f57;
    font-weight: 600;
}

.carousel {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: #fff;
    border: 1px solid rgba(52, 58, 64, 0.08);
    max-width: 600px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 21 / 8;
    background: var(--gray-100);
    display: grid;
    place-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(52, 58, 64, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dots button.active {
    width: 26px;
    background: var(--red);
    border-radius: 999px;
}

.faq {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.faq details {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(52, 58, 64, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--blue-dark);
}

.faq p {
    margin-top: 10px;
    color: #4a4f57;
}

.cta-banner {
    background: var(--gradient);
    border-radius: 22px;
    padding: 32px;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 20px;
    box-shadow: 0 18px 45px rgba(30, 23, 135, 0.32);
}

.cta-banner h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.cta-banner p {
    opacity: 0.9;
}

footer {
    padding: 36px 0 50px;
    color: #4a4f57;
    text-align: center;
    font-weight: 600;
}

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

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

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

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        position: static;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        padding: 70px 0 36px;
    }

    .features-grid,
    .how-it-works {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        width: 100%;
    }

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