/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── CSS Variables — Light (default) ── */
html {
  color-scheme: light;
  --page-bg:    #fafafa;
  --page-fg:    #0f172a;
  --nav-bg:     rgba(250,250,250,0.92);
  --nav-border: rgba(0,0,0,0.07);
  --card-bg:    rgba(0,0,0,0.03);
  --card-border:rgba(0,0,0,0.08);
  --muted:      #64748b;
  --subtle:     rgba(0,0,0,0.05);
  --modal-bg:   #ffffff;
  --input-bg:   #f1f5f9;
  --grid-color: rgba(0,0,0,0.06);
  --accent:     #6366f1;
  --accent-l:   #818cf8;
  --green:      #10b981;
  --red:        #ef4444;
}
html.dark {
  color-scheme: dark;
  --page-bg:    #0a0a0f;
  --page-fg:    #f1f5f9;
  --nav-bg:     rgba(10,10,15,0.92);
  --nav-border: rgba(255,255,255,0.06);
  --card-bg:    rgba(255,255,255,0.02);
  --card-border:rgba(255,255,255,0.08);
  --muted:      #94a3b8;
  --subtle:     rgba(255,255,255,0.04);
  --modal-bg:   #1a1a26;
  --input-bg:   #12121a;
  --grid-color: rgba(255,255,255,0.04);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--page-bg);
  color: var(--page-fg);
  transition: background-color .35s ease, color .35s ease;
  min-height: 100vh;
}

/* ── Selection ── */
::selection { background: rgba(99,102,241,.2); color: #818cf8; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--page-bg); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Focus ── */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Utilities ── */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.mono { font-family: 'JetBrains Mono', 'Cascadia Code', monospace; }
.text-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.fluid-h2 { font-size: clamp(1.5rem, 2.8vw + .6rem, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-sep { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--card-border), transparent); }

/* ── Animations ── */
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cert-scroll    { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot      { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.8); } }
@keyframes bounce-scroll  { 0%,100% { transform:translateY(0); opacity:1; } 50% { transform:translateY(6px); opacity:.5; } }
@keyframes orb-float-1    { 0%,100% { transform:translate(0,0) scale(1); } 33% { transform:translate(30px,-40px) scale(1.05); } 66% { transform:translate(-20px,20px) scale(.95); } }
@keyframes orb-float-2    { 0%,100% { transform:translate(0,0) scale(1); } 33% { transform:translate(-40px,30px) scale(.95); } 66% { transform:translate(20px,-20px) scale(1.05); } }
@keyframes orb-float-3    { 0%,100% { transform:translate(0,0) scale(1); } 50% { transform:translate(20px,-30px) scale(1.03); } }
@keyframes spin           { to { transform: rotate(360deg); } }
@keyframes reveal-up      { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

.orb-1 { animation: orb-float-1 12s ease-in-out infinite; }
.orb-2 { animation: orb-float-2 16s ease-in-out infinite; }
.orb-3 { animation: orb-float-3 20s ease-in-out infinite; }
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }
.bounce-scroll { animation: bounce-scroll 2s ease-in-out infinite; }

/* ── ScrollReveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity .5s ease; }
.reveal-fade.visible { opacity: 1; }

/* ── Stagger children ── */
.stagger > .reveal:nth-child(1) { transition-delay: .0s; }
.stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.stagger > .reveal:nth-child(4) { transition-delay: .3s; }
.stagger > .reveal:nth-child(5) { transition-delay: .4s; }
.stagger > .reveal:nth-child(6) { transition-delay: .5s; }

/* ── BG Grid ── */
.bg-grid {
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Noise overlay ── */
.noise-overlay { position: relative; }
.noise-overlay::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .028; mix-blend-mode: overlay;
}
.noise-overlay > * { position: relative; z-index: 1; }

