* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--hd-font-sans);
    background: var(--hd-bg);
    color: var(--hd-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* ---------- LAYOUT ---------- */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

section {
    position: relative;
}

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 16px;
    z-index: 100;
    margin: 16px auto 0;
    max-width: 1100px;
    padding: 0 16px;
}

.nav-inner {
    background: rgba(28, 28, 46, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 10px 10px 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(28, 28, 46, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 26px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--hd-lime);
    color: var(--hd-dark);
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    transition: transform 120ms, box-shadow 200ms;
}

.nav-cta:hover {
    box-shadow: 0 6px 18px rgba(200, 240, 77, 0.45);
}

.nav-cta:active {
    transform: scale(0.96);
}

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

/* Language dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 150ms;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(28, 28, 46, 0.97);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 6px;
    min-width: 160px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    z-index: 200;
}

.lang-menu.open {
    display: block;
}

.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 120ms;
}

.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-menu button.active {
    color: var(--hd-lime);
}

@media (max-width: 760px) {
    .nav-links {
        display: none;
    }
}

/* ---------- HERO ---------- */
.hero {
    padding: 100px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hd-dark);
    color: #fff;
    padding: 7px 14px 7px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.eyebrow .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hd-lime);
    color: var(--hd-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 20px 0 22px;
}

.hero h1 .hl {
    background: var(--hd-lime);
    padding: 0 10px 2px;
    border-radius: 14px;
    display: inline-block;
    transform: rotate(-1.2deg);
}

.hero-sub {
    font-size: 18px;
    line-height: 1.55;
    color: #50505e;
    max-width: 520px;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-lime {
    background: var(--hd-lime);
    color: var(--hd-dark);
    padding: 16px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 120ms, box-shadow 200ms;
}

.btn-lime:hover {
    box-shadow: 0 10px 24px rgba(200, 240, 77, 0.5);
    transform: translateY(-1px);
}

.btn-lime:active {
    transform: scale(0.97);
}

.btn-ghost {
    color: var(--hd-dark);
    padding: 16px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(28, 28, 46, 0.06);
}

.hero-meta {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--hd-muted);
    font-size: 13px;
    font-weight: 500;
}

.stars {
    color: var(--hd-dark);
    letter-spacing: 2px;
    font-size: 14px;
}

/* ---------- PHONE MOCKUP ---------- */
.phone-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-wrap::before {
    content: '';
    position: absolute;
    inset: -40px -20px;
    background: radial-gradient(ellipse at center, rgba(200, 240, 77, 0.35), transparent 60%);
    z-index: 0;
}

.phone {
    width: 330px;
    height: 680px;
    background: var(--hd-dark);
    border-radius: 44px;
    padding: 8px;
    box-shadow: 0 40px 80px rgba(28, 28, 46, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.06) inset;
    position: relative;
    z-index: 1;
    transform: rotate(-3deg);
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: var(--hd-bg);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 26px;
    background: #000;
    border-radius: 999px;
    z-index: 10;
}

.sbar {
    padding: 16px 24px 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: var(--hd-dark);
}

.phone-body {
    padding: 6px 18px 18px;
}

/* Floating badges around phone */
.float-badge {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 14px 30px rgba(28, 28, 46, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
}

.fb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.fb-1 {
    top: 40px;
    left: -40px;
    transform: rotate(-6deg);
}

.fb-2 {
    bottom: 120px;
    right: -50px;
    transform: rotate(5deg);
}

.fb-3 {
    top: 260px;
    right: -70px;
    transform: rotate(3deg);
}

/* ---------- SECTION COMMON ---------- */
.sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.sec-eye {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--hd-muted);
    margin-bottom: 14px;
}

.sec-eye::before {
    content: '● ';
    color: var(--hd-lime);
}

.sec-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.sec-title .hl-dark {
    background: var(--hd-dark);
    color: var(--hd-lime);
    padding: 0 12px 4px;
    border-radius: 12px;
    display: inline-block;
}

