/* ── Design Tokens ── */
:root {
  --brand-gold: #C9961A;
  --brand-gold-hover: #F0C84A;
  --brand-cream: rgb(245, 240, 232);
  --brand-beige: rgb(232, 220, 200);
  --white: #FFFFFF;
  --text-primary: #2C241B;
  --text-secondary: #2C241B;
  --border-light: #E8DCC8;
  --accent-soft-gold: #E2C7A0;

  --shadow-sm: 0 2px 4px rgba(44, 36, 27, 0.04);
  --shadow-md: 0 10px 30px rgba(44, 36, 27, 0.06), 0 2px 6px rgba(44, 36, 27, 0.04);
  --shadow-lg: 0 20px 50px rgba(44, 36, 27, 0.1), 0 5px 15px rgba(44, 36, 27, 0.05);
  --shadow-3d: 0 30px 60px rgba(31, 31, 31, 0.12), 0 12px 25px rgba(201, 162, 39, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* ── WhatsApp Design Tokens ── */
  --wa-teal: #075E54;
  --wa-teal-light: #128C7E;
  --wa-green: #25D366;
  --wa-green-light: #DCF8C6;
  --wa-bg: #ECE5DD;
  --wa-bubble-in: #FFFFFF;
  --wa-bubble-out: #DCF8C6;
  --wa-tick: #53BDEB;
  --wa-header-gradient: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
}

/* ── Reset & Base ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--brand-cream);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  font-size: 1rem;
  background: linear-gradient(to right, #dbd1bd, #ffffff) !important;
  color: #2C241B;
  overflow-x: hidden;
  padding-top: 30px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #2C241B;
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: #2C241B;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--wa-green) 0%, var(--wa-teal-light) 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--brand-cream); }
::-webkit-scrollbar-thumb {
  background: var(--wa-teal-light);
  border-radius: var(--radius-sm);
  border: 2px solid var(--brand-cream);
}
::-webkit-scrollbar-thumb:hover { background: var(--wa-teal); }

/* ── Navbar ── */
nav[class*="sticky"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: linear-gradient(to right, #dbd1bd, #ffffff) !important;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(to right, #dbd1bd, #ffffff) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--brand-gold);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav styling */
/* Mobile nav styling */
#mobile-overlay {
  background: rgba(0, 0, 0, 0.3) !important;
}

#mobile-overlay {
  background: rgba(0, 0, 0, 0.3) !important;
}

/* Mobile navbar flex layout */
@media (max-width: 768px) {
  nav[class*="sticky"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
  }
  
  nav[class*="sticky"] > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav[class*="sticky"] .logo {
    order: 1;
  }
  
  nav[class*="sticky"] #menu-toggle {
    order: 2;
    margin-left: auto;
  }
  
  nav[class*="sticky"] .nav-links,
  nav[class*="sticky"] .nav-cta {
    display: none !important;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft-gold) 0%, var(--brand-gold) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-hover) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(230, 217, 195, 0.3);
  border-color: var(--brand-gold);
  transform: translateY(-3px);
}

/* ── Hero Section ── */
.hero {
  padding: 4rem 2rem 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 750px; }

.section-tag {
  color: var(--brand-gold);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero h1 {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #2C241B 0%, #2C241B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.bg-icon {
  position: absolute;
  opacity: 0.08;
  z-index: 1;
  font-size: 15rem;
  pointer-events: none;
  font-family: 'Playfair Display', serif;
  color: var(--brand-gold);
}

.bg-giraffe-main {
  bottom: -50px;
  right: 5%;
  font-size: 25rem;
  transform: rotate(-10deg);
}

/* ── iPhone 3D Mockup ── */
.phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 40px 0 20px;
}

.phone-wrapper {
  position: relative;
  transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
  will-change: transform;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(-18px 20px 28px rgba(0,0,0,0.35)) drop-shadow(-6px 8px 12px rgba(0,0,0,0.20));
}

.iphone-svg-frame {
  display: block;
  width: 320px;
  height: auto;
}

.phone-header {
  background: var(--wa-header-gradient);
  color: var(--white);
  padding: calc(320px * 58 / 390) 10px 8px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  flex-shrink: 0;
}

.wa-back-btn {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}

