﻿/* ═══════════════════════════════════════════════════════════════
   StockEasy — Landing Page Styles
   ═══════════════════════════════════════════════════════════════ */

:root {
    --brand:       #6366f1;
    --brand-dark:  #4f46e5;
    --brand-deep:  #3730a3;
    --green:       #10b981;
    --green-dark:  #059669;
    --hero-bg:     #0f0c29;
    --text-dark:   #0f172a;
    --text-body:   #475569;
    --text-muted:  #94a3b8;
    --surface:     #f8fafc;
    --border:      #e2e8f0;
    --white:       #ffffff;
    --radius-lg:   20px;
    --radius-md:   14px;
    --radius-sm:   10px;
    --shadow-sm:   0 4px 16px rgba(15,23,42,.06);
    --shadow-md:   0 10px 36px rgba(15,23,42,.10);
    --shadow-lg:   0 24px 64px rgba(15,23,42,.14);
}

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

/* Prevent ALL horizontal overflow — must be on both html AND body */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Myanmar Text', 'Pyidaungsu', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
}

/* ── BILINGUAL LANGUAGE TOGGLE ───────────────────────────────── */
[data-lang="en"]  .my { display: none; }
[data-lang="my"]  .en { display: none; }

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,.22);
    background: transparent;
    color: rgba(255,255,255,.80);
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}

.lang-btn:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.40);
    color: #fff;
}

.nav.scrolled .lang-btn {
    color: var(--text-body);
    border-color: var(--border);
    background: var(--surface);
}

.nav.scrolled .lang-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ── NAVBAR ─────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 12, 41, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background .3s;
}

.nav.scrolled {
    background: rgba(255,255,255,.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* Never let the inner bar itself overflow */
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.nav.scrolled .nav-brand { color: var(--text-dark); }

.nav-brand-logo {
    display: block;
    height: 34px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.80);
    transition: color .2s, background .2s;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav.scrolled .nav-links a { color: var(--text-body); }
.nav.scrolled .nav-links a:hover { color: var(--text-dark); background: var(--surface); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav-ghost {
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.90);
    border: 1.5px solid rgba(255,255,255,.22);
    background: transparent;
    transition: background .2s, border-color .2s;
}

.btn-nav-ghost:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.40);
    color: #fff;
}

.nav.scrolled .btn-nav-ghost {
    color: var(--text-dark);
    border-color: var(--border);
}

.nav.scrolled .btn-nav-ghost:hover {
    background: var(--surface);
    color: var(--brand);
}

.btn-nav-cta {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(99,102,241,.35);
}

.btn-nav-cta-mobile {
    text-align: center;
    padding: 11px 20px;
}

.btn-nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* hamburger — mobile only */
.nav-toggle { display: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px; margin: 5px 0;
    transition: transform .3s, opacity .3s;
}
.nav.scrolled .nav-toggle span { background: var(--text-dark); }

/* ── HERO ────────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 80px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 70%);
    top: -200px; right: -200px;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99,102,241,.15);
    border: 1px solid rgba(99,102,241,.35);
    font-size: 13px;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 24px;
    max-width: 100%;
}

.promo-marquee {
    position: relative;
    max-width: 680px;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    box-shadow: 0 12px 36px rgba(15,23,42,.16);
    margin: 0 0 22px;
}

.promo-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    min-width: 100%;
    padding: 10px 14px;
    animation: promo-slide 24s linear infinite;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,.28);
    color: rgba(255,255,255,.92);
    font-size: 13px;
    font-weight: 700;
}

.promo-pill i {
    color: #fbbf24;
}

@keyframes promo-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 8px var(--green); }
    50% { box-shadow: 0 0 16px var(--green); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-title-accent {
    background: linear-gradient(90deg, #a5b4fc, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.70);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
    overflow-wrap: anywhere;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(16,185,129,.38);
    transition: transform .2s, box-shadow .2s;
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(16,185,129,.46);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.20);
    transition: background .2s, border-color .2s;
}

.btn-hero-ghost:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.36);
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}

.hero-trust-item i { color: var(--green); }

/* ── HERO MOCKUP ─────────────────────────────────────────────── */

.hero-mockup {
    position: relative;
}

