/* ============================================================
   EDIFICA LANDING PAGES — Ultra Premium Design System
   Golden Ratio: 1.618 | Glassmorphism | Micro-interactions
   ============================================================ */

@import url('../../design_system/colors_and_type.css');

/* ── GOLDEN RATIO & PREMIUM TOKENS ─────────────────────── */
:root {
  --phi: 1.618;
  --base: 8px;
  
  /* Spacing scale */
  --space-1: calc(var(--base) * 1);      /* 8px */
  --space-2: calc(var(--base) * 1.618);  /* 13px */
  --space-3: calc(var(--base) * 2.618);  /* 21px */
  --space-4: calc(var(--base) * 4.236);  /* 34px */
  --space-5: calc(var(--base) * 6.854);  /* 55px */
  --space-6: calc(var(--base) * 11.09);  /* 89px */
  --space-7: calc(var(--base) * 17.94);  /* 144px */
  
  /* Premium colors */
  --gold-light: #f4d03f;
  --gold-dark: #b8860b;
  --blue-glow: rgba(51, 130, 159, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  /* Shadows premium */
  --shadow-sm: 0 1px 2px rgba(18, 73, 93, 0.05);
  --shadow-md: 0 4px 12px rgba(18, 73, 93, 0.08);
  --shadow-lg: 0 12px 40px rgba(18, 73, 93, 0.12);
  --shadow-xl: 0 24px 80px rgba(18, 73, 93, 0.16);
  --shadow-gold: 0 8px 32px rgba(225, 173, 1, 0.25);
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f5 50%, #fafbfc 100%);
  color: var(--color-fg-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background ambient animation */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(51, 130, 159, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(225, 173, 1, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(4, 93, 116, 0.02) 0%, transparent 60%);
  animation: ambientMove 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes ambientMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

/* ── HEADER ────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-3) 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(191, 185, 185, 0.15);
  transition: all 0.4s var(--ease-out-expo);
}

.header.scrolled {
  padding: var(--space-2) 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 56px;
  width: auto;
  transition: all 0.4s var(--ease-out-expo);
  filter: drop-shadow(0 2px 4px rgba(18, 73, 93, 0.1));
}

.logo:hover .logo-img {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(18, 73, 93, 0.15));
}

.subtitle {
  font-weight: var(--weight-regular);
  font-size: 13px;
  color: var(--color-fg-muted);
  text-align: center;
  margin-top: var(--space-1);
  letter-spacing: 0.8px;
  opacity: 0.9;
}

/* ── HERO SECTION ──────────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-5);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-petrol) 0%, var(--blue-dark) 50%, #0a2e3d 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(225, 173, 1, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(51, 130, 159, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(4, 93, 116, 0.1) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(225, 173, 1, 0.14);
  border: 1px solid rgba(225, 173, 1, 0.45);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.1s both;
}

.hero .t-body strong {
  color: var(--gold-light);
  font-weight: 800;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  animation: fadeInUp 1s var(--ease-out-expo) 1s both;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  padding: var(--space-3) var(--space-3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stat-num {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(225, 173, 1, 0.35);
}

.hero-stat-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.hero .t-title {
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}

.hero .t-body {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  letter-spacing: 0.2px;
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

/* eBook Mockup */
.ebook-mockup {
  margin: var(--space-5) 0;
  perspective: 1200px;
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.ebook-mockup img {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.6s var(--ease-out-back);
  transform-style: preserve-3d;
}

.ebook-mockup img:hover {
  transform: translateY(-12px) rotateX(8deg) rotateY(-3deg);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.35),
    0 15px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ── CTA BUTTON ────────────────────────────────────────── */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-back);
  box-shadow: 
    0 4px 15px rgba(225, 173, 1, 0.3),
    0 8px 30px rgba(225, 173, 1, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(225, 173, 1, 0.4),
    0 12px 40px rgba(225, 173, 1, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-button:active {
  transform: translateY(-1px) scale(0.98);
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* Arrow icon */
.cta-button::after {
  content: '→';
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-out-expo);
  font-size: 18px;
}

.cta-button:hover::after {
  transform: translateX(4px);
}

/* ── BENEFITS SECTION ──────────────────────────────────── */
.benefits {
  padding: var(--space-6) 0;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(51, 130, 159, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #eef3f5 0%, #f6f9fa 100%);
}

.benefits-eyebrow {
  display: block;
  text-align: center;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.benefits .t-headline {
  text-align: center;
  margin-bottom: var(--space-5);
  color: var(--color-fg-primary);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
}

.benefits .t-headline::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: var(--space-3) auto 0;
  border-radius: 2px;
}

.benefits-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.benefit-item {
  background: #ffffff;
  padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 6px);
  border-radius: 16px;
  border: 1px solid rgba(18, 73, 93, 0.10);
  transition: all 0.45s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 73, 93, 0.07);
}

/* Gold left accent bar */
.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-expo);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.benefit-item:hover::before {
  transform: scaleY(1);
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(18, 73, 93, 0.18);
  border-color: rgba(51, 130, 159, 0.35);
}

/* Benefit number badge */
.benefit-item::after {
  content: attr(data-number);
  position: absolute;
  top: var(--space-2);
  right: var(--space-3);
  font-size: 54px;
  font-weight: 900;
  color: rgba(225, 173, 1, 0.16);
  line-height: 1;
  font-family: var(--font-family);
  transition: color 0.45s var(--ease-out-expo);
}

.benefit-item:hover::after {
  color: rgba(225, 173, 1, 0.32);
}

.benefit-item h3 {
  margin-bottom: var(--space-2);
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.25;
  padding-right: 44px;
}

.benefit-item p {
  color: #2d3a40;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

/* ── AUTHORITY SECTION ─────────────────────────────────── */
.authority {
  padding: var(--space-5) 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-petrol) 50%, #0a3a4a 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.authority::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(225, 173, 1, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(51, 130, 159, 0.1) 0%, transparent 50%);
}

.authority::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.authority .container {
  position: relative;
  z-index: 1;
}

.authority .t-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

/* ── FORM SECTION ──────────────────────────────────────── */
.form-section {
  padding: var(--space-6) 0;
  position: relative;
}

.form-section .t-headline {
  text-align: center;
  margin-bottom: var(--space-5);
  color: var(--color-fg-primary);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-section .t-headline::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: var(--space-3) auto 0;
  border-radius: 2px;
}

.lead-form {
  display: grid;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-4);
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.lead-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-weight: 700;
  font-size: 12px;
  color: var(--color-fg-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-select {
  padding: var(--space-2) var(--space-3);
  border: 2px solid rgba(191, 185, 185, 0.3);
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-fg-body);
  transition: all 0.3s var(--ease-out-expo);
  letter-spacing: 0.2px;
}

.form-input::placeholder {
  color: var(--color-fg-muted);
  opacity: 0.6;
}

.form-input:hover,
.form-select:hover {
  border-color: rgba(51, 130, 159, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--blue-glow), 0 4px 12px rgba(51, 130, 159, 0.1);
  transform: translateY(-1px);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 2px;
  accent-color: var(--blue-mid);
  border-radius: 6px;
}

.form-checkbox label {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-fg-body);
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.form-intro {
  text-align: center;
  max-width: 480px;
  margin: calc(-1 * var(--space-3)) auto var(--space-4);
  color: #2d3a40;
  font-size: 14px;
}

.form-success {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  background: linear-gradient(135deg, var(--blue-petrol) 0%, var(--blue-dark) 100%);
  border-radius: 20px;
  border: 1px solid rgba(225, 173, 1, 0.4);
  box-shadow: 0 20px 60px rgba(18, 73, 93, 0.25);
  display: none;
  animation: slideUp 0.6s var(--ease-out-expo);
}

.form-success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--blue-dark);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(225, 173, 1, 0.45);
  animation: popCheck 0.5s var(--ease-out-back) 0.1s both;
}

@keyframes popCheck {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
}

.form-success .t-body {
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.7;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0a2e3d 100%);
  color: #ffffff;
  padding: var(--space-5) 0 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
}

.footer-logo {
  max-height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  opacity: 0.95;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s var(--ease-out-expo);
  padding: 4px 0;
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: var(--gold);
}

.footer-bottom {
  padding: var(--space-3) 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 62px;
  height: 62px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
  z-index: 999;
  text-decoration: none;
  animation: whatsappBob 3s ease-in-out infinite;
}

.whatsapp-float-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(37, 211, 102, 0.45));
  transition: filter 0.4s var(--ease-out-expo);
}