/* ── Gradient border on hover ── */
@property --border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes border-rotate { to { --border-angle: 360deg; } }
.gradient-border { position: relative; transition: border-color .3s; }
.gradient-border:hover {
  animation: border-rotate 6s linear infinite;
  border: 1px solid transparent !important;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    conic-gradient(from var(--border-angle), rgba(99,102,241,.45), rgba(139,92,246,.35), rgba(6,182,212,.35), rgba(16,185,129,.35), rgba(99,102,241,.45)) border-box;
}

/* ────────────────────────── NAVIGATION ────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .3s;
}
.nav.scrolled {
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.nav-inner {
  max-width: 72rem; margin: 0 auto; padding: 0 1.5rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.nav-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  transition: opacity .3s; opacity: 0;
}
.nav.scrolled .nav-progress { opacity: 1; }
.nav-logo { font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1.25rem; letter-spacing: -.05em; text-decoration: none; }
.nav-logo .pr { color: var(--accent); }
.nav-logo .four { color: var(--muted); }
.nav-logo .web { color: var(--page-fg); }
.nav-links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  padding: .5rem 1rem; font-size: .875rem; border-radius: .5rem; cursor: pointer;
  color: var(--muted); background: none; border: none; font-family: inherit;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--page-fg); background: rgba(0,0,0,.05); }
html.dark .nav-link:hover { background: rgba(255,255,255,.05); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.theme-btn {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem; border: 1px solid var(--card-border);
  background: var(--subtle); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.theme-btn:hover { color: var(--page-fg); }
.theme-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta {
  display: none; align-items: center; gap: .375rem; padding: .5rem 1rem;
  border-radius: .75rem; font-size: .875rem; font-weight: 600; cursor: pointer;
  background: var(--accent); color: #fff; border: none; font-family: inherit;
  transition: all .2s;
}
@media (min-width: 768px) { .nav-cta { display: flex; } }
.nav-cta:hover { background: #4f46e5; box-shadow: 0 8px 25px rgba(99,102,241,.3); }
.nav-burger {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: .5rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); color: var(--muted); cursor: pointer;
}
@media (min-width: 768px) { .nav-burger { display: none; } }
.nav-mobile {
  position: fixed; top: 4rem; left: 0; right: 0; z-index: 40;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: var(--nav-bg); border-bottom: 1px solid var(--nav-border);
  padding: 1rem 1.5rem; display: none; flex-direction: column; gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  text-align: left; padding: .75rem 1rem; border-radius: .75rem;
  color: var(--muted); background: none; border: none; font-family: inherit; font-size: .875rem; cursor: pointer;
  transition: color .15s;
}
.nav-mobile-link:hover { color: var(--page-fg); }
.nav-mobile-cta {
  margin-top: .5rem; padding: .75rem; border-radius: .75rem; border-top: 1px solid rgba(255,255,255,.05);
}
.nav-mobile-cta button {
  width: 100%; padding: .75rem; border-radius: .75rem; background: var(--accent);
  color: #fff; font-size: .875rem; font-weight: 600; font-family: inherit; border: none; cursor: pointer;
}

/* ────────────────────────── HERO ────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden;
  background: var(--page-bg); transition: background .5s ease;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-panel-left { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; }
@media (min-width: 640px) { .hero-panel-left { width: 50%; } }
.hero-panel-right { display: none; position: absolute; top: 0; bottom: 0; right: 0; width: 50%; }
@media (min-width: 640px) { .hero-panel-right { display: block; } }

.hero-frame {
  position: absolute; inset: 0;
  background-size: auto 65%; background-position: center top; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-frame.active { opacity: 1; }
@media (min-width: 640px) {
  .hero-frame { background-size: 200% 100%; background-position: left center; }
}
.hero-frame-right {
  position: absolute; inset: 0;
  background-size: 200% 100%; background-position: right center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .65s ease-in-out;
}
.hero-frame-right.active { opacity: 1; }
.hero-grad { position: absolute; inset: 0; pointer-events: none; transition: opacity .65s ease-in-out; }
.hero-orb {
  position: absolute; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, #6366f1 0%, transparent 65%);
  width: 500px; height: 500px; top: -160px; left: 25%;
  opacity: .06; filter: blur(0);
}

.hero-content {
  position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; justify-content: center;
  max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem 5rem; width: 100%;
}
@media (min-width: 640px) { .hero-content { padding-top: 8rem; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1rem;
  border-radius: 9999px; border: 1px solid rgba(16,185,129,.3); background: rgba(16,185,129,.1);
  color: #10b981; font-size: .875rem; font-weight: 500; margin-bottom: 2rem;
}
.hero-badge .dot { width: .5rem; height: .5rem; border-radius: 9999px; background: #10b981; }
.hero-h1 {
  font-size: clamp(2.25rem, 6vw + .5rem, 4.5rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.07; margin-bottom: 1.5rem;
  color: var(--page-fg);
}
.hero-sub { font-size: 1.125rem; max-width: 38rem; line-height: 1.7; margin-bottom: 1rem; color: var(--muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.hero-tag {
  padding: .25rem .75rem; border-radius: .5rem; font-size: .875rem; font-family: 'JetBrains Mono', monospace;
  background: var(--subtle); border: 1px solid var(--card-border); color: var(--muted);
}
.hero-ctas { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 4rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.75rem; border-radius: .75rem; font-size: 1rem; font-weight: 600;
  background: var(--accent); color: #fff; border: none; cursor: pointer; font-family: inherit;
  transition: all .2s; box-shadow: 0 0 20px rgba(99,102,241,.3), 0 0 40px rgba(99,102,241,.15);
}
.btn-primary:hover { background: #4f46e5; box-shadow: 0 0 30px rgba(99,102,241,.5), 0 0 60px rgba(99,102,241,.25); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.75rem; border-radius: .75rem; font-size: 1rem; font-weight: 600;
  background: var(--subtle); border: 1px solid var(--card-border); color: var(--page-fg);
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.btn-secondary:hover { background: var(--card-bg); }
.btn-sm {
  display: inline-flex; align-items: center; gap: .375rem; padding: .75rem 1.5rem;
  border-radius: .75rem; font-size: .875rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .2s;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--card-border); background: var(--card-border); gap: 1px; max-width: 56rem;
}
@media (min-width: 1024px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem;
  background: var(--page-bg);
}
.hero-stat-icon {
  width: 2.25rem; height: 2.25rem; border-radius: .625rem; flex-shrink: 0; margin-top: .125rem;
  background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center; color: #818cf8;
}
.hero-stat-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-stat-val { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 900; line-height: 1; margin-bottom: .25rem; color: var(--page-fg); }
.hero-stat-label { font-size: .875rem; font-weight: 600; color: var(--page-fg); }
.hero-stat-desc { font-size: .75rem; margin-top: .125rem; color: var(--muted); }

.hero-scroll {
  position: relative; z-index: 10; display: flex; justify-content: center; padding-bottom: 2rem;
}
.hero-scroll-btn {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer;
  color: var(--muted); opacity: .5; background: none; border: none; font-family: inherit;
}
.hero-scroll-btn span { font-size: .75rem; font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }

/* ────────────────────────── MARQUEE ────────────────────────── */
.marquee-wrap { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); overflow: hidden; }
.marquee-inner { display: flex; white-space: nowrap; animation: marquee-scroll 28s linear infinite; width: max-content; }
.marquee-text { font-family: 'JetBrains Mono', monospace; font-size: .875rem; color: var(--muted); padding: .75rem 3rem; }

