/* ========================================
   Merko — Global Styles
   ======================================== */

:root {
    --blue: #379bff;
    --blue-dark: #1a7fe0;
    --blue-light: #60b3ff;
    --green: #22c55e;
    --bg: #060c1d;
    --white: #fff;
    --muted: rgba(255, 255, 255, 0.82);
    --subtle: rgba(255, 255, 255, 0.75);
    --faint: rgba(255, 255, 255, 0.54);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

::selection {
    background: rgba(55, 155, 255, 0.3);
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}

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

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

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


/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s;
}

.nav.scrolled {
    background: rgba(6, 12, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.nav__brand-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.nav__links {
    display: flex;
    gap: 4px;
}

.nav__link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--faint);
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

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

.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
}

.nav__mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--faint);
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 22, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 86vw);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: rgba(10, 16, 33, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

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

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--white);
}

.mobile-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--faint);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.15s, background 0.15s, transform 0.25s;
}

.mobile-menu__close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-menu__close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--subtle);
    padding: 14px;
    border-radius: 10px;
    transition: color 0.15s, background 0.15s, padding-left 0.2s;
}

.mobile-menu__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    padding-left: 20px;
}

.mobile-menu__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__theme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--subtle);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: color 0.15s, background 0.15s;
}

.mobile-menu__theme:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu__theme-icon {
    display: inline-flex;
}

.mobile-menu__theme svg {
    width: 18px;
    height: 18px;
}

.mobile-menu__theme .mk-icon-sun {
    display: none;
}

.mobile-menu__theme .mk-icon-moon {
    display: block;
}

html[data-theme="light"] .mobile-menu__theme .mk-icon-sun {
    display: block;
}

html[data-theme="light"] .mobile-menu__theme .mk-icon-moon {
    display: none;
}

.mobile-menu__theme .mk-label-light {
    display: none;
}

.mobile-menu__theme .mk-label-dark {
    display: inline;
}

html[data-theme="light"] .mobile-menu__theme .mk-label-light {
    display: inline;
}

html[data-theme="light"] .mobile-menu__theme .mk-label-dark {
    display: none;
}

.mobile-menu__btn {
    width: 100%;
    justify-content: center;
}

/* Light theme — mobile menu */
html[data-theme="light"] .mobile-menu__backdrop {
    background: rgba(31, 41, 90, 0.28);
}

html[data-theme="light"] .mobile-menu__panel {
    background: rgba(245, 247, 255, 0.98);
    border-left: 1px solid rgba(13, 18, 40, 0.1);
    box-shadow: -24px 0 60px rgba(31, 41, 90, 0.2);
}

html[data-theme="light"] .mobile-menu__top,
html[data-theme="light"] .mobile-menu__footer {
    border-color: rgba(13, 18, 40, 0.1);
}

html[data-theme="light"] .mobile-menu__brand {
    color: #0b1020;
}

html[data-theme="light"] .mobile-menu__close,
html[data-theme="light"] .mobile-menu__theme {
    color: rgba(31, 41, 74, 0.7);
    background: rgba(13, 18, 40, 0.04);
    border-color: rgba(13, 18, 40, 0.1);
}

html[data-theme="light"] .mobile-menu__close:hover,
html[data-theme="light"] .mobile-menu__theme:hover {
    color: #0b1020;
    background: rgba(13, 18, 40, 0.08);
}

html[data-theme="light"] .mobile-menu__link {
    color: rgba(31, 41, 74, 0.74);
}

html[data-theme="light"] .mobile-menu__link:hover {
    color: #0b1020;
    background: rgba(13, 18, 40, 0.05);
}

html[data-theme="light"] .mobile-menu__btn.btn--ghost {
    border-color: rgba(13, 18, 40, 0.18);
    color: #0b1020;
}

html[data-theme="light"] .mobile-menu__btn.btn--ghost:hover {
    background: rgba(13, 18, 40, 0.05);
    border-color: rgba(13, 18, 40, 0.28);
}


/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(55, 155, 255, 0.4);
    position: relative;
}

