/* ======================================================================
   Cloudsales OÜ — Global Stylesheet
   Light + Dark theme, modern cloud/SaaS aesthetic
   ====================================================================== */

:root,
[data-theme="light"] {
    --bg: #FFFFFF;
    --bg-alt: #F0F9FF;
    --bg-elevated: #FFFFFF;
    --dark: #0C1445;
    --accent: #0EA5E9;
    --accent-2: #6366F1;
    --text: #1E293B;
    --text-strong: #0C1445;
    --text-muted: #64748B;
    --border: #E0F2FE;
    --border-strong: #BAE6FD;
    --blob-1: rgba(14, 165, 233, 0.22);
    --blob-2: rgba(99, 102, 241, 0.18);
    --shadow-sm: 0 1px 2px rgba(12, 20, 69, 0.06);
    --shadow-md: 0 10px 30px -12px rgba(12, 20, 69, 0.14);
    --shadow-lg: 0 30px 60px -20px rgba(12, 20, 69, 0.18);
    --card: #FFFFFF;
    --surface: #F8FAFC;
    --grad-brand: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
    --grad-soft: linear-gradient(135deg, #F0F9FF 0%, #EEF2FF 100%);
}

[data-theme="dark"] {
    --bg: #060B26;
    --bg-alt: #0B1638;
    --bg-elevated: #0F1D47;
    --dark: #707883;
    --accent: #38BDF8;
    --accent-2: #818CF8;
    --text: #E2E8F0;
    --text-strong: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #1E3A8A33;
    --border-strong: #1E40AF66;
    --blob-1: rgba(56, 189, 248, 0.28);
    --blob-2: rgba(129, 140, 248, 0.22);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    --card: #0F1D47;
    --surface: #0B1638;
    --grad-brand: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
    --grad-soft: linear-gradient(135deg, #0B1638 0%, #16204C 100%);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background .35s ease, color .35s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-strong);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

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

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.muted { color: var(--text-muted); }
.text-grad {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn-sm { padding: .55rem 1rem; font-size: .85rem; border-radius: 10px; }

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(14, 165, 233, .5);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(14, 165, 233, .6);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--text-strong);
    transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--border);
    transition: background .3s, border-color .3s;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
.logo-mark { width: 32px; height: 32px; }
.logo:hover { color: var(--text-strong); }

.nav-main { display: flex; gap: .35rem; }
.nav-main a {
    padding: .5rem .9rem;
    font-size: .92rem;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-main a:hover { color: var(--text-strong); background: var(--bg-alt); }
.nav-main a.active { color: var(--text-strong); background: var(--bg-alt); }

.nav-tools { display: flex; align-items: center; gap: .85rem; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.lang-switch a { color: var(--text-muted); }
.lang-switch a.active { color: var(--text-strong); }

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .25s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 4px;
}
.nav-burger span {
    width: 18px; height: 2px;
    background: var(--text-strong);
    border-radius: 2px;
    transition: transform .25s;
}

/* ====================================================================
   HERO + BLOBS
   ==================================================================== */
.hero {
    position: relative;
    padding: 7rem 0 8rem;
    overflow: hidden;
    isolation: isolate;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border: 1px solid var(--border-strong);
    background: var(--bg-alt);
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    color: var(--accent);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
    50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%,  transparent); }
}

.hero h1 { margin-bottom: 1.3rem; }
.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.2rem;
}
.hero-ctas {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: .8rem;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}
.blob-1 {
    width: 520px; height: 520px;
    background: var(--blob-1);
    top: -100px; left: -80px;
    animation: blob 8s ease-in-out infinite;
}
.blob-2 {
    width: 600px; height: 600px;
    background: var(--blob-2);
    bottom: -200px; right: -120px;
    animation: blob 12s ease-in-out infinite reverse;
}
.blob-3 {
    width: 400px; height: 400px;
    background: var(--blob-1);
    top: 30%; right: 20%;
    animation: blob 10s ease-in-out infinite;
}
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ====================================================================
   SECTIONS
   ==================================================================== */
.section {
    padding: 6rem 0;
    position: relative;
}
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin-top: .8rem; }

