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

/* ──────────────────────────────────────────────
   THEME TOKENS
   Light is the default (:root). Dark applies
   automatically when the OS prefers dark — unless a
   page forces a theme via <html data-theme="light|dark">.
   ────────────────────────────────────────────── */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;

    --accent: #2F6EDB;
    --accent-hover: #255BC0;
    --accent-rgb: 47, 110, 219;

    --brand: #B45632;
    --brand-hover: #C96A42;
    --brand-rgb: 180, 86, 50;

    --accent-glow: rgba(var(--accent-rgb), 0.14);

    --highlight-start: #2F6EDB;
    --highlight-end: #5C8FF5;

    --text-primary: #162033;
    --text-secondary: #42526B;
    --text-muted: #71829B;

    --border: #D9E2EC;

    --success: #16A34A;
    --success-rgb: 22, 163, 74;

    --danger: #DC2626;
    --danger-rgb: 220, 38, 38;

    --nav-scrolled-bg: rgba(255, 255, 255, 0.94);
    --nav-mobile-bg: rgba(255, 255, 255, 0.98);

    --card-shadow: 0 20px 45px rgba(47, 110, 219, 0.08);
    --card-hover-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Dark tokens — applied when a page opts in with <html data-theme="dark">. */
:root[data-theme="dark"] {
    --bg-primary: #101827;
    --bg-secondary: #18253A;
    --bg-card: #1F2F4A;

    --accent: #2F6EDB;
    --accent-hover: #255BC0;
    --accent-rgb: 47, 110, 219;

    --brand: #B45632;
    --brand-hover: #C96A42;
    --brand-rgb: 180, 86, 50;

    --highlight-start: #2F6EDB;
    --highlight-end: #5C8FF5;

    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --border: #31435F;

    --success: #22C55E;
    --success-rgb: 34, 197, 94;

    --nav-scrolled-bg: rgba(16, 24, 39, 0.94);
    --nav-mobile-bg: rgba(16, 24, 39, 0.98);

    --card-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    --card-hover-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand svg {
    width: 28px;
    height: 28px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-glow);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--highlight-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(var(--accent-rgb), 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.hero-proof {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.hero-proof span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-proof svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* ── SECTIONS ── */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-header-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ── PROBLEM / SOLUTION ── */
.problem-solution {
    background: var(--bg-secondary);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ps-card {
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.ps-card.problem {
    background: rgba(var(--danger-rgb), 0.04);
    border-color: rgba(var(--danger-rgb), 0.15);
}

.ps-card.solution {
    background: rgba(var(--success-rgb), 0.04);
    border-color: rgba(var(--success-rgb), 0.15);
}

.ps-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem .ps-icon {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

.solution .ps-icon {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.ps-icon svg {
    width: 24px;
    height: 24px;
}

.ps-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ps-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.ps-card ul {
    list-style: none;
    margin-top: 1rem;
}

.ps-card ul li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ps-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.problem ul li::before {
    background: var(--danger);
}

.solution ul li::before {
    background: var(--success);
}

/* ── FEATURES ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--border), var(--accent));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* ── PRICING ── */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(var(--accent-rgb), 0.08), transparent);
    pointer-events: none;
}

.pricing-label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    position: relative;
}

.pricing-price {
    position: relative;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 0.15rem;
    color: var(--text-secondary);
}

.pricing-price .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-guarantee {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.pricing-guarantee svg {
    width: 16px;
    height: 16px;
}

/* ── CTA ── */
.cta-section {
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.06), transparent);
    pointer-events: none;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FOOTER ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    background: var(--bg-primary);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand span {
    font-weight: 700;
    font-size: 1rem;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: var(--accent);
}

.footer-moldova {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

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

    .nav-toggle {
        display: block;
    }

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

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

    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps::before {
        display: none;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        justify-content: center;
    }
}

/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-badge::before {
        animation: none;
    }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
