/* ─── AuxinAI — Modern SaaS Design System ─────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  /* Brand */
  --indigo:    #14b8a6;
  --indigo-h:  #0d9488;
  --indigo-l:  #f0fdfa;
  --violet:    #06d6d6;
  --cyan:      #06b6d4;
  --emerald:   #10b981;
  --red:       #ef4444;
  --amber:     #f59e0b;

  /* Neutrals */
  --white:     #ffffff;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic */
  --bg:        #0a0a0a;
  --bg-slate:  #1a1a1a;
  --text:      #ffffff;
  --text-m:    #b0b0b0;
  --text-d:    #808080;
  --border:    #333333;
  --accent:    var(--indigo);
  --accent-h:  var(--indigo-h);
  --accent-l:  var(--indigo-l);

  /* Typography */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --nav-h: 68px;
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-slate { background: var(--slate-50); }
.section-heading {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 56px;
}
.section-heading.nm { margin-bottom: 0; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-text-link { font-size: 14px; font-weight: 600; color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; padding-bottom: 2px; }
.btn-text-link:hover { border-color: var(--accent); }

/* ═══ NAVIGATION ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s var(--ease);
  flex-shrink: 0;
  margin-right: 60px;
}

.nav-brand:hover {
  opacity: 0.8;
}

.brand-logo {
  width: 120px;
  height: auto;
  max-height: 60px;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  margin: 0;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-m);
  transition: color 0.2s var(--ease);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--accent);
}

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

.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-m);
  transition: color 0.2s var(--ease);
  padding: 8px 16px;
}

.nav-signin:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: all 0.2s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  z-index: 99;
}

.nav-drawer.active {
  display: flex;
}

.nav-drawer a {
  padding: 16px 28px;
  font-size: 16px;
  color: var(--text-m);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}

.nav-drawer a:hover {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
}

/* Scoped to .nav-drawer so it outranks the `.nav-drawer a` colour above. */
.nav-drawer .drawer-cta {
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  margin: 16px;
  border: none !important;
}

/* ═══ NAV DROPDOWNS ═══════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}

/* Invisible bridge across the 16px gap below the trigger, so the pointer can
   travel from the trigger into the panel without the hover state dropping. */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-dropdown-trigger {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-m);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
  user-select: none;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--accent);
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: none;
  min-width: 520px;
  flex-direction: row;
  gap: 8px;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  z-index: 200;
}

.dropdown-panel-sm {
  min-width: 260px;
  flex-direction: column;
  left: auto;
  right: 0;
  transform: none;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: flex;
}

.dropdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-d);
  padding: 4px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-badge {
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent);
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dropdown-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 4px 8px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: background 0.15s var(--ease);
  color: var(--text);
}

.dropdown-link:hover {
  background: rgba(20, 184, 166, 0.08);
}

.dropdown-link:hover strong {
  color: var(--accent);
}

.dropdown-link > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dropdown-link strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s;
  display: block;
}

.dropdown-link span {
  font-size: 11px;
  color: var(--text-d);
  display: block;
}

/* Mobile drawer sections */
.drawer-section {
  display: flex;
  flex-direction: column;
}