.mockup-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mockup-dot-red   { background: #ff5f57; }
.mockup-dot-amber { background: #febc2e; }
.mockup-dot-green { background: #28c840; }

.mockup-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.50);
    margin-left: 8px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat {
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.mockup-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,.40);
    margin-bottom: 4px;
}

.mockup-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.mockup-stat-value.green { color: #34d399; }
.mockup-stat-value.indigo { color: #a5b4fc; }

.mockup-table-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: rgba(255,255,255,.04);
}

.mockup-table-row:last-child { margin-bottom: 0; }

.mockup-row-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-row-label {
    flex: 1;
    font-size: 12px;
    color: rgba(255,255,255,.60);
}

.mockup-row-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.mockup-badge-green  { background: rgba(52,211,153,.15); color: #34d399; }
.mockup-badge-amber  { background: rgba(251,191,36,.15);  color: #fbbf24; }
.mockup-badge-red    { background: rgba(248,113,113,.15); color: #f87171; }

.mockup-float-card {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.mockup-float-card:nth-child(2) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.mockup-float-1 {
    bottom: -24px;
    left: -32px;
    font-size: 13px;
}

.mockup-float-2 {
    top: -20px;
    right: -20px;
}

.float-label  { font-size: 11px; color: var(--text-muted); }
.float-value  { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-top: 2px; }
.float-value.green { color: var(--green-dark); }

/* ── STATS STRIP ─────────────────────────────────────────────── */

.stats-strip {
    background: var(--white);
    padding: 48px 24px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    overflow: hidden;
}

/* stats-inner defined in responsive block above, overrideable */
.stats-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
    min-width: 0;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    flex-shrink: 0;
    align-self: stretch;
    min-height: 52px;
}

.stat-item-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
    white-space: nowrap;
}

.stat-item-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── FEATURES ────────────────────────────────────────────────── */

.features {
    background: var(--surface);
    padding: 100px 24px;
}

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

.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 56px;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,.04), transparent);
    opacity: 0;
    transition: opacity .25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #c7d2fe;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.fi-indigo  { background: #eef2ff; color: var(--brand); }
.fi-green   { background: #ecfdf5; color: var(--green-dark); }
.fi-amber   { background: #fffbeb; color: #d97706; }
.fi-red     { background: #fff1f2; color: #e11d48; }
.fi-blue    { background: #eff6ff; color: #2563eb; }
.fi-purple  { background: #faf5ff; color: #7c3aed; }
.fi-teal    { background: #f0fdfa; color: #0f766e; }
.fi-orange  { background: #fff7ed; color: #c2410c; }

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */

.how {
    background: var(--white);
    padding: 100px 24px;
}

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

.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--green));
    z-index: 0;
}

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

.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(99,102,241,.35);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── PRICING ─────────────────────────────────────────────────── */

.pricing {
    background: var(--surface);
    padding: 100px 24px;
}

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

.price-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}

.price-card-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #94a3b8;
}

.price-card-empty-icon {
    display: block;
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.price-card.featured {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12), var(--shadow-md);
    transform: scale(1.04);
}

.price-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.price-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99,102,241,.35);
}

.price-plan {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-plan.featured { color: var(--brand); }

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.price-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
}

.price-features li i {
    color: var(--green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.price-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-features li.disabled i { color: var(--border); }

.btn-price {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--text-dark);
    background: var(--white);
    transition: background .2s, border-color .2s, color .2s;
}

.btn-price:hover {
    background: var(--surface);
    border-color: var(--brand);
    color: var(--brand);
}

.btn-price.featured {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(99,102,241,.30);
}

.btn-price.featured:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

/* ── CONTACT ─────────────────────────────────────────────────── */

.contact {
    background: linear-gradient(135deg, #0f0c29 0%, #1e1b4b 100%);
    padding: 100px 24px;
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.contact-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-info-list {
    display: grid;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(99,102,241,.18);
    border: 1px solid rgba(99,102,241,.30);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #a5b4fc;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.contact-info-value {
    font-size: 14px;
    color: rgba(255,255,255,.82);
    font-weight: 500;
}

/* Contact form card */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contact-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #f6d365;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff9e7 0%, #fff4d6 100%);
    color: #7c5a10;
    font-size: 13px;
    line-height: 1.55;
}

.form-notice i {
    color: #d97706;
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.required-mark {
    color: #dc2626;
    font-weight: 800;
}

.form-validation-summary {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #f5b4b4;
    background: #fff1f2;
    color: #b42318;
    font-size: 13px;
    line-height: 1.55;
}

.form-validation-summary:empty,
.form-validation-summary.validation-summary-valid {
    display: none;
}

.field-validation-error {
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.form-input {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    width: 100%;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

textarea.form-input { resize: vertical; min-height: 110px; }

.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99,102,241,.30);
    transition: transform .2s, box-shadow .2s;
    margin-top: 6px;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99,102,241,.40);
}

.contact-success {
    background: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-success i {
    font-size: 1.5rem;
    color: var(--green-dark);
    flex-shrink: 0;
}

.contact-success-title {
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 2px;
}

.contact-success-sub {
    font-size: 13px;
    color: #065f46;
}

/* ── FOOTER ──────────────────────────────────────────────────── */

.footer {
    background: #0a0818;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 60px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-desc {
    font-size: 14px;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.55);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.50);
    transition: color .2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,.35);
}

/* ── FADE-IN ANIMATION ───────────────────────────────────────── */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

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

/* ── SECTION HEADER ──────────────────────────────────────────── */
.section-header { text-align: center; }
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ── STATS — base uses simple 4-col, NO dividers in DOM-dependent tricks */
.stats-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}
.stat-item {
    text-align: center;
    flex: 1;
    padding: 8px 16px;
}
.stat-divider {
    width: 1px;
    background: var(--border);
    flex-shrink: 0;
    align-self: stretch;
    min-height: 48px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Rule: everything inside a section gets horizontal padding via
   the section itself — inner containers just cap the max-width.
   This guarantees nothing wider than the viewport.
════════════════════════════════════════════════════════════════ */

/* ── 1) Tablet landscape — collapse nav links + CTA to burger ── */
@media (max-width: 1024px) {
    /* Hide nav links and the Get Started CTA — keep lang + sign-in visible */
    .nav-links      { display: none; }
    .btn-nav-cta    { display: none; }
    .nav-burger     { display: flex; }

    /* Features and pricing 2-col */
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }
}

/* ── 1b) Small phone — compact the always-visible nav buttons ── */
@media (max-width: 420px) {
    /* Lang button in navbar: icon only (no text label) to save space */
    .nav-inner .lang-btn .en,
    .nav-inner .lang-btn .my { display: none !important; }

    /* Tighten nav padding and gaps */
    .nav-inner { padding: 0 14px; gap: 8px; }
    .btn-nav-ghost { padding: 8px 12px; font-size: 13px; }
    .nav-inner .lang-btn { padding: 7px 10px; }
    .nav-burger { width: 34px; height: 34px; font-size: 1.2rem; }
    .nav-brand-logo { height: 30px; }
}

/* ── 2) Tablet portrait / large phone — single-column hero ───── */
@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero {
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .hero-mockup { display: none; }
    .hero-copy   { display: flex; flex-direction: column; align-items: center; }
    .hero-badge,
    .promo-marquee,
    .hero-title,
    .hero-sub,
    .hero-trust {
        width: 100%;
    }
    .hero-sub    { max-width: 100%; }
    .hero-btns   { justify-content: center; }
    .hero-trust  { justify-content: center; }
    .promo-marquee {
        border-radius: 24px;
    }
    .promo-marquee-track {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        animation: none;
        padding: 12px;
    }
    .promo-pill {
        white-space: normal;
        justify-content: center;
        text-align: center;
    }

    /* Contact stacks vertically */
    .contact-inner  { grid-template-columns: 1fr; gap: 40px; }
    .contact-info   { text-align: center; }
    .contact-details { max-width: 380px; margin: 0 auto; }
    .contact-detail-row { text-align: left; }

    /* Stats 2-col */
    .stats-inner { flex-wrap: wrap; }
    .stat-item   { flex: 0 0 calc(50% - 1px); }
    .stat-divider:nth-child(4) { display: none; }  /* hide 3rd divider on 2x2 */
    .stat-divider:nth-child(2) { display: none; }  /* keep only outer dividers */

    /* Steps single column */
    .steps        { grid-template-columns: 1fr; gap: 28px; }
    .steps::before { display: none; }
    .step { text-align: center; display: flex; flex-direction: column; align-items: center; }

    /* Footer 2-col */
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── 3) Phone — everything single column ─────────────────────── */
@media (max-width: 540px) {
    /* Sections: reduce padding */
    .hero         { padding: 68px 16px 44px; }
    .stats-strip  { padding: 28px 16px; }
    .features, .how, .pricing { padding: 56px 16px; }
    .contact      { padding: 56px 16px; }
    .footer       { padding: 44px 16px 20px; }

    /* Hero text */
    .hero-title { font-size: 1.9rem; }
    .hero-sub   { font-size: 0.97rem; }
    .hero-btns  { flex-direction: column; align-items: center; gap: 10px; }
    .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
    .hero-badge { padding: 10px 14px; }
    .promo-pill { font-size: 12px; padding: 10px 12px; }
    .hero-trust > span { justify-content: center; }

    /* Stats — 2×2 */
    .stats-inner { flex-wrap: wrap; }
    .stat-item   { flex: 0 0 50%; }
    .stat-divider { display: none; }
    .stat-item-value { font-size: 1.9rem; }

    /* Cards single col */
    .features-grid { grid-template-columns: 1fr; }
    .feature-card  { padding: 20px; }
    .pricing-grid  { grid-template-columns: 1fr; }

    /* Contact form */
    .contact-form-card { padding: 20px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner   { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom  { justify-content: center; text-align: center; }
    .footer-tagline { max-width: 100%; }

    /* Section titles */
    .section-title { font-size: 1.5rem; }
    .price-ribbon  { font-size: 10px; padding: 3px 12px; }
}

/* ── MISSING / EXTRA HELPERS ─────────────────────────────────── */

/* Section label on dark backgrounds */
.section-label.light {
    color: #a5b4fc;
    display: block;
    margin-bottom: 12px;
}

/* Contact info (left col) */
.contact-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.contact-details { display: grid; gap: 20px; margin-top: 0; }

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(99,102,241,.18);
    border: 1px solid rgba(99,102,241,.30);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #a5b4fc;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.contact-detail-value {
    font-size: 14px;
    color: rgba(255,255,255,.82);
    font-weight: 500;
}

/* Contact form card inner */
.form-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Contact success message inner text */
.success-title { font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.success-sub   { font-size: 13px; color: #065f46; }

/* Hero trust items */
.hero-trust > span {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    max-width: 100%;
    overflow-wrap: anywhere;
}
.hero-trust > span i { color: var(--green); }

/* (stat-divider and stat-item defined above in stats strip section) */

/* Mockup browser chrome */
.mockup-browser {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mockup-titlebar .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-url {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    margin-left: 8px;
    font-family: monospace;
}

.mockup-body { padding: 16px; }

.mockup-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.35);
    margin-bottom: 8px;
    margin-top: 4px;
}

.mockup-table { display: grid; gap: 4px; }

.mockup-table-row {
    display: grid;
    grid-template-columns: 12px 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    font-size: 11px;
    color: rgba(255,255,255,.60);
}

.mockup-table-row.header {
    grid-template-columns: 1fr auto auto;
    background: transparent;
    color: rgba(255,255,255,.30);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
}

.row-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.row-dot.indigo { background: #818cf8; }
.row-dot.green  { background: #34d399; }
.row-dot.purple { background: #c084fc; }
.row-dot.orange { background: #fb923c; }

/* Float accent cards on hero mockup */
.mockup-float-1,
.mockup-float-2 {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.mockup-float-1 {
    bottom: -20px;
    left: -28px;
    animation-delay: 0s;
}

.mockup-float-2 {
    top: -16px;
    right: -20px;
    animation-delay: 2s;
}

.mockup-float-1 i,
.mockup-float-2 i {
    font-size: 1.3rem;
    color: var(--brand);
}

/* Mobile nav */
.nav-toggle-input { display: none; }

.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.14);
    transition: background .2s;
    flex-shrink: 0;
}

.nav.scrolled .nav-burger { color: var(--text-dark); background: var(--surface); border-color: var(--border); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(15,12,41,.97);
    gap: 4px;
}

.nav.scrolled .nav-mobile { background: rgba(255,255,255,.98); border-top-color: var(--border); }

.nav-mobile a {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,.80);
    transition: background .2s, color .2s;
}

.nav-mobile a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav.scrolled .nav-mobile a { color: var(--text-body); }
.nav.scrolled .nav-mobile a:hover { background: var(--surface); color: var(--text-dark); }

.nav-mobile hr { border-color: rgba(255,255,255,.08); margin: 8px 0; }
.nav.scrolled .nav-mobile hr { border-color: var(--border); }

.nav-toggle-input:checked ~ .nav-mobile { display: flex; }

/* Steps connector arrow (between step cards) — only on mobile layout */
.step-connector {
    display: none;
    justify-content: center;
    align-items: center;
    color: var(--brand);
    font-size: 1.4rem;
}

/* Footer brand area */
.footer-brand { }
.footer-brand-logo {
    width: 180px;
    max-width: 100%;
    display: block;
    margin-bottom: 12px;
}

.footer-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,.40);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 4px;
}

.footer-col { }
