/* Design system: "CRM & Client Management" — professional blue + deal green,
   flat / Swiss, color-shift hovers at 150ms, no heavy shadows. */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-soft: #E4ECFC;
  --won: #059669;
  --won-soft: #DCFCE7;
  --amber: #D97706;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5FD;
  --text: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --navy: #0B1B3F;
  --radius: 14px;
  --t: 150ms ease;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #60A5FA; --primary-hover: #93C5FD; --primary-soft: #172554;
    --won: #34D399; --won-soft: #064E3B; --amber: #FBBF24;
    --bg: #0B1120; --surface: #111A2E; --surface-2: #0F172A;
    --text: #E2E8F0; --muted: #94A3B8; --line: #1E293B; --navy: #0A1530;
  }
}
:root[data-theme="dark"] {
  --primary: #60A5FA; --primary-hover: #93C5FD; --primary-soft: #172554;
  --won: #34D399; --won-soft: #064E3B; --amber: #FBBF24;
  --bg: #0B1120; --surface: #111A2E; --surface-2: #0F172A;
  --text: #E2E8F0; --muted: #94A3B8; --line: #1E293B; --navy: #0A1530;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 14px 22px; }
.btn-primary { background: #2563EB; color: #fff; }
.btn-primary:hover { background: #1D4ED8; color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: #1D4ED8; }
.btn-white:hover { background: #E4ECFC; color: #1D4ED8; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 10px;
  transition: color var(--t), border-color var(--t);
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }
.mark { width: 32px; height: 32px; border-radius: 8px; background: #2563EB; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  color: var(--won); background: var(--won-soft); padding: 6px 12px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--won); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 20px 0 18px; font-weight: 800; }
.hl { color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { color: var(--won); }

/* Pipeline preview */
.pipeline { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.pipe-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.pipe-title { display: block; font-weight: 700; }
.pipe-sub { font-size: .82rem; color: var(--muted); }
.badge { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-won { color: var(--won); background: var(--won-soft); }
.pipe-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pipe-col { background: var(--surface-2); border-radius: 12px; padding: 10px; }
.col-head { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.sw { width: 8px; height: 8px; border-radius: 2px; }
.sw-1 { background: var(--amber); } .sw-2 { background: var(--primary); } .sw-3 { background: var(--won); }
.deal { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; transition: border-color var(--t); }
.deal:hover { border-color: var(--primary); }
.deal strong { display: block; font-size: .92rem; line-height: 1.3; }
.deal > span { display: block; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.deal-won { border-color: var(--won); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.tags i { font-style: normal; font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); }
.deal-won .tags i { background: var(--won-soft); color: var(--won); }
.pipe-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), var(--primary) 45%, var(--won)); }

/* Logos strip */
.logos { border-block: 1px solid var(--line); padding: 28px 0; background: var(--surface); }
.logos-label { text-align: center; color: var(--muted); font-size: .85rem; margin: 0 0 18px; font-weight: 500; }
.logo-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.logo-row li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); opacity: .85; transition: opacity var(--t), color var(--t); }
.logo-row li:hover { opacity: 1; color: var(--text); }
.lg { width: 22px; height: 22px; border-radius: 6px; display: inline-block; }
.lg-sheets { background: #0F9D58; } .lg-script { background: #F4B400; } .lg-py { background: #3776AB; }
.lg-sql { background: #00758F; } .lg-java { background: #E76F00; } .lg-c { background: #5C6BC0; }
.lg-office { background: #D83B01; } .lg-linux { background: #334155; }

/* Stats */
.stats-band { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { padding: 4px 20px; border-left: 3px solid var(--primary); }
.stats div:last-child { border-color: var(--won); }
.stats strong { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

/* Showcase */
.showcase {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: var(--navy); color: #E2E8F0; border-radius: 20px; padding: 44px; margin-bottom: 24px;
}
.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(96,165,250,.18); color: #93C5FD; }
.showcase h3 { font-size: 1.9rem; color: #fff; margin: 14px 0 12px; }
.showcase p { color: #CBD5E1; margin: 0 0 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #059669 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.flow { display: grid; gap: 0; }
.flow-step {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: border-color var(--t), background var(--t);
}
.flow-step:hover { border-color: #60A5FA; background: rgba(96,165,250,.08); }
.flow-step strong { display: block; color: #fff; }
.flow-step span { font-size: .85rem; color: #94A3B8; }
.flow-n { font-weight: 800; font-size: .85rem !important; color: #60A5FA !important; width: 28px; }
.flow-won { border-color: rgba(52,211,153,.5); background: rgba(5,150,105,.12); }
.flow-won .flow-n { color: #34D399 !important; }
.flow-arrow { width: 2px; height: 14px; background: rgba(255,255,255,.18); margin-left: 31px; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color var(--t); }
.feature:hover { border-color: var(--primary); }
.f-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: border-color var(--t); }
.story:hover { border-color: var(--won); }
.story-store { font-weight: 700; font-size: .9rem; color: var(--muted); }
.story-metric { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--won); line-height: 1.1; margin: 12px 0; }
.story-metric small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.story p { color: var(--text); margin: 0 0 20px; flex: 1; }
.story-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.tag-green { background: var(--won-soft); color: var(--won); }

/* Experience */
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.edu { margin-top: 36px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.edu strong { display: block; font-size: 1.05rem; }
.edu span:last-child { color: var(--muted); font-size: .92rem; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 36px 28px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary);
}
.timeline > li.current::before { background: var(--won); border-color: var(--won); }
.t-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 8px; }
.t-head h3 { font-size: 1.1rem; }
.t-head span { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.timeline ul { margin: 0; padding-left: 18px; color: var(--muted); }
.timeline ul li { margin: 4px 0; }

/* Skills */
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.skill-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.skill-card h3 { font-size: 1rem; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font-size: .88rem; padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.langs li { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.langs li:last-child { border-bottom: 0; padding-bottom: 0; }
.langs b { color: var(--primary); font-weight: 600; }

/* CTA band */
.cta-band { background: #1D4ED8; background: linear-gradient(135deg, #1E40AF, #2563EB); color: #fff; padding: 88px 0; text-align: center; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.cta-inner > p { color: #DBEAFE; font-size: 1.12rem; margin: 14px auto 30px; max-width: 34em; }
.cta-note { margin-top: 24px !important; font-size: .95rem !important; }
.cta-note a { color: #fff; }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .showcase, .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .features, .stories { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 0; gap: 0; }
  .mark { font-size: .8rem; }
  .features, .stories, .skill-grid { grid-template-columns: 1fr; }
  .pipe-cols { grid-template-columns: 1fr; }
  .showcase { padding: 28px 20px; }
  .section { padding: 64px 0; }
  .t-head { flex-direction: column; gap: 2px; }
  .stats strong { font-size: 2rem; }
  .btn-lg { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Print -> clean CV */
@media print {
  :root { --bg:#fff; --surface:#fff; --surface-2:#f5f7fb; --text:#000; --muted:#444; --line:#ddd; --navy:#fff; }
  body { font-size: 11px; }
  .nav, .logos, .cta-row, .footer, .icon-btn, .eyebrow { display: none !important; }
  .hero, .section, .stats-band, .cta-band { padding: 14px 0; }
  .hero-grid, .showcase, .two-col { grid-template-columns: 1fr; gap: 12px; }
  .pipeline { display: none; }
  .showcase { color: #000; padding: 0; border: 0; }
  .showcase h3, .flow-step strong { color: #000; }
  .showcase p, .flow-step span { color: #444; }
  .flow { display: none; }
  .section-head { text-align: left; margin: 0 0 10px; max-width: none; }
  .features, .stories { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .feature, .story, .skill-card { padding: 10px; break-inside: avoid; }
  .cta-band { background: none; color: #000; text-align: left; }
  .cta-inner > p, .cta-note a { color: #000; }
  section { break-inside: avoid-page; }
}
