/* =============================================
   APIDOZAP CLONE - MAIN STYLESHEET
   ============================================= */

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

:root {
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --dark: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 15px rgba(34,197,94,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34,197,94,0.45);
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-outline {
  background: transparent;
  color: var(--green-600);
  border: 2px solid var(--green-500);
}
.btn-outline:hover {
  background: var(--green-500);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--green-600);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-dark {
  background: var(--dark);
  color: white;
}
.btn-dark:hover {
  background: var(--dark-800);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  padding: 14px;
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-600);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-header p {
  font-size: 17px;
  color: var(--dark-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
}

.logo-icon span {
  color: white;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

/* Nav */
.nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-700);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover { background: var(--gray-100); color: var(--green-600); }
.nav-link .fa-chevron-down { font-size: 10px; transition: transform var(--transition); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--dark-700);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition);
}
.dropdown-menu li a:hover { background: var(--gray-100); color: var(--green-600); }
.dropdown-menu li a i { width: 18px; color: var(--green-500); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul { list-style: none; padding: 16px 24px 24px; }
.mobile-menu ul li { border-bottom: 1px solid var(--gray-100); }
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--green-600); }
.mobile-menu ul li:last-child, .mobile-menu ul li:nth-last-child(2) {
  border: none;
  padding-top: 8px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 50%, #eff6ff 100%);
}

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

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.25), transparent);
  top: -200px; right: -200px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,0.1), transparent);
  top: 50%; left: 40%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-700);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge i { color: #25D366; font-size: 15px; }

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: left; }
.stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--dark); }
.stat span { font-size: 13px; color: var(--dark-600); }
.stat-divider { width: 1px; height: 36px; background: var(--gray-300); }

/* --- Phone Mockup --- */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.phone-mockup { position: relative; }

.phone-frame {
  width: 280px;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
}

