/* ================================================================
   Inovandoweb — Design System
   Tema: dark futurista · dourado/âmbar · glassmorphism
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           oklch(0.16 0.03 260);
  --bg-alt:       oklch(0.13 0.03 265);
  --surface:      oklch(0.21 0.035 260);
  --surface-el:   oklch(0.26 0.04 260);
  --fg:           oklch(0.97 0.01 250);
  --fg-muted:     oklch(0.70 0.02 255);
  --primary:      oklch(0.83 0.16 80);
  --primary-glow: oklch(0.90 0.18 90);
  --primary-fg:   oklch(0.18 0.04 260);
  --accent:       oklch(0.70 0.18 245);
  --border:       oklch(0.32 0.04 260 / 60%);
  --input-bg:     oklch(0.28 0.04 260);
  --destructive:  oklch(0.65 0.22 25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, oklch(0.83 0.16 80), oklch(0.90 0.18 90));
  --grad-hero:    radial-gradient(ellipse at top right, oklch(0.83 0.16 80 / 0.18), transparent 55%),
                  radial-gradient(ellipse at bottom left, oklch(0.70 0.18 245 / 0.18), transparent 55%),
                  linear-gradient(180deg, oklch(0.16 0.03 260), oklch(0.13 0.03 265));
  --grad-surface: linear-gradient(160deg, oklch(0.22 0.04 260), oklch(0.18 0.035 262));

  /* Shadows */
  --shadow-glow:    0 0 40px oklch(0.83 0.16 80 / 0.35);
  --shadow-elegant: 0 20px 60px -20px oklch(0.05 0.03 260 / 0.6);
  --shadow-card:    0 8px 30px -10px oklch(0.05 0.03 260 / 0.5);

  /* Motion */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 94rem;
  --px:     1.5rem;
  --radius: 0.875rem;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: var(--grad-hero);
  background-attachment: fixed;
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

a  { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul  { list-style: none; }
textarea { font: inherit; }
input, textarea { color: var(--fg); }

::selection {
  background: oklch(0.83 0.16 80 / 0.35);
  color: oklch(0.97 0.01 250);
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: 4rem;
}

@media (min-width: 64rem) {
  .container { padding-inline: 2.5rem; }
}

/* ── Typography helpers ────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid oklch(0.83 0.16 80 / 0.3);
  background: oklch(0.83 0.16 80 / 0.06);
  color: var(--primary);
}

.label-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.text-gradient-gold {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: scale(1.05); }

.btn-ghost {
  background: oklch(0.22 0.04 260 / 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(0.97 0.01 250 / 0.08);
  color: var(--fg);
}
.btn-ghost:hover { border-color: oklch(0.83 0.16 80 / 0.4); }

.btn-outline-primary {
  border: 1px solid oklch(0.83 0.16 80 / 0.4);
  background: oklch(0.83 0.16 80 / 0.08);
  color: var(--primary);
}
.btn-outline-primary:hover { background: oklch(0.83 0.16 80 / 0.16); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.85rem; }
.btn svg { flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* ── Glass & Card ──────────────────────────────────────────────── */
.glass {
  background: oklch(0.22 0.04 260 / 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(0.97 0.01 250 / 0.08);
  border-radius: var(--radius);
}

.card {
  padding: 2rem;
  border-radius: calc(var(--radius) * 1.6);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: oklch(0.83 0.16 80 / 0.4) !important;
  transform: translateY(-4px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: calc(var(--radius) * 0.9);
  background: linear-gradient(135deg, oklch(0.83 0.16 80 / 0.2), oklch(0.83 0.16 80 / 0.05));
  border: 1px solid oklch(0.83 0.16 80 / 0.3);
  color: var(--primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* ── Grid background ───────────────────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(to right, oklch(0.97 0.01 250 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.97 0.01 250 / 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ── Tags / Pills ──────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: 'Space Grotesk', monospace;
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 260 / 0.6);
  color: var(--fg-muted);
}

/* ── Grid helpers ──────────────────────────────────────────────── */
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 40rem) { .grid-clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .grid-clients { grid-template-columns: repeat(5, 1fr); } }

/* ── Header ────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: var(--transition);
}
#site-header.scrolled {
  background: oklch(0.16 0.03 260 / 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid oklch(0.97 0.01 250 / 0.08);
  box-shadow: var(--shadow-elegant);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.header-logo img { height: 2.25rem; width: auto; transition: var(--transition); }
.header-logo:hover img { transform: scale(1.04); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 52rem) { .nav-desktop { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--fg); }

.nav-cta {
  display: none;
  margin-left: 0.5rem;
}
@media (min-width: 52rem) { .nav-cta { display: inline-flex; } }

.nav-robust {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid oklch(0.83 0.16 80 / 0.4);
  background: oklch(0.83 0.16 80 / 0.08);
  color: var(--primary);
  transition: var(--transition);
  margin-right: 0.5rem;
}
.nav-robust:hover { background: oklch(0.83 0.16 80 / 0.16); }
.nav-robust img { height: 1rem; width: auto; }

/* ── Mobile menu button ────────────────────────────────────────── */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--fg);
  border-radius: var(--radius);
  transition: var(--transition);
}
.menu-btn:hover { background: var(--surface); }
@media (min-width: 52rem) { .menu-btn { display: none; } }

/* ── Mobile menu ───────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: block; }
@media (min-width: 52rem) { #mobile-menu { display: none !important; } }

.mobile-menu-inner {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: oklch(0.16 0.03 260 / 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--fg);
  font-weight: 500;
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--surface); }
.mobile-nav-link.active { color: var(--primary); }

/* ── Footer ────────────────────────────────────────────────────── */
#site-footer {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.footer-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 48rem) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo { height: 2.5rem; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: var(--fg-muted); font-size: 0.9rem; max-width: 28rem; line-height: 1.7; }

.footer-heading { font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.02em; }

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: var(--transition);
}
.footer-link:hover { color: var(--primary); }
.footer-link svg { color: var(--primary); flex-shrink: 0; }

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
@media (min-width: 48rem) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.16 0.03 260 / 0.55) 0%,
    oklch(0.16 0.03 260 / 0.8) 60%,
    oklch(0.16 0.03 260 / 1) 100%
  );
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  animation: grid-move 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 9rem;
  padding-bottom: 6rem;
}
@media (min-width: 64rem) {
  .hero-content { padding-top: 11rem; padding-bottom: 8rem; }
}