.btn--primary:hover {
    box-shadow: 0 8px 22px rgba(55, 155, 255, 0.55);
    transform: translateY(-1.5px);
    opacity: 0.95;
}

.btn--primary:hover .btn__arrow {
    transform: translateX(4px);
}

.btn__arrow {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn--large {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}


/* ========================================
   HERO — Full viewport (homepage)
   ======================================== */
.merko-hero-panel {
    background: var(--bg);
    background-image: radial-gradient(ellipse 72% 52% at 52% 28%, rgba(55, 155, 255, 0.2) 0%, transparent 65%),
        radial-gradient(ellipse 48% 40% at 10% 78%, rgba(26, 127, 224, 0.13) 0%, transparent 58%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    animation: heroBgShift 12s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    33% {
        filter: hue-rotate(25deg) brightness(1.1);
    }

    66% {
        filter: hue-rotate(-20deg) brightness(1.05);
    }

    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

/* Floating orbs */
.merko-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.merko-hero-orb--1 {
    width: 500px;
    height: 500px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(55, 155, 255, 0.2) 0%, transparent 70%);
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.merko-hero-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.merko-hero-orb--3 {
    width: 350px;
    height: 350px;
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
    animation: orbFloat 20s ease-in-out infinite alternate;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0) scale(1);
    }

    100% {
        transform: translate(20px, 20px) scale(1.08);
    }
}

/* Rotating envelope */
.merko-hero-envelope {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.08;
    animation: envelopeRotate 20s ease-in-out infinite;
    pointer-events: none;
}

.merko-hero-envelope svg {
    width: 300px;
    height: 300px;
    color: var(--blue-light);
}

@keyframes envelopeRotate {
    0% {
        transform: translateY(-50%) rotateY(0deg) rotateX(5deg);
    }

    25% {
        transform: translateY(-50%) rotateY(15deg) rotateX(-5deg);
    }

    50% {
        transform: translateY(-50%) rotateY(0deg) rotateX(5deg);
    }

    75% {
        transform: translateY(-50%) rotateY(-15deg) rotateX(-5deg);
    }

    100% {
        transform: translateY(-50%) rotateY(0deg) rotateX(5deg);
    }
}

@media (max-width: 1024px) {
    .merko-hero-envelope {
        right: 5%;
        opacity: 0.05;
    }

    .merko-hero-envelope svg {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .merko-hero-envelope {
        display: none;
    }
}

/* Sub-page hero — shorter */
.merko-hero-panel--sub {
    min-height: 50vh;
    padding: 80px 0 60px;
}

.merko-hero-overlay {
    background: linear-gradient(168deg, rgba(4, 8, 26, 0.22), rgba(4, 8, 26, 0) 40%, rgba(4, 8, 26, 0.68));
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.merko-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.625rem;
    padding: 2.75rem 3rem 2.5rem;
    position: relative;
    z-index: 2;
}

.merko-hero-panel--sub .merko-hero-content {
    gap: 1.25rem;
}

.merko-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.merko-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9), 0 0 4px rgba(34, 197, 94, 0.7);
    animation: eyebrowPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes eyebrowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.merko-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.merko-hero-title {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.13;
    margin: 0;
    text-shadow: 0 0 56px rgba(129, 140, 248, 0.42), 0 2px 10px rgba(0, 0, 0, 0.45);
}

.merko-hero-panel--sub .merko-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.merko-hero-accent {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(100deg, var(--blue-light), var(--blue) 55%, var(--blue-dark));
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
    animation: accentShift 6s ease-in-out infinite;
}

@keyframes accentShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.merko-hero-subtitle {
    color: var(--subtle);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0.625rem 0 0;
    max-width: 540px;
}


/* Feature pills */
.merko-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.merko-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.3125rem 0.875rem;
    background: rgba(55, 155, 255, 0.14);
    border: 1px solid rgba(55, 155, 255, 0.38);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.22s, border-color 0.22s, transform 0.18s;
}

.merko-feature-pill:hover {
    background: rgba(55, 155, 255, 0.24);
    border-color: rgba(55, 155, 255, 0.62);
    transform: translateY(-1.5px);
}

