/* ═══ FAZ 3 — 21st.dev-inspired premium UI (vanilla CSS, content unchanged) ═══ */

:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(15, 23, 42, 0.06), 0 20px 40px rgba(var(--accent-rgb), 0.12);
  --shadow-featured: 0 0 0 1px rgba(var(--accent-rgb), 0.35), 0 24px 48px rgba(var(--accent-rgb), 0.15);
  --gradient-border: linear-gradient(135deg, rgba(var(--accent-rgb), 0.5), rgba(15, 23, 42, 0.08), rgba(var(--accent-rgb), 0.25));
  --gradient-hero: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(var(--accent-rgb), 0.14), transparent 65%);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] {
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 4px 8px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(var(--accent-rgb), 0.18);
  --glass: rgba(19, 19, 22, 0.75);
  --glass-border: rgba(244, 242, 239, 0.06);
  --gradient-hero: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(var(--accent-rgb), 0.12), transparent 65%);
}

/* Hero — room for floating nav */
.hero {
  padding-top: 10.5rem;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 8rem;
  }
}

/* Hero spotlight (mouse position via JS) */
.hero::after {
  content: "";
  position: absolute;
  width: min(900px, 90vw);
  height: min(700px, 80vh);
  top: var(--spot-y, 40%);
  left: var(--spot-x, 65%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
  transition: top 0.35s ease, left 0.35s ease;
}

[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14) 0%, transparent 62%);
}

/* Nav — floating glass bar (layout in index.html) */
nav {
  margin: 0.65rem clamp(0.75rem, 2vw, 1.25rem) 0;
  left: 0;
  right: 0;
  width: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

nav.sc {
  box-shadow: var(--shadow-card-hover);
  margin-top: 0.35rem;
}

[data-theme="light"] nav:not(.sc) {
  background: var(--glass);
}

[data-theme="dark"] nav:not(.sc) {
  background: var(--glass);
}

.nav-logo,
.nav-links a,
.nav-wa,
.nav-cta,
.theme-btn,
.nav-burger,
.lang-btn,
.nav-drawer-links a {
  cursor: pointer;
}

@media (max-width: 900px) {
  nav {
    margin: 0;
    border-radius: 0;
    width: 100%;
    left: 0;
    right: 0;
  }

  nav.sc {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  nav,
  .nav-drawer-panel,
  .nav-drawer-backdrop,
  .theme-btn svg,
  .nav-burger span {
    transition-duration: 0.01ms !important;
  }
}

/* Hero eyebrow — pill badge */
.hero-ey {
  background: var(--blue-dim);
  border: 1px solid var(--border-b);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.85rem;
}

.hero-ey::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

h1.hh1 em.hero-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Buttons — 21st-style rounded + shine */
.btn-p,
.nav-cta,
.pkg.ft .pk-cta,
.fs {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.25);
}

.btn-g {
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.btn-g:hover {
  background: var(--blue-dim);
  border-color: var(--border-b);
}

/* MEAI preview — glass + gradient ring */
.meai-preview,
.meai-demo,
.arch-vis {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  position: relative;
}

.meai-preview::after,
.meai-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Problem cards — bento gap layout */
.prob-grid {
  gap: 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.pc {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pc::before {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
}

.pc-icon {
  border-radius: var(--radius-sm);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 0;
}

.pc-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
}

/* Services — card rows */
.si {
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  margin-bottom: 0.35rem;
  border: 1px solid transparent;
}

.si:hover {
  background: var(--blue-dim);
  border-color: var(--border-b);
}

.arch-vis {
  border-radius: var(--radius-lg);
}

/* MEAI metrics — bento tiles */
.meai-metrics {
  gap: 1rem;
}

.met {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Proof — testimonial cards */
.prc {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.prc::after {
  font-size: 4rem;
  opacity: 0.5;
}

.prc-r::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230479B4' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Target cards */
.tgc {
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
}

/* Pricing — featured gradient ring */
.pkg {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.pkg.ft {
  border: none;
  background: var(--bg-2);
  box-shadow: var(--shadow-featured);
  transform: scale(1.02);
  z-index: 1;
}

.pkg.ft::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(145deg, var(--accent-from), var(--accent-to), rgba(var(--accent-rgb), 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.pkg-badge {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.35);
}

.pk-risk::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c840' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  font-size: 0;
}

/* Contact */
.ch,
.cf {
  border-radius: var(--radius-lg);
}

.ch:hover {
  box-shadow: var(--shadow-card);
}

.fg input,
.fg textarea,
.fg select {
  border-radius: var(--radius-sm);
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

/* Trust badges */
.tb {
  border-radius: 100px;
  background: var(--blue-dim);
}

/* About photo box */
.aph-box {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.net-box {
  border-radius: var(--radius-md);
}

/* Urgency bar */
.urgency-bar {
  background: linear-gradient(90deg, var(--blue-dim), transparent, var(--blue-dim));
}

/* Section labels */
.sey {
  background: var(--blue-dim);
  border: 1px solid var(--border-b);
  border-radius: 100px;
  padding: 0.35rem 0.9rem 0.35rem 0.5rem;
}

.sey::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Stats in hero */
.hero-stats > div {
  padding: 0.75rem 1.15rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
  .hero-stats > div {
    padding: 0.65rem 0.9rem;
  }

  .hero-stats .hs-num {
    font-size: 1.35rem;
  }
}

/* Sticky CTA */
.sticky-cta {
  border-radius: var(--radius-sm);
}

/* Lang / theme controls */
.lang-btn,
.theme-btn {
  border-radius: var(--radius-sm);
}

.lang-menu {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
}

@media (max-width: 900px) {
  .pkg.ft {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    transition: none;
  }
}