/* ────────────────────────── SECTION BASE ────────────────────────── */
section { position: relative; padding: 7rem 0; }
@media (max-width: 639px) { section { padding: 3.5rem 0 !important; } }
.section-badge {
  display: inline-block; padding: .375rem 1rem; border-radius: 9999px; font-size: .75rem;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-badge-indigo { border: 1px solid rgba(99,102,241,.3); background: rgba(99,102,241,.1); color: #818cf8; }
.section-badge-violet { border: 1px solid rgba(139,92,246,.3); background: rgba(139,92,246,.1); color: #a78bfa; }
.section-badge-cyan   { border: 1px solid rgba(6,182,212,.3);  background: rgba(6,182,212,.1);  color: #22d3ee; }
.section-badge-amber  { border: 1px solid rgba(245,158,11,.3); background: rgba(245,158,11,.1); color: #fbbf24; }

/* ────────────────────────── BENEFITS ────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-card {
  position: relative; border-radius: 1rem; padding: 1.75rem; overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--card-border);
  transition: all .3s; cursor: default;
}
.benefit-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,.15); }
.benefit-icon-wrap { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.benefit-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-label { font-size: .75rem; font-family: 'JetBrains Mono', monospace; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.benefit-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.35; color: var(--page-fg); }
.benefit-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; color: var(--muted); }
.benefit-points { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.benefit-point { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--muted); }
.benefit-point svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-indigo { background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2); color: #818cf8; }
.c-violet  { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); color: #a78bfa; }
.c-cyan    { background: rgba(6,182,212,.1);  border: 1px solid rgba(6,182,212,.2);  color: #22d3ee; }
.c-amber   { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); color: #fbbf24; }
.c-green   { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: #34d399; }
.c-rose    { background: rgba(244,63,94,.1);  border: 1px solid rgba(244,63,94,.2);  color: #fb7185; }

/* ────────────────────────── CASES ────────────────────────── */
.cases-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .375rem 1rem; border-radius: 9999px; font-size: .875rem; font-weight: 500;
  border: 1px solid var(--card-border); background: var(--subtle); color: var(--muted);
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  display: flex; flex-direction: column; border-radius: 1rem; border: 1px solid var(--card-border);
  background: var(--card-bg); overflow: hidden; text-decoration: none; color: inherit;
  transition: all .3s;
}
.case-card:hover { transform: translateY(-4px); }
.case-card-body { padding: 1.5rem; flex: 1; }
.case-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.case-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; }
.case-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-date { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1rem; }
.case-tag { padding: .125rem .5rem; border-radius: .375rem; font-size: .75rem; font-weight: 500; border: 1px solid; }
.case-title { font-weight: 700; font-size: .9375rem; line-height: 1.4; margin-bottom: .75rem; color: var(--page-fg); }
.case-desc { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.case-metrics { padding: 1rem 1.5rem; border-top: 1px solid var(--card-border); background: var(--subtle); display: flex; flex-wrap: wrap; gap: 1rem; }
.case-metric-val { font-family: 'JetBrains Mono', monospace; font-size: .875rem; font-weight: 900; color: var(--page-fg); }
.case-metric-hint { font-size: .75rem; color: var(--muted); }
.case-footer { padding: .625rem 1.5rem; border-top: 1px solid var(--card-border); background: var(--subtle); font-size: .75rem; color: var(--muted); }
.cases-cta { text-align: center; margin-top: 3rem; }
.cases-cta p { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.btn-accent {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem;
  border-radius: .75rem; background: var(--accent); color: #fff; font-size: .875rem; font-weight: 600;
  border: none; cursor: pointer; font-family: inherit; transition: all .2s; text-decoration: none;
}
.btn-accent:hover { background: #4f46e5; box-shadow: 0 8px 25px rgba(99,102,241,.3); }
.btn-accent svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ────────────────────────── ROI CALCULATOR ────────────────────────── */
.roi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .roi-grid { grid-template-columns: repeat(2, 1fr); } }
.roi-sliders { border-radius: 1rem; padding: 1.75rem; background: var(--card-bg); border: 1px solid var(--card-border); }
.roi-sliders h3 { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; color: var(--page-fg); }
.roi-sliders > p { font-size: .875rem; color: var(--muted); margin-bottom: 1.75rem; }
.slider-wrap { margin-bottom: 1.75rem; }
.slider-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.slider-label-wrap { display: flex; align-items: center; gap: .375rem; }
.slider-label { font-size: .875rem; font-weight: 500; color: var(--page-fg); }
.slider-val { font-family: 'JetBrains Mono', monospace; font-size: .875rem; font-weight: 700; color: var(--accent-l); }
.slider-track { position: relative; height: 1.25rem; display: flex; align-items: center; }
.slider-bg { position: absolute; left: 0; right: 0; height: 6px; border-radius: 9999px; background: var(--card-border); }
.slider-fill { position: absolute; height: 6px; border-radius: 9999px; background: #4f46e5; left: 0; }
.slider-thumb { position: absolute; width: 1rem; height: 1rem; border-radius: 9999px; background: var(--accent); border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); pointer-events: none; margin-left: -8px; }
input[type=range] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; z-index: 1; height: 1.25rem; }
.slider-range { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.roi-results { display: flex; flex-direction: column; gap: 1.25rem; }
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (max-width: 640px) { .result-cards { grid-template-columns: 1fr; } }
.result-card { border-radius: .75rem; padding: 1rem; background: var(--subtle); border: 1px solid var(--card-border); }
.result-card-top { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.result-card-top svg { width: 15px; height: 15px; color: var(--accent); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.result-card-title { font-size: .75rem; font-weight: 500; color: var(--muted); }
.result-row { display: flex; align-items: flex-end; justify-content: space-between; }
.result-before-label, .result-after-label { font-size: .75rem; color: var(--muted); margin-bottom: .125rem; }
.result-before-val { font-family: 'JetBrains Mono', monospace; font-size: .875rem; font-weight: 700; color: var(--page-fg); }
.result-after-val { font-family: 'JetBrains Mono', monospace; font-size: .875rem; font-weight: 900; color: var(--accent-l); white-space: nowrap; text-align: right; }
.result-delta { margin-top: .5rem; font-size: .75rem; font-weight: 600; font-family: 'JetBrains Mono', monospace; color: #34d399; }
.roi-chart-wrap { border-radius: 1rem; padding: 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border); }
.roi-chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.roi-chart-header p { font-size: .875rem; font-weight: 600; color: var(--page-fg); }
.roi-chart-legend { display: flex; align-items: center; gap: 1rem; font-size: .75rem; color: var(--muted); }
.roi-chart-legend span { display: flex; align-items: center; gap: .375rem; }
.roi-chart-legend .dot { width: .625rem; height: .625rem; border-radius: 9999px; display: inline-block; }
#roi-svg { width: 100%; display: block; }
.roi-note { border-radius: .75rem; padding: 1rem; background: var(--subtle); font-size: .75rem; color: var(--muted); line-height: 1.7; }
.roi-note strong { color: var(--page-fg); display: block; margin-bottom: .25rem; font-size: .8125rem; }
.roi-note hr { border: none; border-top: 1px solid var(--card-border); margin: .5rem 0; }

/* ────────────────────────── PROCESS ────────────────────────── */
.process-timeline { display: none; margin-bottom: 2rem; }
@media (min-width: 1024px) { .process-timeline { display: block; } }
.process-line-wrap { position: relative; display: flex; align-items: center; margin-bottom: 2.5rem; padding: 0 10%; }
.process-track { position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--card-border); }
.process-track-fill { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.4,0,.2,1); }
.process-track-fill.animated { transform: scaleX(1); }
.process-circles { position: relative; z-index: 10; width: 100%; display: flex; justify-content: space-between; }
.process-circle {
  width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1rem; color: #fff;
  box-shadow: 0 0 0 4px var(--page-bg), 0 0 0 5px currentColor;
  transform: scale(0); opacity: 0; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s;
}
.process-circle.animated { transform: scale(1); opacity: 1; }
.process-cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.process-card {
  border-radius: 1rem; padding: 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border);
  transition: transform .3s;
}
.process-card:hover { transform: translateY(-4px); }
.process-card-icon { width: 2.25rem; height: 2.25rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.process-card-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { font-weight: 700; font-size: .875rem; margin-bottom: .375rem; color: var(--page-fg); }
.process-card p { font-size: .75rem; line-height: 1.6; margin-bottom: .75rem; color: var(--muted); }
.process-output { display: inline-block; padding: .25rem .625rem; border-radius: .5rem; font-size: .75rem; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.process-mobile { display: block; }
@media (min-width: 1024px) { .process-mobile { display: none; } }
.process-mobile-list { display: flex; flex-direction: column; gap: 0; }
.process-mobile-item { display: flex; gap: 1rem; }
.process-mobile-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.process-mobile-circle { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: .875rem; color: #fff; flex-shrink: 0; }
.process-mobile-line { width: 1px; flex: 1; margin: .5rem 0; background: var(--card-border); min-height: 2rem; }
.process-mobile-right { padding-bottom: 1.5rem; }
.process-mobile-right h3 { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; color: var(--page-fg); }
.process-mobile-right p { font-size: .875rem; line-height: 1.6; margin-bottom: .75rem; color: var(--muted); }
.process-facts { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .process-facts { grid-template-columns: repeat(3, 1fr); } }
.process-fact { display: flex; align-items: flex-start; gap: .75rem; border-radius: .75rem; padding: 1rem; background: var(--subtle); border: 1px solid var(--card-border); }
.process-fact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process-fact p { font-size: .875rem; line-height: 1.6; color: var(--muted); }

/* ────────────────────────── AI STACK ────────────────────────── */
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-card { display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; border: 1px solid var(--card-border); background: var(--card-bg); }
.ai-card-head { padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid var(--card-border); }
.ai-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.ai-letter { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1.25rem; }
.ai-company { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--muted); }
.ai-name { font-size: 1.25rem; font-weight: 800; margin-bottom: .25rem; color: var(--page-fg); }
.ai-tagline { font-size: .875rem; font-weight: 500; }
.ai-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.ai-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; color: var(--muted); }
.ai-uses { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.ai-use { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--muted); }
.ai-use svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-expand-btn { margin-top: .75rem; display: flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 500; background: none; border: none; cursor: pointer; font-family: inherit; color: var(--muted); }
.ai-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--card-border); background: var(--subtle); }
.ai-footer-badge { display: inline-block; font-size: .75rem; font-family: 'JetBrains Mono', monospace; font-weight: 600; padding: .125rem .5rem; border-radius: .375rem; margin-bottom: .5rem; }
.ai-footer-text { font-size: .75rem; line-height: 1.6; color: var(--muted); }
.ai-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ai-stats { grid-template-columns: repeat(3, 1fr); } }
.ai-stat { border-radius: .75rem; padding: 1.25rem 1.5rem; text-align: center; background: var(--subtle); border: 1px solid var(--card-border); }
.ai-stat-val { font-family: 'JetBrains Mono', monospace; font-size: 1.875rem; font-weight: 900; color: var(--accent); margin-bottom: .25rem; }
.ai-stat-label { font-size: .875rem; font-weight: 600; color: var(--page-fg); margin-bottom: .125rem; }
.ai-stat-sub { font-size: .75rem; color: var(--muted); }

/* ────────────────────────── TOOLS ────────────────────────── */
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-card { display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; border: 1px solid var(--card-border); background: var(--card-bg); transition: transform .3s; }
.tool-card:hover { transform: translateY(-4px); }
.tool-terminal { padding: .75rem 1rem 1rem; font-family: 'JetBrains Mono', monospace; font-size: .75rem; line-height: 1.6; border-bottom: 1px solid rgba(255,255,255,.08); background: #0d0d14; }
html:not(.dark) .tool-terminal { background: #1e1e30; }
.tool-terminal-dots { display: flex; align-items: center; gap: .375rem; margin-bottom: .75rem; }
.tool-terminal-dots span { width: .625rem; height: .625rem; border-radius: 9999px; }
.tool-terminal-id { margin-left: .5rem; font-size: .625rem; color: rgba(255,255,255,.2); }
.tool-terminal-line { display: flex; gap: .5rem; }
.tool-terminal-line .prompt { opacity: .6; }
.tool-cursor { display: inline-block; width: 6px; height: 14px; margin-top: 2px; opacity: .7; animation: pulse-dot 1s ease-in-out infinite; }
.tool-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.tool-body-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.tool-icon { width: 2.25rem; height: 2.25rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; }
.tool-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-status { display: flex; align-items: center; gap: .375rem; font-size: .75rem; font-family: 'JetBrains Mono', monospace; color: var(--muted); }
.tool-status-dot { width: .375rem; height: .375rem; border-radius: 9999px; background: #10b981; }
.tool-name { font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1rem; margin-bottom: .25rem; color: var(--page-fg); }
.tool-tagline { font-size: .75rem; font-weight: 500; margin-bottom: .75rem; }
.tool-desc { font-size: .875rem; line-height: 1.6; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.tool-metrics, .tool-stack { display: flex; flex-wrap: wrap; gap: .5rem; }
.tool-metrics { margin-bottom: .75rem; }
.tool-metric { padding: .25rem .625rem; border-radius: .5rem; font-size: .75rem; font-weight: 600; border: 1px solid; }
.tool-stack-item { padding: .125rem .5rem; border-radius: .25rem; font-size: .75rem; font-family: 'JetBrains Mono', monospace; background: var(--subtle); color: var(--muted); border: 1px solid var(--card-border); }
.tools-cta { border-radius: 1rem; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; justify-content: space-between; background: var(--card-bg); border: 1px solid var(--card-border); }
@media (min-width: 640px) { .tools-cta { flex-direction: row; align-items: center; } }
.tools-cta p.title { font-weight: 700; font-size: 1rem; color: var(--page-fg); margin-bottom: .25rem; }
.tools-cta p.sub { font-size: .875rem; color: var(--muted); }

/* ────────────────────────── CERTIFICATES ────────────────────────── */
#certificates { overflow: hidden; }
.cert-mobile { overflow-x: auto; padding: 0 1rem 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cert-mobile::-webkit-scrollbar { display: none; }
.cert-mobile-inner { display: flex; gap: 1rem; width: max-content; }
.cert-desktop { position: relative; overflow: hidden; display: none; }
@media (min-width: 640px) { .cert-mobile { display: none; } .cert-desktop { display: block; } }
.cert-desktop-mask { mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); }
.cert-track { display: flex; gap: 1rem; padding: 0 1rem; width: max-content; animation: cert-scroll 55s linear infinite; }
.cert-track.paused { animation-play-state: paused; }
.cert-card {
  position: relative; flex-shrink: 0; border-radius: .75rem; overflow: hidden; cursor: zoom-in; user-select: none;
  border: 1px solid var(--card-border); background: var(--card-bg); height: 280px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cert-card img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.cert-card-hover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,.15); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s;
}
.cert-card:hover .cert-card-hover { opacity: 1; }
.cert-card-hover svg { width: 28px; height: 28px; color: #fff; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.cert-note { text-align: center; font-size: .75rem; font-family: 'JetBrains Mono', monospace; margin-top: 2rem; color: var(--muted); opacity: .5; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,.85); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; pointer-events: none;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem;
  border-radius: 9999px; background: rgba(255,255,255,.1); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: .75rem; display: block; box-shadow: 0 25px 60px rgba(0,0,0,.5); }

/* ────────────────────────── FAQ ────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border-radius: .75rem; overflow: hidden; border: 1px solid var(--card-border); transition: background .2s; }
.faq-item.open { background: var(--card-bg); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; text-align: left; cursor: pointer; background: none; border: none; font-family: inherit;
}
.faq-q { font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--page-fg); }
.faq-icon {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  background: var(--subtle); color: var(--muted); display: flex; align-items: center; justify-content: center;
}
.faq-icon svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 1.25rem 1.25rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }

/* ────────────────────────── CONTACT ────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1rem;
  border: 1px solid var(--card-border); background: var(--card-bg);
  text-decoration: none; color: inherit; transition: all .2s;
}
.contact-link:hover .contact-link-val { color: var(--accent); }
.contact-link-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-link-meta { font-size: .75rem; color: var(--muted); margin-bottom: .125rem; }
.contact-link-val { font-size: .875rem; font-weight: 600; color: var(--page-fg); transition: color .2s; }
.contact-available { display: flex; align-items: center; gap: .625rem; padding: .75rem 1rem; border-radius: .75rem; border: 1px solid rgba(16,185,129,.25); background: rgba(16,185,129,.06); }
.contact-available span { font-size: .875rem; font-weight: 500; color: #10b981; }
.contact-hint { border-radius: .75rem; padding: 1rem; border: 1px solid var(--card-border); background: var(--subtle); font-size: .75rem; line-height: 1.7; color: var(--muted); }
.contact-form-wrap { border-radius: 1rem; padding: 1.75rem; border: 1px solid var(--card-border); background: var(--modal-bg); }
.form-field { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; color: var(--page-fg); }
.form-input {
  width: 100%; padding: .75rem 1rem; border-radius: .75rem; font-size: .875rem;
  background: var(--input-bg); border: 1px solid var(--card-border); color: var(--page-fg);
  font-family: inherit; outline: none; transition: border-color .2s;
}
.form-input::placeholder { color: var(--muted); opacity: .6; }
.form-input:focus { border-color: var(--accent); }
textarea.form-input { resize: none; }
.form-budget { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
@media (min-width: 480px) { .form-budget { grid-template-columns: repeat(3, 1fr); } }
.budget-btn {
  padding: .625rem .75rem; border-radius: .625rem; font-size: .8125rem; font-weight: 500;
  border: 1px solid var(--card-border); background: var(--input-bg); color: var(--muted);
  cursor: pointer; font-family: inherit; transition: all .2s; text-align: center;
}
.budget-btn.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.form-error { margin-top: .25rem; font-size: .75rem; color: #fb7185; display: flex; align-items: center; gap: .25rem; }
.form-error svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; border-radius: .75rem; font-size: 1rem; font-weight: 600;
  background: var(--accent); color: #fff; border: none; cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.form-submit:hover { background: #4f46e5; box-shadow: 0 8px 25px rgba(99,102,241,.3); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-spinner { width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 9999px; animation: spin .7s linear infinite; }
.form-notice { text-align: center; font-size: .75rem; color: rgba(255,255,255,.25); margin-top: .75rem; }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 0; text-align: center; gap: 1rem; }
.form-success-icon { width: 4rem; height: 4rem; border-radius: 9999px; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); display: flex; align-items: center; justify-content: center; }
.form-success-icon svg { width: 32px; height: 32px; color: #10b981; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.25rem; font-weight: 700; color: var(--page-fg); }
.form-success p { font-size: .875rem; color: var(--muted); max-width: 20rem; }
.form-success button { font-size: .875rem; color: var(--accent-l); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-family: inherit; margin-top: .5rem; }
.form-api-error { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: #fb7185; background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.2); border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1rem; }
.form-api-error svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ────────────────────────── FOOTER ────────────────────────── */
footer { border-top: 1px solid var(--card-border); background: var(--page-bg); }
.footer-inner { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.5rem; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo { font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1.125rem; letter-spacing: -.05em; text-decoration: none; }
.footer-logo .pr { color: var(--accent); }
.footer-logo .four { color: var(--muted); opacity: .5; }
.footer-logo .web { color: var(--page-fg); }
.footer-copy { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-nav a { font-size: .875rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--page-fg); }
.footer-tg { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-tg:hover { color: var(--page-fg); }
.footer-tg svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ────────────────────────── CONTACT MODAL ────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--modal-bg); border-radius: 1.25rem; padding: 2rem; width: 100%; max-width: 28rem; border: 1px solid var(--card-border); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-head h2 { font-size: 1.25rem; font-weight: 700; color: var(--page-fg); }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer; padding: 2px; }
.modal-close:hover { color: var(--page-fg); }
.modal-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
