/* ===================================================
   MsgCRM — Advanced Main Stylesheet
   Theme: Neo-Crisp Light / Glassmorphism / Premium Tech
   Fonts: Plus Jakarta Sans (display) + DM Sans (body)
=================================================== */

:root {
  --green: #00D25B;
  --green-light: #F0FFF5;
  --green-mid: #00B34C;
  --green-dark: #005C25;
  --accent: #10B981;
  --teal: #06B6D4;
  --ink: #030712;
  --ink-80: #111827;
  --ink-60: #4B5563;
  --ink-40: #9CA3AF;
  --ink-20: #E5E7EB;
  --ink-10: #F3F4F6;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  
  /* Advanced Neomorphic / Glass Shading */
  --card-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --border: rgba(15, 23, 42, 0.06);
  
  /* High-Fidelity Soft Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 34px -10px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  --shadow-green: 0 12px 30px -6px rgba(0, 210, 91, 0.2);
  
  /* Refined Radii */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 76px;
  --announce-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; background: var(--white); }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }

.nav-logo {
  height: 68px;      /* Standard modern sizing context for a 72px-76px navbar height */
  width: auto;        /* Maintains perfectly balanced aspect ratio proportions */
  display: block;
  object-fit: contain;
}

/* ── Announce Bar (Modern Floating Dynamic) ── */
.announce-bar {
  background: #090D16;
  color: #F3F4F6;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.announce-inner { display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.announce-badge {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 210, 91, 0.3);
}
.announce-bar a { color: #34D399; font-weight: 600; margin-left: 6px; }
.announce-bar a:hover { text-decoration: underline; }

/* ── Navbar (Premium Frosted Glass) ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md); 
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -4px rgba(0,210,91,0.4);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.nav-links li a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-60);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links li a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
}
.nav-links li a.active { 
  color: var(--green-mid); 
  background: var(--green-light);
  font-weight: 600; 
}

.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* ── Advanced Language Selector ── */
.lang-selector { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-60);
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.lang-btn:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1000;
  transform-origin: top right;
  animation: fadeDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-search { padding: 14px; border-bottom: 1px solid var(--border); }
.lang-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  background: var(--surface);
  transition: all 0.2s;
}
.lang-search input:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 210, 91, 0.1); }
#lang-list { max-height: 260px; overflow-y: auto; padding: 6px; }
#lang-list li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
  color: var(--ink-80);
}
#lang-list li:hover { background: var(--green-light); color: var(--green-dark); }
#lang-list li.active { background: var(--green-light); color: var(--green-dark); font-weight: 600; }

/* ── Buttons (Premium Micro-Interactions) ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-green);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(0, 210, 91, 0.35);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary.large { padding: 18px 40px; font-size: 16px; border-radius: var(--radius); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: var(--white);
  color: var(--ink-80);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--ink-20); color: var(--ink); background: var(--surface); transform: translateY(-1px); }
.btn-ghost.large { padding: 18px 40px; font-size: 16px; border-radius: var(--radius); }

.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 40px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(3, 7, 18, 0.1);
}
.btn-dark:hover { background: #1F2937; transform: translateY(-2px); box-shadow: 0 20px 35px -10px rgba(3, 7, 18, 0.25); }
.full-w { width: 100%; }

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

.mobile-menu {
  display: none; flex-direction: column; background: white;
  border-top: 1px solid var(--border); padding: 20px 24px; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; color: var(--ink-60); }
.mobile-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.mobile-menu-btns { display: flex; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ── Section Structure ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 210, 91, 0.06);
  color: var(--green-dark);
  border: 1px solid rgba(0, 210, 91, 0.15);
  padding: 6px 16px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.03em;
}
.section-sub {
  font-size: 17px; color: var(--ink-60);
  max-width: 580px; margin-top: 20px; line-height: 1.65;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 20px auto 0; }

/* ── Hero Section (Ultra Modern Tech Canvas) ── */
.hero {
  padding: 100px 0 140px;
  background: radial-gradient(120% 60% at 50% 0%, #E6FBF0 0%, #F1F7FC 40%, #FFFFFF 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; width: 1000px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.08) 0%, transparent 65%);
  top: -150px; left: calc(50% - 500px); pointer-events: none;
}
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 210, 91, 0.25);
  color: var(--green-dark);
  padding: 8px 22px; border-radius: 99px;
  font-size: 13px; font-weight: 600; margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0, 210, 91, 0.08);
  animation: fadeDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-badge span.dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,210,91,0.5)} 50%{box-shadow:0 0 0 8px rgba(0,210,91,0)} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800; color: var(--ink);
  line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #00B34C 0%, #06B6D4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(17px, 2vw, 19px); color: var(--ink-60);
  max-width: 640px; margin: 0 auto 44px; line-height: 1.7;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 40px;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-note {
  font-size: 13px; color: var(--ink-40);
  display: flex; align-items: center; justify-content: center; gap: 24px;
  animation: fadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-note span { display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--green); }

