/* ============================================================
   ANEXG TECH – MAIN DESIGN SYSTEM
   3D Glassmorphism SaaS UI
   ============================================================ */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #25D366;
  --primary-dark: #1aad52;
  --primary-glow: rgba(37, 211, 102, 0.4);
  --primary-glow-strong: rgba(37, 211, 102, 0.7);
  --bg-dark: #0a0f1e;
  --bg-card: #0d1526;
  --bg-glass: rgba(255,255,255,0.05);
  --bg-glass-border: rgba(255,255,255,0.1);
  --text-primary: #f0f6ff;
  --text-secondary: #8899bb;
  --text-muted: #5566880;
  --accent-blue: #3d80ff;
  --accent-purple: #a855f7;
  --neon-green: #39ff14;
  --border-glass: 1px solid rgba(255,255,255,0.12);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(37,211,102,0.3);
  --shadow-glow-strong: 0 0 60px rgba(37,211,102,0.5);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  --font-main: 'Outfit', sans-serif;
  --font-alt: 'Space Grotesk', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,211,102,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(61,128,255,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 60% 80%, rgba(168,85,247,0.05) 0%, transparent 60%),
              linear-gradient(135deg, #050810 0%, #0a0f1e 50%, #050d12 100%);
}
.page-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='%2325D366' 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.4;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: var(--border-glass);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), #1aad52);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-glow);
  animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-4px) rotateX(5deg); }
}
.logo-text {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px; font-size: 0.95rem; font-weight: 500;
  color: var(--text-secondary); border-radius: 10px;
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-glass); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }
.nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  padding: 10px 22px; font-size: 0.9rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  color: var(--text-primary); transition: var(--transition);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,211,102,0.08); }

.btn-primary {
  padding: 10px 24px; font-size: 0.9rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #1fa854);
  color: #fff; border-radius: 12px; transition: var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative; overflow: hidden;
  animation: btnFloat 3s ease-in-out infinite;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--primary-glow-strong); }
