/* ==========================================================================
   NYPHEN BUSINESS — DESIGN SYSTEM & SHARED STYLESHEET (v1.0.0)
   Compatible with: nyphenbusiness.com (Web) & business.nyphen.com (Dashboard)
   Brand Palette derived from Nyphen Origami Mark (#58C48A / #3B8B60)
   ========================================================================== */

:root {
  /* Brand Colors */
  --nyphen-mint: #58c48a;
  --nyphen-mint-hover: #47b379;
  --nyphen-mint-soft: rgba(88, 196, 138, 0.12);
  --nyphen-mint-glow: rgba(88, 196, 138, 0.28);
  --nyphen-emerald: #3b8b60;
  --nyphen-emerald-deep: #266343;

  /* Light Mode Surfaces (Google / Microsoft / Linear Inspired) */
  --bg-canvas: #f8faf9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f3;
  --bg-glass: rgba(255, 255, 255, 0.82);

  /* Typography Colors */
  --text-primary: #0b1210;
  --text-secondary: #42524c;
  --text-muted: #6c7d76;
  --text-on-brand: #062114;

  /* Borders & Hairlines */
  --border-subtle: rgba(11, 18, 16, 0.08);
  --border-strong: rgba(11, 18, 16, 0.15);
  --border-brand: rgba(59, 139, 96, 0.35);

  /* Semantic Status Tokens (Shared with Dashboard) */
  --status-success-bg: rgba(88, 196, 138, 0.14);
  --status-success-text: #1f6e45;
  --status-warning-bg: rgba(245, 158, 11, 0.14);
  --status-warning-text: #9a5b00;
  --status-danger-bg: rgba(239, 68, 68, 0.12);
  --status-danger-text: #b91c1c;
  --status-info-bg: rgba(14, 165, 233, 0.12);
  --status-info-text: #0369a1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 18, 16, 0.04);
  --shadow-sm: 0 4px 12px rgba(11, 18, 16, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(11, 18, 16, 0.08), 0 2px 6px rgba(11, 18, 16, 0.03);
  --shadow-lg: 0 24px 60px -12px rgba(11, 18, 16, 0.14);
  --shadow-brand: 0 10px 28px -6px rgba(59, 139, 96, 0.38);

  /* Radii & Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Motion Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Font Families */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout Constants */
  --nav-height: 72px;
  --sidebar-width: 260px;
}

/* Dark Mode Palette */
[data-theme="dark"] {
  --bg-canvas: #080d0b;
  --bg-surface: #0f1714;
  --bg-surface-elevated: #141f1b;
  --bg-subtle: #16221d;
  --bg-glass: rgba(15, 23, 20, 0.82);

  --text-primary: #f2f7f4;
  --text-secondary: #a8bab2;
  --text-muted: #758980;
  --text-on-brand: #051c11;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-brand: rgba(88, 196, 138, 0.38);

  --status-success-bg: rgba(88, 196, 138, 0.16);
  --status-success-text: #6ee7a8;
  --status-warning-bg: rgba(245, 158, 11, 0.16);
  --status-warning-text: #fbbf24;
  --status-danger-bg: rgba(239, 68, 68, 0.16);
  --status-danger-text: #f87171;
  --status-info-bg: rgba(56, 189, 248, 0.16);
  --status-info-text: #7dd3fc;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 36px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px -12px rgba(0, 0, 0, 0.72);
  --shadow-brand: 0 10px 30px -6px rgba(88, 196, 138, 0.3);
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   AMBIENT BACKGROUND & MODERN MESH
   ========================================================================== */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 12%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 12%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.45;
  animation: orbFloat 16s ease-in-out infinite alternate;
}

.ambient-orb--one {
  width: 520px;
  height: 520px;
  top: -160px;
  left: 12%;
  background: radial-gradient(circle, var(--nyphen-mint-glow), transparent 70%);
}

.ambient-orb--two {
  width: 440px;
  height: 440px;
  top: 220px;
  right: 8%;
  background: radial-gradient(circle, rgba(59, 139, 96, 0.2), transparent 70%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, 36px, 0) scale(1.08); }
}

