/* ══════════════ NAVBAR ══════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    background: rgba(249, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon i {
    font-size: 0.85rem;
    color: #fff;
}

.nav-logo-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.nav-mid {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-mid a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.855rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all 0.15s;
}

.nav-mid a:hover {
    color: var(--color-primary);
    background: var(--color-surface-soft);
}

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

.btn-ghost {
    text-decoration: none;
    font-size: 0.855rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 6px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: all 0.15s;
    cursor: pointer;
}

.btn-ghost:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-surface-soft);
}

.btn-primary {
    text-decoration: none;
    font-size: 0.855rem;
    font-weight: 600;
    color: #fff;
    padding: 7px 16px;
    border-radius: var(--radius);
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #fff;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ══════════════ HERO ══════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem clamp(1rem, 5vw, 3rem) 4rem;
    text-align: center;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Subtle dot grid background — no gradients */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    animation: fadeUp 0.5s ease both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.hero-h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto 1.2rem;
    animation: fadeUp 0.5s 0.08s ease both;
}

.hero-h1 .accent {
    color: var(--color-primary);
}

.hero-p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2.2rem;
    animation: fadeUp 0.5s 0.16s ease both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeUp 0.5s 0.22s ease both;
}

.hero-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.15s;
}

.hero-cta:hover {
    background: var(--color-primary-hover);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.hero-secondary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 11px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: all 0.15s;
}

.hero-secondary:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: var(--color-surface-soft);
}

/* ── APP MOCKUP ── */
.hero-mockup {
    margin: 3.5rem auto 0;
    max-width: 920px;
    animation: fadeUp 0.6s 0.3s ease both;
    position: relative;
}

/* shadow under mockup */
.hero-mockup::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: rgba(63, 70, 32, 0.12);
    filter: blur(20px);
    border-radius: 50%;
    pointer-events: none;
}

.mockup {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(63, 70, 32, 0.04);
}

.mockup-bar {
    background: var(--color-surface-soft);
    border-bottom: 1px solid var(--color-border);
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mdot.r {
    background: #ff5f57;
}

.mdot.y {
    background: #febc2e;
}

.mdot.g {
    background: #28c840;
}

.mockup-url {
    flex: 1;
    max-width: 200px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 3px 10px;
    font-size: 0.67rem;
    color: var(--color-text-soft);
}

.mockup-layout {
    display: flex;
    min-height: 290px;
}

.mockup-sidebar {
    width: 120px;
    background: var(--color-primary);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.ms-brand {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 8px 12px;
    letter-spacing: -0.01em;
}

.ms-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
}

.ms-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ms-item i {
    font-size: 0.72rem;
}

.mockup-main {
    flex: 1;
    padding: 14px 16px;
    background: var(--color-bg);
    overflow: hidden;
}

.ms-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.ms-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 12px;
}

.ms-stat-lbl {
    font-size: 0.55rem;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.ms-stat-val {
    font-size: 0.92rem;
    font-weight: 700;
}

.ms-label {
    font-size: 0.6rem;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 7px;
}

.ms-tx {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ms-tx-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius);
    padding: 6px 9px;
}

.ms-tx-icon {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.ms-tx-desc {
    flex: 1;
    font-size: 0.65rem;
    color: var(--color-text);
}

.ms-tx-cat {
    font-size: 0.55rem;
    color: var(--color-text-muted);
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
}

.ms-tx-amt {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-danger);
}

.ms-bars-wrap {
    margin-top: 12px;
}

.ms-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
}

.ms-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: var(--color-border);
    min-height: 4px;
}

.ms-bar.hi {
    background: var(--color-primary);
}

.ms-bar.md {
    background: var(--color-accent);
    opacity: 0.7;
}

/* ══════════════ STATS STRIP ══════════════ */
.strip {
    background: var(--color-primary);
    padding: 2.5rem clamp(1rem, 5vw, 3rem);
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.strip-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.strip-lbl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

/* ══════════════ SECTIONS ══════════════ */
.section {
    padding: 5rem clamp(1rem, 5vw, 3rem);
}

.section-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-tag::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-text);
}

.section-p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 10px;
    max-width: 440px;
}

/* ── FEATURE CARDS ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.feat-card {
    background: var(--color-surface);
    padding: 1.6rem;
    transition: background 0.15s;
}

.feat-card:hover {
    background: var(--color-surface-soft);
}

.feat-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.feat-h {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.feat-p {
    color: var(--color-text-muted);
    font-size: 0.855rem;
    line-height: 1.65;
}

/* ── STEPS ── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: step;
    position: relative;
}

/* connecting line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border-soft);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    counter-increment: step;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
}

.step-num::after {
    content: counter(step);
}

.step-h {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.step-p {
    color: var(--color-text-muted);
    font-size: 0.84rem;
    line-height: 1.64;
}

/* ── ALT BG SECTION ── */
.section-alt {
    background: var(--color-surface-soft);
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

/* ══════════════ CONTACT ══════════════ */
.contact-wrap {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.clinks {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: all 0.15s;
}

.clink:hover {
    border-color: var(--color-primary);
    background: var(--color-surface-soft);
}

.clink-ic {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ci-ph {
    background: var(--color-surface-soft);
    color: var(--color-primary);
}

.ci-em {
    background: #EFF6FF;
    color: var(--color-info);
}

.ci-gh {
    background: #F3F4F6;
    color: #374151;
}

.ci-li {
    background: #EFF6FF;
    color: #0A66C2;
}

.ci-wb {
    background: #FDF4FF;
    color: #7E22CE;
}

.clink-body {
    min-width: 0;
}

.clink-lbl {
    font-size: 0.62rem;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.clink-val {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clink-arr {
    margin-left: auto;
    color: var(--color-text-soft);
    font-size: 0.75rem;
    transition: all 0.15s;
}

.clink:hover .clink-arr {
    color: var(--color-primary);
    transform: translateX(2px);
}

.cform-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.cform-h {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.2rem;
}

.cform {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-lbl {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.cf-input,
.cf-ta {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 9px 12px;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 0.87rem;
    outline: none;
    transition: border-color 0.15s;
    resize: none;
}

.cf-input:focus,
.cf-ta:focus {
    border-color: var(--color-primary);
    background: var(--color-surface);
}

.cf-input::placeholder,
.cf-ta::placeholder {
    color: var(--color-text-soft);
}

.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--font-family);
    padding: 10px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all 0.15s;
}

.btn-send:hover {
    background: var(--color-primary-hover);
}

/* ══════════════ CTA BANNER ══════════════ */
.cta-banner {
    margin: 0 clamp(1rem, 4vw, 3rem) 5rem;
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle dot pattern on banner, no gradient */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    position: relative;
}

.cta-banner a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.15s;
    position: relative;
}

.cta-banner a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* ══════════════ FOOTER ══════════════ */
footer {
    border-top: 1px solid var(--color-border);
    padding: 1.6rem clamp(1rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--color-surface);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.footer-logo-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.footer-copy {
    font-size: 0.77rem;
    color: var(--color-text-soft);
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    font-size: 0.77rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* ══════════════ MOBILE NAV ══════════════ */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--color-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

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

.mn-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.vis {
    opacity: 1;
    transform: translateY(0);
}

.reveal.d1 {
    transition-delay: 0.07s;
}

.reveal.d2 {
    transition-delay: 0.14s;
}

.reveal.d3 {
    transition-delay: 0.21s;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }
}

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

    .nav-hamburger {
        display: block;
    }

    .mockup-sidebar {
        display: none;
    }

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

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

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