/* ============================================
   PACKNIX - Clean One-Pager with Light/Dark Theme
   ============================================ */

/* ---- DARK THEME (default) ---- */
:root,
[data-theme="dark"] {
  --bg: #060a14;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --surface-card: rgba(15, 23, 42, 0.6);
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --text-muted: #64748b;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.15);
  --accent-glow: rgba(249, 115, 22, 0.4);
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.12);
  --cyan: #06b6d4;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(249, 115, 22, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(6, 10, 20, 0.6);
  --header-scroll: rgba(6, 10, 20, 0.92);
  --grid-line: rgba(255, 255, 255, 0.02);
  --mesh-blue: rgba(59, 130, 246, 0.06);
  --mesh-orange: rgba(249, 115, 22, 0.04);
  --mesh-cyan: rgba(6, 182, 212, 0.03);
  --orb-blue: rgba(59, 130, 246, 0.15);
  --orb-orange: rgba(249, 115, 22, 0.1);
  --ring-bg: rgba(255, 255, 255, 0.06);
  --dash-bg: rgba(8, 12, 24, 0.9);
  --dash-cell: rgba(255, 255, 255, 0.02);
  --mobile-panel: rgba(15, 23, 42, 0.95);
  --footer-bg: rgba(6, 10, 20, 0.8);
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg: #f8fafc;
  --surface: rgba(0, 0, 0, 0.02);
  --surface-hover: rgba(0, 0, 0, 0.04);
  --surface-card: rgba(255, 255, 255, 0.7);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --accent: #ea580c;
  --accent-soft: rgba(234, 88, 12, 0.1);
  --accent-glow: rgba(234, 88, 12, 0.25);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --cyan: #0891b2;
  --border: rgba(0, 0, 0, 0.07);
  --border-hover: rgba(0, 0, 0, 0.12);
  --border-accent: rgba(234, 88, 12, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --header-bg: rgba(248, 250, 252, 0.7);
  --header-scroll: rgba(248, 250, 252, 0.92);
  --grid-line: rgba(0, 0, 0, 0.03);
  --mesh-blue: rgba(37, 99, 235, 0.04);
  --mesh-orange: rgba(234, 88, 12, 0.03);
  --mesh-cyan: rgba(8, 145, 178, 0.02);
  --orb-blue: rgba(37, 99, 235, 0.08);
  --orb-orange: rgba(234, 88, 12, 0.06);
  --ring-bg: rgba(0, 0, 0, 0.06);
  --dash-bg: #ffffff;
  --dash-cell: rgba(0, 0, 0, 0.03);
  --mobile-panel: rgba(255, 255, 255, 0.97);
  --footer-bg: rgba(248, 250, 252, 0.9);
}

/* Shared constants */
:root {
  --content-width: min(1200px, calc(100% - 3rem));
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---- BACKGROUND ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
  transition: background-image 0.4s ease;
}
body::after {
  content: "";
  position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, var(--mesh-blue) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--mesh-orange) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--mesh-cyan) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
  animation: meshFloat 20s ease-in-out infinite alternate;
}
@keyframes meshFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-2%, 1%) rotate(1deg); }
}

/* ---- CONTAINER ---- */
.container { width: var(--content-width); margin: 0 auto; position: relative; z-index: 1; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; line-height: 1; }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: var(--header-scroll);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.nav-cluster { display: flex; align-items: center; gap: 1rem; }
.brand {
  font-family: "Manrope", sans-serif; font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text); position: relative;
}
.brand::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue)); border-radius: 2px; opacity: 0.6;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem; font-weight: 500; font-size: 0.92rem;
  color: var(--text-soft); border-radius: 999px; transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-hover); }
.nav-link.active { color: var(--accent); }

/* ---- THEME TOGGLE ---- */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--border); border-radius: 50%;
  background: var(--surface); color: var(--text-soft);
  cursor: pointer; transition: all 0.3s ease;
}
.theme-toggle:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-hover); }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: block; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: block; }

