/* =========================================================
   YIELDFUND LANDING PAGE
   Premium fintech landing design
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #f4f5f7;
    --surface: #ffffff;
    --surface-2: #f8f9fb;
    --surface-3: #eef0f3;

    --text-primary: #0a0a0a;
    --text-secondary: #69707d;
    --text-muted: #9ba2ad;

    --border: #e2e5ea;
    --border-light: #eef0f3;

    --accent: #0a0a0a;
    --accent-text: #ffffff;

    --success: #00b875;
    --warning: #f2aa00;
    --error: #e5484d;

    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.15);

    --radius: 18px;
    --radius-sm: 12px;

    --max-width: 1280px;
    --nav-height: 72px;
}

[data-theme="dark"] {
    --bg: #080808;
    --surface: #121212;
    --surface-2: #191919;
    --surface-3: #222222;

    --text-primary: #ffffff;
    --text-secondary: #9d9d9d;
    --text-muted: #696969;

    --border: #292929;
    --border-light: #202020;

    --accent: #ffffff;
    --accent-text: #080808;

    --success: #00f39a;
    --warning: #ffd166;
    --error: #ff6469;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.24);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.58);
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--bg);
    color: var(--text-primary);

    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.mobile-menu-open {
    overflow: hidden;
}

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

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

button {
    cursor: pointer;
}

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

::selection {
    background: var(--accent);
    color: var(--accent-text);
}

/* =========================================================
   UTILITIES
   ========================================================= */

.green {
    color: var(--success) !important;
}

.green-text {
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
}

.bg-surface {
    background: var(--surface);
}

.border-y {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.max-w-640 {
    max-width: 640px;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.text-4xl {
    font-size: 40px;
}

.font-extrabold {
    font-weight: 800;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

.text-secondary {
    color: var(--text-secondary);
}

.text-lg {
    font-size: 17px;
    line-height: 1.7;
}

.justify-center {
    justify-content: center !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 12px 21px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--accent-text);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--surface-2);
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;

    min-height: var(--nav-height);

    border-bottom: 1px solid var(--border-light);

    background: rgba(244, 245, 247, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(8, 8, 8, 0.88);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    width: min(100%, var(--max-width));
    height: var(--nav-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-svg {
    height: 38px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-svg {
        height: 32px;
    }
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: var(--accent);
    content: "";

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

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

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

    min-height: 38px;
    padding: 9px 14px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-btn-outline {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
}

.nav-btn-outline:hover {
    background: var(--surface-2);
}

.nav-btn-solid {
    background: var(--accent);
    color: var(--accent-text);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);
}

.hamburger span {
    width: 20px;
    height: 2px;

    border-radius: 999px;
    background: var(--text-primary);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1890;

    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;

    width: min(290px, calc(100vw - 30px));
    height: 100dvh;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 22px 17px;

    border-right: 1px solid var(--border);

    background: var(--surface);
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.25);

    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu .sidebar-header {
    display: flex;
    align-items: center;
    min-height: 53px;
    margin-bottom: 13px;
    padding: 0 0 16px;

    border-bottom: 1px solid var(--border);
}

.mobile-menu .nav-logo-icon {
    width: 42px;
    height: 42px;
}

.mobile-menu .nav-logo-text {
    color: var(--text-primary);
}

.mobile-menu a {
    display: flex;
    align-items: center;

    min-height: 46px;
    padding: 11px 13px;

    border-radius: 11px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--surface-2);
    color: var(--text-primary);
    transform: translateX(3px);
}

.mobile-menu a:nth-last-child(2) {
    margin-top: 12px;
    border-top: 1px solid var(--border);
}

.mobile-menu a:last-child {
    color: var(--success);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: min(100%, var(--max-width));
    min-height: 700px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    align-items: center;
    gap: 70px;

    margin: 0 auto;
    padding: 148px 60px 105px;
}

.hero-content {
    min-width: 0;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;
    margin-bottom: 24px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--surface);
    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(0, 184, 117, 0.12);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

.hero h1 {
    margin-bottom: 23px;

    color: var(--text-primary);
    font-size: clamp(45px, 5.5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -4px;
}

.hero h1 span {
    display: block;
    color: var(--text-secondary);
}

.hero-content > p {
    max-width: 585px;
    margin-bottom: 34px;

    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

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

.hero-visual {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 2;

    width: min(100%, 465px);
    padding: 31px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);
    box-shadow: var(--shadow-lg);

    overflow: hidden;
}

.hero-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--success)
    );

    content: "";
}

.hero-card::after {
    position: absolute;
    right: -100px;
    bottom: -120px;

    width: 270px;
    height: 270px;

    border-radius: 50%;
    background: rgba(0, 184, 117, 0.07);

    content: "";
}

.hero-card-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 25px;
}