.btn-primary:hover::before { opacity: 1; }
@keyframes btnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.25);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}
.section-badge svg { width: 14px; height: 14px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.section-title span { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 640px;
  line-height: 1.8; margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.glass-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(37,211,102,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(37,211,102,0.15);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 28px;
  animation: fadeInDown 0.8s ease;
}
.hero-badge::before { content: '●'; animation: blink 1.5s infinite; font-size: 0.6rem; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #7fff4c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}
.hero-desc {
  font-size: 1.15rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 40px; max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 16px; }
.btn-outline-lg {
  padding: 15px 32px; font-size: 1rem; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2); color: var(--text-primary);
  background: var(--bg-glass); backdrop-filter: blur(8px);
  font-weight: 600; transition: var(--transition);
}
.btn-outline-lg:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-stat .num {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.hero-stat .label { font-size: 0.85rem; color: var(--text-secondary); }

/* Hero Visual */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 1s ease 0.4s both;
}
.hero-phone {
  width: 280px; height: 540px;
  background: linear-gradient(145deg, #141e38, #0d1526);
  border-radius: 40px;
  border: 2px solid rgba(37,211,102,0.3);
  box-shadow: 0 0 60px rgba(37,211,102,0.2), 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
  animation: phoneFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 800px;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-16px) rotateY(5deg) rotateX(-2deg); }
}
.hero-phone-screen {
  position: absolute; inset: 20px;
  background: linear-gradient(180deg, #075e54 0%, #128c7e 100%);
  border-radius: 28px; overflow: hidden;
}
.chat-bubble {
  margin: 12px; padding: 10px 14px; border-radius: 16px 16px 16px 4px;
  background: rgba(255,255,255,0.15); font-size: 0.75rem; color: #fff;
  animation: bubbleIn 0.5s ease both;
  max-width: 80%;
}
.chat-bubble.sent {
  margin-left: auto; margin-right: 12px;
  background: var(--primary); border-radius: 16px 16px 4px 16px;
}
@keyframes bubbleIn { from{opacity:0;transform:scale(0.8)} to{opacity:1;transform:scale(1)} }

.floating-badge {
  position: absolute; background: var(--bg-glass);
  backdrop-filter: blur(12px); border: var(--border-glass);
  border-radius: 14px; padding: 12px 18px;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem; font-weight: 600;
  animation: badgeFloat 3s ease-in-out infinite;
  white-space: nowrap;
}
.floating-badge.b1 { top: 10%; left: -30%; animation-delay: 0s; }
.floating-badge.b2 { bottom: 20%; right: -20%; animation-delay: 1s; }
.floating-badge.b3 { top: 50%; left: -25%; animation-delay: 2s; }
@keyframes badgeFloat {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}
}
.badge-icon { font-size: 1.2rem; }
.badge-val { color: var(--primary); font-size: 1.1rem; }

/* Particles */
.particle {
  position: absolute; border-radius: 50%;
  background: var(--primary); opacity: 0.4;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 36px 32px;
}
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,211,102,0.15), rgba(37,211,102,0.05));
  border: 1px solid rgba(37,211,102,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(37,211,102,0.1);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateY(15deg);
  box-shadow: 0 0 30px rgba(37,211,102,0.3);
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px; align-items: stretch;
}
.pricing-card {
  padding: 30px 20px;
  display: flex; flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.pricing-card.popular {
  border-color: var(--primary) !important;
  background: linear-gradient(145deg, rgba(37,211,102,0.1), rgba(37,211,102,0.03)) !important;
  box-shadow: 0 0 60px rgba(37,211,102,0.2), var(--shadow-card) !important;
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #1aad52);
  color: #fff; padding: 6px 20px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 4px 20px var(--primary-glow); white-space: nowrap;
}
.pricing-card:hover {
  transform: translateY(-12px) rotateX(3deg) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(37,211,102,0.2) !important;
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.plan-duration { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.plan-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.plan-currency { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.plan-amount { font-size: 3rem; font-weight: 900; color: var(--text-primary); line-height: 1; }
.plan-strike { font-size: 1.1rem; color: var(--text-secondary); text-decoration: line-through; margin-left: 8px; }
.plan-features { flex: 1; margin: 24px 0; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem; color: var(--text-secondary);
}
.plan-features li svg { width: 16px; height: 16px; flex-shrink: 0; }
.plan-features li .tick { color: var(--primary); }
.btn-plan {
  width: 100%; padding: 14px; border-radius: 14px;
  font-size: 0.95rem; font-weight: 700; transition: var(--transition);
}
.btn-plan-outline {
  border: 1px solid rgba(37,211,102,0.4); color: var(--primary);
  background: rgba(37,211,102,0.05);
}
.btn-plan-outline:hover { background: rgba(37,211,102,0.12); border-color: var(--primary); }
.btn-plan-filled {
  background: linear-gradient(135deg, var(--primary), #1aad52); color: #fff;
  box-shadow: 0 6px 30px var(--primary-glow);
}
.btn-plan-filled:hover { box-shadow: 0 10px 40px var(--primary-glow-strong); transform: translateY(-2px); }
.savings-tag {
  font-size: 0.78rem; color: var(--primary); font-weight: 600;
  background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.15);
  border-radius: 20px; padding: 3px 10px; margin-bottom: 20px; display: inline-block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { padding: 32px; }
.testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: #fff;
}
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--text-secondary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius-sm);
  border: var(--border-glass);
  background: var(--bg-glass);
  margin-bottom: 16px; overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(37,211,102,0.2); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; font-size: 1rem; font-weight: 600; color: var(--text-primary);
  background: none; text-align: left; gap: 16px;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(37,211,102,0.3); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.2rem; transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer-inner { padding: 0 26px 22px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================================
   COUNTER SECTION
   ============================================================ */
.counters-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.counter-card { padding: 40px 24px; }
.counter-num {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 8px;
}
.counter-label { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(37,211,102,0.12) 0%, transparent 70%);
  text-align: center; position: relative;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,211,102,0.08) 0%, transparent 60%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 20px; }
.cta-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
}
.trust-icon { font-size: 1.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
  border-top: var(--border-glass); padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin: 16px 0 24px; }
.footer-heading { font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 12px; }
.footer-bottom {
  border-top: var(--border-glass); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--text-secondary); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-secondary); font-size: 0.85rem; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-glass); border: var(--border-glass);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: var(--transition);
}
.social-link:hover { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); transform: translateY(-3px); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1aad52);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 30px rgba(37,211,102,0.5);
  animation: waFloat 2s ease-in-out infinite;
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.wa-pulse::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.inner-hero {
  padding: 160px 0 80px; text-align: center;
  background: radial-gradient(ellipse at center top, rgba(37,211,102,0.1) 0%, transparent 60%);
}
.inner-hero .hero-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; color: var(--text-secondary); font-size: 0.9rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================================
   CONTENT PAGE
   ============================================================ */
.content-section { padding: 80px 0; }
.content-card { padding: 48px; margin-bottom: 32px; }
.content-card h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); }
.content-card h3 { font-size: 1.3rem; font-weight: 700; margin: 24px 0 12px; color: var(--primary); }
.content-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.9; margin-bottom: 16px; }
.content-card ul, .content-card ol { padding-left: 20px; color: var(--text-secondary); font-size: 0.95rem; }
.content-card li { margin-bottom: 10px; line-height: 1.7; }
.content-card ol { list-style: decimal; }
.content-card ul { list-style: disc; }

