/* FINGO+ — Aesthetic layer: ocean depth, light, motion */

:root {
  --glow-cyan: rgba(0, 180, 200, 0.45);
  --glow-teal: rgba(0, 200, 160, 0.35);
  --glow-gold: rgba(212, 168, 83, 0.25);
  --glass: rgba(18, 24, 32, 0.65);
  --font-art: "Syne", "Sora", sans-serif;
}

/* Ambient canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 180, 200, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(0, 200, 160, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(212, 168, 83, 0.04) 0%, transparent 45%),
    var(--bg-deep);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Hero canvas ── */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 200, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -8%;
  right: -5%;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  animation-delay: 0s;
}

.orb-2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, var(--glow-teal) 0%, transparent 70%);
  animation-delay: -6s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  top: 35%;
  left: 45%;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
  animation-delay: -12s;
  opacity: 0.6;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -16px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.95); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: calc(100svh - var(--nav-h) - 6rem);
  }
}

.hero-content {
  max-width: none;
}

.hero h1 em,
.text-gradient {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 45%, var(--accent-whale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhook {
  font-family: var(--font-art);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-subhook em {
  color: var(--accent-primary);
  font-style: normal;
}

.eyebrow {
  position: relative;
  padding-left: 1.25rem;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--glow-cyan);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--glow-cyan); }
  50% { opacity: 0.7; box-shadow: 0 0 20px var(--glow-cyan); }
}

/* Hero constellation visual */
.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.constellation {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}

.constellation-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(0, 180, 200, 0.15);
  border-radius: 50%;
  animation: ring-spin 60s linear infinite;
}

.constellation-ring:nth-child(2) {
  inset: 20%;
  border-color: rgba(0, 200, 160, 0.12);
  animation-direction: reverse;
  animation-duration: 45s;
}

.constellation-ring:nth-child(3) {
  inset: 32%;
  border-color: rgba(212, 168, 83, 0.1);
  animation-duration: 35s;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.constellation-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 180, 200, 0.28), rgba(0, 200, 160, 0.12));
  border: 1px solid rgba(0, 180, 200, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow:
    0 0 40px rgba(0, 180, 200, 0.35),
    0 0 80px rgba(0, 180, 200, 0.12),
    inset 0 0 24px rgba(0, 180, 200, 0.14);
  animation: core-glow 4s ease-in-out infinite;
  z-index: 2;
}

.constellation-brand {
  font-family: var(--font-art);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 16px rgba(0, 180, 200, 0.4);
  white-space: nowrap;
}

.constellation-plus {
  color: var(--accent-primary);
  text-shadow: 0 0 16px rgba(0, 180, 200, 0.8);
}

@keyframes core-glow {
  0%, 100% {
    box-shadow:
      0 0 40px rgba(0, 180, 200, 0.35),
      0 0 80px rgba(0, 180, 200, 0.12),
      inset 0 0 24px rgba(0, 180, 200, 0.14);
  }
  50% {
    box-shadow:
      0 0 48px rgba(0, 180, 200, 0.48),
      0 0 96px rgba(0, 200, 160, 0.16),
      inset 0 0 28px rgba(0, 180, 200, 0.18);
  }
}

.strategy-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  animation: node-float 5s ease-in-out infinite;
  text-decoration: none;
}

.strategy-node:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 180, 200, 0.25);
  border-color: rgba(0, 180, 200, 0.4);
}

.node-top    { top: 0; left: 50%; margin-left: -26px; animation-delay: 0s; }
.node-tr     { top: 22%; right: 0; animation-delay: -1s; }
.node-br     { bottom: 22%; right: 4%; animation-delay: -2s; }
.node-bottom { bottom: 0; left: 50%; margin-left: -26px; animation-delay: -3s; }
.node-bl     { bottom: 22%; left: 0; animation-delay: -4s; }

.node-top:hover,
.node-bottom:hover {
  transform: scale(1.12) translateY(-4px);
}

@keyframes node-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

/* ── Section kickers ── */
.section-kicker {
  display: inline-block;
  font-family: var(--font-art);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-art);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary);
  text-shadow: none;
}

/* Main display headings — unified prominence */
.hero h1,
.consult-box h2,
.contact-copy h2,
.partner-box h2,
.closing-cta h2 {
  font-family: var(--font-art);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-shadow: none;
}

.hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.15;
}