.phone-notch {
  width: 100px; height: 28px;
  background: #1c1c1e;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #f0f0f0;
  border-radius: 32px;
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.whatsapp-header {
  background: #075E54;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-back { color: white; font-size: 14px; }
.wa-avatar { display: flex; align-items: center; gap: 8px; flex: 1; }
.avatar-img {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 14px;
}
.wa-info strong { display: block; color: white; font-size: 13px; font-weight: 600; }
.wa-info small { color: rgba(255,255,255,0.7); font-size: 11px; }
.wa-actions { display: flex; gap: 14px; color: white; font-size: 14px; }

.chat-bg {
  flex: 1;
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='1' fill='rgba(0,0,0,0.04)'/%3E%3C/svg%3E");
  padding: 12px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.4;
  position: relative;
  animation: fadeInUp 0.4s ease both;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
.message.received {
  background: white;
  align-self: flex-start;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.message.sent {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.message p { color: #1a1a1a; }
.msg-time {
  font-size: 10px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-end;
  margin-top: 3px;
}
.msg-time .fa-check-double { color: #34b7f1; font-size: 10px; }

.msg-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  padding: 6px;
  border-radius: 8px;
  border-left: 3px solid var(--green-500);
}
.msg-card-icon {
  width: 28px; height: 28px;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
}
.msg-card-info strong { display: block; font-size: 11px; color: var(--dark); }
.msg-card-info span { font-size: 10px; color: var(--dark-600); }

.chat-input {
  background: #f0f0f0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.input-bar {
  flex: 1;
  background: white;
  border-radius: 24px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #999;
}
.input-bar span { flex: 1; }
.mic-btn {
  width: 36px; height: 36px;
  background: var(--green-500);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.badge-1 { top: 20px; right: -60px; animation-delay: 0s; }
.badge-1 i { color: var(--green-500); font-size: 16px; }

.badge-2 { bottom: 80px; right: -70px; animation-delay: 1s; }
.badge-2 i { color: var(--blue-600); font-size: 16px; }

.badge-3 { bottom: 30px; left: -50px; animation-delay: 2s; }
.badge-users { display: flex; }
.u-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -6px;
}
.u-avatar:nth-child(1) { background: #f472b6; margin-left: 0; }
.u-avatar:nth-child(2) { background: #60a5fa; }
.u-avatar:nth-child(3) { background: #4ade80; }

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

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

/* =============================================
   LOGOS STRIP
   ============================================= */
.logos-strip {
  padding: 32px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.logos-track {
  display: flex;
  overflow: hidden;
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scroll 20s linear infinite;
  flex-shrink: 0;
  padding: 0 24px;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-600);
  opacity: 0.6;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.logo-item:hover { opacity: 1; }
.logo-item i { font-size: 20px; }
.logo-svg { width: 20px; height: 20px; filter: grayscale(1) opacity(0.6); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34,197,94,0.3);
}
.feature-card:hover .feature-card-bg { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-card--full {
  grid-column: 1 / -1;
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(37,99,235,0.04));
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-icon.green { background: rgba(34,197,94,0.12); color: var(--green-600); }
.feature-icon.blue { background: rgba(37,99,235,0.12); color: #2563eb; }
.feature-icon.purple { background: rgba(168,85,247,0.12); color: #9333ea; }
.feature-icon.orange { background: rgba(249,115,22,0.12); color: #f97316; }
.feature-icon.teal { background: rgba(20,184,166,0.12); color: #14b8a6; }
.feature-icon.pink { background: rgba(236,72,153,0.12); color: #ec4899; }
.feature-icon.red { background: rgba(239,68,68,0.12); color: #ef4444; }

/* --- Calls Card --- */
.feature-card--calls {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-color: rgba(239,68,68,0.2);
}
.feature-card--calls:hover {
  border-color: rgba(239,68,68,0.4);
  box-shadow: 0 12px 48px rgba(239,68,68,0.12);
}

.calls-visual {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 28px;
}

.call-wave {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(239,68,68,0.3);
  animation: callPulse 2s ease-out infinite;
}
.wave-ring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.wave-ring-2 { width: 56px; height: 56px; animation-delay: 0.4s; border-color: rgba(239,68,68,0.45); }
.wave-ring-3 { width: 32px; height: 32px; animation-delay: 0.8s; border-color: rgba(239,68,68,0.6); }

@keyframes callPulse {
  0% { transform: scale(0.85); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.1); opacity: 0; }
}

.call-icon-center {
  position: relative;
  z-index: 2;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(239,68,68,0.4);
  animation: callBounce 2s ease-in-out infinite;
}

@keyframes callBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.call-stats {
  display: flex;
  gap: 24px;
}

.call-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.call-stat-item strong {
  font-size: 24px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}
.call-stat-item span {
  font-size: 12px;
  color: var(--dark-600);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--dark-600);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-700);
}
.feature-list li i { color: var(--green-500); font-size: 13px; }

/* Code Preview */
.code-preview {
  background: #1e293b;
  border-radius: 12px;
  margin-top: 20px;
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green-dot { background: #22c55e; }
.code-lang { margin-left: auto; font-size: 11px; color: rgba(255,255,255,0.4); }

.code-preview pre {
  padding: 14px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.7;
}
.code-preview code {
  font-family: 'Fira Code', 'Courier New', monospace;
  color: #e2e8f0;
}
.c-kw { color: #93c5fd; }
.c-str { color: #86efac; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 100%);
}

.steps-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  max-width: 320px;
}

.step-number {
  font-size: 64px;
  font-weight: 900;
  color: rgba(34,197,94,0.12);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -8px;
}

.step-content { flex: 1; }

.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.step-content p { font-size: 15px; color: var(--dark-600); line-height: 1.6; }

.step-arrow {
  color: var(--green-500);
  font-size: 20px;
  margin-top: 60px;
  padding: 0 16px;
  opacity: 0.5;
}

/* =============================================
   USE CASES / TABS
   ============================================= */
.use-cases {
  padding: 100px 0;
  background: white;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-600);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--green-400); color: var(--green-600); }
.tab-btn.active {
  background: var(--green-500);
  border-color: var(--green-500);
  color: white;
  box-shadow: 0 4px 15px rgba(34,197,94,0.35);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.tab-pane-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.tab-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}
.tab-info p {
  font-size: 16px;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.tab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--dark-700);
}
.tab-list li i { color: var(--green-500); font-size: 16px; }

.tab-visual { display: flex; justify-content: center; }

/* Mini Phone */
.mini-phone {
  background: #1c1c1e;
  border-radius: 28px;
  padding: 12px;
  width: 260px;
  box-shadow: var(--shadow-lg);
}

.mini-chat {
  background: #e5ddd5;
  border-radius: 20px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 280px;
}

.mini-msg {
  max-width: 90%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.4;
}
.mini-msg.received {
  background: white;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.mini-msg.sent {
  background: #dcf8c6;
  align-self: flex-end;
}
.mini-msg p { color: #1a1a1a; margin-bottom: 2px; }
.mini-msg small { color: #666; font-size: 10px; }
.mini-msg strong { font-size: 11px; }

.order-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.order-icon {
  width: 30px; height: 30px;
  background: var(--green-500);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px;
}
.order-icon.pix { background: #00d4aa; }
.order-info strong { display: block; font-size: 11px; color: var(--dark); }
.order-info span { font-size: 10px; color: var(--dark-600); }

.quick-replies, .rating-btns, .promo-btn {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.quick-replies button, .rating-btns button, .promo-btn button {
  background: rgba(0,150,136,0.1);
  border: 1px solid rgba(0,150,136,0.3);
  color: #009688;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
}
.quick-replies button:hover, .rating-btns button:hover, .promo-btn button:hover {
  background: #009688;
  color: white;
}

/* =============================================
   INTEGRATIONS
   ============================================= */
.integrations {
  padding: 100px 0;
  background: linear-gradient(160deg, #f8faff 0%, #f0fdf4 100%);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34,197,94,0.3);
}
.integration-card--more:hover {
  border-color: var(--green-400);
}

.int-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.integration-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-600);
}

/* Skeleton loading */
.pricing-skeleton {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.pricing-skeleton--featured {
  border-color: rgba(34,197,94,0.25);
  transform: translateY(-8px);
}
.pricing-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Pricing error state */
.pricing-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--dark-600);
}
.pricing-error i { font-size: 32px; color: var(--gray-300); display: block; margin-bottom: 16px; }
.pricing-error p { font-size: 15px; margin-bottom: 20px; }

/* Dynamic plan count adjustments */
#pricing-grid.plans-1 { grid-template-columns: minmax(0, 400px); justify-content: center; }
#pricing-grid.plans-2 { grid-template-columns: repeat(2, 1fr); }
#pricing-grid.plans-3 { grid-template-columns: repeat(3, 1fr); }
#pricing-grid.plans-4 { grid-template-columns: repeat(4, 1fr); }

/* =============================================
   PRICING CARDS
   ============================================= */
  padding: 100px 0;
  background: white;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-600);
  cursor: pointer;
  transition: color var(--transition);
}
.toggle-label.active { color: var(--dark); }

.toggle-switch {
  position: relative;
  width: 48px; height: 26px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: 100px;
  transition: background var(--transition);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  left: 3px; top: 3px;
  transition: transform var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--green-500); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }

.discount-badge {
  background: rgba(34,197,94,0.15);
  color: var(--green-700);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--green-500);
  background: linear-gradient(160deg, #f0fdf4, white);
  box-shadow: 0 8px 40px rgba(34,197,94,0.2);
  transform: translateY(-8px);
}
.pricing-card--featured:hover { transform: translateY(-12px); }

.pricing-card--enterprise {
  background: var(--dark);
  border-color: var(--dark);
}
.pricing-card--enterprise h3,
.pricing-card--enterprise p,
.pricing-card--enterprise li { color: var(--gray-300) !important; }
.pricing-card--enterprise .plan-features li i.fa-check { color: var(--green-400); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(34,197,94,0.35);
}

.plan-header { margin-bottom: 24px; }

.plan-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-600);
  font-size: 22px;
  margin-bottom: 16px;
}
.pricing-card--featured .plan-icon { background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: white; box-shadow: 0 8px 20px rgba(34,197,94,0.3); }
.pricing-card--enterprise .plan-icon { background: rgba(74,222,128,0.15); color: var(--green-400); }

.plan-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.plan-header p { font-size: 14px; color: var(--dark-600); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}
.currency { font-size: 18px; font-weight: 700; color: var(--dark); }
.amount { font-size: 48px; font-weight: 900; color: var(--dark); line-height: 1; }
.period { font-size: 15px; color: var(--dark-600); }
.enterprise-price span { font-size: 28px; font-weight: 800; color: var(--gray-300); }

.plan-description { font-size: 13px; color: var(--dark-600); margin-bottom: 24px; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}
.pricing-card--enterprise .plan-features { border-color: rgba(255,255,255,0.1); }

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-700);
}
.plan-features li i.fa-check { color: var(--green-500); }
.plan-features li i.fa-times { color: var(--gray-400); }
.plan-features li i.disabled { color: var(--gray-300); }

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--dark-600);
  font-size: 14px;
}
.pricing-note i { color: var(--green-500); font-size: 16px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 100px 0;
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stars { color: #f59e0b; margin-bottom: 16px; font-size: 14px; }

.testimonial-card p {
  font-size: 15px;
  color: var(--dark-700);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 14px; color: var(--dark); }
.author-info span { font-size: 13px; color: var(--dark-600); }

/* Stats Banner */
.stats-banner {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
}
.stat-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { padding: 80px 0; background: white; }

.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2a1a 100%);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}
.cta-shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.5), transparent);
  top: -150px; right: -100px;
}
.cta-shape-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.4), transparent);
  bottom: -100px; left: -50px;
}

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