/* ============================================================
   API DOCS
   ============================================================ */
.api-sidebar {
  width: 280px; flex-shrink: 0;
}
.api-sidebar ul { display: flex; flex-direction: column; gap: 4px; }
.api-sidebar a {
  display: block; padding: 10px 16px; border-radius: 10px;
  color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition);
}
.api-sidebar a:hover, .api-sidebar a.active { background: rgba(37,211,102,0.1); color: var(--primary); }
.api-sidebar .sidebar-heading {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-secondary); padding: 20px 16px 8px; margin-top: 12px;
}
.api-layout { display: flex; gap: 40px; align-items: flex-start; }
.api-content { flex: 1; min-width: 0; }
.api-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.api-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 32px 0 12px; }
.api-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.code-block {
  background: #060c1a; border: var(--border-glass); border-radius: var(--radius-sm);
  padding: 24px; margin: 20px 0; font-family: 'Courier New', monospace; font-size: 0.88rem;
  overflow-x: auto; position: relative; line-height: 1.7;
}
.code-block .method { color: #61DAFB; }
.code-block .url { color: #CE9178; }
.code-block .key { color: #9CDCFE; }
.code-block .val { color: #CE9178; }
.code-block .str { color: #98C379; }
.code-block .comment { color: #6B7F9E; }
.code-copy {
  position: absolute; top: 12px; right: 12px;
  padding: 6px 12px; font-size: 0.78rem; font-weight: 600; border-radius: 8px;
  background: rgba(37,211,102,0.15); border: 1px solid rgba(37,211,102,0.3); color: var(--primary);
  cursor: pointer; transition: var(--transition);
}
.code-copy:hover { background: rgba(37,211,102,0.25); }
.method-badge {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; margin-right: 12px;
  font-family: monospace; vertical-align: middle;
}
.method-get { background: rgba(37,211,102,0.15); color: var(--primary); border: 1px solid rgba(37,211,102,0.3); }
.method-post { background: rgba(61,128,255,0.15); color: #3d80ff; border: 1px solid rgba(61,128,255,0.3); }
.param-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.param-table th, .param-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.param-table th { color: var(--text-secondary); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1px; }
.param-table td { color: var(--text-primary); }
.param-table td:first-child { font-family: monospace; color: var(--primary); }
.param-table td:nth-child(2) { color: #61DAFB; font-family: monospace; font-size: 0.85rem; }
.required-badge { background: rgba(239,68,68,0.15); color: #ef4444; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; font-weight: 700; }
.optional-badge { background: rgba(100,116,139,0.15); color: #94a3b8; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; font-weight: 700; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: flex-start; }
.contact-info-card { padding: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-item-label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 4px; }
.contact-item-val { font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
.contact-form-card { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: var(--text-primary); font-size: 0.95rem; font-family: inherit;
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary); background: rgba(37,211,102,0.04);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 16px; font-size: 1rem; font-weight: 700; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1aad52); color: #fff;
  box-shadow: 0 6px 30px var(--primary-glow); transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 40px var(--primary-glow-strong); }

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
.aos-fade { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos-fade.visible { opacity: 1; transform: translateY(0); }
.aos-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos-left.visible { opacity: 1; transform: translateX(0); }
.aos-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   STEPS ROW
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card { padding: 32px 28px; text-align: center; }
.step-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, rgba(37,211,102,0.3), rgba(37,211,102,0.05));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .floating-badge.b1, .floating-badge.b2, .floating-badge.b3 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .api-layout { flex-direction: column; }
  .api-sidebar { width: 100%; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,15,30,0.97); backdrop-filter: blur(24px); padding: 24px; gap: 4px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-stats { gap: 24px; }
  .counters-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MISC
   ============================================================ */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin: 0; }
.green { color: var(--primary); }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12;
  animation: blobAnim 12s ease-in-out infinite;
}
@keyframes blobAnim { 0%,100%{transform:scale(1) translate(0,0)} 33%{transform:scale(1.1) translate(30px,-20px)} 66%{transform:scale(0.9) translate(-20px,30px)} }
.blob-green { background: var(--primary); }
.blob-blue { background: var(--accent-blue); }
.blob-purple { background: var(--accent-purple); }

/* Floating 3D objects */
.float-obj {
  position: absolute; opacity: 0.15;
  animation: floatObj 6s ease-in-out infinite;
  font-size: 2.5rem; filter: blur(0.5px);
}
@keyframes floatObj {
  0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(10deg)}
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-dark); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px; border: 3px solid rgba(37,211,102,0.2);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