/* ---- BUTTONS ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; overflow: hidden;
}
.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%); color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--accent-glow); }
.button-secondary {
  background: transparent; color: var(--text); border-color: var(--border-hover);
  backdrop-filter: blur(8px);
}
.button-secondary:hover { transform: translateY(-2px); background: var(--surface-hover); border-color: var(--border-hover); }

/* ---- MOBILE MENU ---- */
.menu-toggle {
  display: none; width: 44px; height: 44px; place-items: center; padding: 0;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  color: var(--text); cursor: pointer;
}
.mobile-menu { display: none; padding: 0 1rem 1rem; }
.mobile-menu.is-open { display: grid; }
.mobile-panel {
  display: grid; gap: 0.5rem; padding: 1.25rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--mobile-panel); backdrop-filter: blur(20px); box-shadow: var(--shadow-card);
}
.mobile-panel .nav-link { padding: 0.75rem 0.5rem; font-size: 1rem; }

/* ---- EYEBROW ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid var(--border-accent); background: var(--accent-soft);
  color: var(--accent); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}

/* ===========================
   HERO
   =========================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 6rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, var(--orb-blue) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, var(--orb-orange) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.7; } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: orbFloat 12s ease-in-out infinite alternate; }
.hero-orb--1 { width: 500px; height: 500px; top: -10%; right: -5%; background: var(--orb-blue); }
.hero-orb--2 { width: 400px; height: 400px; bottom: -15%; left: -10%; background: var(--orb-orange); animation-delay: -4s; }
.hero-orb--3 { width: 300px; height: 300px; top: 40%; left: 50%; background: var(--mesh-cyan); animation-delay: -8s; }
@keyframes orbFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -30px) scale(1.05); } 100% { transform: translate(10px, -10px) scale(1.02); } }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 {
  margin: 1.25rem 0 1.5rem; font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800;
  line-height: 0.95; letter-spacing: -0.06em; color: var(--text);
}
.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 50%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content p { max-width: 560px; color: var(--text-soft); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 3rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); backdrop-filter: blur(8px);
  color: var(--text-soft); font-size: 0.85rem; font-weight: 600;
}
.hero-badge .material-symbols-outlined { font-size: 16px; color: var(--accent); }
.hero-image-wrap { position: absolute; top: 50%; right: -5%; transform: translateY(-50%); width: 45%; max-width: 600px; z-index: 1; }
.hero-image { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-card); object-fit: cover; aspect-ratio: 4/3; }

/* ===========================
   STATS BAR (Rings)
   =========================== */
.stats-bar { position: relative; padding: 0; margin-top: -3rem; z-index: 10; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--border); box-shadow: var(--shadow-card);
}
.stat-item {
  padding: 2rem 1.5rem; background: var(--surface-card);
  backdrop-filter: blur(16px); text-align: center; transition: background 0.3s ease;
}
[data-theme="light"] .stat-item { background: rgba(255, 255, 255, 0.8); }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-top: 0.5rem; }

/* Ring chart */
.ring-stat { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.ring-wrap { position: relative; width: 100px; height: 100px; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--ring-bg); stroke-width: 6; }
.ring-fill {
  fill: none; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 251.2; stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  filter: drop-shadow(0 0 6px var(--ring-color, var(--accent)));
}
.ring-wrap.animated .ring-fill { stroke-dashoffset: var(--ring-target); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-value { font-family: "Manrope", sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.ring-unit { font-size: 0.65rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.ring-pulse .ring-fill { animation: ringPulse 2s ease-in-out infinite; }
@keyframes ringPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.6); animation: liveBlink 1.5s ease-in-out infinite; margin-top: 4px; }
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===========================
   SECTIONS
   =========================== */
.section { position: relative; padding: 7rem 0; z-index: 1; }
.section-heading { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin-bottom: 3.5rem; }
.section-heading.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; max-width: 700px; }
.section-heading h2 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.05em; color: var(--text); }
.section-heading p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; }