.cta-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: white;
  margin: 0 auto 28px;
  box-shadow: 0 12px 30px rgba(34,197,94,0.4);
}

.cta-card h2 {
  font-size: 44px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.cta-note i { color: var(--green-400); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-icon { box-shadow: 0 4px 12px rgba(34,197,94,0.5); }

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-400); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--dark-600);
}

.footer-badges {
  display: flex;
  gap: 16px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--dark-600);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 8px;
}
.badge-item i { color: var(--green-500); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
.plan-setup-fee {
  font-size: 12px;
  color: var(--dark-600);
  margin-top: -10px;
  margin-bottom: 8px;
}

@media (max-width: 1100px) {
  #pricing-grid.plans-4 { grid-template-columns: repeat(2, 1fr); }
  #pricing-grid.plans-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  #pricing-grid.plans-3,
  #pricing-grid.plans-4 { grid-template-columns: 1fr; }
  #pricing-grid.plans-2 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 1; }
  .feature-card--full { grid-column: 1 / -1; }
  .steps-wrapper { flex-direction: column; align-items: center; gap: 32px; }
  .step { max-width: 100%; flex-direction: column; }
  .step-arrow { display: none; }
  .tab-pane-inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .cta-card { padding: 48px 24px; }
  .cta-card h2 { font-size: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .section-header { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 32px 24px; gap: 24px; }
  .stats-banner .stat-item strong { font-size: 26px; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .tabs-nav { gap: 6px; }
  .tab-btn { padding: 10px 16px; font-size: 13px; }
}