.merko-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(55, 155, 255, 0.9);
}

/* Hero stats grid */
.merko-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 640px;
}

.merko-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.2s, border-color 0.2s;
}

.merko-stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.13);
}

.merko-stat-icon-wrap {
    color: var(--blue);
    flex-shrink: 0;
}

.merko-stat-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.merko-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.merko-stat-label {
    font-size: 0.75rem;
    color: var(--faint);
    margin-top: 1px;
}

/* Hero testimonial */
.merko-testimonial {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merko-quote-mark {
    color: rgba(129, 140, 248, 0.45);
    flex-shrink: 0;
    width: 22px;
    height: 16px;
}

.merko-testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    max-width: 480px;
}

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

.merko-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.merko-author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.merko-author-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.52);
    margin-top: 1px;
}


/* ========================================
   SECTIONS — Shared
   ======================================== */

/* Social proof bar */
.proof-bar {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.proof-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.proof-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--faint);
    font-size: 0.8125rem;
    font-weight: 500;
}

.proof-bar__icon {
    width: 18px;
    height: 18px;
    color: var(--blue);
    flex-shrink: 0;
}

/* Section labels & headings */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 14px;
}

.section-headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 56ch;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}


/* ========================================
   FEATURES — Grid
   ======================================== */
.features {
    padding: 120px 0;
}

.features__header {
    text-align: center;
    margin-bottom: 64px;
}

.features__header .section-sub {
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 28px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(55, 155, 255, 0.25);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(55, 155, 255, 0.15);
    color: var(--blue);
}

.feature-card__icon svg {
    width: 20px;
    height: 20px;
}

.feature-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card__desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}


/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 100px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(55, 155, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.stats-cell {
    padding: 56px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}

.stats-cell:hover {
    background: rgba(255, 255, 255, 0.04);
}

.stats-num {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label {
    font-size: 0.9375rem;
    color: var(--muted);
    font-weight: 500;
}

.stats-desc {
    font-size: 0.8125rem;
    color: var(--faint);
    margin-top: 6px;
}


/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 120px 0;
}

.how-it-works__header {
    text-align: center;
    margin-bottom: 72px;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.step__number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 32px rgba(55, 155, 255, 0.3);
}

.step__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step__title {
    font-size: 1.1rem;
    font-weight: 600;
}

.step__desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 28ch;
    margin: 0 auto;
}


/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-large {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.testimonial-large__quote {
    width: 48px;
    height: 36px;
    color: rgba(129, 140, 248, 0.3);
}

.testimonial-large__text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    color: var(--white);
}

.testimonial-large__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-large__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-large__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-large__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.testimonial-large__role {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 2px;
}


/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.05) 50%, transparent);
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-headline {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    margin-bottom: 8px;
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 32ch;
}

.footer__links {
    display: contents;
}

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

.footer__column-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.footer__link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.15s, transform 0.15s;
}

.footer__link:hover {
    color: var(--blue);
    transform: translateX(3px);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-link {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    color: var(--muted);
    transition: color 0.18s ease;
}

.footer__bottom-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.footer__bottom-link:hover {
    color: var(--blue);
}

.footer__bottom-link:hover::after {
    transform: scaleX(1);
}


/* ========================================
   PRICING
   ======================================== */
.pricing {
    padding: 120px 0;
}

.pricing__header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing__header .section-sub {
    margin: 0 auto;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(55, 155, 255, 0.2);
    transform: translateY(-3px);
}

/* Highlighted card */
.pricing-card--highlight {
    background: rgba(55, 155, 255, 0.06);
    border-color: rgba(55, 155, 255, 0.3);
    position: relative;
}

.pricing-card--highlight::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(55, 155, 255, 0.4);
}

.pricing-card__tier {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-light);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-card__amount {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--faint);
    font-weight: 500;
}

.pricing-card__desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.pricing-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--muted);
}

.pricing-card__feature svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.pricing-card__check {
    width: 18px;
    height: 18px;
    color: var(--green);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}