.section-alt { background: var(--bg-alt); }

/* ====================================================================
   SERVICES OVERVIEW (scroll-snap section on homepage)
   ==================================================================== */
.snap-wrap {
    position: relative;
    height: 100vh;
    max-height: 900px;
    min-height: 600px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    scrollbar-width: none;
}
.snap-wrap::-webkit-scrollbar { display: none; }

.snap-section {
    scroll-snap-align: start;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}
.snap-section .snap-content {
    max-width: 720px;
    text-align: center;
    animation: fadeInUp .8s ease both;
}
.snap-section .snap-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: var(--grad-brand);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--accent) 50%, transparent);
}
.snap-section .snap-icon svg { width: 36px; height: 36px; }
.snap-section h3 { font-size: 2.2rem; margin-bottom: 1rem; }
.snap-section p { font-size: 1.1rem; color: var(--text-muted); }

.snap-dots {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: .6rem;
    z-index: 5;
}
.snap-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
    border: none;
    cursor: pointer;
    transition: all .3s;
}
.snap-dot.active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

/* ====================================================================
   FEATURE GRID (services page cards)
   ==================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity .3s;
    z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}
.feature-card:hover::before { opacity: .5; }

.feat-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--grad-brand);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 50%, transparent);
}
.feat-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); }

/* ====================================================================
   COUNTERS
   ==================================================================== */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.counter {
    padding: 2rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .3s, box-shadow .3s;
}
.counter:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.counter-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.counter-label {
    color: var(--text-muted);
    font-weight: 500;
    margin-top: .5rem;
    font-size: .95rem;
}

/* ====================================================================
   TESTIMONIAL
   ==================================================================== */
.testimonial {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px; left: 30px;
    font-family: 'Plus Jakarta Sans', serif;
    font-size: 12rem;
    line-height: 1;
    color: var(--accent);
    opacity: .12;
}
.testimonial blockquote {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-strong);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}
.testimonial-name { font-weight: 700; color: var(--text-strong); }
.testimonial-role { color: var(--text-muted); font-size: .9rem; }

/* ====================================================================
   CTA BAND
   ==================================================================== */
.cta-band {
    position: relative;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 32px;
    overflow: hidden;
    background: var(--grad-brand);
    color: #fff;
    isolation: isolate;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.2), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.15), transparent 40%);
    z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 2rem; }
.cta-band .btn-ghost {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}
.cta-band .btn-ghost:hover {
    background: rgba(255,255,255,.92);
    color: var(--dark);
}

/* ====================================================================
   FAQ
   ==================================================================== */
.faq {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--card);
    transition: border-color .25s;
}
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-strong);
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}
.faq-q .faq-icon {
    width: 28px; height: 28px;
    flex: none;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .3s, background .3s;
}
.faq-item.open .faq-q .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #fff;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 1.5rem 1.3rem;
}

/* ====================================================================
   PRICING
   ==================================================================== */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    padding: .35rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin: 0 auto 3rem;
}
.billing-toggle button {
    border: none;
    background: transparent;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .25s;
    position: relative;
}
.billing-toggle button.active {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 50%, transparent);
}
.save-badge {
    display: inline-block;
    margin-left: .4rem;
    padding: .1rem .45rem;
    background: #10B981;
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.billing-toggle button.active .save-badge { background: #fff; color: #0EA371; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.price-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 50%),
        var(--card);
}
.price-card.popular:hover { transform: translateY(-6px) scale(1.03); }

.popular-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .9rem;
    border-radius: 999px;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--accent) 50%, transparent);
}

.price-head h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.price-head p { color: var(--text-muted); font-size: .95rem; }
.price-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: baseline;
    gap: .3rem;
}
.price-num {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.03em;
}
.price-period { color: var(--text-muted); font-size: .95rem; }
.price-num .annual-val,
.price-num .monthly-val { display: inline-block; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.price-features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--text);
    font-size: .95rem;
}
.price-features .check {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
}
.price-features .dash {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-alt);
    color: var(--text-muted);
}
.price-features .disabled { color: var(--text-muted); }

