:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #eff6ff;
    --accent-border: #bfdbfe;
    --hero-bg: #0b1120;
    --hero-text: #f1f5f9;
    --hero-muted: #94a3b8;
    --hero-border: rgba(255,255,255,0.1);
    --hero-card: rgba(255,255,255,0.06);
    --purple: #7c3aed;
    --purple-soft: #f5f3ff;
    --purple-border: #ddd6fe;
    --green: #16a34a;
    --green-soft: #dcfce7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent);
    z-index: 200;
    transition: width 0.1s linear;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: var(--hero-bg);
    border-bottom: 1px solid var(--hero-border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo span {
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 1rem;
    color: var(--hero-text);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    font-size: 0.875rem;
    color: var(--hero-muted);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    letter-spacing: 0;
    text-transform: none;
}

nav a:hover {
    color: var(--hero-text);
    background: rgba(255,255,255,0.07);
}

nav a.active {
    color: var(--hero-text);
    background: rgba(255,255,255,0.07);
}

nav a.nav-pill {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 99px;
    padding: 0.35rem 0.9rem;
}

nav a.nav-pill:hover {
    background: var(--accent-hover);
    color: #fff;
}

nav a::after {
    display: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--hero-border);
}

.lang-switch a,
.lang-switch .lang-active {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
}

.lang-switch a {
    color: rgba(255,255,255,0.4);
    transition: color 0.15s;
}

.lang-switch a:hover {
    color: #ffffff;
}

.lang-switch .lang-active {
    color: #ffffff;
}

.lang-switch .lang-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.78rem;
}

#start {
    padding: 0;
    scroll-margin-top: 0;
    background: var(--hero-bg);
}

.hero-bg {
    background: var(--hero-bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124,58,237,0.1) 0%, transparent 40%);
    padding: 5rem 1.6rem 5rem;
    width: 100%;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.4);
    border-radius: 99px;
    padding: 0.3rem 0.9rem 0.3rem 0.4rem;
    margin-bottom: 1.5rem;
}

.hero-pill-dot {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}

.hero-pill-dot span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

.hero-pill-text {
    font-size: 0.82rem;
    color: #93c5fd;
}

.hero-pill-link {
    font-size: 0.82rem;
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
}

.hero-pill-link:hover {
    text-decoration: underline;
}

.hero-main-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--hero-text);
    line-height: 1.2;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    text-align: left;
}

.hero-main-title em {
    color: #60a5fa;
    font-style: normal;
}

.hero-main-lead {
    font-size: 1.05rem;
    color: var(--hero-muted);
    line-height: 1.75;
    margin: 0 0 2rem;
    max-width: 540px;
    text-align: left;
    text-shadow: none;
}

.hero-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.hero-clients {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--hero-bg);
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.hero-avatar:first-child {
    margin-left: 0;
}

.hero-clients-text {
    font-size: 0.82rem;
    color: var(--hero-muted);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-stat {
    background: var(--hero-card);
    border: 1px solid var(--hero-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.hero-stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hero-text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--hero-muted);
}

.hero-stat-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 0.6rem;
    overflow: hidden;
}

.hero-stat-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.hero-subpage {
    background: #0b1120;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(37,99,235,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(124,58,237,0.08) 0%, transparent 35%);
    padding: 4rem 1.6rem 3.5rem;
    width: 100%;
}

.hero-subpage .hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-subpage h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subpage p {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

main {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

section {
    padding: 3.5rem 1.6rem;
    scroll-margin-top: 70px;
    position: relative;
}

section:not(#start) {
    background: var(--bg);
}

section:not(#start):nth-of-type(even) {
    background: var(--bg-alt);
}

section:not(#start)::before {
    display: none;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    text-align: left;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 0 2.5rem;
    text-align: left;
}

.lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 1.5rem;
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-fact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #334155;
}

.about-check {
    width: 22px;
    height: 22px;
    background: var(--green-soft);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.badge {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: #334155;
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.4rem;
    font-size: 0.9rem;
    text-align: left;
    box-shadow: none;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    color: inherit;
    text-decoration: none;
    display: block;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 99px;
    margin-bottom: 0.6rem;
}

.card-badge-ai {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent-border);
}

.card-badge-lf {
    background: var(--purple-soft);
    color: var(--purple);
    border: 1px solid var(--purple-border);
}

.card-ai {
    border: 1.5px solid var(--accent);
}

.card-ai:hover {
    border-color: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(37,99,235,0.12);
}

.card-lf {
    border: 1.5px solid var(--purple);
}

.card-lf:hover {
    border-color: #6d28d9;
    box-shadow: 0 4px 20px rgba(124,58,237,0.1);
}

a.card h3,
a.card p {
    color: inherit;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
    justify-content: flex-start;
}

.chip {
    font-size: 0.875rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    color: #334155;
    background: var(--bg-alt);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    cursor: default;
}

.chip:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

.step {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.35rem;
}

input,
textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.contact-extra {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-extra strong {
    color: var(--text);
}

.reveal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    margin: 0 0.25rem;
    background: var(--bg-alt);
    transition: background 0.15s;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.reveal:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.reveal span.value {
    display: none;
}

.reveal span.value a {
    color: var(--accent);
    text-decoration: none;
}

.reveal.revealed span.placeholder {
    display: none;
}

.reveal.revealed span.value {
    display: inline;
}

footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
    background: #0b1120;
    border-top: 1px solid rgba(255,255,255,0.06);
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

footer a:hover {
    color: #f1f5f9;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: none;
}

.service-link {
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    display: inline;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.faq-item summary::before {
    content: "+";
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--accent);
    font-weight: bold;
}

.faq-item[open] summary::before {
    content: "−";
}

.faq-item p {
    margin-top: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-stat {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 720px) {
    .nav-container {
        justify-content: space-between;
    }
    nav ul {
        display: none;
    }
    .hero-bg {
        padding: 3rem 1rem 2.5rem;
    }
    .hero-main-title {
        font-size: 1.8rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .hero-stats {
        flex-direction: column;
    }
    section {
        padding: 3rem 1rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr;
    }
}
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card-category { display: inline-block; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 99px; }
.blog-card-title { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-light); }
.blog-card-link { font-size: 0.875rem; color: var(--accent); font-weight: 500; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; max-width: 1100px; margin: 0 auto; padding: 3rem 1.6rem; }
.article-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); line-height: 1.3; margin: 0.75rem 0 1rem; }
.article-meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--text-light); flex-wrap: wrap; }
.article-content h2 { font-size: 1.35rem; font-weight: 600; color: var(--text); margin: 2rem 0 0.75rem; }
.article-content p { color: #334155; line-height: 1.8; margin-bottom: 1.25rem; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; color: #334155; }
.article-content ul li { margin-bottom: 0.4rem; line-height: 1.7; }
.article-cta { background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.article-cta p { margin-bottom: 0.75rem; color: var(--text); }
.article-cta a { color: var(--accent); font-weight: 600; }
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 80px; }
.sidebar-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.sidebar-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.sidebar-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-links a { font-size: 0.875rem; color: var(--accent); }
.hero-subpage .article-meta { color: #94a3b8; margin-top: 0.75rem; }
.hero-subpage .blog-card-category { background: rgba(37,99,235,0.2); border-color: rgba(37,99,235,0.4); color: #93c5fd; margin-bottom: 0.75rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } .article-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