@keyframes whatsappBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
}

.whatsapp-float:hover .whatsapp-float-icon {
  filter: drop-shadow(0 10px 24px rgba(37, 211, 102, 0.6));
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #ffffff;
  color: var(--blue-dark);
  padding: var(--space-1) var(--space-2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s var(--ease-out-expo);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-4);
  }
}

/* ── LINKS PAGE ────────────────────────────────────────── */
.links-container {
  padding: calc(var(--space-6) + 80px) 0 var(--space-5);
  min-height: 60vh;
}

.links-nav {
  display: grid;
  gap: var(--space-3);
  max-width: 600px;
  margin: 0 auto;
}

.link-button {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 250, 0.95) 100%);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.5s var(--ease-out-expo);
  border: 2px solid rgba(51, 130, 159, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18, 73, 93, 0.08), 0 1px 3px rgba(18, 73, 93, 0.05);
}

.link-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-petrol));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.link-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.link-button:hover::after {
  left: 100%;
}

.link-button:hover::before {
  opacity: 1;
}

.link-button:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(18, 73, 93, 0.15), 0 4px 12px rgba(18, 73, 93, 0.1);
  border-color: var(--blue-mid);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(230, 245, 248, 1) 100%);
}

.link-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.link-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--blue-mid);
  transition: fill 0.4s var(--ease-out-expo);
}

.link-button:hover .link-icon {
  transform: scale(1.1);
}

.link-button:hover .link-icon svg {
  fill: var(--gold);
}

.link-button span {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-fg-primary);
  transition: all 0.4s var(--ease-out-expo);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  z-index: 1;
}

.link-button:hover span {
  color: #ffffff;
}

/* Arrow for links */
.link-button .link-arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--color-fg-muted);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.link-button:hover .link-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    width: 88%;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-5);
    max-width: 980px;
    margin: 0 auto;
  }

  .links-nav {
    max-width: 700px;
  }
}

/* ── UTILITY ───────────────────────────────────────────── */
.text-center { text-align: center; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* Loading state */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--blue-mid);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