/* ===========================
   SERVICES
   =========================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.service-card {
  position: relative; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface-card); backdrop-filter: blur(12px); transition: all 0.4s ease; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover { border-color: var(--border-hover); background: var(--surface-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem;
  border-radius: var(--radius-sm); background: var(--blue-soft); border: 1px solid rgba(59,130,246,0.15); color: var(--blue); transition: all 0.3s ease;
}
.service-card h3 { font-family: "Manrope", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); margin-bottom: 0.75rem; }
.service-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.7; }

/* ===========================
   TECHNOLOGY (Dashboard)
   =========================== */
.tech-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tech-content { display: flex; flex-direction: column; gap: 1.5rem; }
.tech-features { display: grid; gap: 1rem; }
.tech-feature { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: all 0.3s ease; }
.tech-feature:hover { border-color: var(--border-hover); background: var(--surface-hover); }
.tech-feature-icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); }
.tech-feature h4 { font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.tech-feature p { color: var(--text-soft); font-size: 0.88rem; line-height: 1.6; }

/* Mock Dashboard */
.mock-dashboard {
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--dash-bg); overflow: hidden; box-shadow: var(--shadow-card); position: relative;
}
.mock-dashboard::before {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(249,115,22,0.1), rgba(6,182,212,0.08)); z-index: -1;
}
.dash-header { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.dash-title { font-family: "Manrope", sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.dash-dots { display: flex; gap: 6px; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-dot--green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.dash-dot--amber { background: #f59e0b; }
.dash-dot--red { background: #ef4444; }
.dash-body { padding: 1.25rem; display: grid; gap: 1rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.dash-kpi { padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--dash-cell); }
.dash-kpi-label { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.35rem; }
.dash-kpi-value { font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.dash-kpi-value .kpi-accent { color: var(--accent); }
.dash-kpi-value .kpi-green { color: #22c55e; }
.dash-kpi-value .kpi-blue { color: var(--blue); }
.dash-chart { padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--dash-cell); }
.dash-chart-title { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.65rem; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mini-bar { flex: 1; border-radius: 4px 4px 0 0; transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); position: relative; }
.mini-bar::after { content: attr(data-label); position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 0.55rem; color: var(--text-muted); white-space: nowrap; }
.dash-chart .mini-bar { height: 0; }
.dash-chart.revealed .mini-bar:nth-child(1) { height: 42%; background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.4)); }
.dash-chart.revealed .mini-bar:nth-child(2) { height: 58%; background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.5)); }
.dash-chart.revealed .mini-bar:nth-child(3) { height: 45%; background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.4)); }
.dash-chart.revealed .mini-bar:nth-child(4) { height: 72%; background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.6)); }
.dash-chart.revealed .mini-bar:nth-child(5) { height: 88%; background: linear-gradient(to top, var(--accent), rgba(249,115,22,0.6)); }
.dash-chart.revealed .mini-bar:nth-child(6) { height: 65%; background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.5)); }
.dash-chart.revealed .mini-bar:nth-child(7) { height: 95%; background: linear-gradient(to top, var(--accent), rgba(249,115,22,0.7)); }
.dash-table { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.dash-table-header, .dash-table-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr; gap: 0.5rem; padding: 0.55rem 0.85rem; font-size: 0.68rem; }
.dash-table-header { background: var(--dash-cell); color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--border); }
.dash-table-row { color: var(--text-soft); border-bottom: 1px solid var(--surface); }
.dash-table-row:last-child { border-bottom: none; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.status-dot--shipped { background: #22c55e; }
.status-dot--packing { background: #f59e0b; }
.status-dot--received { background: var(--cyan); }
.dash-scan { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); animation: scanMove 4s ease-in-out infinite; opacity: 0.5; }
@keyframes scanMove { 0% { top: 0; } 50% { top: 100%; } 100% { top: 0; } }

/* ===========================
   WHY PACKNIX
   =========================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why-card {
  padding: 2rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface-card); backdrop-filter: blur(12px); text-align: center;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.why-card::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity 0.4s ease; }
.why-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.why-card:hover::after { opacity: 1; }
.why-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); }
.why-card h3 { font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; }
.why-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ===========================
   CTA
   =========================== */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, var(--mesh-orange) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 30%, var(--mesh-blue) 0%, transparent 50%);
}
.cta-card {
  position: relative; padding: 4rem 3rem; border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent); background: var(--surface-card);
  backdrop-filter: blur(16px); text-align: center; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--blue), transparent); }
