/* ═══════════════════════════════════════════════════
   SELF-HOSTED FONT
═══════════════════════════════════════════════════ */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ═══════════════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════════════ */
:root {
    --bg:        #0d0d14;
    --bg-2:      #13131f;
    --bg-3:      #1a1a2e;
    --border:    rgba(255,255,255,.07);
    --text:      #e2e8f0;
    --muted:     #94a3b8;
    --accent:    #818cf8;
    --accent-2:  #6366f1;
    --accent-glow: rgba(99,102,241,.25);
    --white:     #ffffff;
    --radius:    1rem;
    --radius-lg: 1.5rem;
    --shadow:    0 8px 32px rgba(0,0,0,.4);
    --transition: .25s ease;
    --max-w:     1080px;
}

[data-theme="light"] {
    --bg:        #f8f9fc;
    --bg-2:      #ffffff;
    --bg-3:      #f1f2f8;
    --border:    rgba(0,0,0,.08);
    --text:      #1a1a2e;
    --muted:     #64748b;
    --accent:    #4f46e5;
    --accent-2:  #4338ca;
    --accent-glow: rgba(79,70,229,.15);
    --shadow:    0 8px 32px rgba(0,0,0,.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

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

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
    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; }

/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13,13,20,.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

[data-theme="light"] .site-header {
    background: rgba(248,249,252,.85);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--white);
}

[data-theme="light"] .brand-name { color: var(--text); }

.brand-title {
    font-size: .7rem;
    color: var(--accent);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.main-nav a {
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    padding: .45rem .75rem;
    border-radius: 999px;
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover { color: var(--text); background: var(--border); }

.lang-switch {
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted) !important;
    letter-spacing: .08em;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .65rem !important;
}

.theme-toggle {
    background: var(--border);
    border: none;
    color: var(--muted);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: background var(--transition), color var(--transition);
    margin-left: .5rem;
    flex-shrink: 0;
}

.theme-toggle:hover { background: var(--accent-glow); color: var(--accent); }

/* ═══════════════════════════════════════════════════
   PAGE SHELL
═══════════════════════════════════════════════════ */
.page-shell {
    /* Header & banner are sticky and occupy their own space in the flow,
       so no manual padding-top offset is needed (it used to desync on mobile
       when the banner wrapped to two lines). */
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
    /* Header + banner are sticky and already take space at the top of the flow,
       so subtract a generous allowance instead of the old fixed 62px to avoid a
       huge empty gap on mobile (where the banner wraps to two lines). */
    min-height: calc(100svh - 120px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem 3.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 60% 30%, rgba(99,102,241,.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(129,140,248,.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

[data-theme="light"] .hero-grid-lines {
    background-image:
        linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
}

.hero-content {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,.3);
    color: var(--accent);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--white);
    max-width: 820px;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .hero h1 { color: var(--text); }

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,.5);
}

.btn-ghost {
    background: var(--border);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,.08); }

/* ═══════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════ */
section { padding: 6rem 1.5rem; }

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-label {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
#about {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-body p {
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-body p:last-child { margin-bottom: 0; }

.about-body strong { color: var(--text); font-weight: 600; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .4rem;
}

.stat-label {
    font-size: .8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   LEADERSHIP
═══════════════════════════════════════════════════ */
.pillars {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pillar {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color var(--transition), transform var(--transition);
}

.pillar:hover {
    border-color: rgba(99,102,241,.4);
    transform: translateY(-3px);
}

.pillar-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .6rem;
    letter-spacing: -.015em;
}

.pillar p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   AI & INNOVATION
═══════════════════════════════════════════════════ */
#ai {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

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

.ai-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    position: relative;
}

.ai-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

[data-theme="light"] .ai-card { background: var(--bg-3); }

.ai-card:hover {
    border-color: rgba(99,102,241,.4);
    box-shadow: 0 0 0 1px rgba(99,102,241,.1), var(--shadow);
}

.ai-card-tag {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ai-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.ai-card p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════════════ */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.exp-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
    transition: border-color var(--transition);
}

@media (min-width: 640px) {
    .exp-item { grid-template-columns: 1fr auto; align-items: start; }
}

.exp-item:hover { border-color: rgba(99,102,241,.3); }

.exp-role {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}

.exp-company {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .9rem;
}

.exp-body {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.7;
}

.exp-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .75rem;
}

.exp-body li::before {
    content: "→ ";
    color: var(--accent);
    font-weight: 600;
}

.exp-period {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    height: fit-content;
}

/* ═══════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════ */
#skills {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.skills-groups {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.skill-group h3 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.skill-tag {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .82rem;
    font-weight: 500;
    padding: .4rem .9rem;
    border-radius: 999px;
    transition: border-color var(--transition), color var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-wrapper {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-info p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition), transform var(--transition);
    color: var(--text);
}

.contact-link:hover {
    border-color: rgba(99,102,241,.4);
    transform: translateX(4px);
}

.contact-link-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--accent-glow);
    border-radius: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-link-text strong {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: .15rem;
}

.contact-link-text span {
    font-size: .82rem;
    color: var(--muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-group label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: .85rem 1rem;
    font-size: .95rem;
    color: var(--text);
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .6; }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-2), #a78bfa);
    z-index: 200;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════════════════
   OPEN TO WORK BANNER
═══════════════════════════════════════════════════ */
.otw-banner {
    background: linear-gradient(90deg, rgba(99,102,241,.12), rgba(167,139,250,.08));
    border-bottom: 1px solid rgba(99,102,241,.2);
    text-align: center;
    padding: .55rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .06em;
    position: relative;
    z-index: 99;
}

