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

:root {
  --bg: #070c14;
  --bg-card: #0d1525;
  --bg-card2: #101c2e;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(0,212,170,0.3);
  --primary: #00d4aa;
  --primary-dark: #00a882;
  --primary-glow: rgba(0,212,170,0.15);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0,212,170,0.12);
  --nav-h: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00a882);
  color: #000;
  box-shadow: 0 4px 20px rgba(0,212,170,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,170,0.45); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7,12,20,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle, .theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.lang-toggle:hover, .theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-item .label { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
}

.mockup-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar .dot:nth-child(1) { background: #ff5f57; }
.mockup-bar .dot:nth-child(2) { background: #febc2e; }
.mockup-bar .dot:nth-child(3) { background: #28c840; }

.mockup-content { padding: 20px; }

.chat-list { display: flex; flex-direction: column; gap: 10px; }
.chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.chat-item.active { background: rgba(0,212,170,0.08); border-color: rgba(0,212,170,0.2); }

.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.chat-avatar.green { background: rgba(0,212,170,0.2); color: var(--primary); }
.chat-avatar.blue { background: rgba(59,130,246,0.2); color: var(--blue); }
.chat-avatar.purple { background: rgba(168,85,247,0.2); color: #a855f7; }
.chat-avatar.orange { background: rgba(245,158,11,0.2); color: var(--gold); }

.chat-info { flex: 1; min-width: 0; }
.chat-name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-msg { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-meta { text-align: left; flex-shrink: 0; }
.chat-time { font-size: 0.72rem; color: var(--text-dim); }
.chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 4px;
}

.channel-icons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.channel-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}
.channel-icon.wa { background: rgba(37,211,102,0.12); color: #25d366; }
.channel-icon.ig { background: rgba(225,48,108,0.12); color: #e1306c; }
.channel-icon.ms { background: rgba(0,132,255,0.12); color: #0084ff; }

/* ===== PARTNERS ===== */
.partners {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s;
}
.partner-item:hover { filter: none; opacity: 1; }
.partner-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.partner-badge-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.partner-logo-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.partner-logo-wrap:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.07); }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-icon.green { background: rgba(0,212,170,0.12); }
.feature-icon.blue { background: rgba(59,130,246,0.12); }
.feature-icon.purple { background: rgba(168,85,247,0.12); }
.feature-icon.orange { background: rgba(245,158,11,0.12); }
.feature-icon.red { background: rgba(239,68,68,0.12); }
.feature-icon.teal { background: rgba(20,184,166,0.12); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== WHATSAPP API ===== */
.api-section { position: relative; }
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.api-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.api-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.api-stat .val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}
.api-stat .lbl { font-size: 0.8rem; color: var(--text-muted); }

/* ===== INBOX ===== */
.inbox-section { background: linear-gradient(180deg, transparent, rgba(0,212,170,0.03), transparent); }
.inbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inbox-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inbox-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.inbox-tab {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.inbox-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.inbox-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.inbox-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.inbox-msg-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.inbox-msg-body { flex: 1; }
.inbox-msg-name { font-size: 0.82rem; font-weight: 600; }
.inbox-msg-text { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.inbox-channel-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.tag-wa { background: rgba(37,211,102,0.15); color: #25d366; }
.tag-ig { background: rgba(225,48,108,0.15); color: #e1306c; }
.tag-ms { background: rgba(0,132,255,0.15); color: #0084ff; }

/* ===== AUTOMATION ===== */
.automation-section { }
.automation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.flow-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-size: 0.88rem;
}
.flow-node.trigger { background: rgba(0,212,170,0.08); border-color: rgba(0,212,170,0.2); }
.flow-node.action { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.flow-node.condition { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.flow-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  color: var(--text-dim);
  font-size: 1.2rem;
}

/* ===== USE CASES ===== */
.usecases-section { background: linear-gradient(180deg, transparent, rgba(59,130,246,0.03), transparent); }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.usecase-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.usecase-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.usecase-card h3 { font-size: 1rem; margin-bottom: 8px; }
.usecase-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== ANALYTICS ===== */
.analytics-section { }
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.chart-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chart-title { font-size: 0.9rem; font-weight: 600; }
.chart-period {
  background: rgba(255,255,255,0.06);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.chart-bar:hover { opacity: 1; }

.chart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.metric { text-align: center; }
.metric .val { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.metric .lbl { font-size: 0.75rem; color: var(--text-muted); }

/* ===== SECURITY ===== */
.security-section { }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.security-card .icon { font-size: 2rem; margin-bottom: 14px; }
.security-card h3 { font-size: 1rem; margin-bottom: 8px; }
.security-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-stars { color: var(--gold); margin-bottom: 14px; font-size: 1rem; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CLIENTS ===== */
.clients-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.clients-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.client-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  transition: all 0.3s;
}
.client-logo:hover { border-color: var(--border-hover); color: var(--text); }

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.08) 0%, transparent 70%);
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow);
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 280px; margin-bottom: 20px; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-dim); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }

/* ===== PRICING ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 48px;
}
.toggle-label { font-size: 0.9rem; color: var(--text-muted); }
.toggle-switch {
  width: 52px; height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch.active::after { transform: translateX(-24px); }
.save-badge {
  background: rgba(0,212,170,0.15);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(0,212,170,0.15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #00a882);
  color: #000;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.plan-price {
  margin: 20px 0;
}
.plan-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.plan-price .currency { font-size: 1.2rem; font-weight: 600; }
.plan-price .period { font-size: 0.85rem; color: var(--text-muted); }
.plan-price.contact { font-size: 1.4rem; font-weight: 700; color: var(--text); padding: 16px 0; }

.plan-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}
.plan-feature .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,212,170,0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
}

/* ===== FAQ ===== */
.faq-section { padding: 90px 0; }
.faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(0,212,170,0.2); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  gap: 12px;
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.faq-item.open .faq-icon { background: rgba(0,212,170,0.15); color: var(--primary); transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ===== ABOUT ===== */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.about-stat .icon { font-size: 1.8rem; margin-bottom: 12px; }
.about-stat .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.about-stat .lbl { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.mission-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.mission-card p { font-size: 0.9rem; color: var(--text-muted); }

.trust-grid {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.trust-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.trust-badge-card img, .trust-badge-card .badge-logo {
  height: 40px;
  opacity: 0.85;
}
.trust-badge-card span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.contact-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.contact-option:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.contact-option-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.contact-option h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.contact-option .val { font-size: 1rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.contact-option a.link-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color 0.2s;
}
.contact-option a.link-arrow:hover { color: var(--primary); }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-form-card .sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-card); }

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card p, .info-card a { font-size: 0.88rem; color: var(--text-muted); }
.info-card a { color: var(--primary); }
.hours-list { display: flex; flex-direction: column; gap: 6px; }
.hour-row { display: flex; justify-content: space-between; font-size: 0.85rem; }
.hour-row .day { color: var(--text-muted); }
.hour-row .time { color: var(--text); font-weight: 600; }

/* ===== FLOATING BUTTONS ===== */
.float-group {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.wa-float {
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

.scroll-top {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  font-size: 1rem;
  color: var(--text-muted);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-3px); }

/* Language badge pill */
.lang-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-pill:hover { border-color: var(--primary); color: var(--primary); }

/* ===== CHECK LIST ===== */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-item .icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,212,170,0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}
.check-item .text { font-size: 0.92rem; color: var(--text-muted); }
.check-item .text strong { color: var(--text); }

/* ===== FOCUS / ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ===== NAV OVERFLOW (medium screens) ===== */
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-links a { padding: 6px 8px; font-size: 0.8rem; }
  .logo span { display: none; }
}
@media (max-width: 900px) and (min-width: 769px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 5px 7px; font-size: 0.75rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero-grid, .api-grid, .inbox-grid, .automation-grid, .analytics-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid[style*="repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }
  .contact-options { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-box { padding: 36px 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .api-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7,12,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); }
.mobile-menu-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== LIGHT MODE ===== */
body.light {
  --bg: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card2: #f8fafc;
  --border: rgba(0,0,0,0.09);
  --border-hover: rgba(0,180,140,0.4);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(0,212,170,0.08);
}
body.light .navbar.scrolled {
  background: rgba(241,245,249,0.95);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light .navbar:not(.scrolled) {
  background: transparent;
}
body.light .mobile-menu {
  background: rgba(241,245,249,0.98);
}
body.light .hero-bg::before {
  background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
}
body.light .hero-bg::after {
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
}
body.light .dashboard-mockup {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
body.light .chart-bar {
  background: linear-gradient(180deg, var(--primary), rgba(0,212,170,0.15));
}
body.light .flow-node { background: rgba(0,0,0,0.03); }
body.light .flow-node.trigger { background: rgba(0,212,170,0.06); }
body.light .flow-node.action  { background: rgba(59,130,246,0.06); }
body.light .flow-node.condition { background: rgba(245,158,11,0.06); }
body.light .chat-item { background: rgba(0,0,0,0.02); }
body.light .chat-item.active { background: rgba(0,212,170,0.06); }
body.light .inbox-msg { background: rgba(0,0,0,0.02); }
body.light .clients-section { border-top-color: rgba(0,0,0,0.08); }
body.light .partners { border-top-color: rgba(0,0,0,0.08); border-bottom-color: rgba(0,0,0,0.08); }
body.light footer { background: #ffffff; border-top-color: rgba(0,0,0,0.08); }
body.light .cta-section::before {
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.06) 0%, transparent 70%);
}
body.light .mockup-bar { background: rgba(0,0,0,0.04); }
body.light .scroll-top { background: #fff; border-color: rgba(0,0,0,0.1); color: var(--text-muted); }
body.light .scroll-top:hover { background: var(--primary); color: #000; }
body.light .lang-toggle, body.light .theme-toggle {
  border-color: rgba(0,0,0,0.12);
  color: var(--text-muted);
}
body.light .lang-toggle:hover, body.light .theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== ADVANCED VISUAL EFFECTS ===== */

/* Glow border on hover for cards */
.feature-card, .pricing-card.popular, .usecase-card, .testimonial-card, .wa-feat {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}

/* Gradient border animation */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(0,212,170,0.2); }
  50%       { border-color: rgba(0,212,170,0.5); }
}
.pricing-card.popular { animation: borderGlow 3s ease-in-out infinite; }

/* Hero badge shimmer */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-badge {
  background: linear-gradient(90deg,
    rgba(0,212,170,0.08) 0%,
    rgba(0,212,170,0.18) 40%,
    rgba(0,212,170,0.08) 80%
  );
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Number counter highlight */
.num, .val, .about-stat .num {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  left: 50%; top: 50%;
  translate: -50% -50%;
  transition: transform 0.5s, opacity 0.5s;
  pointer-events: none;
}
.btn:active::after {
  transform: scale(4);
  opacity: 0;
  transition: 0s;
}

/* Section badge pulse */
.section-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.section-badge { position: relative; }

/* Cards perspective */
.features-grid, .feat-big-grid {
  perspective: 1000px;
}

/* Improved hero visual */
.hero-visual img {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Navbar link underline animation */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after {
  left: 8px; right: 8px;
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}
img[loading] { opacity: 0; }
img.loaded { opacity: 1; }

/* Progress bar top glow */
body > div[style*="position: fixed"][style*="height: 2px"] {
  box-shadow: 0 0 8px var(--primary);
}

/* Channel card icon hover */
.channel-card .ch-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.channel-card:hover .ch-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Flow node hover */
.flow-node { transition: transform 0.2s, border-color 0.2s; }
.flow-node:hover { transform: translateX(-4px); }

/* Scroll top button ripple */
.scroll-top { transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.wekala-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.wekala-badge strong { color: var(--text-muted); }
