/* ═══════════════════════════════════════════════════════════
   Funnel Insider — Design System
   Bold & Colorful Theme | CRM Automation Agency
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:       #05050f;
  --surface:  #0d0d22;
  --card:     #111130;
  --border:   #1e1e42;

  --c1: #ff6b35;
  --c2: #f72585;
  --c3: #7209b7;
  --c4: #4361ee;
  --c5: #4cc9f0;
  --c6: #06d6a0;

  --grad:      linear-gradient(135deg, #ff6b35, #f72585, #7209b7);
  --grad-warm: linear-gradient(135deg, #ff6b35, #f72585);
  --grad-cool: linear-gradient(135deg, #4361ee, #4cc9f0);
  --grad-full: linear-gradient(135deg, #ff6b35 0%, #f72585 40%, #7209b7 70%, #4361ee 100%);

  --glow1: rgba(255, 107, 53, 0.3);
  --glow2: rgba(247, 37, 133, 0.3);
  --glow3: rgba(114, 9, 183, 0.3);
  --glow4: rgba(67, 97, 238, 0.3);

  --text:   #e8ecf1;
  --muted:  #8892a4;
  --white:  #ffffff;

  --radius:    16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── Base ──────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  animation: pageLoad 0.5s ease both;
}

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

/* ─── Utilities ─────────────────────────────────────────── */
.container   { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 37, 133, 0.1);
  border: 1px solid rgba(247, 37, 133, 0.25);
  color: var(--c2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── Gradient Text ─────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-cool {
  background: var(--grad-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 32px var(--glow2);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--glow2); }
.btn-primary:hover::after { background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--c2); color: var(--white); background: rgba(247,37,133,0.06); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: var(--radius-sm); }

/* ─── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(5, 5, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.scrolled {
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo .logo-accent {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile browsers */
  background: rgba(5, 5, 15, 0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
}

/* ─── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(247,37,133,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(114,9,183,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero .section-title { margin-bottom: 20px; }

/* ─── Hero (home) ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,37,133,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,37,133,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.2), transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,37,133,0.25), transparent 70%);
  top: 20%; right: -50px;
  animation: orbFloat2 10s ease-in-out infinite;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(114,9,183,0.2), transparent 70%);
  bottom: -50px; left: 40%;
  animation: orbFloat3 7s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, 20px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-20px, 30px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--c1);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--c1);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 80px);
  font-weight: 900;
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}
.hero-trust .av:first-child { margin-left: 0; }
.av-1 { background: var(--grad-warm); }
.av-2 { background: var(--grad-cool); }
.av-3 { background: linear-gradient(135deg, var(--c3), var(--c4)); }
.av-4 { background: linear-gradient(135deg, var(--c6), var(--c5)); }

/* ─── Hero Video ────────────────────────────────────────── */
.hero-video-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 56px auto 0;
  text-align: center;
}

.hero-video-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--c1);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 16 / 9;
  box-shadow:
    0 0 0 1px rgba(247, 37, 133, 0.15),
    0 32px 80px rgba(247, 37, 133, 0.2),
    0 8px 32px rgba(114, 9, 183, 0.18);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--grad);
  padding: 32px 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-val {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ─── Cards (Services / Generic) ───────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: rgba(247,37,133,0.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(247,37,133,0.12);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--grad);
  position: relative;
}
.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0,0,0,0.3);
}
.card-icon span { position: relative; z-index: 1; }

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.card-text { font-size: 14px; color: var(--muted); line-height: 1.75; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ─── Process Steps ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: var(--grad-full);
  opacity: 0.4;
}

.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(247,37,133,0.1);
}
.step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.step-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── Testimonials ──────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 3px solid transparent;
  border-image: var(--grad-warm) 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.1);
}