/* ====================================================================
   TIERS (cloud page)
   ==================================================================== */
.tier-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    transition: all .3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.tier-card .tier-badge {
    align-self: flex-start;
    padding: .3rem .8rem;
    background: var(--bg-alt);
    color: var(--accent);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ====================================================================
   ABOUT
   ==================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    align-items: center;
}
.about-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    background: var(--grad-brand);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}
.about-visual::before,
.about-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}
.about-visual::before {
    width: 60%; height: 60%;
    background: rgba(255,255,255,.3);
    top: -10%; left: -10%;
    animation: blob 8s ease-in-out infinite;
}
.about-visual::after {
    width: 50%; height: 50%;
    background: rgba(255,255,255,.2);
    bottom: -5%; right: -5%;
    animation: blob 12s ease-in-out infinite reverse;
}
.about-visual .about-card-chip {
    position: absolute;
    background: rgba(255,255,255,.95);
    color: var(--text-strong);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.25);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    backdrop-filter: blur(20px);
}
.about-visual .chip-1 { top: 15%; left: 10%; animation: floatY 6s ease-in-out infinite; }
.about-visual .chip-2 { bottom: 20%; right: 10%; animation: floatY 8s ease-in-out infinite reverse; }
.about-visual .chip-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation: floatY 7s ease-in-out infinite; }
.about-visual .chip-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.about-visual .chip-3 { animation-name: floatCenter; }
@keyframes floatCenter {
    0%, 100% { transform: translate(-50%, -50%); }
    50%      { transform: translate(-50%, calc(-50% - 10px)); }
}

.about-title { margin-bottom: 1.25rem; }
.about-lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; }

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}
.story-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}
.story-card h3 { margin-bottom: .8rem; }
.story-card p { color: var(--text-muted); }
.story-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--bg-alt);
    color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}

/* ====================================================================
   CONTACT
   ==================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 3rem;
    align-items: start;
}
.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.form-field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.form-field label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-strong);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    transition: all .2s;
    width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-field textarea { min-height: 110px; resize: vertical; }

.form-success {
    padding: 1rem 1.25rem;
    background: color-mix(in srgb, #10B981 12%, transparent);
    color: #059669;
    border: 1px solid color-mix(in srgb, #10B981 30%, transparent);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-side {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.side-block h4 { color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem; }
.side-block p, .side-block a { font-weight: 500; }

/* ====================================================================
   LEGAL (privacy / terms)
   ==================================================================== */
.legal {
    max-width: 760px;
    margin: 0 auto;
}
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .5rem; }
.legal-updated { color: var(--text-muted); margin-bottom: 2.5rem; display: block; }
.legal-intro { font-size: 1.1rem; color: var(--text); margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: .8rem; }
.legal p { color: var(--text-muted); margin-bottom: 1rem; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tag { color: var(--text-muted); margin-bottom: 1rem; max-width: 360px; }
.footer-addr { color: var(--text-muted); font-size: .88rem; line-height: 1.7; }

.footer-col h4 {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
    color: var(--text-strong);
    font-weight: 500;
    font-size: .95rem;
}
.footer-col a:hover { color: var(--accent); }

.footer-bar {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: .85rem;
    flex-wrap: wrap;
    gap: .8rem;
}

/* ====================================================================
   ANIMATIONS / REVEAL
   ==================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 980px) {
    .grid-3, .pricing-grid { grid-template-columns: 1fr 1fr; }
    .counter-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
    .nav-main { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); gap: 0; }
    .nav-main.open { display: flex; }
    .nav-main a { padding: .8rem 1rem; }
    .nav-burger { display: inline-flex; }
    .nav-cta { display: none; }
    .grid-3, .pricing-grid, .grid-2, .story-grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .counter-num { font-size: 2.2rem; }
    .hero { padding: 4rem 0 5rem; }
    .section { padding: 4rem 0; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-4px); }
    .testimonial { padding: 2rem; }
    .cta-band { padding: 3rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .snap-wrap { height: 85vh; }
    .snap-section { padding: 2rem; }
}

/* reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