.drawer-section-label {
  padding: 10px 28px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(20, 184, 166, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ═══ HERO STATEMENT ═══════════════════════════════════════════ */
.hero-statement {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 28px 96px;
  text-align: center;
  overflow: hidden;
}
.hero-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--violet);
  bottom: -100px;
  right: -100px;
}
.hero-statement-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.statement-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.statement-word {
  display: block;
}
.statement-gradient {
  background: linear-gradient(135deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.statement-subtitle {
  font-size: 18px;
  color: var(--text-m);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 14px 32px;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: white;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ═══ VALUE PROPS ═══════════════════════════════════════════ */
.value-props {
  padding: 80px 28px;
  background: linear-gradient(180deg, transparent, rgba(20, 184, 166, 0.05));
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}
.vp-card {
  padding: 40px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vp-card:hover {
  background: rgba(26, 26, 26, 1);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.vp-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.vp-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.vp-card p {
  font-size: 15px;
  color: var(--text-m);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.vp-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}
.vp-link:hover { gap: 8px; }

/* Hero ribbon */
.hero-ribbon {
  width: 100vw;
  margin: 30px 0 0 calc(50% - 50vw);
  padding: 0 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, rgba(20,184,166,0.12), rgba(6,182,212,0.12), rgba(20,184,166,0.12));
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  box-sizing: border-box;
}
.hero-ribbon-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  white-space: nowrap;
  animation: heroRibbonScroll 18s linear infinite;
}
.hero-ribbon-track span {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.hero-ribbon-track span::after {
  content: '•';
  position: absolute;
  right: -28px;
  color: rgba(255,255,255,0.35);
}
.hero-ribbon-track span:last-child::after {
  content: '';
}

@keyframes heroRibbonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* Platform card pricing badges */
.card-pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.free-badge {
  background: rgba(16,185,129,0.15);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
}
.paid-badge {
  background: rgba(20,184,166,0.12);
  color: var(--accent);
  border: 1px solid rgba(20,184,166,0.25);
}
.platform-card-featured {
  border-color: rgba(20,184,166,0.4) !important;
  background: rgba(20,184,166,0.04) !important;
}

/* ═══ PLATFORM OVERVIEW ═══════════════════════════════════════════ */
.platform-overview {
  padding: 96px 28px;
}
.platform-container {
  max-width: 1160px;
  margin: 0 auto;
}
.platform-header {
  text-align: center;
  margin-bottom: 80px;
}
.platform-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.platform-header p {
  font-size: 18px;
  color: var(--text-m);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.platform-card {
  position: relative;
  padding: 40px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.platform-card:hover {
  background: rgba(26, 26, 26, 1);
  border-color: var(--accent);
  transform: translateY(-6px);
}
.card-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.platform-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.platform-card p {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s var(--ease), gap 0.2s;
  gap: 4px;
}
.platform-card:hover .card-arrow {
  opacity: 1;
}

/* ═══ CAPABILITIES ═══════════════════════════════════════════ */
.capabilities {
  padding: 96px 28px;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.05), transparent);
}
.capabilities-container {
  max-width: 1160px;
  margin: 0 auto;
}
.capabilities-header {
  text-align: center;
  margin-bottom: 80px;
}
.capabilities-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.capabilities-header p {
  font-size: 18px;
  color: var(--text-m);
}
.capability-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}
.capability-item-reversed {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .capability-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capability-item-reversed {
    grid-template-columns: 1fr;
  }
}
.capability-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}
.capability-content p {
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 28px;
}
.capability-features {
  list-style: none;
  margin-bottom: 28px;
}
.capability-features li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}
.capability-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.capability-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-placeholder {
  font-size: 80px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 214, 214, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 60px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══ STATS SECTION ═══════════════════════════════════════════ */
.stats-section {
  padding: 80px 28px;
  background: rgba(26, 26, 26, 0.6);
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}
.stat {
  padding: 30px;
}
.stat-number {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.stat-label {
  font-size: 16px;
  color: var(--text-m);
  font-weight: 600;
}

.stat-number.count-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══ WHY SECTION ═══════════════════════════════════════════ */
.why-section {
  padding: 96px 28px;
}
.why-container {
  max-width: 1160px;
  margin: 0 auto;
}
.why-container h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.why-card {
  padding: 36px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.why-card:hover {
  background: rgba(26, 26, 26, 1);
  border-color: var(--accent);
}
.why-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.6;
}

/* ═══ CTA SECTION ═══════════════════════════════════════════ */
.cta-section {
  padding: 96px 28px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(6, 214, 214, 0.08));
}
.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta-container h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-container p {
  font-size: 18px;
  color: var(--text-m);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ FOOTER ═══════════════════════════════════════════ */
.footer {
  padding: 80px 28px 40px;
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid var(--border);
}
.footer-container {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  width: 100px;
  height: auto;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-d);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-m);
  margin-bottom: 10px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-d);
}
.footer-socials {
  display: flex;
  gap: 24px;
}
.footer-socials a {
  font-size: 13px;
  color: var(--text-m);
  transition: color 0.2s var(--ease);
}
.footer-socials a:hover {
  color: var(--accent);
}
 .nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  font-size: 17px; letter-spacing: -0.02em; color: var(--text); flex-shrink: 0;
}
.brand-icon {
  width: 44px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo {
  width: 120px; height: auto;
  max-height: 85px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-menu {
  display: flex; gap: 28px; margin-left: auto;
}
.nav-menu a {
  font-size: 14px; font-weight: 500; color: var(--text-m);
  transition: color 0.2s; white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin {
  font-size: 14px; font-weight: 500; color: var(--text-m);
  padding: 8px 16px; border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-signin:hover { color: var(--text); background: var(--slate-100); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: var(--accent); color: white;
  font-size: 14px; font-weight: 600; border-radius: var(--r-sm);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-h); transform: translateY(-1px); }

/* ═══ HERO ═══════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 28px 0;
  background: var(--white);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.35; pointer-events: none;
}
.hero-glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, #818cf8, transparent); top: -100px; left: -100px; }
.hero-glow-2 { width: 500px; height: 500px; background: radial-gradient(circle, #c4b5fd, transparent); top: -50px; right: -80px; }

.hero-container { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo-l); border: 1px solid #c7d2fe;
  color: var(--accent); font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 32px;
}
.badge-dot { width: 7px; height: 7px; background: var(--emerald); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.2)} }
.hero-badge a { color: var(--accent); font-weight: 700; }

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-m);
  max-width: 580px; margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; font-size: 15px; font-weight: 600;
  border-radius: var(--r); box-shadow: 0 4px 20px rgba(79,70,229,0.35);
  transition: all 0.2s var(--ease);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,70,229,0.45); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: white; color: var(--slate-700);
  font-size: 15px; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: var(--r);
  transition: all 0.2s var(--ease);
}
.btn-hero-secondary:hover { border-color: var(--slate-400); background: var(--slate-50); transform: translateY(-1px); }
.hero-note { font-size: 13px; color: var(--text-d); }

/* Mockup */
.mockup-wrap {
  position: relative; z-index: 1;
  max-width: 900px; margin: 48px auto 0;
  padding: 0 0 0;
}
.mockup {
  background: var(--slate-900);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 32px 80px rgba(15,23,42,0.25), 0 0 0 1px var(--border);
  overflow: hidden;
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-url {
  flex: 1; text-align: center; font-size: 12px; font-family: monospace;
  color: rgba(255,255,255,0.3);
}
.mockup-body { display: flex; height: 280px; }
.mockup-sidebar {
  width: 160px; background: #0f172a; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 0;
  border-right: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.sidebar-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.sl-icon { width: 22px; height: 22px; background: linear-gradient(135deg,var(--indigo),var(--violet)); border-radius: 5px; flex-shrink:0; }
.sidebar-logo span { font-size: 13px; font-weight: 700; color: white; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.snav-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.15s; }
.snav-item.active { background: rgba(79,70,229,0.2); color: #a5b4fc; }
.snav-item:hover:not(.active) { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
.sidebar-footer { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: auto; }
.sf-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,var(--cyan),var(--indigo)); flex-shrink:0; }
.sf-info span { display: block; font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; }
.sf-info small { font-size: 10px; color: var(--emerald); }
.mockup-main { flex: 1; background: #0f172a; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; }
.mtb-title { font-size: 13px; font-weight: 700; color: white; }
.mtb-btn { font-size: 11px; padding: 4px 10px; background: rgba(79,70,229,0.3); color: #a5b4fc; border-radius: 5px; }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mstat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 10px; }
.mstat-val { font-size: 16px; font-weight: 800; color: white; line-height: 1; margin-bottom: 3px; }
.mstat-lbl { font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.mstat-trend { font-size: 10px; font-weight: 600; }
.mstat-trend.up { color: var(--emerald); }
.mstat-trend.safe { color: var(--emerald); }
.mockup-chart { flex: 1; background: rgba(255,255,255,0.03); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.chart-label { font-size: 10px; color: rgba(255,255,255,0.3); }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.cbar { flex: 1; height: var(--h); background: rgba(79,70,229,0.25); border-radius: 3px 3px 0 0; position: relative; transition: height 0.5s var(--ease-spring); }
.cbar::after { content:''; position:absolute; inset:0; background:linear-gradient(to top,var(--indigo),#818cf8); border-radius:inherit; opacity:0.7; }
.cbar.active::after { opacity:1; }

/* ═══ PARTNERS BAND ═══════════════════════════════════════════ */
.partners-band { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--slate-50); }
.partners-band .container { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.pb-label { font-size: 12px; color: var(--text-d); white-space: nowrap; flex-shrink: 0; letter-spacing: 0.02em; }
.pb-logos { display: flex; gap: 32px; flex-wrap: wrap; }
.pb-logos span { font-size: 13px; font-weight: 700; color: var(--slate-400); letter-spacing: -0.01em; transition: color 0.2s; cursor: default; }
.pb-logos span:hover { color: var(--slate-700); }

/* ═══ CHALLENGES ════════════════════════════════════════════════ */
.challenges-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ch-card {
  padding: 36px 32px; border: 1.5px solid var(--border); border-radius: var(--r-lg);
  background: white; position: relative; transition: all 0.25s var(--ease);
}
.ch-card:hover { border-color: #c7d2fe; box-shadow: 0 8px 40px rgba(79,70,229,0.08); transform: translateY(-3px); }
.ch-featured { border-color: var(--accent); background: var(--indigo-l); }
.ch-featured:hover { border-color: var(--accent-h); }
.ch-num { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-d); margin-bottom: 20px; }
.ch-ico { width: 52px; height: 52px; border-radius: var(--r); background: var(--slate-100); display: flex; align-items: center; justify-content: center; color: var(--text-m); margin-bottom: 20px; }
.ch-featured .ch-ico { background: white; color: var(--accent); }
.ch-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.ch-card p { font-size: 0.875rem; color: var(--text-m); line-height: 1.7; margin-bottom: 20px; }
.ch-pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: var(--slate-100); color: var(--text-m); }
.featured-pill { background: var(--accent); color: white; }

/* ═══ PLATFORM FEATURES ═════════════════════════════════════════ */
.ftabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 48px; overflow-x: auto; scrollbar-width: none; }
.ftabs::-webkit-scrollbar { display: none; }
.ftab { padding: 12px 20px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 13px; font-weight: 600; color: var(--text-m); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.ftab:hover { color: var(--text); }
.ftab.active { color: var(--accent); border-bottom-color: var(--accent); }
.fpanel { display: none; }
.fpanel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.fp-text h3 { font-family: var(--sans); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.25; }
.fp-text p { color: var(--text-m); line-height: 1.75; margin-bottom: 24px; }
.fp-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.fp-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate-700); }
.fp-list svg { color: var(--emerald); flex-shrink: 0; }
.fp-cta { font-size: 14px; font-weight: 700; color: var(--accent); border-bottom: 2px solid transparent; transition: border-color 0.2s; padding-bottom: 2px; }
.fp-cta:hover { border-color: var(--accent); }
.fpv-card {
  background: var(--slate-900); border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(15,23,42,0.15);
}
.fpv-hd { display: flex; align-items: center; justify-content: space-between; }
.fpv-hd span, .fpv-hd svg { color: rgba(255,255,255,0.7); font-size: 12px; }
.fpv-badge-red { font-size: 11px; font-weight: 700; padding: 3px 10px; background: rgba(239,68,68,0.15); color: #fca5a5; border-radius: 100px; }
.fpv-ms { font-size: 11px; font-family: monospace; color: var(--emerald); }
.fpv-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.fpv-k { font-size: 11px; color: rgba(255,255,255,0.35); flex-shrink: 0; }
.fpv-v { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); text-align: right; }
.fpv-v.warn { color: #fbbf24; }
.fpv-v.danger { color: #f87171; }
.fpv-v.success { color: var(--emerald); }
.fpv-progress { display: flex; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
.fpv-prog-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.fpv-prog-fill { height: 100%; width: 100%; background: var(--emerald); border-radius: 4px; }
.fpv-progress span { font-size: 11px; color: var(--emerald); white-space: nowrap; }
.fpv-code { font-family: monospace; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04); padding: 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.06); }
.c-k { color: #c084fc; }
.c-b { color: #67e8f9; }
.c-g { color: #86efac; }
.c-dim { color: rgba(255,255,255,0.25); }
.fpv-query { font-family: monospace; font-size: 12px; color: #86efac; background: rgba(255,255,255,0.04); padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.06); }
.fpv-results { display: flex; flex-direction: column; gap: 8px; }
.fvr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,0.04); border-radius: var(--r-sm); }
.fvr-s { font-size: 10px; font-weight: 700; color: #a5b4fc; background: rgba(79,70,229,0.2); padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.fvr span:last-child { font-size: 12px; color: rgba(255,255,255,0.6); }
.fpv-green-tag { font-size: 11px; font-weight: 700; color: var(--emerald); background: rgba(16,185,129,0.15); padding: 3px 10px; border-radius: 100px; }
.cost-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; }
.cost-row span:first-child { flex: 1; color: rgba(255,255,255,0.7); }
.cost-old { color: rgba(255,255,255,0.3); text-decoration: line-through; font-family: monospace; }
.cost-row svg { color: rgba(255,255,255,0.2); }
.cost-new { color: var(--emerald); font-weight: 700; font-family: monospace; }
.cost-total { font-size: 13px; font-weight: 700; color: white; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }

/* ═══ ADVANTAGE ════════════════════════════════════════════════ */
.adv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.adv-card {
  padding: 28px 24px; border: 1.5px solid var(--border); border-radius: var(--r-lg);
  transition: all 0.25s var(--ease); background: white;
}
.adv-card:hover { border-color: #c7d2fe; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(79,70,229,0.08); }
.adv-ico { width: 46px; height: 46px; border-radius: var(--r); background: var(--indigo-l); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.adv-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.adv-card p { font-size: 13.5px; color: var(--text-m); line-height: 1.65; }

/* ═══ STATS STRIP ═══════════════════════════════════════════════ */
.stats-strip { background: var(--slate-900); padding: 64px 0; }
.stats-inner { display: flex; align-items: center; justify-content: center; }
.stat-b { flex: 1; text-align: center; padding: 0 24px; }
.sn { font-family: var(--sans); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: white; line-height: 1; margin-bottom: 8px; }
.sn em { font-style: normal; background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sl { font-size: 13px; color: var(--slate-400); letter-spacing: 0.02em; }
.stat-sep { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ═══ BLOG ══════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bc {
  padding: 32px; border: 1.5px solid var(--border); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px; background: white;
  transition: all 0.25s var(--ease);
}
.bc:hover { border-color: #c7d2fe; transform: translateY(-3px); box-shadow: 0 8px 40px rgba(79,70,229,0.08); }
.bc-featured { background: var(--indigo-l); border-color: #c7d2fe; }
.bc-cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--indigo-l); color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.bc-featured .bc-cat { background: var(--accent); color: white; }
.bc h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.bc h3 a { color: var(--text); transition: color 0.2s; }
.bc h3 a:hover { color: var(--accent); }
.bc p { font-size: 0.875rem; color: var(--text-m); line-height: 1.7; flex: 1; }
.bc-read { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); margin-top: auto; transition: gap 0.2s; }
.bc-read:hover { gap: 10px; }

/* ═══ CTA BAND ══════════════════════════════════════════════════ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
  padding: 100px 0;
}
.ctab-glow-1 { position:absolute; width:500px; height:500px; background:radial-gradient(circle,rgba(79,70,229,0.3),transparent); top:-100px; left:-50px; border-radius:50%; }
.ctab-glow-2 { position:absolute; width:400px; height:400px; background:radial-gradient(circle,rgba(124,58,237,0.25),transparent); bottom:-100px; right:-50px; border-radius:50%; }
.ctab-content { position:relative; z-index:1; text-align:center; max-width:620px; margin:0 auto; }
.ctab-pill { display:inline-block; font-size:12px; font-weight:700; padding:5px 14px; border-radius:100px; background:rgba(79,70,229,0.3); color:#a5b4fc; border:1px solid rgba(165,180,252,0.2); margin-bottom:24px; letter-spacing:0.08em; text-transform:uppercase; }
.ctab-content h2 { font-family: var(--sans); font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 700; color: white; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 16px; }
.ctab-content p { font-size:16px; color:rgba(255,255,255,0.6); line-height:1.7; margin-bottom:40px; }
.ctab-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ctab-btn-primary { display:inline-flex; align-items:center; padding:14px 28px; background:linear-gradient(135deg,var(--indigo),var(--violet)); color:white; font-size:15px; font-weight:700; border-radius:var(--r); box-shadow:0 4px 20px rgba(79,70,229,0.4); transition:all 0.2s var(--ease); }
.ctab-btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(79,70,229,0.5); }
.ctab-btn-ghost { display:inline-flex; align-items:center; padding:14px 28px; background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.8); font-size:15px; font-weight:600; border-radius:var(--r); border:1px solid rgba(255,255,255,0.12); transition:all 0.2s var(--ease); }
.ctab-btn-ghost:hover { background:rgba(255,255,255,0.14); color:white; }

/* ═══ CONTACT ══════════════════════════════════════════════════ */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:80px; align-items:start; }
.cont-left .section-heading { margin-bottom:20px; }
.cont-sub { font-size:15px; color:var(--text-m); line-height:1.75; margin-bottom:36px; }
.cont-info { display:flex; flex-direction:column; gap:16px; margin-bottom:32px; }
.ci { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--text-m); transition:color 0.2s; }
.ci svg { color:var(--accent); flex-shrink:0; }
.ci:hover { color:var(--text); }
.cont-social { display:flex; gap:10px; }
.soc-btn { display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border:1.5px solid var(--border); border-radius:var(--r-sm); font-size:13px; font-weight:500; color:var(--text-m); transition:all 0.2s; }
.soc-btn:hover { border-color:var(--accent); color:var(--accent); }
.cont-right { background:white; border:1.5px solid var(--border); border-radius:var(--r-lg); padding:40px; box-shadow:0 4px 40px rgba(15,23,42,0.06); }
.cf h3 { font-size:1.2rem; font-weight:700; margin-bottom:24px; }
.cf { display:flex; flex-direction:column; gap:18px; }
.cf-2col { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cf-field { display:flex; flex-direction:column; gap:6px; }
.cf-field label { font-size:12px; font-weight:600; color:var(--text-m); letter-spacing:0.04em; }
.cf-field input, .cf-field textarea { padding:11px 14px; border:1.5px solid var(--border); border-radius:var(--r-sm); font-size:14px; color:var(--text); font-family:inherit; outline:none; resize:vertical; background:#1a1a1a; transition:border-color 0.2s; }
.cf-field input:focus, .cf-field textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(79,70,229,0.1); }
.cf-field input::placeholder, .cf-field textarea::placeholder { color:var(--text-d); }
.cf-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 24px; background:linear-gradient(135deg,var(--indigo),var(--violet)); color:white; font-size:15px; font-weight:700; border:none; border-radius:var(--r-sm); transition:all 0.2s var(--ease); box-shadow:0 4px 16px rgba(79,70,229,0.3); }
.cf-btn:hover { transform:translateY(-1px); box-shadow:0 6px 24px rgba(79,70,229,0.4); }
.cf-note { font-size:12px; color:var(--text-d); text-align:center; }
.cf-note a { color:var(--accent); }

/* ═══ FOOTER ════════════════════════════════════════════════════ */
.footer { background:var(--slate-900); padding:72px 0 0; }
.ft-top { display:grid; grid-template-columns:1fr 1.4fr; gap:80px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.08); }
.ft-brand .nav-brand { color:white; margin-bottom:16px; display:inline-flex; }
.ft-brand .brand-icon { background:linear-gradient(135deg,var(--indigo),var(--violet)); }
.ft-brand .brand-logo { filter:brightness(0) invert(1); }
.ft-brand p { font-size:14px; color:var(--slate-400); line-height:1.7; margin-bottom:32px; max-width:280px; }
.ft-newsletter { display:flex; border:1px solid rgba(255,255,255,0.1); border-radius:var(--r-sm); overflow:hidden; }
.ft-newsletter input { flex:1; background:transparent; border:none; padding:11px 16px; font-size:13px; color:white; font-family:inherit; outline:none; }
.ft-newsletter input::placeholder { color:var(--slate-500); }
.ft-newsletter button { background:var(--accent); border:none; padding:11px 18px; font-size:16px; color:white; cursor:pointer; transition:background 0.2s; }
.ft-newsletter button:hover { background:var(--accent-h); }
.ft-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.ft-col h5 { font-size:11px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--slate-500); margin-bottom:18px; }
.ft-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.ft-col a { font-size:14px; color:var(--slate-400); transition:color 0.2s; }
.ft-col a:hover { color:white; }
.ft-bottom { display:flex; align-items:center; justify-content:space-between; padding:20px 0; flex-wrap:wrap; gap:16px; }
.ft-bottom p { font-size:13px; color:var(--slate-500); }
.ftb-links { display:flex; gap:20px; }
.ftb-links a { font-size:13px; color:var(--slate-500); transition:color 0.2s; }
.ftb-links a:hover { color:var(--slate-400); }

/* ═══ TOAST ════════════════════════════════════════════════════ */
.toast { position:fixed; bottom:28px; right:28px; z-index:9999; background:var(--slate-800); color:white; padding:14px 22px; border-radius:var(--r); font-size:14px; box-shadow:0 8px 32px rgba(0,0,0,0.25); transform:translateY(20px); opacity:0; pointer-events:none; transition:all 0.3s var(--ease); border:1px solid rgba(255,255,255,0.08); }
.toast.show { transform:translateY(0); opacity:1; }

/* ═══ REVEAL ═══════════════════════════════════════════════════ */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ═══ ANIMATIONS ════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3); }
  50% { box-shadow: 0 0 40px rgba(20, 184, 166, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ═══ ANIMATION UTILITIES ════════════════════════════════════════ */
.animate-fade-up { animation: fadeInUp 0.6s var(--ease) forwards; }
.animate-fade-down { animation: fadeInDown 0.6s var(--ease) forwards; }
.animate-slide-left { animation: slideInLeft 0.6s var(--ease) forwards; }
.animate-slide-right { animation: slideInRight 0.6s var(--ease) forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-glow { animation: glow 3s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ═══ STAGGERED ANIMATIONS ════════════════════════════════════ */
.vp-card:nth-child(1) { animation-delay: 0.1s; }
.vp-card:nth-child(2) { animation-delay: 0.2s; }
.vp-card:nth-child(3) { animation-delay: 0.3s; }

.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.2s; }
.platform-card:nth-child(3) { animation-delay: 0.3s; }
.platform-card:nth-child(4) { animation-delay: 0.4s; }

/* ═══ ENHANCED BUTTON EFFECTS ════════════════════════════════ */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s var(--ease);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  position: relative;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: var(--r);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}

.btn-secondary:hover::after {
  opacity: 0.1;
}

/* ═══ CARD ENHANCEMENTS ════════════════════════════════════════ */
.vp-card, .platform-card, .why-card {
  position: relative;
  overflow: hidden;
}

.vp-card::before, .platform-card::before, .why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.vp-card:hover::before, .platform-card:hover::before, .why-card:hover::before {
  opacity: 1;
}

/* ═══ ENHANCED LINK STYLES ════════════════════════════════════ */
a {
  position: relative;
}

.nav-menu a::after,
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-menu a:hover::after,
.footer-col a:hover::after {
  width: 100%;
}

/* ═══ HERO ENHANCEMENTS ════════════════════════════════════════ */
.hero-statement {
  animation: fadeInUp 0.8s var(--ease);
}

.statement-title {
  letter-spacing: -0.03em;
}

.statement-title span {
  animation: fadeInUp 0.8s var(--ease);
}

.statement-title span:nth-child(1) { animation-delay: 0.1s; }
.statement-title span:nth-child(2) { animation-delay: 0.2s; }
.statement-title span:nth-child(3) { animation-delay: 0.3s; }
.statement-title span:nth-child(4) { animation-delay: 0.4s; }

.statement-subtitle {
  animation: fadeInUp 0.8s var(--ease) 0.5s both;
}

.hero-actions {
  animation: fadeInUp 0.8s var(--ease) 0.7s both;
}

/* ═══ VALUE PROPS GRID ═══════════════════════════════════════ */
.vp-card {
  animation: fadeInUp 0.8s var(--ease) both;
}

/* ═══ PLATFORM GRID ═════════════════════════════════════════ */
.platform-card {
  animation: fadeInUp 0.8s var(--ease) both;
}

/* ═══ IMPROVED GRADIENTS ═══════════════════════════════════════ */
.hero-statement {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.02) 0%, transparent 100%);
}

.value-props {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 214, 214, 0.04) 100%);
}

/* ═══ FORM IMPROVEMENTS ════════════════════════════════════════ */
.cf-field input:focus,
.cf-field textarea:focus {
  background: rgba(26, 26, 26, 0.8) !important;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
  transition: all 0.3s var(--ease);
}

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

/* ═══ SCROLL BEHAVIOR ════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

/* ═══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2,1fr); }
  .fpanel.active { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ft-top { grid-template-columns: 1fr; gap: 48px; }
  
  .nav-menu { gap: 24px; margin: 0 20px; }
}

@media (max-width: 900px) {
  .challenges-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 32px; align-items: stretch; }
  .stat-sep { display: none; }
  .stat-b { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
  .stat-b:first-child { border-top: none; }
  
  .nav-menu { display: none; }
  .nav-actions { gap: 8px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .mockup-wrap { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .cf-2col { grid-template-columns: 1fr; }
  .ctab-btns { flex-direction: column; align-items: center; }
  .partners-band .container { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .ft-cols { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* Inline-styled grids on index.html: !important is needed to beat the inline
   grid-template-columns those elements carry. */
@media (max-width: 900px) {
  .responsive-grid-3 { grid-template-columns: 1fr !important; }
  .responsive-grid-2 { grid-template-columns: 1fr !important; }
}