.sec-sub {
    font-size: 17px;
    color: #50505e;
    margin-top: 18px;
    line-height: 1.55;
}

/* ---------- PROOF STRIP ---------- */
.proof {
    padding: 40px 0 20px;
    border-top: 1px solid rgba(28, 28, 46, 0.06);
    border-bottom: 1px solid rgba(28, 28, 46, 0.06);
    background: var(--hd-surface);
    margin-top: 40px;
}

.proof-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
}

.proof-num {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.proof-lab {
    font-size: 12px;
    color: var(--hd-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 4px;
}

/* ---------- FEATURES GRID ---------- */
.features {
    padding: 110px 0 60px;
}

.fgrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.fcard {
    background: var(--hd-surface);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 200ms, box-shadow 200ms;
    position: relative;
    overflow: hidden;
}

.fcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.fcard h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 18px 0 8px;
}

.fcard p {
    font-size: 14px;
    color: #50505e;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

.fcard--wide {
    grid-column: span 4;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.fcard--narrow {
    grid-column: span 2;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.fcard--half {
    grid-column: span 3;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.fcard--dark {
    background: var(--hd-dark);
    color: #fff;
}

.fcard--dark p {
    color: rgba(255, 255, 255, 0.65);
}

.fcard--lime {
    background: var(--hd-lime);
    color: var(--hd-dark);
}

.fcard--lime p {
    color: rgba(28, 28, 46, 0.68);
}

.fvisual {
    flex: 1;
    margin-top: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

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

    .fcard--wide,
    .fcard--narrow,
    .fcard--half {
        grid-column: span 2;
    }

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

/* ---------- PILL / BADGE ---------- */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(28, 28, 46, 0.08);
    color: var(--hd-dark);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fcard--dark .tag-pill {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.fcard--lime .tag-pill {
    background: rgba(28, 28, 46, 0.12);
    color: var(--hd-dark);
}

/* ---------- INLINE MINI UI ---------- */
.mini-card {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.mi-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.money {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.money-inc {
    color: var(--hd-income-text);
}

.money-exp {
    color: var(--hd-expense-text);
}

/* budget bar */
.bbar {
    height: 8px;
    background: rgba(28, 28, 46, 0.08);
    border-radius: 999px;
    overflow: hidden;
    display: flex;
}

.bbar>div {
    height: 100%;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
    padding: 80px 0 80px;
    background: var(--hd-dark);
    color: #fff;
    border-radius: 40px;
    margin: 80px 0;
    position: relative;
}

.steps .sec-title {
    color: #fff;
}

.steps .sec-title .hl-dark {
    background: var(--hd-lime);
    color: var(--hd-dark);
}

.steps .sec-sub {
    color: rgba(255, 255, 255, 0.65);
}

.steps .sec-eye {
    color: rgba(255, 255, 255, 0.55);
}

.step-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 28px;
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--hd-lime);
    letter-spacing: -0.03em;
    line-height: 1;
}

.step h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 8px;
}

.step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 760px) {
    .step-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- TESTIMONIALS ---------- */
.tess {
    padding: 90px 0;
}

.tess-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tess-card {
    background: var(--hd-surface);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.tess-card.alt {
    background: var(--hd-cream);
}

.tess-quote {
    font-size: 16px;
    line-height: 1.55;
    color: var(--hd-dark);
    font-weight: 500;
}

.tess-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.tess-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hd-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.tess-name {
    font-size: 13px;
    font-weight: 700;
}

.tess-role {
    font-size: 12px;
    color: var(--hd-muted);
}

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

/* ---------- PRICING ---------- */
.price {
    padding: 80px 0;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.price-card {
    background: var(--hd-surface);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.price-card.pro {
    background: var(--hd-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.price-card.pro::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--hd-lime);
    opacity: 0.18;
    filter: blur(20px);
}

.price-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hd-muted);
}

.price-card.pro .price-name {
    color: var(--hd-lime);
}

.price-big {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 12px 0 4px;
    font-variant-numeric: tabular-nums;
}

.price-strike {
    font-size: 15px;
    color: var(--hd-muted);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 500;
}

.price-sub {
    font-size: 13px;
    color: var(--hd-muted);
    margin-bottom: 28px;
}

.price-card.pro .price-sub {
    color: rgba(255, 255, 255, 0.6);
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-list li {
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.price-check {
    color: var(--hd-income-text);
    font-weight: 800;
    flex-shrink: 0;
}

.price-card.pro .price-check {
    color: var(--hd-lime);
}

.price-btn {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.price-btn.lime {
    background: var(--hd-lime);
    color: var(--hd-dark);
}

.price-btn.outline {
    background: transparent;
    color: var(--hd-dark);
    border: 1.5px solid var(--hd-dark);
}

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

/* ---------- FAQ ---------- */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--hd-surface);
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.faq-a {
    margin-top: 10px;
    font-size: 14px;
    color: #50505e;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-chev {
    transform: rotate(45deg);
}

.faq-chev {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hd-dark);
    color: var(--hd-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 200ms;
    flex-shrink: 0;
}

/* ---------- FINAL CTA ---------- */
.final {
    margin: 60px 0 0;
    background: var(--hd-lime);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 0 0 18px;
}

.final p {
    font-size: 17px;
    color: rgba(28, 28, 46, 0.75);
    max-width: 500px;
    margin: 0 auto 30px;
}

.final .btn-lime {
    background: var(--hd-dark);
    color: var(--hd-lime);
}

.final .btn-lime:hover {
    box-shadow: 0 10px 28px rgba(28, 28, 46, 0.3);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 60px 0 40px;
    color: var(--hd-muted);
}

.foot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.foot-links {
    display: flex;
    gap: 22px;
    font-size: 13px;
}

.foot-links a:hover {
    color: var(--hd-dark);
}

/* ---------- LEGAL SECTIONS ---------- */
.legal {
    padding: 80px 0;
}

.legal-doc {
    max-width: 760px;
    margin: 0 auto;
    background: var(--hd-surface);
    border-radius: 28px;
    padding: 48px 52px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.legal-updated {
    font-size: 12px;
    color: var(--hd-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 36px;
}

.legal-doc h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 10px;
    letter-spacing: -0.01em;
    color: var(--hd-dark);
}

.legal-doc p {
    font-size: 14px;
    color: #50505e;
    line-height: 1.65;
    margin: 0 0 14px;
    font-weight: 500;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

.legal-doc ul li {
    font-size: 14px;
    color: #50505e;
    line-height: 1.65;
    margin-bottom: 6px;
    font-weight: 500;
}

.legal-doc a {
    color: var(--hd-dark);
    text-decoration: underline;
}

.legal-doc hr {
    border: none;
    border-top: 1px solid rgba(28, 28, 46, 0.08);
    margin: 32px 0;
}

@media (max-width: 760px) {
    .legal-doc {
        padding: 28px 22px;
    }
}

/* Utility */
.tnum {
    font-variant-numeric: tabular-nums;
}
/* ---------- LEGAL ACCORDION ---------- */
.legal .faq-list { max-width: 760px; margin: 0 auto; }
.legal-contact {
  max-width: 760px; margin: 20px auto 0;
  font-size: 14px; color: #50505e;
}
.legal-contact a { color: var(--hd-dark); text-decoration: underline; }
.legal-intro {
  max-width: 760px; margin: 0 auto 24px;
  font-size: 15px; color: #50505e; font-weight: 500;
}
.legal .faq-a p { margin: 0 0 10px; }
.legal .faq-a p:last-child { margin-bottom: 0; }
.legal .faq-a ul { margin: 8px 0 0; padding-left: 20px; }
.legal .faq-a ul li { font-size: 14px; color: #50505e; line-height: 1.65; margin-bottom: 6px; font-weight: 500; }