/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 100px 0;
}

.faq__header {
    text-align: center;
    margin-bottom: 56px;
}

.faq__grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(55, 155, 255, 0.2);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.faq-item__question:hover {
    color: var(--blue-light);
}

.faq-item__icon {
    width: 18px;
    height: 18px;
    color: var(--faint);
    flex-shrink: 0;
    transition: transform 0.3s;
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer-inner {
    padding: 0 24px 20px;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}


/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
}

.contact__header {
    text-align: center;
    margin-bottom: 56px;
}

.contact__header .section-sub {
    margin: 0 auto;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(55, 155, 255, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-icon svg {
    width: 18px;
    height: 18px;
}

.contact__info-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--faint);
    margin-bottom: 4px;
}

.contact__info-value {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
}

.contact__form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact__form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--subtle);
}

.contact__form-input,
.contact__form-textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    color: var(--white);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.contact__form-input::placeholder,
.contact__form-textarea::placeholder {
    color: var(--faint);
}

.contact__form-input:focus,
.contact__form-textarea:focus {
    border-color: var(--blue);
    background: rgba(55, 155, 255, 0.06);
}

.contact__form-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact__form .btn {
    align-self: flex-start;
}


/* ========================================
   FEATURE DETAIL (Features sub-page)
   ======================================== */
.feature-detail {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-detail:last-of-type {
    border-bottom: none;
}

.feature-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-detail:nth-child(even) .feature-detail__inner {
    direction: rtl;
}

.feature-detail:nth-child(even) .feature-detail__inner>* {
    direction: ltr;
}

.feature-detail__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(55, 155, 255, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.feature-detail__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.feature-detail__desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-detail__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-detail__list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}

.feature-detail__list-icon {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.feature-detail__visual {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.feature-detail__visual--image {
    padding: 16px;
    overflow: hidden;
}

.feature-detail__image {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* Pricing card aliases */
.pricing-card--popular {
    background: rgba(55, 155, 255, 0.06);
    border-color: rgba(55, 155, 255, 0.3);
    position: relative;
}

.pricing-card--popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(55, 155, 255, 0.4);
    white-space: nowrap;
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(55, 155, 255, 0.4);
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-light);
}

.pricing-card__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card__currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--faint);
}

/* Contact page */
.contact {
    padding: 120px 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__info-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.contact__info-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.contact__channel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact__channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(55, 155, 255, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__channel-icon svg {
    width: 20px;
    height: 20px;
}

.contact__channel-label {
    font-size: 0.75rem;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact__channel-value {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
    margin-top: 2px;
}

.contact__form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--subtle);
}

.contact__input,
.contact__textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--white);
    transition: border-color 0.15s;
    outline: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: var(--faint);
}

.contact__input:focus,
.contact__textarea:focus {
    border-color: rgba(55, 155, 255, 0.4);
}

.contact__textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ section */
.faq {
    padding: 120px 0;
}

.faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    cursor: pointer;
}

.faq-item__chevron {
    width: 18px;
    height: 18px;
    color: var(--faint);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.open .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}


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

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

    .pricing__grid {
        gap: 16px;
    }

    .feature-detail__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-detail:nth-child(even) .feature-detail__inner {
        direction: ltr;
    }

    .feature-detail__visual {
        min-height: 200px;
    }

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

@media (max-width: 1023.98px) {

    .nav__links,
    .nav__actions {
        display: none;
    }

    .nav__mobile-toggle {
        display: flex;
    }
}

@media (max-width: 767.98px) {
  .container {
    padding: 0 20px;
  }
  .footer {
    padding: 40px 0;
  }
  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer__bottom-links {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
    .merko-hero-content {
        padding: 8rem 1.5rem 3rem;
    }

    .merko-stats-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

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

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

    .stats-cell {
        padding: 40px 24px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonial-large__text {
        font-size: 1.125rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .contact__form {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .features,
    .how-it-works,
    .cta-section,
    .pricing,
    .faq,
    .contact {
        padding: 80px 0;
    }
}