:root {
    --bg: #f8f6f2;
    --surface: #ffffff;
    --surface-alt: #fff5fb;
    --text: #020106;
    --muted: #5a5860;
    --line: #e7dfd6;
    --accent: #fccbfb;
    --accent-strong: #7b2cff;
    --shadow: 0 16px 40px rgba(2, 1, 6, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.narrow {
    max-width: 760px;
}

.section {
    padding: 84px 0;
}

.compact-top {
    padding-top: 24px;
}

.surface-alt {
    background: linear-gradient(180deg, rgba(252, 203, 251, 0.18), rgba(255, 255, 255, 0.6));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(252, 203, 251, 0.55);
    border: 1px solid rgba(2, 1, 6, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-strong);
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.2rem;
}

p {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    border: 2px dashed transparent;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--text);
    border-color: var(--text);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: rgba(2, 1, 6, 0.18);
}

.btn-dark {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(2, 1, 6, 0.08);
}

.header-container {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo img,
.footer-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
    position: relative;
    font-weight: 500;
    color: #2b2b35;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-strong);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    width: 56px;
    height: 56px;
    border: 2px dashed var(--text);
    border-radius: 16px;
    background: var(--surface);
    position: relative;
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--text);
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.menu-toggle span:first-child {
    top: 22px;
}

.menu-toggle span:last-child {
    top: 32px;
}

.menu-toggle.active span:first-child {
    top: 27px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 27px;
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(2, 1, 6, 0.08);
    background: var(--surface);
}

.mobile-menu.show {
    max-height: 520px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 16px 18px;
}

.mobile-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(2, 1, 6, 0.06);
}

.hero-grid,
.split-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: center;
}

.hero-copy p {
    max-width: 640px;
    font-size: 1.05rem;
    margin-top: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-badges,
.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-badges span,
.keyword-cloud span {
    padding: 11px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid rgba(2, 1, 6, 0.08);
    box-shadow: 0 8px 24px rgba(2, 1, 6, 0.05);
    font-size: 0.95rem;
}

/* HERO IMAGE WRAP */
.hero-visual-wrap{
    padding:0 18px 18px;
    background:#fff;
    border:none;
    border-radius:0;
    box-shadow:none;
}

/* IMAGE */
.hero-visual,
.section-visual{
    width:100%;
    display:block;
    border-radius:18px;
    box-shadow:
        0 6px 25px rgba(2,1,6,0.06);
}
.stats-grid,
.card-grid {
    display: grid;
    gap: 22px;
}

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

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.info-card,
.calculator-card,
.contact-form,
.legal-card,
.highlight-card {
    background: var(--surface);
    border: 1px solid rgba(2, 1, 6, 0.08);
    padding: 28px;
}

.stat-card strong {
    font-size: 2rem;
    color: var(--accent-strong);
    display: block;
    margin-bottom: 6px;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
}

.section-heading.left {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.section-heading p {
    margin-top: 14px;
}

.formula-box {
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid rgba(2, 1, 6, 0.08);
}

.check-list {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.check-list li {
    padding-left: 28px;
    position: relative;
    color: var(--muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-strong);
    font-weight: 700;
}

.calculator-card label,
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.calculator-card input,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(2, 1, 6, 0.12);
    background: #fff;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.calculator-output {
    display: grid;
    gap: 14px;
    margin: 22px 0 16px;
}

.calculator-output > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff9fd;
    border: 1px solid rgba(2, 1, 6, 0.08);
}

.total-box {
    background: var(--accent) !important;
}

.total-box strong,
.calculator-output strong {
    font-size: 1.25rem;
}

.helper-text,
code {
    font-size: 0.92rem;
}

.timeline {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.timeline article {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 22px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(2, 1, 6, 0.08);
}

.timeline span,
.number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text);
    font-weight: 700;
}

.numbered-card .number {
    margin-bottom: 18px;
}

.download-steps {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.download-steps article {
    padding: 22px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(2, 1, 6, 0.08);
}

.seo-copy {
    margin-top: 22px;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 920px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid rgba(2, 1, 6, 0.08);
    border-radius: 22px;
    padding: 8px 22px;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 20px 0;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.faq-question strong {
    font-size: 1.4rem;
    transition: transform 0.25s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 260px;
    padding-bottom: 20px;
}

.faq-item.active .faq-question strong {
    transform: rotate(45deg);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    background: linear-gradient(135deg, rgba(252, 203, 251, 0.9), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(2, 1, 6, 0.08);
}

.page-hero {
    padding-bottom: 32px;
}

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

.form-group.full-width,
.contact-form button,
.form-response {
    grid-column: 1 / -1;
}

.form-response {
    color: var(--accent-strong);
    font-weight: 600;
}

.legal-card,
.highlight-card {
    display: grid;
    gap: 16px;
}

.site-footer {
    padding: 24px 0 36px;
    background: #fff;
    border-top: 1px solid rgba(2, 1, 6, 0.08);
}

.footer-grid {
    align-items: start;
    gap: 24px;
}

.footer-copy {
    margin-top: 18px;
    max-width: 520px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(2, 1, 6, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}

@media (max-width: 1080px) {
    .four-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .split-grid,
    .footer-grid,
    .stats-grid,
    .three-up,
    .four-up,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 0;
    }

    .cta-card,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .reverse-mobile > :first-child {
        order: 2;
    }

    .reverse-mobile > :last-child {
        order: 1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .header-container {
        min-height: 76px;
    }

    .logo img,
    .footer-brand img {
        height: 46px;
    }

    .stat-card,
    .info-card,
    .calculator-card,
    .contact-form,
    .legal-card,
    .highlight-card,
    .cta-card,
    .timeline article,
    .download-steps article {
        padding: 22px;
    }

    h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .faq-item {
        padding-inline: 18px;
    }
}
