/* ============================================
   APPBRIDGE – MAIN STYLESHEET
   Premium Dark Tech Design
============================================ */

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

:root {
  --primary: #6C63FF;
  --primary-dark: #5a52e0;
  --primary-light: #8b85ff;
  --accent: #00D4FF;
  --accent2: #FF6B6B;
  --success: #00E096;
  --bg-dark: #080B14;
  --bg-card: #0E1323;
  --bg-card2: #131929;
  --border: rgba(108,99,255,0.18);
  --border-light: rgba(255,255,255,0.06);
  --text: #E8EAF0;
  --text-muted: #8A93AF;
  --text-light: #B8BFCF;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);
  --gradient-card: linear-gradient(135deg, rgba(108,99,255,0.1) 0%, rgba(0,212,255,0.05) 100%);
  --shadow-glow: 0 0 60px rgba(108,99,255,0.25);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

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

.highlight-text {
  color: var(--accent);
  position: relative;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(108,99,255,0.1);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

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

.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
}
.btn-white:hover {
  background: #f0f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

.btn-primary-light {
  background: rgba(108,99,255,0.2);
  color: white;
  border: 2px solid rgba(108,99,255,0.5);
}
.btn-primary-light:hover {
  background: rgba(108,99,255,0.35);
  transform: translateY(-2px);
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 50px;
}

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

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(108,99,255,0.12);
  color: var(--primary-light);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-desc-left {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6C63FF 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: glow-pulse 6s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00D4FF 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: glow-pulse 6s ease-in-out infinite 2s;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.25; transform: scale(1) translateX(var(--tx, -50%)); }
  50% { opacity: 0.4; transform: scale(1.05) translateX(var(--tx, -50%)); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--success); }
  50% { box-shadow: 0 0 16px var(--success), 0 0 24px var(--success); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle strong {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-trust {
  animation: fadeInUp 0.6s ease 0.4s both;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-badge i {
  color: var(--primary-light);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 4px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================
   STATS BAR
============================================ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: 4px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ============================================
   PROBLEM / SOLUTION
============================================ */
.problem-solution {
  padding: 100px 0 60px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.problem-card:hover {
  border-color: rgba(255,107,107,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,107,107,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent2);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.bridge-arrow {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 700px;
}

.arrow-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.arrow-label {
  flex-shrink: 0;
}

.bridge-pill {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 30px rgba(108,99,255,0.4);
}

/* ============================================
   HOW IT WORKS
============================================ */
.how-it-works {
  padding: 80px 0 100px;
  background: var(--bg-card);
}

.steps-container {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease both;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.step-card[data-step="1"] { animation-delay: 0.1s; }
.step-card[data-step="2"] { animation-delay: 0.2s; }
.step-card[data-step="3"] { animation-delay: 0.3s; }

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(108,99,255,0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 8px 30px rgba(108,99,255,0.35);
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--white);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-top: 120px;
}

.connector-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  display: none;
}

.connector-arrow {
  color: var(--primary);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* HOW VISUAL */
.how-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.visual-card {
  width: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.visual-header {
  background: #1a1f2e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-header {
  flex-direction: column;
  padding: 8px 12px;
}

.browser-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.browser-url i { color: var(--success); font-size: 0.65rem; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.visual-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.visual-body {
  background: #0f1420;
  padding: 16px;
}

.app-mockup {}

.mockup-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mockup-btn {
  width: 60px;
  height: 22px;
  background: rgba(108,99,255,0.3);
  border-radius: 4px;
}

.mockup-field {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-row {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}

.mockup-row.short { width: 60%; }
.mockup-row.medium { width: 75%; }

.visual-label {
  background: #1a1f2e;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-label { color: var(--success); }

.bridge-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  position: relative;
}

.bridge-particles {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.bridge-particles span {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: particle-flow 1.5s linear infinite;
}

.bridge-particles span:nth-child(2) { animation-delay: 0.3s; }
.bridge-particles span:nth-child(3) { animation-delay: 0.6s; }
.bridge-particles span:nth-child(4) { animation-delay: 0.9s; }
.bridge-particles span:nth-child(5) { animation-delay: 1.2s; }

@keyframes particle-flow {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}

.bridge-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.bridge-logo-mini {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 0 30px rgba(108,99,255,0.5);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bridge-center span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.05em;
}

/* ============================================
   BENEFITS
============================================ */
.benefits {
  padding: 100px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, rgba(0,212,255,0.04) 100%);
  border-color: var(--border);
}

.benefit-icon-wrap {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(108,99,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: var(--gradient-primary);
  color: white;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.benefit-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   USE CASES / TABS
============================================ */
.use-cases {
  padding: 100px 0;
  background: var(--bg-card);
}

.tabs-container {}

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

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--white);
  border-color: var(--border);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

.tab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.tab-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--white);
}

.tab-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.tab-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.tab-features li i {
  width: 20px;
  height: 20px;
  background: rgba(0,224,150,0.12);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.uc-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 16px;
}

.uc-company {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.uc-result {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}

.uc-gain {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   COMPARISON TABLE
============================================ */
.comparison {
  padding: 100px 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.comparison-table .col-feature {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  width: 30%;
}

.feature-name {
  text-align: left;
  color: var(--text-light);
}

.col-appbridge {
  background: rgba(108,99,255,0.06);
}

.val-appbridge {
  background: rgba(108,99,255,0.08);
  color: var(--white);
  font-weight: 600;
}

.th-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.th-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.th-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.comparison-table thead th {
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--bg-card2);
  padding: 22px 24px;
}

.check-win { color: var(--success); }
.check-no { color: var(--accent2); }
.check-mid { color: #FFC107; }

.check-win i, .check-no i, .check-mid i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-right: 6px;
}

.check-win i { background: rgba(0,224,150,0.12); }
.check-no i { background: rgba(255,107,107,0.12); }
.check-mid i { background: rgba(255,193,7,0.12); }

/* ============================================
   SECURITY
============================================ */
.security {
  padding: 100px 0;
  background: var(--bg-card);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.security-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sec-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sec-icon {
  width: 44px;
  height: 44px;
  background: rgba(108,99,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.sec-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--white);
}

.sec-feature p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.security-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec-shield {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.shield-outer {
  width: 180px;
  height: 200px;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(0,212,255,0.1));
  border: 2px solid rgba(108,99,255,0.4);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shield-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(108,99,255,0.2);
}

@keyframes shield-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(108,99,255,0.15); }
  50% { box-shadow: 0 0 80px rgba(108,99,255,0.35); }
}

.shield-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.shield-inner i {
  font-size: 3rem;
  color: var(--primary-light);
}

.shield-inner span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sec-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sec-badge {
  padding: 10px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sec-badge i { color: var(--primary-light); }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials {
  padding: 100px 0;
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.testi-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testi-card.featured-testi {
  border-color: var(--border);
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(0,212,255,0.03));
}

.testi-quote i {
  font-size: 2rem;
  color: rgba(108,99,255,0.3);
  margin-bottom: 16px;
  display: block;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testi-rating i {
  color: #FFC107;
  font-size: 0.85rem;
}

/* ============================================
   PRICING
============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-card);
}

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

.toggle-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient-primary);
  border-color: transparent;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translate(24px, -50%);
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0,224,150,0.15);
  color: var(--success);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 4px;
}

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

.price-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(0,212,255,0.04));
  transform: scale(1.03);
}

.price-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.plan-price {
  margin-bottom: 12px;
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.plan-features li i {
  font-size: 0.75rem;
}

.plan-features li i.fa-check {
  color: var(--success);
}

.plan-features li.unavailable {
  color: var(--text-muted);
  opacity: 0.5;
}

.plan-features li.unavailable i {
  color: var(--accent2);
}

.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 36px;
}

.pricing-note i { color: var(--accent); margin-right: 6px; }

/* ============================================
   FAQ
============================================ */
.faq {
  padding: 100px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-card);
}

.cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(108,99,255,0.15) 0%, rgba(0,212,255,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.15), transparent 70%);
  pointer-events: none;
}

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

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--white);
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-note i { color: var(--success); margin: 0 2px; }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 32px;
}

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

.footer-brand {}

.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links-group li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-light);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }

  .security-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .security-visual {
    display: none;
  }

  .benefit-card.featured {
    grid-column: span 1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .steps-container {
    flex-direction: column;
    gap: 24px;
  }

  .step-connector {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .price-card.popular {
    transform: scale(1);
    order: -1;
  }

  .tab-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .how-visual {
    flex-direction: column;
  }

  .visual-card {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
    gap: 4px;
    z-index: 999;
  }

  .nav-links.open + .nav-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    z-index: 999;
    flex-direction: column;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider {
    display: none;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .tabs-nav {
    gap: 6px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}
