/* ==========================================================================
   Netblast — Modern Stripe-inspired stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --bg:            #ffffff;
    --bg-soft:       #f6f9fc;
    --bg-dark:       #0a2540;
    --bg-darker:     #0a1f3d;
    --text:          #0a2540;
    --text-muted:    #425466;
    --text-soft:     #6b7c93;
    --text-on-dark:  #adbdcc;
    --border:        #e6ebf1;
    --border-dark:   rgba(255,255,255,0.08);

    --accent:        #635bff;
    --accent-hover:  #5046e4;
    --accent-soft:   #efeeff;

    --grad-1: #ff80b5;
    --grad-2: #9089fc;
    --grad-3: #00d4ff;
    --grad-4: #635bff;
    --grad-5: #ffd35c;

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 5px 0 rgba(50,50,93,0.06), 0 1px 2px 0 rgba(0,0,0,0.04);
    --shadow:    0 7px 14px 0 rgba(50,50,93,0.10), 0 3px 6px 0 rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px 0 rgba(50,50,93,0.12), 0 5px 15px 0 rgba(0,0,0,0.07);
    --shadow-xl: 0 50px 100px -20px rgba(50,50,93,0.25), 0 30px 60px -30px rgba(0,0,0,0.30);

    --container: 1180px;
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }

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

.lead { font-size: 1.25rem; line-height: 1.6; color: var(--text-muted); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head p { font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--text-soft);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    padding: 12px 0;
}
.btn-ghost:hover { color: var(--accent-hover); }
.btn-ghost::after {
    content: '→';
    margin-left: 4px;
    transition: transform var(--transition);
}
.btn-ghost:hover::after { transform: translateX(3px); }

.btn-lg { padding: 14px 28px; font-size: 1.0625rem; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); }

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    min-width: 0;
    white-space: nowrap;
}
.logo:hover { color: var(--text); }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-links a:hover { color: var(--accent); background: var(--bg-soft); }

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

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition);
}
.has-dropdown.open > a::after { transform: translateY(1px) rotate(-135deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    list-style: none;
    margin: 0;
}
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
}
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .icon-wrap {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
}
.dropdown .icon-wrap svg { width: 20px; height: 20px; color: var(--accent); }
.dropdown .item-title { display: block; font-weight: 600; font-size: 0.95rem; }
.dropdown .item-desc  { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--text-soft); }
.lang-toggle img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

/* Mobile burger */
.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 8px;
    align-items: center; justify-content: center;
    color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 120px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 120%;
    background:
        radial-gradient(at 20% 20%, rgba(99, 91, 255, 0.18) 0px, transparent 50%),
        radial-gradient(at 80% 10%, rgba(255, 128, 181, 0.18) 0px, transparent 50%),
        radial-gradient(at 60% 60%, rgba(0, 212, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 30% 80%, rgba(144, 137, 252, 0.18) 0px, transparent 50%);
    z-index: -1;
    animation: meshShift 20s ease-in-out infinite alternate;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, var(--bg) 95%);
    z-index: -1;
}
@keyframes meshShift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, -3%) scale(1.06); }
}
.hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.hero h1 {
    margin-bottom: 24px;
    background: linear-gradient(120deg, #0a2540 0%, #635bff 50%, #0a2540 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 8s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}
.hero .lead {
    max-width: 640px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Logo cloud / trust */
.trust {
    margin-top: 80px;
    text-align: center;
}
.trust-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    margin-bottom: 24px;
    font-weight: 600;
}
.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.trust-stat .num {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent) 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust-stat .lbl {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- Soft section ---------- */
.section-soft { background: var(--bg-soft); }

/* ---------- Feature grid ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .features { grid-template-columns: 1fr; }
}
.feature {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent); }
.feature h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature p  { font-size: 0.95rem; margin: 0; }

/* ---------- Product cards ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.product-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-cover {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(at 25% 20%, rgba(255,255,255,0.25) 0%, transparent 55%),
        linear-gradient(150deg, var(--cover-1, #635bff) 0%, var(--cover-2, #00d4ff) 100%);
}
.product-cover::before {
    /* soft glow behind icon */
    content: '';
    position: absolute;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.35), transparent 70%);
    filter: blur(20px);
    z-index: 0;
}
.product-cover img {
    position: relative;
    z-index: 1;
    width: 38%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24%;
    box-shadow:
        0 24px 40px -10px rgba(0,0,0,0.45),
        0 8px 16px -4px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.15);
    background: #fff;
}
.product-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,37,64,0.22) 100%);
    z-index: 2;
    pointer-events: none;
}
.product-tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    padding: 4px 10px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.product-tag.live { background: var(--accent); color: #fff; }
.product-tag.soon { background: rgba(10,37,64,0.85); color: #fff; }
.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-cat {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
    font-weight: 600;
    margin-bottom: 6px;
}
.product-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.product-card p { font-size: 0.95rem; margin-bottom: 16px; }
.product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.product-price {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.product-price strong {
    color: var(--text);
    font-size: 1.125rem;
    margin-left: 4px;
}

/* ---------- Split / 2-col ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split.flip > :first-child { order: 2; }
.split-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #ff80b5 0%, #9089fc 50%, #00d4ff 100%);
    box-shadow: var(--shadow-xl);
}
.split-visual.bg-cover { background-size: cover; background-position: center; }
.split-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(at 30% 30%, rgba(255,255,255,0.3), transparent 50%);
}

/* ---------- CTA panel ---------- */
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 72px 48px;
    border-radius: var(--radius-xl);
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    isolation: isolate;
}
.cta-panel::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(at 20% 20%, rgba(99, 91, 255, 0.5) 0px, transparent 50%),
        radial-gradient(at 80% 30%, rgba(255, 128, 181, 0.35) 0px, transparent 50%),
        radial-gradient(at 60% 80%, rgba(0, 212, 255, 0.3) 0px, transparent 50%);
    z-index: -1;
    animation: meshShift 18s ease-in-out infinite alternate;
}
.cta-panel h2 { color: #fff; margin-bottom: 16px; }
.cta-panel p  { color: var(--text-on-dark); max-width: 560px; margin: 0 auto 32px; font-size: 1.125rem; }
.cta-panel .btn-primary { background: #fff; color: var(--text); }
.cta-panel .btn-primary:hover { background: var(--bg-soft); color: var(--text); }
.cta-panel .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-panel .btn-secondary:hover { border-color: #fff; }

/* ---------- Reviews ---------- */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.review {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.review-stars {
    color: #f5b041;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.review p {
    color: var(--text);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Page hero (sub) ---------- */
.page-hero {
    padding: 80px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 100%;
    background:
        radial-gradient(at 20% 20%, rgba(99, 91, 255, 0.12) 0px, transparent 50%),
        radial-gradient(at 80% 20%, rgba(255, 128, 181, 0.12) 0px, transparent 50%);
    z-index: -1;
}
.page-hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 16px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* ---------- App showcase ---------- */
.app-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
.app-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.app-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.app-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}
.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: var(--text);
    color: #fff;
    border-radius: 12px;
    transition: all var(--transition);
}
.store-btn:hover { background: var(--bg-darker); color: #fff; transform: translateY(-1px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn .small { font-size: 0.7rem; opacity: 0.8; line-height: 1; display: block; }
.store-btn .big   { font-size: 1.05rem; font-weight: 600; line-height: 1.1; display: block; margin-top: 2px; }

.phone-frame {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 40px;
    background: #0a2540;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    position: relative;
}
/* Dynamic-Island-style pill notch */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 22px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 26px;
    background: #000;
    border-radius: 999px;
    z-index: 2;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(at 25% 20%, rgba(255,255,255,0.25) 0%, transparent 55%),
        linear-gradient(150deg, var(--screen-1, #635bff) 0%, var(--screen-2, #00d4ff) 100%);
}
.phone-screen::after {
    /* soft glow behind icon */
    content: '';
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.35), transparent 70%);
    filter: blur(20px);
    z-index: 0;
}
.phone-screen img,
.phone-screen .app-icon {
    position: relative;
    z-index: 1;
    width: 48%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24%;
    box-shadow:
        0 30px 50px -10px rgba(0,0,0,0.45),
        0 10px 20px -5px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.15);
    background: #fff;
}

/* ---------- Contact form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.contact-info h2 { font-size: 2rem; }
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info .info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info .info-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-info .info-item strong { display: block; color: var(--text); margin-bottom: 2px; }
.contact-info .info-item span { color: var(--text-muted); font-size: 0.95rem; }

.contact-form {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99,91,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-msg {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.form-msg.success { background: #ecfdf5; color: #047857; }
.form-msg.error   { background: #fef2f2; color: #b91c1c; }

/* ---------- About ---------- */
.about-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.about-block {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.about-block:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.about-block .num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #9089fc);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 80px 0 32px;
    margin-top: 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand p { color: var(--text-on-dark); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 {
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: var(--text-on-dark);
    font-size: 0.95rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-on-dark);
}
.socials { display: flex; gap: 12px; }
.socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-on-dark);
    transition: all var(--transition);
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .split, .app-showcase, .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .split.flip > :first-child { order: initial; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 64px 0; }
    .hero { padding: 56px 0 64px; }
    .nav { gap: 8px; height: 60px; }
    .site-header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 101;
    }
    /* Opaque header backdrop sits ABOVE the sliding menu (z:99) within the
       header's stacking context, while .logo and .nav-actions are lifted
       above it so they remain visible. */
    .site-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #fff;
        z-index: 100;
    }
    .site-header .logo,
    .site-header .nav-actions {
        position: relative;
        z-index: 101;
    }
    .site-header .lang-toggle { padding: 6px; }
    .site-header .lang-toggle span { display: none; }
    .site-header .nav-actions .btn { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-links {
        position: fixed;
        top: 60px; left: 0; right: 0;
        z-index: 99;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 16px;
        gap: 4px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-110%);
        transition: transform var(--transition);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        visibility: hidden;
    }
    .nav-links.open { transform: translateY(0); visibility: visible; }
    .nav-links a { padding: 12px 16px; font-size: 1rem; }
    .has-dropdown .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px;
        min-width: 0;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; transform: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .cta-panel { padding: 48px 24px; }
    .contact-form { padding: 28px; }
    .section-head { margin-bottom: 40px; }
    .trust { margin-top: 56px; }
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 420px;
    }
    .trust-stat .num { font-size: 2rem; }
    .hero .lead, .lead { font-size: 1.0625rem; }
    .container { padding: 0 20px; }
}

@media (max-width: 480px) {
    section { padding: 48px 0; }
    .hero { padding: 40px 0 48px; }
    .hero .lead, .lead { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .container { padding: 0 16px; }
    .contact-form { padding: 20px; }
    .cta-panel { padding: 36px 20px; }
    .logo span { font-size: 1.0625rem; }
    .trust-stat .num { font-size: 1.75rem; }
}

/* ---------- Print friendly defaults ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