/* ── Stats Strip (Advanced Minimalist Bordered style) ── */
.stats-strip { background: #070B12; padding: 72px 0; border-top: 1px solid rgba(255,255,255,0.03); }
.stats-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; padding: 16px; }
.stat-num {
  font-family: var(--font-display); font-size: 42px; font-weight: 800;
  color: var(--white); line-height: 1; letter-spacing: -0.03em;
}
.stat-num span { color: var(--green); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 12px; font-weight: 500; letter-spacing: -0.01em; }

/* ── Modules (Trending Bento Grid Hybrid) ── */
.modules-section { background: var(--surface); }
.modules-header { text-align: center; margin-bottom: 72px; }
.modules-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.module-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius); padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.module-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow-lg); 
  border-color: rgba(0, 210, 91, 0.15); 
}
.module-icon {
  width: 52px; height: 52px;
  background: rgba(0, 210, 91, 0.06);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 24px; color: var(--green-mid);
  transition: transform 0.3s ease;
}
.module-card:hover .module-icon { transform: scale(1.05) rotate(2deg); background: rgba(0, 210, 91, 0.1); }
.module-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.module-card p { font-size: 14px; color: var(--ink-60); line-height: 1.6; }

/* ── Visual Automation (Dynamic Interactive Blueprint) ── */
.automation-section { background: var(--white); }
.automation-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 88px; align-items: center; }
.automation-steps { margin-top: 44px; display: flex; flex-direction: column; gap: 20px; }
.auto-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.auto-step:hover { 
  background: var(--white); 
  border-color: rgba(0, 210, 91, 0.2); 
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; box-shadow: 0 4px 14px rgba(0, 210, 91, 0.25);
}
.auto-step h4 { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.auto-step p { font-size: 14px; color: var(--ink-60); line-height: 1.55; }

/* Advanced Flow Visual Window */
.flow-visual {
  background: radial-gradient(100% 100% at 0% 0%, #F4FAF7 0%, #EDF5FA 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 48px; min-height: 500px;
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
}
.flow-node {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius); padding: 18px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.flow-node:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow-green); }
.flow-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.flow-icon.green { background: #E6FBF0; color: var(--green-mid); }
.flow-icon.blue { background: #EFF6FF; color: #2563EB; }
.flow-icon.purple { background: #F5F0FF; color: #7C3AED; }
.flow-icon.orange { background: #FFF7ED; color: #EA580C; }
.flow-node-text strong { font-size: 15px; font-weight: 700; color: var(--ink); display: block; letter-spacing: -0.01em; }
.flow-node-text span { font-size: 12px; color: var(--ink-40); margin-top: 1px; display: block; }
.flow-connector { display: flex; align-items: center; padding-left: 36px; }
.flow-connector-line { width: 2px; height: 32px; background: linear-gradient(180deg, var(--green) 0%, transparent 100%); }

/* ── AI Chatbot (Premium High-Contrast Canvas) ── */
.chatbot-section {
  background: linear-gradient(160deg, #050914 0%, #0C152B 100%);
  color: white; overflow: hidden;
}
.chatbot-inner { display: grid; grid-template-columns: 0.91fr 1.09fr; gap: 88px; align-items: center; }
.chatbot-section .section-title { color: white; }
.chatbot-section .section-sub { color: rgba(255,255,255,0.45); }
.chatbot-features { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.chatbot-feature {
  display: flex; gap: 20px; padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.chatbot-feature:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(0, 210, 91, 0.3); }
.cf-icon { font-size: 24px; flex-shrink: 0; }
.chatbot-feature h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 6px; letter-spacing: -0.01em; }
.chatbot-feature p { font-size: 14px; color: rgba(255, 255, 255, 0.45); line-height: 1.55; }

/* Glass Chat Mockup Frame */
.chat-mockup {
  background: #FFFFFF; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 42px 100px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-header { background: #090D16; padding: 20px 24px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.chat-header-avatar { width: 42px; height: 42px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 14px rgba(0,210,91,0.4); }
.chat-header-info strong { color: white; font-size: 15px; font-weight: 700; display: block; letter-spacing: -0.01em; }
.chat-header-info span { color: var(--green); font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.chat-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: #F3F5F8; min-height: 340px; }
.chat-msg { max-width: 80%; padding: 14px 20px; border-radius: 18px; font-size: 14px; line-height: 1.55; animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.chat-msg.bot { background: white; color: var(--ink); border-top-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg.user { background: var(--ink); color: white; align-self: flex-end; border-top-right-radius: 4px; box-shadow: 0 8px 20px -6px rgba(3,7,18,0.2); }
.chat-msg.bot small { display: block; font-size: 11px; color: var(--ink-40); margin-top: 8px; }

.chat-typing { display: flex; gap: 5px; align-items: center; padding: 14px 20px; background: white; border-radius: 18px; border-top-left-radius: 4px; width: fit-content; box-shadow: var(--shadow-sm); }
.chat-typing span { width: 6px; height: 6px; background: var(--ink-40); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }

/* ── Integrations (Premium Floating Clouds) ── */
.integrations-section { background: var(--surface); text-align: center; }
.integrations-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 56px; }
.integration-badge {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 28px; font-size: 15px; font-weight: 700; color: var(--ink-80);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: default;
  box-shadow: var(--shadow-sm);
}
.integration-badge:hover { border-color: rgba(0, 210, 91, 0.2); color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.integration-badge img { width: 28px; height: 28px; object-fit: contain; }

/* ── Pricing Matrix (Advanced & High Converting) ── */
.pricing-section { background: var(--white); }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 48px 0; }
.toggle-label { font-size: 15px; font-weight: 600; color: var(--ink-60); }
.toggle-label.active { color: var(--ink); }
.toggle-switch {
  position: relative; width: 56px; height: 30px; background: var(--ink-20); border-radius: 99px; cursor: pointer; transition: background 0.3s;
}
.toggle-switch.on { background: var(--green); }
.toggle-switch::after {
  content: ''; position: absolute; width: 24px; height: 24px; background: white; border-radius: 50%; top: 3px; left: 3px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-sm);
}
.toggle-switch.on::after { transform: translateX(26px); }
.save-badge { background: #DCFCE7; color: var(--green-dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 920px; margin: 0 auto; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-sm);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pricing-card.popular { border-color: var(--green); box-shadow: var(--shadow-green); }
.popular-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #030712; color: #FFFFFF; padding: 6px 22px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow-md);
}
.plan-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.plan-desc { font-size: 14px; color: var(--ink-60); margin-bottom: 32px; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.currency { font-size: 24px; font-weight: 700; color: var(--ink); }
.amount { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.period { font-size: 15px; color: var(--ink-40); font-weight: 500; }
.plan-accounts { font-size: 13px; font-weight: 700; color: var(--green-dark); background: rgba(0,210,91,0.06); border: 1px solid rgba(0,210,91,0.12); padding: 6px 16px; border-radius: 99px; display: inline-block; margin: 16px 0 32px; }
.plan-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; border-top: 1px solid var(--border); padding-top: 28px; }
.plan-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-80); font-weight: 500; }
.plan-features li::before {
  content: '✓'; width: 20px; height: 20px; flex-shrink: 0; background: #DCFCE7; color: var(--green-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}

/* Feature Cards Grid Section */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 72px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0, 210, 91, 0.15); }
.feature-card-icon {
  width: 48px; height: 48px; background: var(--surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 24px; color: var(--green-mid);
}
.feature-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--ink-60); line-height: 1.6; }

/* ── FAQ (Advanced Clean Accordion) ── */
.faq-section { background: var(--surface); }
.faq-grid { max-width: 800px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.faq-item.open { border-color: rgba(0, 210, 91, 0.3); box-shadow: var(--shadow-md); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink); user-select: none; letter-spacing: -0.01em; }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); color: var(--ink-40); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--green-mid); }
.faq-a { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 15px; color: var(--ink-60); line-height: 1.65; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 28px 24px; }

/* ── High-Fidelity Call-To-Action Banners ── */
.cta-mid {
  background: linear-gradient(135deg, #F0FFF4 0%, #E6F0FA 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 0; text-align: center;
}
.cta-final {
  background: linear-gradient(135deg, #050914 0%, #0F172A 100%);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 210, 91, 0.12) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-final .section-title { color: white; }
.cta-final .section-sub { color: rgba(255,255,255,0.45); margin: 0 auto 44px; }
.cta-final-btns { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ── Footer Architecture ── */
.footer { background: #050811; color: white; border-top: 1px solid rgba(255,255,255,0.02); }
.footer-top { display: grid; grid-template-columns: 380px 1fr; gap: 96px; padding: 100px 40px; max-width: 1280px; margin: 0 auto; }
.footer-brand .nav-brand { color: white; }
.footer-brand .brand-name { color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin: 20px 0 28px; }
.footer-social { display: flex; gap: 14px; margin-bottom: 24px; }
.social-icon {
  width: 42px; height: 42px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: rgba(255,255,255,0.6);
}
.social-icon:hover { background: var(--green); border-color: var(--green); transform: translateY(-4px); color: white; box-shadow: var(--shadow-green); }
.footer-contact-mini { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-mini a, .footer-contact-mini span { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-contact-mini a:hover { color: var(--green); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 14px;
}
.footer-status { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.footer-phone { color: rgba(255,255,255,0.4); }

/* ── Policy Hub Structures ── */
.policy-hero { background: radial-gradient(100% 100% at 50% 0%, #EBFBF2 0%, #FFFFFF 100%); padding: 100px 0 64px; text-align: center; border-bottom: 1px solid var(--border); }
.policy-body { max-width: 880px; margin: 0 auto; padding: 72px 40px 120px; }
.policy-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); margin: 44px 0 18px; letter-spacing: -0.01em; }
.policy-body h3 { font-size: 18px; font-weight: 700; color: var(--ink-80); margin: 32px 0 14px; }
.policy-body p { font-size: 15px; color: var(--ink-60); line-height: 1.8; margin-bottom: 18px; }
.policy-body ul { padding-left: 22px; margin-bottom: 18px; }
.policy-body ul li { font-size: 15px; color: var(--ink-60); line-height: 1.8; margin-bottom: 10px; list-style: disc; }
.policy-body a { color: var(--green-dark); text-decoration: underline; }
.policy-body .highlight-box { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 24px; margin: 28px 0; }
.policy-body .warning-box { background: #FFF7ED; border-left: 4px solid #F59E0B; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 24px; margin: 28px 0; }
.policy-meta { display: flex; gap: 36px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.policy-meta span { font-size: 14px; color: var(--ink-40); display: flex; align-items: center; gap: 8px; }
.breadcrumb { font-size: 14px; color: var(--ink-40); display: flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.breadcrumb a { color: var(--green-dark); }
.breadcrumb span { color: var(--ink-20); }

/* ── Enterprise Contact Layouts ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: all 0.3s ease;
}
.contact-card:hover { border-color: rgba(0,210,91,0.2); transform: translateX(6px); background: white; box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 50px; height: 50px; flex-shrink: 0; background: rgba(0, 210, 91, 0.06); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--green-mid);
}
.contact-card h4 { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--ink-60); line-height: 1.5; }
.contact-card a:hover { color: var(--green-mid); }
.contact-form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-80); margin-bottom: 10px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body); color: var(--ink); background: var(--surface); transition: all 0.25s ease; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green); background: white; box-shadow: 0 0 0 4px rgba(0, 210, 91, 0.08); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Fine Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideRight { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:translateX(0); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.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; }

.pricing-hero { background: radial-gradient(100% 100% at 50% 0%, #EBFBF2 0%, #FFFFFF 100%); padding: 100px 0 24px; text-align: center; border-bottom: 1px solid var(--border); }

/* ── Precision Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .automation-inner, .chatbot-inner { grid-template-columns: 1fr; gap: 64px; }
  .footer-top { grid-template-columns: 1fr; gap: 64px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .modules-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  section { padding: 80px 0; }
  .container, .nav-container, .hero-inner { padding: 0 24px; }
  .integration-badge { padding: 14px 22px; font-size: 14px; }
  .cta-final-btns { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-links { grid-template-columns: 1fr; }
  .pricing-card { padding: 36px 24px; }
  .policy-body { padding: 48px 24px 80px; }
  .contact-form-card { padding: 32px 24px; }
}