.hero-card-title {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero-card-header .green-text {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 184, 117, 0.11);
}

.hero-card-balance {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;

    color: var(--text-primary);
    font-size: 49px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.hero-card-label {
    position: relative;
    z-index: 2;

    margin-bottom: 25px;

    color: var(--text-secondary);
    font-size: 12px;
}

.hero-card-stats {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-stat {
    padding: 15px;

    border: 1px solid var(--border-light);
    border-radius: 13px;

    background: var(--surface-2);
}

.mini-stat-value {
    display: flex;
    align-items: center;

    margin-bottom: 4px;

    color: var(--text-primary);
    font-size: 18px;
    font-weight: 900;
}

.mini-stat-label {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
}

.floating-tag {
    position: absolute;
    z-index: 4;

    display: inline-flex;
    align-items: center;

    padding: 10px 13px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: var(--surface);
    box-shadow: var(--shadow);

    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;

    animation: float 6s ease-in-out infinite;
}

.floating-tag.tag-1 {
    top: 45px;
    right: 0;
}

.floating-tag.tag-2 {
    bottom: 48px;
    left: 0;

    animation-delay: 2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* =========================================================
   STATS BAR
   ========================================================= */

.stats-bar {
    width: 100%;
    padding: 37px 24px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: var(--surface);
}

.stats-container {
    width: min(100%, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-item {
    position: relative;
    padding: 0 18px;
    text-align: center;
}

.stat-item:not(:last-child)::after {
    position: absolute;
    top: 8%;
    right: 0;

    width: 1px;
    height: 84%;

    background: var(--border);
    content: "";
}

.stat-value {
    margin-bottom: 5px;

    color: var(--text-primary);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 98px 60px;
}

.section-header {
    max-width: 690px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;
    margin-bottom: 15px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--surface-2);
    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 14px;

    color: var(--text-primary);
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.7px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   STEPS
   ========================================================= */

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

.step-card {
    position: relative;

    padding: 34px 26px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
    box-shadow: var(--shadow-sm);

    text-align: center;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.step-number {
    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;
    margin: 0 auto 18px;

    border-radius: 50%;

    background: var(--accent);
    color: var(--accent-text);

    font-size: 18px;
    font-weight: 900;
}

.step-card h3 {
    margin-bottom: 9px;

    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -22px;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);
    color: var(--text-secondary);

    font-size: 14px;
    transform: translateY(-50%);
}

/* =========================================================
   PLANS
   ========================================================= */

#plans {
    width: 100%;
    max-width: none;
}

.deposit-selector {
    width: min(100%, 380px);
    margin: 0 auto 42px;
    text-align: center;
}

.deposit-selector label {
    display: block;
    margin-bottom: 10px;

    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    min-height: 53px;

    padding: 12px 45px 12px 16px;

    border: 2px solid var(--border);
    border-radius: var(--radius-sm);

    outline: 0;
    appearance: none;
    -webkit-appearance: none;

    background: var(--surface);
    color: var(--text-primary);

    font-size: 16px;
    font-weight: 800;
}

.select-wrapper select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(128, 128, 128, 0.09);
}

.select-wrapper svg {
    position: absolute;
    top: 50%;
    right: 16px;

    width: 18px;
    height: 18px;

    color: var(--text-secondary);
    pointer-events: none;
    transform: translateY(-50%);
}

.plans-grid {
    width: min(100%, 1080px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.plan-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 31px 24px 23px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.plan-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.plan-card.featured {
    border: 2px solid var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.plan-card.featured:hover {
    transform: translateY(-11px);
}

.plan-badge {
    position: absolute;
    top: 14px;
    left: 50%;

    padding: 6px 11px;

    border-radius: 999px;

    background: var(--accent);
    color: var(--accent-text);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;

    transform: translateX(-50%);
}

.plan-card.featured .plan-header {
    padding-top: 20px;
}

.plan-header {
    margin-bottom: 22px;
    text-align: center;
}

.plan-duration {
    margin-bottom: 9px;

    color: var(--text-primary);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.plan-rate-badge {
    display: inline-flex;

    padding: 6px 10px;

    border: 1px solid rgba(0, 184, 117, 0.2);
    border-radius: 999px;

    background: rgba(0, 184, 117, 0.09);
    color: var(--success);

    font-size: 10px;
    font-weight: 800;
}

.plan-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid var(--border-light);

    font-size: 12px;
}

.plan-calc-row span {
    color: var(--text-secondary);
    font-weight: 600;
}

.plan-calc-row strong {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.plan-divider {
    height: 1px;
    margin: 15px 0;
    background: var(--border);
}

.plan-daily {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 72px;
    margin-bottom: 20px;
    padding: 12px;

    border: 1px solid var(--border-light);
    border-radius: 12px;

    background: var(--surface-2);
}

.plan-daily-label {
    margin-bottom: 3px;

    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-daily-value {
    color: var(--text-primary);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.plan-btn {
    width: 100%;
    min-height: 44px;

    margin-top: auto;
    padding: 11px 12px;

    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);

    background: var(--accent);
    color: var(--accent-text);

    font-size: 11px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

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

.plan-btn-outline {
    background: transparent;
    color: var(--text-primary);
}

.plan-btn-outline:hover {
    background: var(--surface);
}

/* =========================================================
   TRUST
   ========================================================= */

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

.trust-card {
    padding: 27px 18px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg);
    text-align: center;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.trust-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.trust-icon {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
    margin: 0 auto 15px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--surface);
    color: var(--success);

    font-size: 20px;
}

.trust-card h3 {
    margin-bottom: 8px;

    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.65;
}

.certificates {
    margin-top: 35px;
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg);
    text-align: center;
}

.certificates h3 {
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 800;
}

.cert-row {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}

.cert-item {
    display: inline-flex;
    align-items: center;

    padding: 9px 12px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--surface);
    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   FEATURES
   ========================================================= */

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;
    flex: 0 0 45px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--surface-2);
    color: var(--success);

    font-size: 19px;
}

.feature-content h3 {
    margin-bottom: 6px;

    color: var(--text-primary);
    font-size: 15px;
    font-weight: 800;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

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

.testimonial-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.testimonial-stars {
    margin-bottom: 14px;

    color: var(--warning);
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    min-height: 84px;
    margin-bottom: 20px;

    color: var(--text-secondary);
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    display: grid;
    place-items: center;

    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    border-radius: 50%;

    background: var(--accent);
    color: var(--accent-text);

    font-size: 11px;
    font-weight: 900;
}

.testimonial-name {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 10px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
    width: min(100%, 800px);
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);
    overflow: hidden;
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 17px 19px;

    border: 0;
    background: transparent;
    color: var(--text-primary);

    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.faq-question:hover {
    background: var(--surface-2);
}

.faq-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;

    color: var(--text-secondary);

    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 19px;

    overflow: hidden;

    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 17px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.75;
}

/* =========================================================
   CTA
   ========================================================= */

.section.text-center {
    text-align: center;
}

.section.text-center .hero-btns {
    justify-content: center;
}

.section.text-center .text-4xl {
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.cta-box {
    position: relative;

    max-width: 900px;
    margin: 0 auto;
    padding: 53px 30px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 184, 117, 0.12),
            transparent 30%
        ),
        var(--surface);

    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    width: 100%;
    padding: 58px 24px 23px;

    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-grid {
    width: min(100%, var(--max-width));
    margin: 0 auto 42px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .nav-logo {
    display: inline-flex;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 17px;
}

.social-link {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border: 1px solid var(--border);
    border-radius: 9px;

    color: var(--text-secondary);
    font-size: 12px;
}

.social-link:hover {
    background: var(--accent);
    color: var(--accent-text);
}

.footer-col h4 {
    margin-bottom: 14px;

    color: var(--text-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;

    padding: 5px 0;

    color: var(--text-secondary);
    font-size: 12px;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 17px;
}

/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 5000;

    max-width: min(360px, calc(100vw - 32px));

    padding: 13px 17px;

    border: 1px solid var(--border);
    border-left: 4px solid var(--success);
    border-radius: 11px;

    background: var(--surface);
    box-shadow: var(--shadow-lg);

    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;

    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    border-left-color: var(--error);
}

/* =========================================================
   FADE IN
   ========================================================= */

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
        gap: 38px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .section {
        padding-right: 40px;
        padding-left: 40px;
    }

    .footer {
        padding-right: 40px;
        padding-left: 40px;
    }
}

/* =========================================================
   MOBILE 1023px
   ========================================================= */

@media (max-width: 1023px) {
    .nav-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
        order: -1;
    }

    .nav-logo {
        margin-right: auto;
        margin-left: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;

        min-height: auto;
        padding-top: 75px;
        padding-bottom: 75px;

        text-align: center;
    }

    .hero-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 360px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .step-arrow {
        display: none;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        width: min(100%, 500px);
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        width: min(100%, 620px);
        margin: 0 auto;
    }

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

/* =========================================================
   MOBILE 768px
   ========================================================= */

@media (max-width: 768px) {
    .nav-actions {
        gap: 6px;
    }

    .nav-btn {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .hero {
        padding: 55px 22px 65px;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 54px);
        letter-spacing: -2.5px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-card {
        padding: 25px 22px;
    }

    .hero-card-balance {
        font-size: 42px;
    }

    .stats-bar {
        padding: 31px 18px;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 5px;
    }

    .stat-item {
        padding: 0 10px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-value {
        font-size: 27px;
    }

    .stat-label {
        font-size: 9px;
    }

    .section {
        padding: 68px 22px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 14px;
    }

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

    .footer {
        padding: 48px 22px 22px;
    }

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

/* =========================================================
   MOBILE 430px
   ========================================================= */

@media (max-width: 430px) {
    .nav-container {
        height: 66px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .nav-logo-icon {
        width: 38px;
        height: 38px;
    }

    .nav-logo-text {
        font-size: 17px;
    }

    .nav-actions .nav-btn-outline {
        display: none;
    }

    .nav-btn {
        min-height: 34px;
        padding: 8px 10px;
    }

    .hero {
        padding: 42px 14px 55px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .hero h1 {
        font-size: 37px;
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-btns {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 0px;
    }

    .hero-card {
        width: calc(100% - 12px);
        padding: 23px 17px;
        border-radius: 17px;
    }

    .hero-card-balance {
        font-size: 35px;
    }

    .hero-card-title {
        font-size: 9px;
    }

    .hero-card-growth {
        font-size: 9px;
    }

    .hero-card-stats {
        gap: 8px;
    }

    .mini-stat {
        padding: 11px 9px;
    }

    .mini-stat-value {
        font-size: 15px;
    }

    .mini-stat-label {
        font-size: 9px;
    }

    .floating-tag {
        padding: 8px 9px;
        font-size: 9px;
    }

    .floating-tag.tag-1 {
        top: 1px;
        right: 0;
    }

    .floating-tag.tag-2 {
        bottom: 3px;
        left: 0;
    }

    .stats-container {
        gap: 22px 2px;
    }

    .stat-value {
        font-size: 23px;
    }

    .section {
        padding: 58px 14px;
    }

    .section-header h2 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .section-header p {
        font-size: 13px;
    }

    .step-card {
        padding: 27px 20px;
    }

    .plans-grid {
        gap: 14px;
    }

    .plan-card {
        padding: 28px 18px 19px;
    }

    .plan-duration {
        font-size: 25px;
    }

    .plan-calc-row {
        font-size: 12px;
    }

    .plan-calc-row strong {
        font-size: 13px;
    }

    .trust-grid {
        gap: 10px;
    }

    .trust-card {
        padding: 21px 11px;
    }

    .trust-card h3 {
        font-size: 12px;
    }

    .trust-card p {
        font-size: 10px;
    }

    .certificates {
        padding: 22px 13px;
    }

    .cert-item {
        width: 100%;
        justify-content: center;
    }

    .feature-item {
        padding: 19px 16px;
    }

    .testimonial-card {
        padding: 21px 17px;
    }

    .testimonial-text {
        min-height: auto;
    }

    .faq-question {
        padding: 16px;
        font-size: 12px;
    }

    .faq-answer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .faq-item.active .faq-answer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .text-4xl {
        font-size: 30px;
    }

    .text-lg {
        font-size: 14px;
    }

    .footer {
        padding: 43px 16px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 27px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-links {
        gap: 12px;
        flex-wrap: wrap;
    }
}

/* =========================================================
   MOBILE 375px
   ========================================================= */

@media (max-width: 375px) {
    .nav-logo-text {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero-card-balance {
        font-size: 31px;
    }

    .stat-value {
        font-size: 21px;
    }

    .stat-label {
        font-size: 8px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .plan-duration {
        font-size: 23px;
    }

    .plan-rate-badge {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 9px;
    }

    .footer-col a {
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE 320px
   ========================================================= */

@media (max-width: 340px) {
    .nav-container {
        padding-right: 9px;
        padding-left: 9px;
    }

    .nav-logo-text {
        display: none;
    }

    .nav-btn-solid {
        font-size: 9px;
    }

    .hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .hero h1 {
        font-size: 29px;
        letter-spacing: -1.7px;
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-card {
        width: calc(100% - 6px);
        padding: 20px 13px;
    }

    .hero-card-balance {
        font-size: 27px;
    }

    .mini-stat {
        padding: 9px 7px;
    }

    .mini-stat-value {
        font-size: 13px;
    }

    .mini-stat-label {
        font-size: 8px;
    }

    .floating-tag {
        padding: 7px 6px;
        font-size: 8px;
    }

    .stats-bar {
        padding-right: 8px;
        padding-left: 8px;
    }

    .stat-item {
        padding-right: 4px;
        padding-left: 4px;
    }

    .stat-value {
        font-size: 19px;
    }

    .section {
        padding-right: 10px;
        padding-left: 10px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 12px;
    }

    .plan-card {
        padding-right: 13px;
        padding-left: 13px;
    }

    .plan-calc-row span,
    .plan-calc-row strong {
        font-size: 11px;
    }

    .plan-btn {
        font-size: 10px;
    }

    .trust-card h3 {
        font-size: 10px;
    }

    .trust-card p {
        font-size: 9px;
    }

    .footer-grid {
        gap: 23px 12px;
    }

    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 9px;
    }
}

/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-width: 736px) and (orientation: landscape) {
    .hero {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 25px;

        padding-top: 45px;
        padding-bottom: 55px;

        text-align: left;
    }

    .hero-visual {
        order: 0;
        min-height: 270px;
    }

    .hero-btns {
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-btns .btn {
        width: auto;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-content > p {
        font-size: 11px;
    }

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

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

    .plan-duration {
        font-size: 19px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(0, 184, 117, 0.45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}