[data-theme="light"] .otw-banner {
    background: linear-gradient(90deg, rgba(79,70,229,.10), rgba(167,139,250,.06));
}

.otw-banner span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.otw-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ═══════════════════════════════════════════════════
   SKIP LINK (accessibility)
═══════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: .6rem 1.2rem;
    border-radius: 0 0 .5rem .5rem;
    font-weight: 700;
    font-size: .9rem;
    z-index: 999;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════
   NAV ACTIVE STATE (scroll spy)
═══════════════════════════════════════════════════ */
.main-nav a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* ═══════════════════════════════════════════════════
   HAMBURGER (mobile)
═══════════════════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    margin-left: .25rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .hamburger { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: .75rem 1rem 1rem;
        gap: .15rem;
    }

    .main-nav.nav-open { display: flex; }

    .main-nav a {
        padding: .65rem 1rem;
        border-radius: .5rem;
        font-size: .95rem;
    }

    .lang-switch { margin-top: .5rem; }
}

/* ═══════════════════════════════════════════════════
   HERO SCROLL ARROW
═══════════════════════════════════════════════════ */
.hero-scroll-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.35);
    animation: bounce 2.2s infinite;
    transition: color var(--transition);
}

.hero-scroll-arrow:hover { color: var(--accent); }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent-2);
    color: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99,102,241,.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover { background: #4338ca; }

/* ═══════════════════════════════════════════════════
   COPY EMAIL BUTTON
═══════════════════════════════════════════════════ */
.contact-link {
    position: relative;
}

.copy-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: .35rem;
    border-radius: .4rem;
    display: flex;
    align-items: center;
    transition: color var(--transition), background var(--transition);
    flex-shrink: 0;
}

.copy-btn:hover { color: var(--accent); background: var(--accent-glow); }

.copy-btn.copied { color: #22c55e; }

.copy-btn.copied::after {
    content: "Copied!";
    position: absolute;
    right: 0;
    top: -1.8rem;
    background: #22c55e;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: .3rem;
    white-space: nowrap;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   FORM STATUS
═══════════════════════════════════════════════════ */
.form-status {
    padding: .75rem 1rem;
    border-radius: .6rem;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .25rem;
}
.form-status--success {
    background: rgba(34,197,94,.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
}
.form-status--error {
    background: rgba(239,68,68,.10);
    color: #f87171;
    border: 1px solid rgba(239,68,68,.2);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
}

/* ═══════════════════════════════════════════════════
   NAV CTA (Services link highlighted) + LANG GROUP
═══════════════════════════════════════════════════ */
.nav-cta {
    color: var(--accent) !important;
    font-weight: 700 !important;
}
.nav-cta:hover { background: var(--accent-glow) !important; }

.lang-group {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-left: .35rem;
    padding-left: .35rem;
    border-left: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   SERVICES CTA BAND
═══════════════════════════════════════════════════ */
.cta-band {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-glow), rgba(167,139,250,.06));
    border: 1px solid rgba(99,102,241,.2);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
}
.cta-band .section-title { margin-bottom: .75rem; }
.cta-band .section-sub { margin: 0 auto 2rem; }

/* ═══════════════════════════════════════════════════
   SERVICES PAGE — use cases
═══════════════════════════════════════════════════ */
.usecases {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.usecase {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color var(--transition), transform var(--transition);
}
.usecase:hover { border-color: rgba(99,102,241,.4); transform: translateY(-3px); }
.usecase-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: .7rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; margin-bottom: 1rem;
}
.usecase h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.015em; }
.usecase p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   SERVICES PAGE — how I work (process steps)
═══════════════════════════════════════════════════ */
.steps {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    counter-reset: step;
}
.step {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem 1.5rem;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-2), #7c3aed);
    color: #fff; font-weight: 800; font-size: .95rem;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════
   SERVICES PAGE — value props (trust band)
═══════════════════════════════════════════════════ */
.valueprops {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.valueprop {
    display: flex; gap: .85rem; align-items: flex-start;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.valueprop-check {
    color: #22c55e; font-weight: 800; flex-shrink: 0; font-size: 1.05rem; line-height: 1.5;
}
.valueprop strong { display: block; font-size: .92rem; margin-bottom: .2rem; }
.valueprop span { font-size: .83rem; color: var(--muted); line-height: 1.55; }

/* ═══════════════════════════════════════════════════
   SERVICES PAGE — FAQ
═══════════════════════════════════════════════════ */
.faq-list {
    display: flex; flex-direction: column; gap: .75rem;
    max-width: 760px;
}
.faq-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 1.25rem;
}
.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 0;
    font-weight: 600;
    font-size: .98rem;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    padding: 0 0 1.1rem; margin: 0;
    font-size: .9rem; color: var(--muted); line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   SERVICES PAGE — misc helpers (CSP-safe, no inline styles)
═══════════════════════════════════════════════════ */
.brand-link { text-decoration: none; display: block; }
.contact-links--centered { max-width: 420px; margin: 0 auto; }
.footer-link { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .hero { padding: 3rem 1.25rem 3rem; }
    section { padding: 4rem 1.25rem; }
    .lang-group { border-left: none; padding-left: 0; margin-left: 0; }
    /* On small phones the 2-col stat grid + 1.5rem card padding overflowed the
       375px viewport by ~47px. Tighten padding/gap so it fits. */
    .about-stats { gap: .6rem; }
    .stat-card { padding: 1rem .75rem; }
    .stat-number { font-size: 1.8rem; }
}