.cta-card h2 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; color: var(--text); margin: 1rem 0 1rem; }
.cta-card > p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; max-width: 550px; margin: 0 auto 1.5rem; }
.cta-card .button-row { justify-content: center; }

/* CTA contact grid (two numbers) */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 760px; margin: 1rem auto 0;
}
.contact-block {
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
  padding: 1.75rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); transition: all 0.3s ease;
}
.contact-block:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateY(-3px);
}
.contact-region {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.contact-block .cta-phone { margin: 0; }
.contact-block .button-row { width: 100%; flex-wrap: nowrap; gap: 0.65rem; }
.contact-block .button { flex: 1; padding: 0.7rem 0.8rem; font-size: 0.85rem; }
.contact-block .button .material-symbols-outlined { font-size: 18px; }

/* CTA phone display */
.cta-phone {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--border-accent); border-radius: 999px;
  background: var(--accent-soft);
  font-family: "Manrope", sans-serif; font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent);
  transition: all 0.3s ease;
}
.cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  border-color: var(--accent);
}
.cta-phone .material-symbols-outlined { font-size: 20px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cta-phone { font-size: 1rem; padding: 0.55rem 1rem; }
  .contact-block .button { font-size: 0.8rem; padding: 0.65rem 0.6rem; }
}

/* ===========================
   FOOTER
   =========================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); background: var(--footer-bg); backdrop-filter: blur(12px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer-column h4 { font-family: "Manrope", sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-column p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.footer-column ul { display: grid; gap: 0.6rem; }
.footer-column li a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-column li a:hover { color: var(--text); }
.footer-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 0.8rem; font-weight: 800; }
.footer-badge .material-symbols-outlined { font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

/* ===========================
   ANIMATIONS
   =========================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===========================
   LEGAL PAGES
   =========================== */
.page-hero-legal { padding: 7rem 0 3rem; }
.page-hero-legal h1 { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; color: var(--text); margin: 1rem 0; line-height: 1.05; }
.page-hero-legal .lead { max-width: 600px; color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; }
.legal-layout { display: grid; gap: 1.5rem; padding: 3rem 0 5rem; }
.legal-card { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); backdrop-filter: blur(12px); }
.legal-card h2 { font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.legal-card p, .legal-card li { color: var(--text-soft); line-height: 1.75; }
.legal-card a { color: var(--accent); font-weight: 600; }
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 7rem 0 5rem; }
.error-page h1 { font-family: "Manrope", sans-serif; font-size: 6rem; font-weight: 800; color: var(--blue); letter-spacing: -0.06em; }
.error-page p { color: var(--text-soft); font-size: 1.1rem; margin: 1rem 0 2rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-image-wrap { display: none; }
  .hero-content { max-width: 100%; }
  .tech-layout { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero { padding: 7rem 0 5rem; min-height: auto; }
  .hero-content h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); letter-spacing: -0.05em; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -2rem; }
  .ring-wrap { width: 80px; height: 80px; }
  .ring-value { font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 3rem 1.5rem; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, 1200px); }
  .button-row { flex-direction: column; align-items: stretch; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badges { flex-direction: column; align-items: flex-start; }
}
