:root {
    --teal: #2A9D8F;
    --teal-dark: #1F7F73;
    --teal-light: #E8F5F3;
    --navy: #264653;
    --navy-light: #345766;
    --ink: #1B2A30;
    --text: #2E3B42;
    --muted: #6B7C84;
    --line: #E5ECEE;
    --bg: #FFFFFF;
    --bg-soft: #F7FAFA;
    --shadow-sm: 0 1px 2px rgba(38, 70, 83, 0.06);
    --shadow-md: 0 8px 24px rgba(38, 70, 83, 0.08);
    --shadow-lg: 0 24px 60px rgba(38, 70, 83, 0.14);
    --radius: 12px;
    --radius-lg: 18px;
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }

p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; }

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

.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    padding: 6px 0;
}
.nav a:hover { color: var(--teal-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    font-size: .8rem;
    font-weight: 600;
}
.lang-switch a {
    padding: 6px 12px;
    color: var(--muted);
    letter-spacing: .04em;
}
.lang-switch a.active {
    background: var(--navy);
    color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: .85rem; }

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
}
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(42, 157, 143, 0.18), transparent 70%),
        radial-gradient(900px 500px at -10% 30%, rgba(38, 70, 83, 0.08), transparent 60%),
        linear-gradient(180deg, #FAFDFD 0%, #FFFFFF 100%);
    padding: 80px 0 100px;
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--teal-dark);
    background: var(--teal-light);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 .accent {
    color: var(--teal);
    position: relative;
}
.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 4px;
    height: 8px;
    background: var(--teal-light);
    z-index: -1;
    border-radius: 4px;
}

.lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin: 28px 0 22px;
    flex-wrap: wrap;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    font-size: .9rem;
    color: var(--muted);
}
.hero-points li {
    position: relative;
    padding-left: 22px;
}
.hero-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 14px; height: 14px;
    transform: translateY(-50%);
    background: var(--teal);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #fff;
}

/* ---------- Hero mock window ---------- */
.hero-visual { display: flex; justify-content: center; }

.mock-window {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transform: rotate(.4deg);
}
.mock-header {
    background: #F1F5F6;
    padding: 12px 14px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
}
.mock-header span {
    width: 11px; height: 11px; border-radius: 50%;
    background: #DCE3E5;
}
.mock-header span:first-child { background: #F4A6A0; }
.mock-header span:nth-child(2) { background: #F2D08A; }
.mock-header span:nth-child(3) { background: #9CD0BD; }

.mock-body {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 320px;
}
.mock-sidebar {
    background: var(--navy);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-logo {
    height: 14px;
    background: var(--teal);
    border-radius: 4px;
    margin-bottom: 14px;
    width: 70%;
}
.mock-nav-item {
    height: 22px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
}
.mock-nav-item.active { background: rgba(42, 157, 143, 0.4); }

.mock-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #FAFCFC;
}
.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mock-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-stat span {
    height: 6px; background: #E2EBEC; border-radius: 3px; width: 60%;
}
.mock-stat b {
    height: 12px; background: var(--navy); border-radius: 3px; width: 80%;
}
.mock-stat:nth-child(2) b { background: var(--teal); }

.mock-chart {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    align-items: end;
    height: 120px;
}
.mock-chart div {
    background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 4px 4px 0 0;
}
.mock-chart div:nth-child(4) { background: var(--navy); }

.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-row {
    height: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 8px;
}
.section-narrow { max-width: 820px; margin: 0 auto; text-align: center; }

/* ---------- Logos strip ---------- */
.logos-strip {
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.logos-label {
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}
.logos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
}
.logos-grid span {
    color: var(--navy);
    font-weight: 600;
    opacity: .55;
    font-size: 1.05rem;
    letter-spacing: .04em;
}

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

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(42, 157, 143, 0.4);
}

.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card p {
    color: var(--muted);
    margin: 0;
    font-size: .95rem;
}

/* ---------- Solution / two col ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.two-col p { color: var(--muted); }

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.checklist li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px 16px 48px;
    position: relative;
    color: var(--muted);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 16px; top: 20px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--teal);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}
.checklist strong { color: var(--ink); margin-right: 4px; }

/* ---------- About / stats ---------- */
.about-text {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 48px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 18px;
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    color: var(--muted);
    font-size: .9rem;
}

/* ---------- CTA section ---------- */
.section-cta {
    background: linear-gradient(135deg, var(--navy) 0%, #1c3741 100%);
    color: #fff;
    padding: 70px 0;
}
.section-cta h2 { color: #fff; margin-bottom: 8px; }
.section-cta p { color: rgba(255, 255, 255, 0.75); margin: 0; }

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section-cta .btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,.25);
}
.section-cta .btn-ghost:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.4);
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 70px 0 90px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.legal-head { margin-bottom: 40px; }
.legal-head h1 {
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    margin: 12px 0 8px;
}
.legal-sub { color: var(--muted); margin: 0; }

.legal-section {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.legal-section h2 {
    font-size: 1.15rem;
    color: var(--navy);
    margin: 0 0 16px;
}
.legal-section p { color: var(--text); margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px 24px;
    margin: 0;
}
.legal-dl dt {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
}
.legal-dl dd {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

.legal-back { margin-top: 40px; }

@media (max-width: 600px) {
    .legal-dl { grid-template-columns: 1fr; gap: 4px 0; }
    .legal-dl dt { margin-top: 8px; }
}

/* ---------- Footer ---------- */
.footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 60px 0 24px;
    color: var(--muted);
    font-size: .9rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer-brand p { max-width: 280px; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-cols h4 { margin-bottom: 12px; }
.footer-cols a {
    display: block;
    color: var(--muted);
    padding: 4px 0;
}
.footer-cols a:hover { color: var(--teal-dark); }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .mock-window { transform: none; max-width: 480px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav { display: none; }
    .header-actions { gap: 10px; }
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 70px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .btn-sm { padding: 7px 12px; }
}

@media (max-width: 480px) {
    .brand-logo { height: 28px; }
    h1 { font-size: 2rem; }
}