.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-teal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.phone-contact-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.phone-contact-name {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-status {
  font-size: 0.68rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 3px;
}

.phone-status-dot {
  width: 6px;
  height: 6px;
  background: var(--wa-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 4px var(--wa-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.wa-header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
  opacity: 0.9;
}

.wa-header-actions svg {
  width: 18px;
  height: 18px;
}

.phone-body {
  flex: 1;
  min-height: 0;
  background-color: var(--wa-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M10 5 L15 10 L10 15 L5 10 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3Cpath d='M30 5 L35 10 L30 15 L25 10 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3Cpath d='M50 5 L55 10 L50 15 L45 10 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3Cpath d='M10 25 L15 30 L10 35 L5 30 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3Cpath d='M30 25 L35 30 L30 35 L25 30 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3Cpath d='M50 25 L55 30 L50 35 L45 50 Z' fill='none' stroke='%23c8bdb4' stroke-width='0.5'/%3E%3C/svg%3E");
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-date-divider {
  text-align: center;
  margin: 6px 0;
}

.chat-date-divider span {
  background: rgba(11, 20, 26, 0.15);
  color: #4a4a4a;
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 500;
}

/* ── Chat Bubbles ── */
.chat-bubble {
  max-width: 82%;
  padding: 7px 10px 16px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  animation: chatReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-inbound {
  background: var(--wa-bubble-in);
  align-self: flex-start;
  border-top-left-radius: 0px;
  margin-left: 2px;
}

.chat-inbound::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  border-top: 8px solid var(--wa-bubble-in);
  border-left: 7px solid transparent;
}

.chat-outbound {
  background: var(--wa-bubble-out);
  align-self: flex-end;
  border-top-right-radius: 0px;
  margin-right: 2px;
}

.chat-outbound::after {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  border-top: 8px solid var(--wa-bubble-out);
  border-right: 7px solid transparent;
}

.chat-ai {
  background: var(--wa-bubble-out);
  align-self: flex-end;
  border-top-right-radius: 0px;
  margin-right: 2px;
}

.chat-ai::after {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  border-top: 8px solid var(--wa-bubble-out);
  border-right: 7px solid transparent;
}

.bubble-meta {
  position: absolute;
  bottom: 3px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.7;
}

.bubble-time {
  font-size: 0.58rem;
  color: #555;
}

.bubble-ticks {
  font-size: 0.65rem;
  color: var(--wa-tick);
  line-height: 1;
}

/* ── WA Input Bar ── */
.wa-input-bar {
  background: var(--wa-bg);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-input-field {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.72rem;
  color: #999;
  border: none;
  outline: none;
}

.wa-send-btn {
  width: 32px;
  height: 32px;
  background: var(--wa-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-send-btn svg {
  width: 16px;
  height: 16px;
}

/* ── Typing Indicator ── */
.typing-indicator {
  background: var(--wa-bubble-in);
  align-self: flex-start;
  border-radius: 10px;
  border-top-left-radius: 0;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  position: relative;
}

.typing-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  border-top: 8px solid var(--wa-bubble-in);
  border-left: 7px solid transparent;
}

.typing-indicator-right {
  background: var(--wa-bubble-out);
  align-self: flex-end;
  border-radius: 10px;
  border-top-right-radius: 0;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
  position: relative;
}

.typing-indicator-right::after {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  border-top: 8px solid var(--wa-bubble-out);
  border-right: 7px solid transparent;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.bubble-enter {
  animation: bubbleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 80px;
  background: radial-gradient(ellipse at 60% 50%, rgba(37,211,102,0.10) 0%, rgba(201,162,39,0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

/* ── Core Sections ── */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.section-beige { background-color: var(--brand-beige); }

.text-center { text-align: center; }

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #2C241B 0%, #2C241B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 4.5rem auto;
  line-height: 1.7;
}

/* ── 3D Cards Grid ── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card-3d {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.card-3d:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-3d);
  border-color: var(--brand-gold);
}

.card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-light);
  transition: background 0.3s ease;
}

.card-3d:hover::before { background: var(--brand-gold); }

.card-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.card-3d:hover .card-icon-container {
  background: var(--brand-gold);
  color: var(--white);
  transform: rotateY(180deg);
}

.card-title { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.card-desc { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }

/* ── Integration Section ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.integration-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.integration-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
}

.integration-card svg {
  width: 32px;
  height: 32px;
  color: var(--brand-gold);
}

/* ── AI Conversation Grid ── */
.ai-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.ai-chat-mockups {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-bubble-horizontal {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.chat-bubble-horizontal:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
  transform: translateX(5px);
}

.chat-bubble-horizontal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--white);
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.chat-bubble-horizontal:hover::before {
  border-left-color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
}

.chat-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-gold);
  font-size: 0.95rem;
}

.chat-answer { font-size: 0.9rem; color: var(--text-primary); line-height: 1.5; }

/* ── Benefits Grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
  transform: translateY(-5px);
}

.benefit-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.benefit-card h4 { font-size: 1.25rem; }
.benefit-card p { font-size: 0.9rem; line-height: 1.6; }

/* ── CTA Section ── */
.cta-section {
  background: rgba(150, 120, 85, 0.3);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  margin: 4rem auto;
  max-width: 1100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.cta-section h2 { font-size: 3rem; margin-bottom: 1.5rem; }

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-light);
  background-color: var(--brand-beige);
  padding: 4rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--brand-gold); }

.footer-copy { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Scroll Reveal ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ── */
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); background: #aaa; }
  30% { transform: translateY(-6px); background: var(--wa-teal-light); }
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-120vh) scale(1.2); }
}

@keyframes float {
  0%   { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateY(0px); }
  50%  { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateY(-10px); }
  100% { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateY(0px); }
}

@keyframes floatShadow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleY(0.35) skewX(-20deg) scale(1); }
  50%       { opacity: 0.3; transform: translateX(-50%) scaleY(0.35) skewX(-20deg) scale(0.85); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0.3; }
}

@keyframes chatReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Responsive: 992px ── */
@media (max-width: 992px) {
  .hero h1     { font-size: 2.5rem; }
  .hero p      { font-size: 1.1rem; }
  .section-title { font-size: 2.25rem; }
  .section-desc  { font-size: 1rem; }
  .grid-4        { grid-template-columns: 1fr 1fr; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid    { grid-template-columns: 1fr 1fr; }
  .ai-chat-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .phone-wrapper { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
  .phone-container { padding: 20px; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar-container { position: relative; }
  .menu-toggle { display: block; order: 3; }
  .logo { order: 1; font-size: 1.25rem; }
  .nav-cta { order: 2; padding: 0.65rem 1.25rem; font-size: 0.85rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    width: 100%;
    z-index: 999;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .nav-links a:hover { background: var(--brand-cream); }

  .hero      { padding: 4rem 1.5rem 3rem 1.5rem; }
  .grid-2    { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero h1   { font-size: 2rem; line-height: 1.2; }
  .hero p    { font-size: 1rem; margin-bottom: 2rem; }
  .hero-ctas { flex-direction: column; gap: 1rem; justify-content: center; }

  .btn { width: 100%; max-width: 300px; margin: 0 auto; }
  .section  { padding: 4rem 1.5rem; }
  .section-title { font-size: 1.85rem; }
  .section-desc  { font-size: 0.95rem; margin-bottom: 2.5rem; }

  .grid-4         { grid-template-columns: 1fr; gap: 1.5rem; }
  .integration-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .benefits-grid    { grid-template-columns: 1fr; gap: 1.5rem; }

  .phone-wrapper {
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .iphone-svg-frame { width: 100%; max-width: 320px; }
  .phone-container  { padding: 10px; }

  .cta-section { padding: 3rem 2rem; margin: 2rem 1rem; }
  .cta-section h2 { font-size: 1.85rem; }
  .cta-section p  { font-size: 1rem; }

  .card-3d   { padding: 1.5rem; }
  .card-title { font-size: 1.1rem; }
  .card-desc  { font-size: 0.85rem; }
}

/* ── Responsive: 480px ── */
@media (max-width: 480px) {
  .hero h1   { font-size: 1.75rem; }
  .section-tag { font-size: 0.75rem; letter-spacing: 1.5px; }
  .logo      { font-size: 1.1rem; }
  .logo svg  { width: 24px; height: 24px; margin-right: 6px; }
  .integration-grid { grid-template-columns: 1fr; }
  .chat-bubble { font-size: 0.7rem; max-width: 90%; }
  .phone-avatar      { width: 32px; height: 32px; font-size: 0.75rem; }
  .phone-contact-name { font-size: 0.8rem; }
}