.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  max-width: 52rem;
}

.hero-desc {
  margin-top: 1.75rem;
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 34rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Stats ─────────────────────────────────────────────────────── */
.stats-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 40rem) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  background: oklch(0.21 0.035 260 / 0.4);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

/* ── Robust CRM Banner ─────────────────────────────────────────── */
.robust-banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid oklch(0.83 0.16 80 / 0.4);
  box-shadow: var(--shadow-elegant);
  transition: var(--transition);
  display: block;
}
.robust-banner:hover { border-color: oklch(0.83 0.16 80 / 0.7); }

.robust-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(0.83 0.16 80 / 0.12), oklch(0.21 0.035 260), oklch(0.70 0.18 245 / 0.1));
}
.robust-banner-glow-a {
  position: absolute; top: -6rem; right: -6rem;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: oklch(0.83 0.16 80 / 0.25);
  filter: blur(3rem);
  animation: pulse-glow 3s ease-in-out infinite;
}
.robust-banner-glow-b {
  position: absolute; bottom: -6rem; left: -6rem;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: oklch(0.70 0.18 245 / 0.15);
  filter: blur(3rem);
}

.robust-banner-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .robust-banner-inner {
    grid-template-columns: 1fr auto;
    padding: 3rem;
  }
}

/* ── CRM Feature Section ───────────────────────────────────────── */
.crm-feature {
  position: relative;
  border-radius: calc(var(--radius) * 2.5);
  overflow: hidden;
  padding: 3rem 2rem;
}
@media (min-width: 64rem) {
  .crm-feature { padding: 4rem; }
}

.crm-feature-glow-a {
  position: absolute; top: -8rem; right: -8rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: oklch(0.83 0.16 80 / 0.12);
  filter: blur(4rem);
}
.crm-feature-glow-b {
  position: absolute; bottom: -8rem; left: -8rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: oklch(0.70 0.18 245 / 0.1);
  filter: blur(4rem);
}

.crm-feature-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .crm-feature-grid { grid-template-columns: 1fr 1fr; }
}

.crm-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: float 6s ease-in-out infinite;
}

.crm-logo { height: 3rem; width: auto; }
.crm-tagline { font-size: 0.9rem; color: var(--fg); font-weight: 500; }

.macbook {
  width: 100%;
  max-width: 32rem;
}
.macbook-screen {
  border-radius: 0.625rem 0.625rem 0 0;
  border: 1px solid oklch(0.97 0.01 250 / 0.12);
  border-bottom: none;
  background: oklch(0.14 0.03 260 / 0.6);
  padding: 0.5rem;
}
.macbook-display {
  border-radius: 0.375rem;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.macbook-display img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.macbook-base {
  position: relative;
  height: 0.75rem;
  margin-inline: -1rem;
  border-radius: 0 0 1rem 1rem;
  border: 1px solid oklch(0.97 0.01 250 / 0.12);
  background: oklch(0.14 0.03 260 / 0.6);
}
.macbook-notch {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 5rem; height: 0.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  border: 1px solid oklch(0.97 0.01 250 / 0.12);
  border-top: none;
  background: oklch(0.14 0.03 260 / 0.6);
}

/* ── Client logos ──────────────────────────────────────────────── */
.client-card {
  aspect-ratio: 3/2;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: calc(var(--radius) * 1.2);
  transition: var(--transition);
}
.client-card:hover {
  border-color: oklch(0.83 0.16 80 / 0.4) !important;
  transform: translateY(-4px);
}
.client-card img {
  max-height: 3rem;
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.client-card:hover img { opacity: 1; }

/* ── CTA section ───────────────────────────────────────────────── */
.cta-box {
  position: relative;
  border-radius: calc(var(--radius) * 2.5);
  overflow: hidden;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg,
    oklch(0.83 0.16 80 / 0.12),
    oklch(0.21 0.035 260),
    oklch(0.70 0.18 245 / 0.08)
  );
  border: 1px solid oklch(0.83 0.16 80 / 0.25);
}
@media (min-width: 48rem) { .cta-box { padding: 5rem 2rem; } }
.cta-box-content { position: relative; }
.cta-box-icon { display: inline-flex; margin: 0 auto 1rem; color: var(--primary); }

/* ── Section header ────────────────────────────────────────────── */
.section-header.centered { max-width: 90%; margin-inline: auto; text-align: center; }

.section-h2 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}
.section-p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ── About page ────────────────────────────────────────────────── */
.about-grid {
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text { space-y: 1.5rem; }
.about-text p { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--fg); font-weight: 600; }
.about-text .hl { color: var(--primary); font-weight: 600; }