.consult-box h2,
.contact-copy h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  line-height: 1.28;
}

.partner-box h2 {
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  line-height: 1.3;
}

.closing-cta h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  line-height: 1.22;
}

.heading-accent,
.text-gradient {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 50%, var(--accent-whale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-divider {
  width: 48px;
  height: 3px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  border-radius: 2px;
}

/* ── Glass cards ── */
.pain-card,
.bot-card,
.archetype-card,
.cost-card,
.diff-item,
.objection-item,
.consult-box,
.contact-form {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bot-card {
  position: relative;
  overflow: hidden;
}

.bot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bot-accent-dim, rgba(0, 180, 200, 0.06)) 0%, transparent 55%);
  opacity: 0.65;
  transition: opacity 0.35s;
  pointer-events: none;
}

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

.bot-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bot-accent, rgba(0, 180, 200, 0.5)), transparent);
  opacity: 0.45;
  transition: opacity 0.35s;
}

.bot-card:hover::after {
  opacity: 1;
}

/* Archetype accent borders */
.archetype-card:nth-child(1) { border-top: 2px solid rgba(0, 200, 160, 0.5); }
.archetype-card:nth-child(2) { border-top: 2px solid rgba(0, 180, 200, 0.5); }
.archetype-card:nth-child(3) { border-top: 2px solid rgba(212, 168, 83, 0.5); }
.archetype-card:nth-child(4) { border-top: 2px solid rgba(180, 140, 220, 0.4); }

/* ── Buttons glow ── */
.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #00c8de 0%, var(--accent-primary) 50%, #00a8b8 100%);
  background-size: 200% 200%;
  box-shadow: 0 4px 20px rgba(0, 180, 200, 0.25);
  transition: background-position 0.4s, box-shadow 0.3s, transform 0.15s;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 32px rgba(0, 180, 200, 0.45), 0 0 0 1px rgba(0, 180, 200, 0.2);
}

.btn-secondary {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(0, 180, 200, 0.08);
  box-shadow: 0 0 24px rgba(0, 180, 200, 0.12);
}

/* ── Consult box premium ── */
.consult-box {
  position: relative;
  overflow: hidden;
}

.consult-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 180, 200, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Journey timeline glow ── */
.journey-dot {
  box-shadow: 0 0 0 4px rgba(0, 180, 200, 0.15);
}

.journey-step:last-child .journey-dot {
  box-shadow: 0 0 20px var(--glow-cyan), 0 0 0 4px rgba(0, 180, 200, 0.2);
}

/* ── Stats ── */
.stat-item strong {
  background: linear-gradient(180deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Table polish ── */
.table-wrap {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.compare-table thead th {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
}

/* ── Section alt wave ── */
.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 200, 0.2), transparent);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Nav glass ── */
.site-header {
  background: rgba(10, 14, 20, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.logo {
  font-family: var(--font-art);
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-text {
  display: inline-block;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.3125rem;
  letter-spacing: -0.04em;
  background: linear-gradient(
    100deg,
    #e8f2fa 0%,
    #ffffff 12%,
    #00d4ee 32%,
    #00c8a0 50%,
    #00b4c8 68%,
    #ffffff 88%,
    #e8f2fa 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logo-shimmer 5s ease-in-out infinite;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.45))
    drop-shadow(0 4px 14px rgba(0, 180, 200, 0.35));
}

.logo-plus {
  font-weight: 900;
  letter-spacing: -0.06em;
}

.logo:hover .logo-text {
  animation-duration: 2.5s;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.45))
    drop-shadow(0 6px 20px rgba(0, 180, 200, 0.5));
}

@keyframes logo-shimmer {
  0% { background-position: 100% center; }
  100% { background-position: -100% center; }
}

/* ── Closing CTA atmosphere ── */
.closing-cta {
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 180, 200, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.closing-cta .container {
  position: relative;
  z-index: 1;
}

/* ── Contact form glow focus ── */
.contact-form {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 180, 200, 0.08);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 180, 200, 0.15);
}

/* ── Sticky CTA ── */
.sticky-cta {
  background: rgba(10, 14, 20, 0.88);
  border-top-color: rgba(0, 180, 200, 0.15);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .orb,
  .constellation-ring,
  .constellation-core,
  .logo-text,
  .strategy-node,
  .eyebrow::before,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .logo-text {
    background-position: 50% center;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