.testi-stars { font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-star  { color: #f59e0b; }

.testi-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.testi-name  { font-size: 14px; font-weight: 700; color: var(--white); }
.testi-role  { font-size: 12px; color: var(--muted); }

/* ─── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-full);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::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='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,0.3); }
.cta-banner .btn-white {
  background: #fff;
  color: var(--c3);
  font-weight: 800;
}
.cta-banner .btn-white:hover { background: rgba(255,255,255,0.9); }

/* ─── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured {
  border-color: var(--c2);
  background: linear-gradient(180deg, rgba(247,37,133,0.08) 0%, var(--card) 100%);
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-5px); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-tier {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.plan-price {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price sub { font-size: 22px; font-weight: 600; color: var(--muted); }
.plan-price sup { font-size: 24px; }
.plan-per { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  font-size: 14px;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li:last-child { border: none; }
.feat-check { font-size: 13px; flex-shrink: 0; }
.feat-check.yes { color: var(--c6); }
.feat-check.no  { color: var(--border); }

.plan-btn { width: 100%; justify-content: center; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  max-width: 740px;
  margin: 56px auto 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(247,37,133,0.35); }
.faq-q {
  width: 100%;
  background: var(--card);
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
  font-family: var(--font);
}
.faq-q:hover { background: rgba(247,37,133,0.06); }
.faq-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s;
  color: var(--muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  background: var(--card);
}

/* ─── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.contact-info-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.contact-info-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(247,37,133,0.1);
  border: 1px solid rgba(247,37,133,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.form-wrap { display: flex; flex-direction: column; gap: 16px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(247,37,133,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--bg); }
.form-submit { align-self: flex-start; }

/* ─── Team Cards ────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover { border-color: rgba(247,37,133,0.3); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 16px;
}
.team-name { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.team-role {
  font-size: 13px;
  font-weight: 600;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.team-bio { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── Values ────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.value-card:hover { border-color: rgba(255,107,53,0.35); transform: translateY(-3px); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-title { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.value-text  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── Case Study Cards ──────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.cs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.cs-card:hover { border-color: rgba(247,37,133,0.3); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(247,37,133,0.1); }

.cs-header {
  padding: 28px;
  background: var(--grad);
  position: relative;
}
.cs-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.cs-metric {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.cs-metric-label { font-size: 14px; color: rgba(255,255,255,0.8); }
.cs-body { padding: 24px 28px; }
.cs-company { font-size: 12px; color: var(--c5); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.cs-title { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cs-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.cs-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.cs-stat { text-align: center; }
.cs-stat-val { font-size: 20px; font-weight: 900; color: var(--white); }
.cs-stat-label { font-size: 11px; color: var(--muted); }

/* ─── Tools / Logos ─────────────────────────────────────── */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.tool-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.tool-badge:hover { border-color: rgba(247,37,133,0.35); color: var(--white); }
.tool-badge span { font-size: 20px; }

/* ─── Service Detail Card (services page) ───────────────── */
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  transition: all 0.3s;
  margin-bottom: 20px;
}
.svc-card:hover { border-color: rgba(247,37,133,0.3); box-shadow: 0 8px 40px rgba(247,37,133,0.08); }
.svc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.svc-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.svc-desc  { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.svc-bullets { list-style: none; }
.svc-bullets li {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-bullets li::before {
  content: '→';
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.75; max-width: 240px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.social-row { display: flex; gap: 10px; }
.soc-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.soc-link:hover { border-color: var(--c2); color: var(--white); background: rgba(247,37,133,0.08); }

/* ─── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--grad);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 40px var(--glow2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Divider ───────────────────────────────────────────── */
.grad-divider {
  height: 2px;
  background: var(--grad-full);
  opacity: 0.4;
  border: none;
  margin: 0;
}

/* ─── Responsive Two-Col Utility ────────────────────────── */
/* Used for inline-content sections that need to stack on mobile */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.feat-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }        /* hide CTA btn — hamburger handles it */
  .hamburger { display: flex; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-5px); }
  .svc-card { grid-template-columns: 1fr; gap: 16px; }
  /* Stack all two-col grids */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .feat-highlight { grid-template-columns: 1fr; }
  /* About page stat mini-grid */
  .about-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; width: 100%; }
  .hero-video-wrap { margin-top: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; }
  .hero-video-wrap { margin-top: 32px; }
  .hero-video-container { border-radius: var(--radius); }
  /* Make feat-highlight panel padding smaller on tiny screens */
  .feat-highlight > div { padding: 32px 24px !important; }
}

/* ─── Scroll-to-Top Button ──────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { box-shadow: 0 8px 32px rgba(255,107,53,0.6); transform: translateY(-3px); }

/* ─── Integrations Logos Row ────────────────────────────── */
.integrations-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.integrations-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.integrations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.int-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: all 0.25s;
}
.int-badge:hover {
  border-color: rgba(255,107,53,0.4);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.12);
}
.int-badge .int-icon { font-size: 20px; }

/* ─── Form Validation Feedback ──────────────────────────── */
.field-wrap { position: relative; }
.field-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: opacity 0.2s;
}
.field-wrap textarea ~ .field-status { top: 18px; transform: none; }
.field-error-msg {
  font-size: 12px;
  color: #ff4d6d;
  margin-top: 4px;
  display: none;
}
.field-error-msg.show { display: block; }
/* .form-control is an alias for form inputs — shares styling from .form-group input */
.form-control {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-control:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(247,37,133,0.12);
}
.form-control.valid   { border-color: rgba(6,214,160,0.5) !important; }
.form-control.invalid { border-color: rgba(255,77,109,0.5) !important; }

/* ─── ROI Calculator ────────────────────────────────────── */
.roi-calc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 56px;
}
.roi-calc-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.roi-calc-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.roi-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.roi-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.roi-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.roi-field input:focus { border-color: var(--c1); }
.roi-output {
  background: var(--surface);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.roi-result-item { text-align: center; }
.roi-result-val {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.roi-result-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.roi-disclaimer { font-size: 12px; color: var(--muted); margin-top: 16px; font-style: italic; }

/* ─── Mobile Sticky CTA Bar ─────────────────────────────── */
.sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.3s;
  }
  .sticky-cta.hide { transform: translateY(100%); }
  .sticky-cta a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
  /* Shift toast above sticky bar on mobile */
  .toast { bottom: 80px; }
  /* Shift scroll-top above sticky bar on mobile */
  .scroll-top { bottom: 80px; right: 20px; }
}

/* ─── Case Study Filter Tabs ────────────────────────────── */
.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: -20px;
}
.cs-filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.cs-filter-btn:hover { border-color: rgba(255,107,53,0.4); color: var(--white); }
.cs-filter-btn.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.cs-card { transition: all 0.35s; }
.cs-card.hidden { display: none; }