.timeline-card {
  position: relative;
  padding: 2.5rem;
  border-radius: calc(var(--radius) * 2);
}
.timeline-glow {
  position: absolute; inset: -1.5rem;
  background: linear-gradient(135deg, oklch(0.83 0.16 80 / 0.12), oklch(0.70 0.18 245 / 0.08));
  border-radius: calc(var(--radius) * 2.5);
  filter: blur(1.5rem);
  z-index: -1;
}
.timeline-label { font-size: 0.7rem; font-family: monospace; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 1.25rem; }
.timeline-item { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; width: 5rem; flex-shrink: 0; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline-desc { color: var(--fg-muted); padding-top: 0.25rem; }

/* ── Services page ─────────────────────────────────────────────── */
.service-card-features {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.service-feature {
  font-size: 0.7rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 260 / 0.6);
  color: var(--fg-muted);
}

/* ── Cases page ────────────────────────────────────────────────── */
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.case-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.case-card-name { font-size: 1.375rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.case-card-city { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.25rem; }
.case-card-badge {
  margin-top: 1.5rem;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: monospace;
  background: oklch(0.83 0.16 80 / 0.12);
  color: var(--primary);
  border: 1px solid oklch(0.83 0.16 80 / 0.3);
}
.case-card-link {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.3s;
}
.case-card:hover .case-card-link { gap: 0.5rem; }
.case-card-glow {
  position: absolute;
  top: -3rem; right: -3rem;
  width: 10rem; height: 10rem;
  border-radius: 50%;
  background: oklch(0.83 0.16 80 / 0.08);
  filter: blur(2rem);
  opacity: 0;
  transition: opacity 0.4s;
}
.case-card:hover .case-card-glow { opacity: 1; }

/* ── Contact page ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.channels { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.channel-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) * 1.5);
  transition: var(--transition);
}
.channel-link:hover {
  border-color: oklch(0.83 0.16 80 / 0.4) !important;
  transform: translateY(-2px);
}
.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: calc(var(--radius) * 0.9);
  background: linear-gradient(135deg, oklch(0.83 0.16 80 / 0.2), oklch(0.83 0.16 80 / 0.05));
  border: 1px solid oklch(0.83 0.16 80 / 0.3);
  color: var(--primary);
  flex-shrink: 0;
}
.channel-info .channel-label { font-weight: 600; font-size: 0.9rem; }
.channel-info .channel-value { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.125rem; }
.channel-arrow { margin-left: auto; color: var(--primary); opacity: 0; transition: var(--transition); }
.channel-link:hover .channel-arrow { opacity: 1; }

.contact-form-card {
  position: relative;
  padding: 2rem;
  border-radius: calc(var(--radius) * 2);
}
@media (min-width: 40rem) { .contact-form-card { padding: 2.5rem; } }
.contact-form-glow {
  position: absolute;
  top: -5rem; right: -5rem;
  width: 16rem; height: 16rem;
  border-radius: 50%;
  background: oklch(0.83 0.16 80 / 0.1);
  filter: blur(3rem);
  pointer-events: none;
}

.form-fields { display: flex; flex-direction: column; gap: 1.25rem; }

.form-field label {
  display: block;
  font-size: 0.7rem;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) * 0.85);
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.83 0.16 80 / 0.15);
}
.form-input::placeholder { color: oklch(0.5 0.02 255); }

.form-textarea { resize: vertical; min-height: 7rem; }

.form-error {
  font-size: 0.875rem;
  color: var(--destructive);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: oklch(0.65 0.22 25 / 0.1);
  border: 1px solid oklch(0.65 0.22 25 / 0.3);
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: oklch(0.83 0.16 80 / 0.12);
  border: 1px solid oklch(0.83 0.16 80 / 0.3);
  color: var(--primary);
  margin: 0 auto 1.5rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--fg-muted); font-size: 0.9rem; }

/* ── Animations ────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px oklch(0.83 0.16 80 / 0.3); }
  50%       { box-shadow: 0 0 60px oklch(0.83 0.16 80 / 0.6); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

@keyframes grid-move {
  0%   { background-position: 0 0; }
  100% { background-position: 56px 56px; }
}

/* ── Scroll reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }
.reveal[data-d="4"] { transition-delay: 0.24s; }

/* ── Utilities ─────────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