/* ==========================================================================
   NAVIGATION BAR (STICKY GLASSMORPHISM)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(88, 196, 138, 0.16), rgba(59, 139, 96, 0.08));
  border: 1px solid var(--border-brand);
  display: grid;
  place-items: center;
  padding: 5px;
  transition: transform 0.35s var(--ease-spring);
}

.brand-lockup:hover .brand-mark {
  transform: rotate(-4deg) scale(1.06);
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.15rem;
}

.brand-name strong {
  font-weight: 800;
  color: var(--text-primary);
}

.brand-name span {
  font-weight: 500;
  color: var(--nyphen-emerald);
}

[data-theme="dark"] .brand-name span {
  color: var(--nyphen-mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.nav-link.active {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
}

/* ==========================================================================
   BUTTONS & BADGES (SHARED ACROSS WEB & DASHBOARD)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--nyphen-mint) 0%, var(--nyphen-emerald) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--nyphen-mint-soft);
  border: 1px solid var(--border-brand);
  color: var(--nyphen-emerald-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .pill-badge {
  color: var(--nyphen-mint);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nyphen-mint);
  box-shadow: 0 0 0 0 rgba(88, 196, 138, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(88, 196, 138, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(88, 196, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 196, 138, 0); }
}

/* ==========================================================================
   HERO SECTION & INTERACTIVE WORKSPACE MOCKUP
   ========================================================================== */
.hero-section {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-title {
  max-width: 860px;
  margin: 22px auto 20px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.text-gradient {
  background: linear-gradient(120deg, var(--nyphen-emerald) 0%, var(--nyphen-mint) 55%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 56px;
}

.metric-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

.metric-chip strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.metric-chip span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Interactive Product Preview Window */
.workspace-window {
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.workspace-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-dots span:first-child { background: #f87171; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: var(--nyphen-mint); }

.url-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ws-tab {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ws-tab:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.ws-tab.active {
  background: var(--bg-surface);
  color: var(--nyphen-emerald);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-xs);
}

[data-theme="dark"] .ws-tab.active {
  color: var(--nyphen-mint);
}

.workspace-body {
  padding: 28px;
  min-height: 410px;
}

.ws-panel {
  display: none;
  animation: panelFade 0.38s var(--ease-out-expo);
}

.ws-panel.active {
  display: block;
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* AI Copilot Simulator Inside Preview */
.ai-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.ai-console {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.ai-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-chip {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.prompt-chip:hover,
.prompt-chip.active {
  border-color: var(--nyphen-mint);
  background: var(--nyphen-mint-soft);
}

.ai-response-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 175px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.ai-action-card {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--nyphen-mint-soft);
  border: 1px solid var(--border-brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}

/* ==========================================================================
   SECTIONS & BENTO GRID (WITH SPOTLIGHT GLOW)
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-title {
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  grid-column: span 4;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(88, 196, 138, 0.13),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-md);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card--wide {
  grid-column: span 8;
}

.bento-card--half {
  grid-column: span 6;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--nyphen-mint-soft);
  border: 1px solid var(--border-brand);
  color: var(--nyphen-emerald);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

[data-theme="dark"] .feature-icon {
  color: var(--nyphen-mint);
}

.bento-card h3 {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   ABOUT US (SOBRE NOSOTROS — DESDE 2021)
   ========================================================================== */
.about-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 18px 20px 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--nyphen-mint);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nyphen-emerald);
  margin-bottom: 4px;
}

[data-theme="dark"] .timeline-year {
  color: var(--nyphen-mint);
}

/* ==========================================================================
   SHARED DASHBOARD & DATA COMPONENTS (READY FOR business.nyphen.com)
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 6px 0;
  letter-spacing: -0.02em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
}

.status-badge--success { background: var(--status-success-bg); color: var(--status-success-text); }
.status-badge--warning { background: var(--status-warning-bg); color: var(--status-warning-text); }
.status-badge--danger { background: var(--status-danger-bg); color: var(--status-danger-text); }
.status-badge--info { background: var(--status-info-bg); color: var(--status-info-text); }

/* Kanban Preview & Dashboard Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kanban-col {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.kanban-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kanban-card:hover {
  transform: translateY(-2px);
  border-color: var(--nyphen-mint);
}

/* Forms & Inputs (Shared with Contact & Dashboard) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--nyphen-mint);
  box-shadow: 0 0 0 3px var(--nyphen-mint-soft);
}

/* Accordion (FAQ) */
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  transition: max-height 0.35s var(--ease-out-expo), padding 0.35s ease;
}

.accordion-item.open .accordion-content {
  max-height: 240px;
  padding: 0 20px 18px;
}

/* CTA Banner & Footer */
.cta-banner {
  background: linear-gradient(135deg, #0c1914 0%, #132a20 55%, #1b4331 100%);
  color: #f4faf7;
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid rgba(88, 196, 138, 0.32);
  box-shadow: var(--shadow-lg);
}

.cta-banner p {
  color: #b7cbc1;
  max-width: 620px;
  margin: 14px auto 28px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 56px 0 32px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--nyphen-emerald);
}

[data-theme="dark"] .footer-col a:hover {
  color: var(--nyphen-mint);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 980px) {
  .bento-card,
  .bento-card--wide,
  .bento-card--half {
    grid-column: span 12;
  }

  .ai-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .kanban-board {
    grid-template-columns: 1fr;
  }

  .about-wrapper {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
