:root {
  --bg-primary: #05050e;
  --bg-secondary: #08081a;
  --bg-card: #0d0d20;
  --bg-card-hover: #131328;
  --border: #1a1a32;
  --border-light: #252540;
  --text-primary: #eeeef5;
  --text-secondary: #7878a0;
  --text-muted: #4a4a6a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --pink: #ec4899;
  --red: #ef4444;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  --gradient-3: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-4: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 50px rgba(99,102,241,0.18);
--font-display: 'Unbounded', -apple-system, sans-serif;
--font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); overflow-x: hidden; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===================== LOADING ===================== */
.loading-screen {
  position: fixed; inset: 0; background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--gradient-1); display: flex; align-items: center;
  justify-content: center; color: white;
  animation: loaderFloat 2s ease-in-out infinite, loaderGlow 2s ease-in-out infinite;
}
@keyframes loaderFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  75% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes loaderGlow {
  0%,100% { box-shadow: 0 0 20px rgba(99,102,241,0.3); }
  50% { box-shadow: 0 0 55px rgba(99,102,241,0.65); }
}
.loader-text { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }
.loader-bar { width: 240px; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--gradient-1); border-radius: 3px; animation: loaderFill 1.8s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes loaderFill { 0% { width:0; } 30% { width:40%; } 60% { width:70%; } 100% { width:100%; } }

/* ===================== CURSOR GLOW ===================== */
.cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
  top: 0; left: 0;
  will-change: transform;
  /* No CSS transition — position updated via transform in JS for zero-lag GPU tracking */
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: env(safe-area-inset-top, 0px) clamp(16px, 3vw, 48px) 0;
  height: calc(72px + env(safe-area-inset-top, 0px));
  display: flex; align-items: flex-end; justify-content: space-between;
  background: rgba(5,5,14,0.6); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent; transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar-logo, .navbar-links, .navbar-actions {
  height: 72px; display: flex; align-items: center;
}
.mobile-menu-btn { height: 72px; align-items: center; }
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(5,5,14,0.92); box-shadow: 0 4px 32px rgba(0,0,0,0.35); }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-logo-icon { width: 34px; height: 34px; border-radius: 6px; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.fb-logo-icon { width: 34px; height: 34px; border-radius: 6px; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.navbar-logo span { font-family: var(--font-display); font-size: 19px; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.navbar-links { display: flex; align-items: center; gap: 2px; }
.navbar-links a { color: var(--text-secondary); text-decoration: none; padding: 8px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: all 0.25s ease; position: relative; }
.navbar-links a:hover, .navbar-links a.active { color: var(--text-primary); background: rgba(99,102,241,0.1); }
.navbar-links a.active::after { content:''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 18px; height: 2px; background: var(--accent); border-radius: 1px; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.lang-btn { padding: 5px 11px; border: none; background: transparent; color: var(--text-muted); font-size: 12px; font-weight: 700; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; font-family: var(--font-display); letter-spacing: 0.05em; }
.lang-btn.active { background: var(--accent); color: white; }
.nav-btn { padding: 8px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; font-family: var(--font-body); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.nav-btn-ghost:hover { color: var(--text-primary); border-color: var(--border-light); background: var(--bg-card); }
.nav-btn-primary { background: var(--gradient-1); color: white; border: none; box-shadow: 0 2px 14px rgba(99,102,241,0.3); }
.nav-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(99,102,241,0.5); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; align-items: center; justify-content: center; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 1px; transition: all 0.3s ease; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 999; padding: 20px;
  overflow-y: auto;
}
.mobile-menu.active { display: block; animation: menuSlideIn 0.3s ease; }
@keyframes menuSlideIn { from { opacity:0; transform: translateY(-10px); } to { opacity:1; transform: translateY(0); } }
.mobile-menu a { display: flex; align-items: center; padding: 15px 16px; color: var(--text-secondary); text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); transition: all 0.2s ease; }
.mobile-menu a:hover { color: var(--text-primary); background: var(--bg-card); border-radius: 8px; }
.mobile-menu-actions { padding: 20px 0; display: flex; flex-direction: column; gap: 12px; }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; min-height: -webkit-fill-available; display: flex; align-items: center; padding: 120px clamp(16px,3vw,48px) 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.11; }
.blob-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -80px; animation: blobMorph1 22s ease-in-out infinite; }
.blob-2 { width: 450px; height: 450px; background: var(--cyan); bottom: -120px; left: -100px; animation: blobMorph2 18s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: var(--pink); top: 45%; left: 42%; animation: blobMorph3 14s ease-in-out infinite; }
@keyframes blobMorph1 { 0%,100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; transform: translate(0,0); } 33% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; transform: translate(25px,-18px); } 66% { border-radius: 50% 60% 30% 60%/30% 60% 70% 40%; transform: translate(-15px,25px); } }
@keyframes blobMorph2 { 0%,100% { border-radius: 40% 60% 70% 30%/40% 50% 50% 60%; } 50% { border-radius: 70% 30% 40% 60%/60% 40% 60% 30%; transform: translate(-25px,-20px); } }
@keyframes blobMorph3 { 0%,100% { border-radius: 50% 50% 40% 60%/50% 40% 60% 50%; transform: scale(1); } 50% { border-radius: 40% 60% 60% 40%/60% 50% 40% 60%; transform: scale(1.18); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; animation: particleRise linear infinite; }
@keyframes particleRise {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  8% { opacity: 0.6; }
  92% { opacity: 0.6; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2; max-width: 1380px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-text { animation: heroSlide 1s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes heroSlide { from { opacity:0; transform: translateX(-60px); } to { opacity:1; transform: translateX(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px 5px 7px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--accent-light);
  margin-bottom: 28px; animation: badgePulse 3.5s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); } 50% { box-shadow: 0 0 0 10px rgba(99,102,241,0.08); } }
.badge-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); } 50% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } }
.hero h1 { font-size: clamp(42px, 5.5vw, 74px); font-weight: 800; line-height: 1.04; margin-bottom: 24px; letter-spacing: -0.035em; }
.hero h1 .line { display: block; opacity: 0; animation: lineReveal 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero h1 .line:nth-child(1) { animation-delay: 0.3s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.5s; }
@keyframes lineReveal { from { opacity:0; transform: translateY(32px); } to { opacity:1; transform: translateY(0); } }
.gradient-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% 200%; animation: gradShift 5s ease infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-desc { font-size: 18px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 40px; max-width: 520px; opacity: 0; animation: fadeUp 0.8s 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes fadeUp { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform: translateY(0); } }
.hero-actions { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); border: none; font-family: var(--font-body); position: relative; overflow: hidden; }
.btn-primary { background: var(--gradient-1); color: white; box-shadow: 0 4px 22px rgba(99,102,241,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(99,102,241,0.55); }
.btn-primary::before { content:''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.18), transparent); transform: translateX(-110%); transition: transform 0.6s ease; }
.btn-primary:hover::before { transform: translateX(110%); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0,0,0,0.3); }
.hero-stats { display: flex; gap: 40px; opacity: 0; animation: fadeUp 0.8s 1.1s cubic-bezier(0.16,1,0.3,1) forwards; flex-wrap: wrap; }
.hero-stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===================== DEVICE MOCKUPS ===================== */
.hero-preview { perspective: 1200px; opacity: 0; animation: previewReveal 1.2s 0.4s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes previewReveal { from { opacity:0; transform: translateX(60px) rotateY(10deg) scale(0.94); } to { opacity:1; transform: translateX(0) rotateY(0) scale(1); } }

.mockup-desktop {
  display: block;
  transform: rotateY(-4deg) rotateX(1.5deg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.6s ease;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(99,102,241,0.1));
}
.mockup-desktop:hover { transform: rotateY(0) rotateX(0) scale(1.012); filter: drop-shadow(0 30px 70px rgba(0,0,0,0.7)) drop-shadow(0 0 90px rgba(99,102,241,0.15)); }
.mockup-mobile { display: none; }
.email-client-header { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.ecl-dot { width: 10px; height: 10px; border-radius: 50%; }
.ecl-dot:nth-child(1) { background: #ef4444; }
.ecl-dot:nth-child(2) { background: #f59e0b; }
.ecl-dot:nth-child(3) { background: #10b981; }
.ecl-search { flex: 1; margin-left: 14px; padding: 6px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 7px; color: var(--text-muted); font-size: 11px; display: flex; align-items: center; gap: 6px; font-family: var(--font-body); }
.email-client-body { display: grid; grid-template-columns: 190px 1fr; min-height: 400px; }
.email-sidebar { background: var(--bg-card); border-right: 1px solid var(--border); padding: 10px; }
.esb-item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13px; color: var(--text-secondary); cursor: default; transition: all 0.2s ease; margin-bottom: 2px; }
.esb-item:hover { background: var(--bg-primary); color: var(--text-primary); }
.esb-item.active { background: rgba(99,102,241,0.12); color: var(--accent-light); }
.esb-icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.esb-badge { margin-left: auto; background: var(--accent); color: white; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 8px; }
.email-list { padding: 0; }
.email-item { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--border); cursor: default; transition: all 0.2s ease; opacity: 0; animation: emailIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
.email-item:nth-child(1) { animation-delay: 0.6s; }
.email-item:nth-child(2) { animation-delay: 0.75s; }
.email-item:nth-child(3) { animation-delay: 0.9s; }
.email-item:nth-child(4) { animation-delay: 1.05s; }
.email-item:nth-child(5) { animation-delay: 1.2s; }
@keyframes emailIn { from { opacity:0; transform: translateX(18px); } to { opacity:1; transform: translateX(0); } }
.email-item:hover { background: var(--bg-card); }
.email-item.unread { border-left: 2px solid var(--accent); background: rgba(99,102,241,0.03); }
.email-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.email-info { flex: 1; min-width: 0; }
.email-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.email-sender { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.email-time { font-size: 10px; color: var(--text-muted); }
.email-subj { font-size: 11px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===================== MARQUEE ===================== */
.marquee-wrapper { position: relative; padding: 22px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.marquee-wrapper::before, .marquee-wrapper::after { content:''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }
.marquee-track { display: flex; gap: 48px; animation: marqueeSpin 38s linear infinite; width: max-content; }
@keyframes marqueeSpin { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.mq-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.mq-item svg { color: var(--accent-light); flex-shrink: 0; }
.mq-div { color: var(--border-light); font-size: 18px; opacity: 0.35; }

/* ===================== SECTIONS ===================== */
.section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(99,102,241,0.09); border: 1px solid rgba(99,102,241,0.15); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--accent-light); margin-bottom: 20px; letter-spacing: 0.02em; }
.section-label svg { color: var(--accent-light); }
.section-title { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; letter-spacing: -0.025em; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.72; }

/* ===================== AOS ANIMATIONS ===================== */
.aos { opacity:0; transform: translateY(42px); transition: all 0.85s cubic-bezier(0.16,1,0.3,1); }
.aos.visible { opacity:1; transform: translateY(0); }
.aos-left { opacity:0; transform: translateX(-52px); transition: all 0.85s cubic-bezier(0.16,1,0.3,1); }
.aos-left.visible { opacity:1; transform: translateX(0); }
.aos-right { opacity:0; transform: translateX(52px); transition: all 0.85s cubic-bezier(0.16,1,0.3,1); }
.aos-right.visible { opacity:1; transform: translateX(0); }
.aos-scale { opacity:0; transform: scale(0.84); transition: all 0.85s cubic-bezier(0.16,1,0.3,1); }
.aos-scale.visible { opacity:1; transform: scale(1); }
/* Fallback: if JS is disabled or slow, show content after CSS animation delay */
@media (prefers-reduced-motion: reduce) {
  .aos, .aos-left, .aos-right, .aos-scale { opacity:1; transform: none; transition: none; }
}
.d1 { transition-delay: 0.1s !important; } .d2 { transition-delay: 0.2s !important; }
.d3 { transition-delay: 0.3s !important; } .d4 { transition-delay: 0.4s !important; }
.d5 { transition-delay: 0.5s !important; } .d6 { transition-delay: 0.6s !important; }

/* ===================== FEATURES GRID ===================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1); position: relative; overflow: hidden; cursor: default;
}
.feature-card::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-1); opacity: 0; transition: opacity 0.3s ease; }
.feature-card::after { content:''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.feature-card:hover { border-color: var(--border-light); transform: translateY(-7px); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.35s ease; }
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); }
.fi-purple { background: rgba(99,102,241,0.15); color: var(--accent-light); }
.fi-cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
.fi-green { background: rgba(16,185,129,0.15); color: var(--green); }
.fi-pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.fi-orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.fi-red { background: rgba(239,68,68,0.15); color: var(--red); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; transition: color 0.3s ease; }
.feature-card:hover h3 { color: var(--accent-light); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.72; }

/* ===================== HOW IT WORKS ===================== */
.hiw-section { padding: 100px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; max-width: 900px; margin: 0 auto; }
.steps-grid::before { content:''; position: absolute; top: 28px; left: calc(16.67% + 4px); right: calc(16.67% + 4px); height: 2px; background: linear-gradient(to right, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%); opacity: 0.3; z-index: 0; }
.step-card { text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--accent-light);
  margin: 0 auto 20px; transition: all 0.4s ease; position: relative; z-index: 1;
}
.step-card:hover .step-num { border-color: var(--accent); background: rgba(99,102,241,0.14); transform: scale(1.18); box-shadow: 0 0 35px rgba(99,102,241,0.22); }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; max-width: 230px; margin: 0 auto; }

/* ===================== AI SHOWCASE ===================== */
.ai-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-visual { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; }
.ai-orb { width: 200px; height: 200px; border-radius: 50%; background: var(--gradient-1); position: relative; animation: orbFloat 6s ease-in-out infinite; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.06); } }
.ai-orb::before { content:''; position: absolute; inset: -32px; border-radius: 50%; border: 1px solid rgba(99,102,241,0.3); animation: orbRing1 4s ease-in-out infinite; }
.ai-orb::after { content:''; position: absolute; inset: -64px; border-radius: 50%; border: 1px solid rgba(99,102,241,0.14); animation: orbRing2 6s ease-in-out infinite; }
@keyframes orbRing1 { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.1); opacity:0.5; } }
@keyframes orbRing2 { 0%,100% { transform: scale(1); opacity:0.5; } 50% { transform: scale(1.15); opacity:0.2; } }
.ai-orb-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: white; }
.orbit-item { position: absolute; width: 50px; height: 50px; border-radius: 13px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-light); animation: orbitFloat 8s ease-in-out infinite; }
.orbit-item:nth-child(2) { top: 10px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-item:nth-child(3) { top: 50%; right: 10px; transform: translateY(-50%); animation-delay: -2s; }
.orbit-item:nth-child(4) { bottom: 10px; left: 50%; transform: translateX(-50%); animation-delay: -4s; }
.orbit-item:nth-child(5) { top: 50%; left: 10px; transform: translateY(-50%); animation-delay: -6s; }
.orbit-item:nth-child(6) { top: 14%; right: 14%; animation-delay: -1s; }
.orbit-item:nth-child(7) { bottom: 14%; left: 14%; animation-delay: -3s; }
.orbit-item:nth-child(8) { top: 14%; left: 14%; animation-delay: -5s; }
.orbit-item:nth-child(9) { bottom: 14%; right: 14%; animation-delay: -7s; }
@keyframes orbitFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.ai-content h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; line-height: 1.18; }
.ai-content > p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; }
.ai-features { display: flex; flex-direction: column; gap: 14px; }
.af-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s ease; cursor: default; }
.af-item:hover { border-color: var(--accent); transform: translateX(9px); box-shadow: var(--shadow-glow); }
.af-check { width: 28px; height: 28px; border-radius: 8px; background: rgba(16,185,129,0.14); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.af-item span { font-size: 14px; font-weight: 500; }

/* ===================== SECURITY SECTION ===================== */
.security-wrap { padding: 100px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1380px; margin: 0 auto; }
.shield-visual { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.shield-container { width: 220px; height: 220px; position: relative; }
.shield-ring { position: absolute; inset: 0; border: 1px solid var(--border); border-radius: 50%; animation: ringRot 22s linear infinite; }
.shield-ring::before { content:''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 14px var(--accent); }
.shield-ring-2 { inset: 28px; animation-duration: 16s; animation-direction: reverse; }
.shield-ring-2::before { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.shield-ring-3 { inset: 56px; animation-duration: 11s; }
.shield-ring-3::before { background: var(--green); box-shadow: 0 0 14px var(--green); }
@keyframes ringRot { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.shield-icon { position: absolute; inset: 72px; display: flex; align-items: center; justify-content: center; color: var(--accent-light); animation: shieldPulse 3.5s ease-in-out infinite; }
@keyframes shieldPulse { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.12); filter: brightness(1.25); } }
.security-items { display: flex; flex-direction: column; gap: 20px; }
.sec-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); transition: all 0.3s ease; border: 1px solid transparent; cursor: default; }
.sec-item:hover { background: var(--bg-card); border-color: var(--border); transform: translateX(8px); }
.sec-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sec-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.sec-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.62; }

/* ===================== PRICING PREVIEW ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; align-items: start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease; position: relative; }
.pricing-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); }
.pricing-card.popular { border-color: var(--accent); box-shadow: var(--shadow-glow); transform: scale(1.03); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-7px); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 18px; background: var(--gradient-1); color: white; font-size: 12px; font-weight: 700; border-radius: 100px; white-space: nowrap; box-shadow: 0 4px 16px rgba(99,102,241,0.3); }
.pricing-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 5px; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.pricing-amount { font-family: var(--font-display); font-size: 46px; font-weight: 800; }
.pricing-period { font-size: 14px; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 22px 0 30px; }
.pricing-features li { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 14px; color: var(--text-secondary); }
.pricing-features li .chk { color: var(--green); display: flex; flex-shrink: 0; }
.pricing-btn { width: 100%; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-body); text-align: center; display: block; text-decoration: none; border: none; }
.pb-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border) !important; border: none; }
.pb-outline:hover { border-color: var(--accent) !important; background: rgba(99,102,241,0.1); }
.pb-filled { background: var(--gradient-1); color: white; box-shadow: 0 3px 18px rgba(99,102,241,0.3); }
.pb-filled:hover { transform: translateY(-2px); box-shadow: 0 7px 28px rgba(99,102,241,0.48); }

/* ===================== COMPARISON TABLE ===================== */
.comp-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.comp-table thead { background: var(--bg-secondary); }
.comp-table th { padding: 18px 22px; text-align: left; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); font-family: var(--font-display); }
.comp-table th:first-child { padding-left: 30px; }
.comp-table td { padding: 15px 22px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.comp-table td:first-child { padding-left: 30px; font-weight: 600; color: var(--text-primary); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: rgba(255,255,255,0.015); }
.comp-hl { background: rgba(99,102,241,0.05) !important; color: var(--accent-light) !important; font-weight: 600 !important; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.tc::before { content:'"'; position: absolute; top: 14px; right: 22px; font-size: 76px; font-weight: 900; color: var(--accent); opacity: 0.08; line-height: 1; font-family: Georgia, serif; }
.tc:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); }
.tc-stars { color: var(--orange); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.tc-text { font-size: 14px; color: var(--text-secondary); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.tc-name { font-size: 14px; font-weight: 600; }
.tc-role { font-size: 12px; color: var(--text-muted); }

/* ===================== STATS ===================== */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; text-align: center; transition: all 0.4s ease; position: relative; overflow: visible; }
.stat-card::before { content:''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gradient-1); transform: scaleX(0); transition: transform 0.4s ease; }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); }
.stat-num { font-family: var(--font-display); font-size: 42px; font-weight: 900; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-lbl { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ===================== INTEGRATIONS ===================== */
.integrations-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.int-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; text-align: center; transition: all 0.4s ease; cursor: default; }
.int-card:hover { border-color: var(--accent); transform: translateY(-7px) scale(1.03); box-shadow: var(--shadow-glow); }
.int-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 800; transition: transform 0.3s ease; }
.int-card:hover .int-icon { transform: scale(1.18) rotate(-5deg); }
.int-card h4 { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.int-card p { font-size: 11px; color: var(--text-muted); }

/* ===================== BLOG ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s ease; cursor: pointer; }
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); }
.blog-img { height: 200px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-img svg { transition: transform 0.5s ease; width: 56px; height: 56px; color: white; opacity: 0.8; }
.blog-card:hover .blog-img svg { transform: scale(1.1); }
.blog-content { padding: 24px; }
.blog-tag { display: inline-block; padding: 4px 10px; background: rgba(99,102,241,0.14); color: var(--accent-light); font-size: 11px; font-weight: 700; border-radius: 6px; margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; transition: color 0.3s ease; }
.blog-card:hover h3 { color: var(--accent-light); }
.blog-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }

/* ===================== CTA ===================== */
.cta-box { max-width: 860px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 72px 48px; position: relative; overflow: hidden; text-align: center; }
.cta-box::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-1); }
.cta-box::after { content:''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 420px; height: 220px; background: radial-gradient(ellipse, rgba(99,102,241,0.09) 0%, transparent 70%); pointer-events: none; }
.cta-box h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--border); padding: 64px clamp(16px,3vw,48px) 32px; max-width: 1380px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.72; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 6px 0; transition: all 0.2s ease; }
.footer-col a:hover { color: var(--accent-light); transform: translateX(4px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all 0.3s ease; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.footer-social a svg { width: 16px; height: 16px; }

/* ===================== TOAST ===================== */
.toast { position: fixed; bottom: 28px; right: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px 22px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 44px rgba(0,0,0,0.55); z-index: 9999; animation: toastIn 0.5s cubic-bezier(0.16,1,0.3,1); font-size: 14px; font-weight: 500; }
@keyframes toastIn { from { opacity:0; transform: translateY(32px) scale(0.94); } to { opacity:1; transform: translateY(0) scale(1); } }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }

/* ===================== RIPPLE ===================== */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.18); animation: rippleA 0.65s ease-out; pointer-events: none; }
@keyframes rippleA { 0% { transform: scale(0); opacity:1; } 100% { transform: scale(4.5); opacity:0; } }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 480px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .integrations-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-preview { max-width: 600px; width: 100%; display: flex; justify-content: center; align-items: center; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .ai-grid { grid-template-columns: 1fr; gap: 48px; }
  .security-grid { grid-template-columns: 1fr; }
  .shield-visual { height: 300px; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
}
/* ── Mid-range: compress navbar before going full mobile ── */
@media (max-width: 1100px) {
  .navbar { padding: env(safe-area-inset-top, 0px) clamp(12px, 2vw, 24px) 0; }
  .navbar-links { gap: 0; }
  .navbar-links a { padding: 7px 8px; font-size: 13px; }
  .navbar-actions { gap: 6px; }
  .nav-btn { padding: 7px 12px; font-size: 13px; }
  .navbar-logo span { font-size: 16px; }
}

@media (max-width: 1050px) {
  .navbar-logo span { display: none; }
}

/* ── Collapse to hamburger at 960px ── */
@media (max-width: 960px) {
  .navbar { padding: env(safe-area-inset-top, 0px) 10px 0 16px; }
  .navbar-links, .nav-btn-ghost { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
  .navbar { padding: env(safe-area-inset-top, 0px) 10px 0 16px; }
  .navbar-links, .nav-btn-ghost:not(:last-child) { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 100px 16px 60px; }
  .section { padding: 60px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: scale(1); }
  .steps-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .integrations-grid { grid-template-columns: repeat(3,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar-actions .nav-btn-ghost { display: none; }
  .mockup-desktop { display: none; }
  .mockup-mobile { display: flex; justify-content: center; align-items: center; width: 100%; }
  .mockup-mobile img { max-width: 260px; width: 100%; margin: 0 auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 50px rgba(99,102,241,0.12)); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num, .stat-number { font-size: 28px; word-break: break-word; }
  .stat-card { padding: 24px 12px; }
  .integrations-grid { grid-template-columns: repeat(2,1fr); }
  .cta-box { padding: 40px 24px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); letter-spacing: -0.02em; }
  .hero-desc { font-size: 15px; }
  .hero-badge { font-size: 12px; padding: 4px 12px 4px 6px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero-actions { gap: 10px; }
}

/* ===================== PAGE HERO (sub-pages) ===================== */
.page-hero {
  position: relative; min-height: 56vh;
  display: flex; align-items: center; justify-content: center;
  padding: 130px clamp(16px,3vw,48px) 80px; overflow: hidden; text-align: center;
}
.page-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.ph-blob-1 { width: 500px; height: 500px; background: var(--accent); top: -150px; left: 20%; animation: blobMorph1 20s ease-in-out infinite; }
.ph-blob-2 { width: 350px; height: 350px; background: var(--cyan); bottom: -100px; right: 10%; animation: blobMorph2 18s ease-in-out infinite; }
.ph-blob-3 { width: 280px; height: 280px; background: var(--pink); top: 40%; left: 60%; animation: blobMorph3 14s ease-in-out infinite; }
.ph-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px 5px 7px; background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2); border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--accent-light); margin-bottom: 24px;
}
.page-hero-content h1 { font-size: clamp(36px,5vw,68px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.page-hero-content p { font-size: 18px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: dotPulse 2s infinite; display: inline-block; }

/* Abbreviated page-hero aliases (privacy, terms use these) */
.ph { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 130px clamp(16px,3vw,48px) 80px; overflow: hidden; text-align: center; }
.phb { position: absolute; inset: 0; overflow: hidden; }
.phc { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.pb1 { width: 500px; height: 500px; background: var(--accent); top: -150px; left: 20%; animation: blobMorph1 20s ease-in-out infinite; }
.pb2 { width: 350px; height: 350px; background: var(--cyan); bottom: -100px; right: 10%; animation: blobMorph2 18s ease-in-out infinite; }
.pgrid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.phbadge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 7px; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--accent-light); margin-bottom: 24px; }
.ph h1 { font-size: clamp(36px,5vw,68px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.ph p { font-size: 18px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.gt { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Abbreviated footer (privacy, terms, cookies use these) */
.ft { border-top: 1px solid var(--border); padding: 64px clamp(16px,3vw,48px) 32px; max-width: 1380px; margin: 0 auto; }
.fg { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.fb p { font-size: 14px; color: var(--text-muted); line-height: 1.72; margin-top: 12px; max-width: 300px; }
.fb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fb-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.fb-logo span { font-family: var(--font-display); font-size: 17px; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fc h4 { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.fc a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 6px 0; transition: all 0.2s ease; }
.fc a:hover { color: var(--accent-light); transform: translateX(4px); }
.fbt { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 16px; }
.fsoc { display: flex; gap: 12px; }
.fsoc a { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 700; transition: all 0.3s ease; }
.fsoc a:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-3px); }
@media (max-width: 768px) {
  .fg { grid-template-columns: repeat(2,1fr); }
  .ft { padding: 40px 16px 24px; }
}
@media (max-width: 480px) {
  .fg { grid-template-columns: 1fr; }
  .fbt { flex-direction: column; }
}

/* ===================== LEGAL CONTENT (privacy, terms) ===================== */
.content-legal {
  max-width: 860px; margin: 0 auto;
  padding: 60px clamp(16px,3vw,48px) 80px;
}
.content-legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--text-primary); }
.content-legal h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; color: var(--accent-light); }
.content-legal p { font-size: 15px; color: var(--text-secondary); line-height: 1.78; margin-bottom: 14px; }
.content-legal ul { margin: 12px 0 18px 20px; }
.content-legal li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; padding: 4px 0; }
.content-legal a { color: var(--accent-light); text-decoration: none; }
.content-legal a:hover { text-decoration: underline; }
.last-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding: 10px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; display: inline-block; }
.highlight { margin: 28px 0; padding: 18px 22px; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-left: 3px solid var(--accent); border-radius: var(--radius); font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.aos-l { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.aos-l.vis, .aos-l.visible { opacity: 1; transform: translateY(0); }

/* ===================== STATS BAR (about) ===================== */
.stats-bar { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px clamp(16px,3vw,48px); }
.stats-section { padding: 60px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { max-width: 1380px; margin: 0 auto; }
.stat-number { font-family: var(--font-display); font-size: 42px; font-weight: 900; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ===================== STORY SECTION (about) ===================== */
.story-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-text blockquote { margin: 24px 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: rgba(99,102,241,0.06); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.story-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.78; margin-bottom: 16px; }
.story-visual { position: relative; }
.mission-visual { display: flex; flex-direction: column; gap: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.mission-pillar { display: flex; gap: 16px; align-items: flex-start; }
.mission-pillar-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(99,102,241,0.12); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mission-pillar h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.mission-pillar p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================== VALUES SECTION (about) ===================== */
.values-section { padding: 100px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1380px; margin: 0 auto; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.4s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-light); }
.value-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(99,102,241,0.12); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform 0.3s ease; }
.value-card:hover .value-icon { transform: scale(1.1) rotate(-5deg); }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ===================== APPROACH SECTION (about) ===================== */
.approach-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.approach-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 1380px; margin: 0 auto; margin-top: 48px; }
.approach-card { display: flex; gap: 20px; padding: 28px 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.4s ease; }
.approach-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.approach-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(99,102,241,0.12); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.approach-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.approach-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.cta-wrap { padding: 80px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
@media (max-width: 768px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* ===================== INTEGRATIONS PAGE ===================== */
.integration-search-wrap { padding: 32px clamp(16px,3vw,48px) 0; max-width: 1380px; margin: 0 auto; }
.integration-search { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; max-width: 600px; transition: border-color 0.3s ease; }
.integration-search:focus-within { border-color: var(--accent); }
.integration-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 15px; font-family: var(--font-body); }
.integration-search input::placeholder { color: var(--text-muted); }
.integration-search-icon { color: var(--text-muted); display: flex; }
.help-search-container { padding: 32px clamp(16px,3vw,48px) 0; max-width: 1380px; margin: 0 auto; }
.help-search { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; max-width: 640px; margin: 0 auto; transition: border-color 0.3s ease; }
.help-search:focus-within { border-color: var(--accent); }
.help-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 16px; font-family: var(--font-body); }
.help-search input::placeholder { color: var(--text-muted); }
.help-search-icon { color: var(--text-muted); display: flex; }
.help-search-hint { text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.category-tab { padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; font-family: var(--font-body); }
.category-tab:hover { border-color: var(--accent); color: var(--text-primary); }
.category-tab.active { background: var(--accent); color: white; border-color: var(--accent); }
.featured-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 64px; }
.featured-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all 0.4s ease; display: flex; flex-direction: column; }
.featured-card:hover { border-color: var(--border-light); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.featured-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.featured-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 800; flex-shrink: 0; }
.featured-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.featured-info span { font-size: 12px; color: var(--text-muted); }
.featured-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.68; margin-bottom: 16px; flex: 1; }
.featured-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.featured-tag { padding: 3px 10px; background: rgba(99,102,241,0.1); color: var(--accent-light); font-size: 11px; font-weight: 600; border-radius: 6px; }
.featured-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-body); align-self: flex-start; margin-top: auto; }
.featured-btn:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(99,102,241,0.08); }
.all-integrations-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.integration-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; transition: all 0.35s ease; cursor: pointer; position: relative; }
.integration-item:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.integration-item-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 17px; font-weight: 800; margin: 8px auto 10px; }
.integration-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.integration-item p { font-size: 11px; color: var(--text-muted); }
.status-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; }
.status-active { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-beta { background: var(--orange); }
.status-soon { background: var(--text-muted); }
/* Partner section */
.partner-section { padding: 80px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1380px; margin: 0 auto; }
.partner-content h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.partner-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.partner-benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.partner-benefit { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.partner-benefit-check { width: 24px; height: 24px; border-radius: 8px; background: rgba(16,185,129,0.14); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.partner-visual { display: flex; align-items: center; justify-content: center; }
.partner-logos { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.partner-logo-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.partner-logo-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.partner-logo-letter { font-family: var(--font-display); font-size: 22px; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* API section */
.api-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.api-content h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.api-content > p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.api-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.api-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.api-feature-check { width: 24px; height: 24px; border-radius: 8px; background: rgba(16,185,129,0.14); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.api-code-block { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.code-header { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ef4444; }
.code-dot:nth-child(2) { background: #f59e0b; }
.code-dot:nth-child(3) { background: #10b981; }
.code-lang { margin-left: auto; font-size: 11px; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; }
.code-body { padding: 20px; font-size: 13px; line-height: 1.7; font-family: 'Courier New', monospace; }
.code-line { margin-bottom: 3px; }
.code-comment { color: var(--text-muted); }
.code-func { color: var(--accent-light); }
.code-string { color: var(--green); }
.code-property { color: var(--cyan); }
.code-value { color: var(--orange); }
/* Connect section */
.connect-section { padding: 100px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.connect-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.testimonials-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.testimonials-inner { }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.4s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-star { width: 14px; height: 14px; color: var(--orange); flex-shrink: 0; }

.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2,1fr); }
  .all-integrations-grid { grid-template-columns: repeat(3,1fr); }
  .api-grid, .partner-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .all-integrations-grid { grid-template-columns: repeat(2,1fr); }
  .category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* ===================== SECURITY PAGE ===================== */
.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-badge { display: flex; align-items: center; gap: 8px; padding: 7px 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.shield-hero { position: relative; width: 100%; height: 100%; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.shield-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(99,102,241,0.07) 0%, transparent 70%); border-radius: var(--radius-lg); overflow: hidden; }
.scan-line { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(99,102,241,0.5), transparent); animation: scanAnim 3s ease-in-out infinite; top: 0; }
@keyframes scanAnim { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.cert-card { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.cert-card:nth-child(2) { top: 15%; left: 5%; animation: floatCard 6s ease-in-out infinite; }
.cert-card:nth-child(3) { top: 15%; right: 5%; animation: floatCard 6s 1.5s ease-in-out infinite; }
.cert-card:nth-child(4) { bottom: 20%; left: 5%; animation: floatCard 6s 3s ease-in-out infinite; }
.cert-card:nth-child(5) { bottom: 20%; right: 5%; animation: floatCard 6s 4.5s ease-in-out infinite; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cert-card-dot { width: 8px; height: 8px; border-radius: 50%; }
.shield-center { width: 160px; height: 160px; position: relative; display: flex; align-items: center; justify-content: center; }
.shield-ring-outer { position: absolute; inset: 0; border: 1px solid rgba(99,102,241,0.25); border-radius: 50%; animation: ringRot 22s linear infinite; }
.shield-ring-mid { position: absolute; inset: 28px; border: 1px solid rgba(99,102,241,0.2); border-radius: 50%; animation: ringRot 16s reverse linear infinite; }
.shield-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; animation: shieldPulse 3.5s ease-in-out infinite; }
/* Pillars grid */
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.pillar-card::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px; transition: opacity 0.3s ease; opacity: 0; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.pillar-card:hover::before { opacity: 1; }
.p-purple::before { background: var(--gradient-1); } .p-green::before { background: linear-gradient(135deg,var(--green),var(--cyan)); } .p-cyan::before { background: linear-gradient(135deg,var(--cyan),var(--accent)); } .p-orange::before { background: linear-gradient(135deg,var(--orange),var(--red)); } .p-pink::before { background: var(--gradient-2); } .p-red::before { background: linear-gradient(135deg,var(--red),var(--pink)); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.35s ease; }
.pillar-card:hover .pillar-icon { transform: scale(1.1) rotate(-5deg); }
.pi-purple { background: rgba(99,102,241,0.15); color: var(--accent-light); }
.pi-green { background: rgba(16,185,129,0.15); color: var(--green); }
.pi-cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
.pi-orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.pi-pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.pi-red { background: rgba(239,68,68,0.15); color: var(--red); }
.pillar-detail h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pillar-detail p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
/* Deepdive section */
.deepdive-wrap { padding: 100px clamp(16px,3vw,48px); background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.deepdive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1380px; margin: 0 auto; }
.deepdive-content h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.deepdive-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.deepdive-features { display: flex; flex-direction: column; gap: 14px; }
.df-item { display: flex; gap: 14px; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s ease; }
.df-item:hover { border-color: var(--accent); transform: translateX(6px); }
.df-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-light); }
.df-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.df-text p { font-size: 13px; color: var(--text-secondary); }
.encrypt-flow { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.encrypt-header { display: flex; align-items: center; gap: 7px; padding: 12px 18px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.encrypt-header-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); }
.encrypt-header-title { margin-left: 10px; font-size: 12px; font-weight: 700; font-family: var(--font-display); color: var(--text-muted); letter-spacing: 0.05em; }
.encrypt-step { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.encrypt-step:last-child { border-bottom: none; }
.step-num-badge { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; font-family: var(--font-display); flex-shrink: 0; }
.step-info { flex: 1; }
.step-info-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.step-info-sub { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.step-status { flex-shrink: 0; }
/* Compliance */
.compliance-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.comp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all 0.4s ease; }
.comp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.comp-logo { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 900; margin-bottom: 16px; }
.comp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.comp-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.comp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.comp-badge-green { background: rgba(16,185,129,0.12); color: var(--green); }
.comp-badge-cyan { background: rgba(6,182,212,0.12); color: var(--cyan); }
.comp-badge-purple { background: rgba(99,102,241,0.12); color: var(--accent-light); }
.comp-badge-orange { background: rgba(245,158,11,0.12); color: var(--orange); }
/* Threat section */
.threat-wrap { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.threat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.threat-items { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.threat-item { display: flex; gap: 16px; padding: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s ease; }
.threat-item:hover { border-color: var(--border-light); transform: translateX(6px); }
.threat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.threat-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.threat-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.threat-visual { display: flex; align-items: center; justify-content: center; }
/* Shield viz */
.shield-viz { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; }
.shield-pulse-ring { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1.5px solid rgba(99,102,241,0.3); animation: shieldPulse 3s ease-out infinite; }
.r1 { width: 96px; height: 96px; animation-delay: 0s; }
.r2 { width: 160px; height: 160px; animation-delay: 1s; }
.r3 { width: 228px; height: 228px; animation-delay: 2s; }
@keyframes shieldPulse { 0% { opacity: 1; transform: translate(-50%,-50%) scale(0.85); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.15); } }
.shield-core { position: relative; z-index: 4; width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-1); box-shadow: 0 0 40px rgba(99,102,241,0.55); display: flex; align-items: center; justify-content: center; }
.threat-particle { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tp1 { top: 12%; left: 14%; animation: floatIn1 4s ease-in-out infinite; }
.tp2 { top: 10%; right: 12%; animation: floatIn2 4s ease-in-out infinite 1s; }
.tp3 { bottom: 14%; left: 10%; animation: floatIn3 4s ease-in-out infinite 2s; }
.tp4 { bottom: 12%; right: 14%; animation: floatIn4 4s ease-in-out infinite 0.5s; }
@keyframes floatIn1 { 0%,100% { opacity: 0.5; transform: translate(0,0); } 50% { opacity: 1; transform: translate(6px, 6px); } }
@keyframes floatIn2 { 0%,100% { opacity: 0.5; transform: translate(0,0); } 50% { opacity: 1; transform: translate(-6px, 6px); } }
@keyframes floatIn3 { 0%,100% { opacity: 0.5; transform: translate(0,0); } 50% { opacity: 1; transform: translate(6px, -6px); } }
@keyframes floatIn4 { 0%,100% { opacity: 0.5; transform: translate(0,0); } 50% { opacity: 1; transform: translate(-6px,-6px); } }
.block-badge { display: inline-block; padding: 2px 7px; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; background: rgba(239,68,68,0.15); color: var(--red); border: 1px solid rgba(239,68,68,0.3); white-space: nowrap; }
.shield-stat { position: absolute; z-index: 3; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ss1 { top: 38%; left: -10px; }
.ss2 { top: 38%; right: -10px; }
.ss3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.ss-num { font-size: 15px; font-weight: 800; font-family: var(--font-display); color: var(--accent-light); line-height: 1; }
.ss-lbl { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
/* FAQ */
.faq-section { padding: 100px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.open { border-color: var(--accent); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: transparent; border: none; color: var(--text-primary); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; font-family: var(--font-body); gap: 16px; }
.faq-icon { color: var(--accent-light); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-content { padding: 0 22px 18px; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .compliance-grid { grid-template-columns: repeat(2,1fr); }
  .deepdive-grid, .threat-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2,1fr); }
  .shield-viz { width: 260px; height: 260px; }
  .section-title { font-size: clamp(24px, 6vw, 38px); }
  .section-subtitle { font-size: 15px; }
  .comp-card { padding: 20px; }
  .comp-logo { font-size: 14px; padding: 8px 12px; }
}

/* ===================== BLOG PAGE ===================== */
.blog-section { padding: 80px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.blog-filter, .blog-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-tab { padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; font-family: var(--font-body); }
.blog-tab:hover { border-color: var(--accent); color: var(--text-primary); }
.blog-tab.active { background: var(--accent); color: white; border-color: var(--accent); }
/* Featured post */
.featured-wrap { padding: 0 clamp(16px,3vw,48px) 64px; max-width: 1380px; margin: 0 auto; }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: inherit; transition: all 0.4s ease; }
.featured-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-light); }
.featured-image { position: relative; min-height: 360px; }
.featured-image-bg { position: absolute; inset: 0; }
.featured-image-overlay { position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(13,13,32,0.8)); }
.featured-image .featured-tag { position: absolute; bottom: 20px; left: 20px; padding: 5px 12px; background: var(--accent); color: white; font-size: 11px; font-weight: 700; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.featured-content { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.featured-author { font-weight: 600; color: var(--text-secondary); }
.featured-date { color: var(--text-muted); }
.featured-read { display: flex; align-items: center; gap: 5px; color: var(--text-muted); }
.author-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.featured-content h2 { font-size: clamp(22px,2.5vw,32px); font-weight: 800; line-height: 1.22; margin-bottom: 14px; transition: color 0.3s ease; }
.featured-post:hover .featured-content h2 { color: var(--accent-light); }
.featured-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.featured-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--gradient-1); color: white; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; width: fit-content; }
.featured-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.read-more { display: inline-flex; align-items: center; gap: 6px; }
/* Post cards */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: all 0.4s ease; }
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); border-color: var(--border-light); }
.post-thumb { height: 180px; position: relative; overflow: hidden; }
.post-thumb-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.post-category { position: absolute; bottom: 12px; left: 12px; padding: 4px 10px; font-size: 10px; font-weight: 700; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-product { background: rgba(99,102,241,0.15); color: var(--accent-light); }
.cat-company { background: rgba(16,185,129,0.15); color: var(--green); }
.cat-tech { background: rgba(6,182,212,0.15); color: var(--cyan); }
.cat-tips { background: rgba(245,158,11,0.15); color: var(--orange); }
.cat-news { background: rgba(236,72,153,0.15); color: var(--pink); }
.post-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.post-author-avatar { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: white; flex-shrink: 0; }
.post-author { font-weight: 600; color: var(--text-secondary); }
.post-date { color: var(--text-muted); }
.post-card h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; transition: color 0.3s ease; }
.post-card:hover h3 { color: var(--accent-light); }
.post-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.post-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.post-link { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--accent-light); }
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-tag { padding: 3px 8px; background: rgba(99,102,241,0.1); color: var(--accent-light); font-size: 10px; font-weight: 600; border-radius: 5px; }
/* Popular grid & categories */
.popular-grid, .categories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.popular-article { display: flex; gap: 14px; padding: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: inherit; transition: all 0.3s ease; }
.popular-article:hover { border-color: var(--accent); transform: translateX(4px); }
.popular-article-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(99,102,241,0.1); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.popular-article h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.popular-article p { font-size: 12px; color: var(--text-muted); }
@media (max-width: 1024px) {
  .featured-post { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .popular-grid, .categories-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .popular-grid, .categories-grid { grid-template-columns: 1fr; }
  .featured-image { min-height: 220px; }
}

/* ===================== COOKIES PAGE ===================== */
.content-wrap { max-width: 1200px; margin: 0 auto; padding: 60px clamp(16px,3vw,48px) 80px; }
.content-grid { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.toc-title { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.toc a { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); text-decoration: none; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); transition: all 0.2s ease; }
.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--accent-light); transform: translateX(4px); }
.toc-num { font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 20px; }
.article { }
.article-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.article-section:last-child { border-bottom: none; }
.article-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.article-section p { font-size: 15px; color: var(--text-secondary); line-height: 1.78; margin-bottom: 12px; }
.article-section ul { margin: 12px 0 0 20px; }
.article-section li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; padding: 4px 0; }
.highlight-block { display: flex; gap: 14px; padding: 18px 22px; background: rgba(99,102,241,0.07); border: 1px solid rgba(99,102,241,0.18); border-radius: var(--radius); margin: 20px 0; }
.hl-icon { width: 18px; height: 18px; color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.highlight-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.72; margin-bottom: 0; }
.cookie-types { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.cookie-type-card { display: flex; gap: 16px; padding: 20px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); }
.cookie-type-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-light); }
.cookie-type-icon svg { width: 18px; height: 18px; }
.cookie-type-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.cookie-type-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 8px; }
.cookie-tag { display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 700; border-radius: 6px; }
.tag-required { background: rgba(239,68,68,0.12); color: var(--red); }
.tag-optional { background: rgba(99,102,241,0.12); color: var(--accent-light); }
.cta-section { padding: 80px clamp(16px,3vw,48px); max-width: 1380px; margin: 0 auto; }
.note { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--cyan); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 20px 0; }
@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cookie-type-card { flex-direction: column; gap: 10px; padding: 16px; }
  .cookie-type-icon { width: 32px; height: 32px; }
  .article-section h2 { font-size: 18px; flex-wrap: wrap; }
  .content-wrap { padding: 40px 16px 60px; }
  .highlight-block { flex-direction: column; gap: 10px; padding: 14px 16px; }
  .note { padding: 12px 14px; font-size: 13px; }
}

/* ===================== HELP PAGE ===================== */
.categories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 8px; }
.category-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; cursor: pointer; transition: all 0.4s ease; display: flex; flex-direction: column; align-items: flex-start; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: var(--accent); }
.category-icon { font-size: 32px; margin-bottom: 14px; }
.category-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.category-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; }
.category-count { font-size: 12px; color: var(--accent-light); font-weight: 600; }
/* Article view */
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 0; margin-bottom: 24px; transition: color 0.2s ease; }
.article-back:hover { color: var(--text-primary); }
.article-detail { max-width: 760px; padding: 60px clamp(16px,3vw,48px) 80px; display: none; }
.article-detail.active { display: block; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.article-content { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.article-content h2 { font-size: 20px; font-weight: 700; color: var(--accent-light); margin: 32px 0 12px; }
.article-content h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 24px 0 10px; }
.article-content code { background: var(--bg-card); border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; font-size: 13px; font-family: 'Courier New', monospace; color: var(--accent-light); }
.article-content p { margin-bottom: 16px; }
.article-content ul { margin: 10px 0 16px 20px; }
.article-content li { padding: 4px 0; }
@media (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
}

/* ===================== REMAINING MISC CLASSES ===================== */
.section-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(99,102,241,0.12); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.faq-toggle { color: var(--accent-light); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--accent-light); margin: 0 auto 20px; transition: all 0.4s ease; position: relative; z-index: 1; }
.step-card:hover .step-number { border-color: var(--accent); background: rgba(99,102,241,0.14); transform: scale(1.18); box-shadow: 0 0 35px rgba(99,102,241,0.22); }
.deepdive-visual { }


/* ===================== SOLUTIONS PAGE ===================== */
.navbar-logo svg { width: 32px; height: 32px; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.page-hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12;
}
@keyframes phBlob1 {
  0%,100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; transform: translate(0,0); }
  50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; transform: translate(30px,20px); }
}
@keyframes phBlob2 {
  0%,100% { border-radius: 40% 60% 70% 30%/40% 50% 50% 60%; }
  50% { border-radius: 70% 30% 40% 60%/60% 40% 60% 30%; }
}
@keyframes badgeIn { from { opacity:0; transform: translateY(10px) scale(0.95); } to { opacity:1; transform: translateY(0) scale(1); } }
.page-hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: dotPulse 2s infinite; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: titleReveal 0.8s 0.5s cubic-bezier(0.16,1,0.3,1) both;
  font-family: var(--font-display);
}
@keyframes titleReveal { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.page-hero h1 .gradient-text {
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% 200%; animation: gradientMove 4s ease infinite;
}
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.page-hero p {
  font-size: 18px; color: var(--text-secondary); line-height: 1.7;
  max-width: 600px; margin: 0 auto;
  animation: fadeUp 0.8s 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.solution-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 64px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.solution-tab {
  flex: 1; padding: 12px 24px; border: none; border-radius: 10px;
  background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif;
  position: relative;
}
.solution-tab.active { background: var(--accent); color: white; box-shadow: 0 4px 15px rgba(99,102,241,0.3); }
.solution-tab:hover:not(.active) { color: var(--text-primary); background: rgba(99,102,241,0.05); }
.solution-panel { display: none; animation: panelIn 0.5s ease; }
.solution-panel.active { display: block; }
@keyframes panelIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.solution-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.solution-hero-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  font-family: var(--font-display);
}
.solution-hero-text h2 .gradient-text {
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.solution-hero-text > p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px;
}
.solution-features-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.solution-feature-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; transition: all 0.3s ease;
}
.solution-feature-item:hover { border-color: var(--accent); transform: translateX(6px); box-shadow: var(--shadow-glow); }
.solution-feature-check {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(16,185,129,0.15); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.solution-feature-item span { font-size: 14px; font-weight: 500; }
.solution-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow), 0 0 60px rgba(99,102,241,0.06);
}
.mockup-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: var(--red); }
.mockup-dot:nth-child(2) { background: var(--orange); }
.mockup-dot:nth-child(3) { background: var(--green); }
.mockup-url {
  flex: 1; margin-left: 12px; padding: 6px 12px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-muted); font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}
.mockup-body { padding: 24px; }
.admin-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.admin-stat {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; transition: all 0.3s ease;
}
.admin-stat:hover { border-color: var(--accent); transform: translateY(-2px); }
.admin-stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.admin-stat-value { font-size: 28px; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-stat-change { font-size: 12px; color: var(--green); margin-top: 4px; font-weight: 600; }
.admin-stat-change.down { color: var(--red); }
.admin-bar-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 100px; padding: 20px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; margin-top: 16px;
}
.admin-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--gradient-1);
  transition: height 1s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.admin-bar:hover { opacity: 0.8; }
.admin-users {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px;
}
.admin-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
}
.admin-user-info { flex: 1; }
.admin-user-name { font-size: 13px; font-weight: 600; }
.admin-user-role { font-size: 11px; color: var(--text-muted); }
.admin-user-status {
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
}
.status-pending { background: rgba(245,158,11,0.15); color: var(--orange); }
.team-grid { display: flex; flex-direction: column; gap: 12px; }
.team-mailbox {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.3s ease; cursor: pointer;
}
.team-mailbox:hover { border-color: var(--accent); transform: translateX(6px); }
.team-mailbox-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.team-mailbox-info { flex: 1; }
.team-mailbox-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.team-mailbox-desc { font-size: 12px; color: var(--text-muted); }
.team-mailbox-count {
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  background: rgba(99,102,241,0.15); color: var(--accent-light);
}
.team-calendar {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 16px;
  padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px;
}
.cal-day {
  text-align: center; padding: 8px 4px; font-size: 11px; color: var(--text-muted);
  border-radius: 6px;
}
.cal-day.today { background: var(--accent); color: white; font-weight: 700; }
.cal-day.has-event { color: var(--cyan); font-weight: 600; }
.cal-day-header { font-size: 10px; color: var(--text-muted); font-weight: 700; padding: 8px 4px; }
.personal-inbox { display: flex; flex-direction: column; gap: 10px; }
.personal-email {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.3s ease; cursor: pointer;
}
.personal-email:hover { border-color: var(--accent); transform: translateX(4px); }
.personal-email.priority-high { border-left: 3px solid var(--red); }
.personal-email.priority-medium { border-left: 3px solid var(--orange); }
.personal-email.priority-low { border-left: 3px solid var(--green); }
.personal-email-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white; flex-shrink: 0;
}
.personal-email-info { flex: 1; min-width: 0; }
.personal-email-sender { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.personal-email-subject { font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.personal-email-time { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
.personal-email-priority {
  padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.p-high { background: rgba(239,68,68,0.15); color: var(--red); }
.p-medium { background: rgba(245,158,11,0.15); color: var(--orange); }
.p-low { background: rgba(16,185,129,0.15); color: var(--green); }
.feature-icon.purple { background: rgba(99,102,241,0.15); color: var(--accent-light); }
.feature-icon.cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
.feature-icon.green { background: rgba(16,185,129,0.15); color: var(--green); }
.feature-icon.pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.feature-icon.orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.feature-icon.red { background: rgba(239,68,68,0.15); color: var(--red); }
.use-cases-section {
  padding: 100px 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.use-cases-section .section { padding: 0; max-width: 1400px; margin: 0 auto; }
.use-case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.use-case-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.use-case-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  transition: all 0.4s ease; opacity: 0;
}
.use-case-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.use-case-card:hover::after { opacity: 1; }
.use-case-icon { font-size: 36px; margin-bottom: 16px; }
.use-case-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.use-case-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.use-case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.use-case-tag {
  padding: 4px 10px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.15);
  border-radius: 6px; font-size: 11px; color: var(--accent-light); font-weight: 500;
}
.roi-section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.roi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.roi-content h2 {
  font-size: 36px; font-weight: 800; margin-bottom: 16px; line-height: 1.2;
}
.roi-content h2 .gradient-text {
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.roi-content > p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px;
}
.roi-calculator {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px; position: relative; overflow: hidden;
}
.roi-calculator::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-1);
}
.roi-input-group { margin-bottom: 24px; }
.roi-input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.roi-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; background: var(--border); border-radius: 3px; outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 10px rgba(99,102,241,0.4);
  transition: transform 0.2s ease;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.roi-slider-value {
  font-size: 18px; font-weight: 700; color: var(--text-primary); margin-top: 8px;
}
.roi-results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.roi-result { text-align: center; }
.roi-result-value { font-size: 28px; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.roi-result-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.testimonials-section .section { padding: 0; max-width: 1400px; margin: 0 auto; }
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 72px; font-weight: 900; color: var(--accent); opacity: 0.1; line-height: 1;
}
@keyframes rippleAnim { from { transform: scale(0); opacity:1; } to { transform: scale(4); opacity:0; } }

/* ===================== PRICING PAGE ===================== */
@keyframes phBlob3 { 0%,100% { border-radius: 50% 50% 40% 60%/50% 40% 60% 50%; transform: scale(1); } 50% { border-radius: 40% 60% 60% 40%/60% 50% 40% 60%; transform: scale(1.2); } }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -20px auto 64px; position: relative; z-index: 2; }
.billing-label { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.3s ease; cursor: pointer; }
.billing-label.active { color: var(--text-primary); }
.toggle-switch { width: 56px; height: 30px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 15px; cursor: pointer; position: relative; transition: all 0.3s ease; }
.toggle-switch.active { background: rgba(99,102,241,0.2); border-color: var(--accent); }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 2px 8px rgba(99,102,241,0.3); }
.toggle-switch.active::after { transform: translateX(26px); }
.save-badge { background: rgba(16,185,129,0.15); color: var(--green); padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; animation: savePulse 2s infinite; }
@keyframes savePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); } }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-1); opacity: 0; }
.pricing-card.popular::before { opacity: 1; background: var(--gradient-1); height: 3px; }
.pricing-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.pricing-icon.purple { background: rgba(99,102,241,0.15); }
.pricing-icon.cyan { background: rgba(6,182,212,0.15); }
.pricing-icon.green { background: rgba(16,185,129,0.15); }
.pricing-icon.orange { background: rgba(245,158,11,0.15); }
.pricing-price { margin-bottom: 24px; }
.pricing-amount.custom { font-size: 28px; }
.pricing-original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.pricing-features li .check { color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pricing-features li .x { color: var(--text-muted); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pricing-btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.pricing-btn-outline:hover { border-color: var(--accent); background: rgba(99,102,241,0.1); transform: translateY(-2px); }
.pricing-btn-filled { background: var(--gradient-1); color: white; border: none; box-shadow: 0 4px 20px rgba(99,102,241,0.3); }
.pricing-btn-filled:hover { box-shadow: 0 8px 30px rgba(99,102,241,0.5); transform: translateY(-2px); }
/* shimmer removed */
.comparison-section { padding: 100px 40px; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.comparison-section .section { padding: 0; max-width: 1400px; margin: 0 auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.comparison-table thead { background: var(--bg-secondary); }
.comparison-table th { padding: 18px 24px; text-align: center; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); }
.comparison-table th:first-child { text-align: left; padding-left: 32px; }
.comparison-table th.popular-col { background: rgba(99,102,241,0.08); color: var(--accent-light); position: relative; }
.comparison-table th.popular-col::before { content: '★'; position: absolute; top: 4px; right: 8px; font-size: 10px; }
.comparison-table td { padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--border); text-align: center; color: var(--text-secondary); }
.comparison-table td:first-child { padding-left: 32px; font-weight: 600; color: var(--text-primary); text-align: left; }
.comparison-table td.popular-col { background: rgba(99,102,241,0.04); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card-hover); }
.comparison-table tr:hover td.popular-col { background: rgba(99,102,241,0.08); }
.check-cell { color: var(--green); font-weight: 700; font-size: 18px; }
.x-cell { color: var(--text-muted); font-size: 16px; }
.partial-cell { color: var(--orange); font-size: 12px; font-weight: 600; }
.guarantee-section { padding: 80px 40px; max-width: 1400px; margin: 0 auto; }
.guarantee-box { display: flex; align-items: center; gap: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; max-width: 900px; margin: 0 auto; }
.guarantee-icon { font-size: 64px; flex-shrink: 0; }
.guarantee-content h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.guarantee-content h3 .gradient-text { background: var(--gradient-3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.guarantee-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.faq-item:hover { border-color: var(--border-light); }
.faq-question:hover { background: var(--bg-card-hover); }

/* ===================== CONTACT PAGE ===================== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
.navbar-links a:hover,
.navbar-links a.active { color: var(--text-primary); background: rgba(99,102,241,0.1); }
.contact-wrap {
  max-width: 1380px; margin: 0 auto;
  padding: 0 clamp(16px,3vw,48px) 100px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}
.contact-sidebar { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.info-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1); opacity: 0; transition: opacity 0.3s ease;
}
.info-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-glow); }
.info-card:hover::before { opacity: 1; }
.info-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; transition: transform 0.35s ease;
}
.info-card:hover .info-card__icon { transform: scale(1.12) rotate(-6deg); }
.info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.info-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.info-card a { color: var(--accent-light); text-decoration: none; font-size: 13px; transition: color 0.2s ease; }
.info-card a:hover { color: var(--text-primary); }
.status-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin-top: 12px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.18);
  border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--green);
}
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  position: relative; overflow: hidden;
}
.form-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1);
}
.form-card::after {
  content:''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.form-card__header { margin-bottom: 30px; }
.form-card__header h2 { font-size: 22px; font-weight: 700; margin-bottom: 7px; }
.form-card__header p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { margin-bottom: 16px; }
.form-field:last-of-type { margin-bottom: 0; }
.form-field label {
  display: block; color: var(--text-secondary);
  margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: 14px; font-family: var(--font-body);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(99,102,241,0.04);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.14);
}
.form-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23818cf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.form-field select option { background: #0d0d20; color: #eeeef5; padding: 10px; }
.form-field select option:checked { background: #4f46e5; }
.input-prefix-wrap { position: relative; display: flex; }
.input-prefix {
  flex-shrink: 0; padding: 13px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.input-prefix-wrap input {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: none;
}
.input-prefix-wrap input:focus { border-color: var(--accent); border-left: 1px solid var(--accent); }
.input-prefix-wrap:focus-within .input-prefix { border-color: var(--accent); }
.field-footer {
  display: flex; justify-content: flex-end;
  font-size: 11px; color: var(--text-muted); margin-top: 5px;
}
.btn-submit {
  width: 100%; padding: 15px 24px;
  background: var(--gradient-1); color: white; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 600;
  font-family: var(--font-body); cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  position: relative; overflow: hidden; margin-top: 24px;
  box-shadow: 0 4px 22px rgba(99,102,241,0.35);
}
.btn-submit::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-110%); transition: transform 0.6s ease;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(99,102,241,0.55); }
.btn-submit:hover::before { transform: translateX(110%); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-submit .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-label { display: none; }
@keyframes spin { to{transform:rotate(360deg)} }
.privacy-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  background: rgba(99,102,241,0.05); border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius); font-size: 12px; color: var(--text-muted); line-height: 1.6;
}
.privacy-note svg { flex-shrink: 0; color: var(--accent-light); margin-top: 1px; }
.privacy-note a { color: var(--accent-light); text-decoration: none; }
.privacy-note a:hover { text-decoration: underline; }
.success-state {
  display: none; text-align: center; padding: 48px 24px;
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.success-state.show { display: block; }
.success-icon {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
  background: rgba(16,185,129,0.12); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); animation: successPop 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes successPop { from{transform:scale(0.5);opacity:0} to{transform:scale(1);opacity:1} }
.success-state h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.success-state p { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; max-width: 380px; margin-left: auto; margin-right: auto; }

/* ===================== SIGN_IN PAGE ===================== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
.bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
@keyframes bp1{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,20px)}}
@keyframes bp2{0%,100%{transform:translate(0,0)}50%{transform:translate(-20px,-30px)}}
.card{position:relative;z-index:2;width:100%;max-width:420px;margin:24px;
      padding:40px 36px;background:var(--bg-card);border:1px solid var(--border);
      border-radius:20px;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}
.logo{display:flex;align-items:center;gap:9px;text-decoration:none;
      font-family:var(--font-d);font-size:1rem;font-weight:700}
.logo-icon{width:32px;height:32px;border-radius:9px;background:var(--grad);
      display:flex;align-items:center;justify-content:center;flex-shrink:0}
.logo-icon svg{width:16px;height:16px;color:#fff}
.logo-text{background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.card-title{font-family:var(--font-d);font-size:1.45rem;font-weight:700;
      letter-spacing:-.02em;margin-bottom:6px}
.card-sub{color:var(--text-2);font-size:.9rem;margin-bottom:28px}
.field{margin-bottom:16px;position:relative}
.field label{display:block;font-size:.82rem;font-weight:500;color:var(--text-2);margin-bottom:6px}
.field input{width:100%;padding:12px 14px 12px 40px;background:var(--bg);
      border:1px solid var(--border);border-radius:var(--r);color:var(--text);
      font-size:.94rem;font-family:var(--font);transition:var(--t);outline:none}
.field input::placeholder{color:var(--text-3)}
.field input:focus{border-color:var(--accent);background:var(--bg-hover);
      box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.field-icon{position:absolute;left:13px;top:37px;color:var(--text-3);pointer-events:none}
.field-icon svg{width:15px;height:15px}
.field--pw input{padding-right:42px}
.pw-toggle{position:absolute;right:11px;top:33px;background:none;border:none;
      color:var(--text-3);padding:5px;cursor:pointer;transition:color .2s}
.pw-toggle:hover{color:var(--text)}
.pw-toggle svg{width:15px;height:15px}
.check-label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:var(--text-2)}
.check-label input{display:none}
.check-box{width:16px;height:16px;border:1.5px solid var(--border-l);border-radius:4px;
      background:var(--bg);display:inline-flex;align-items:center;justify-content:center;
      flex-shrink:0;transition:var(--t)}
.check-label input:checked+.check-box{background:var(--accent);border-color:var(--accent)}
.check-label input:checked+.check-box::after{content:'';width:8px;height:5px;
      border-left:2px solid #fff;border-bottom:2px solid #fff;
      transform:rotate(-45deg) translate(1px,-1px);display:block}
.forgot-link{color:var(--accent-l);font-size:.85rem;font-weight:500;
      text-decoration:none;transition:color .2s}
.forgot-link:hover{color:var(--text)}
.btn-submit:active{transform:translateY(0)}
.spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.3);
      border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:none}
.msg{padding:11px 14px;border-radius:var(--r);font-size:.86rem;
      margin-bottom:16px;display:none;border:1px solid}
.msg.show{display:block}
.msg.error{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.25);color:#fca5a5}
.msg.success{background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.25);color:#6ee7b7}
.card-foot{text-align:center;color:var(--text-3);font-size:.88rem;margin-top:4px}
.card-foot a{color:var(--accent-l);font-weight:600;margin-left:4px;text-decoration:none}
.card-foot a:hover{color:var(--text)}
.back-link{position:absolute;bottom:-36px;left:0;right:0;text-align:center;
      font-size:.84rem;color:var(--text-3);text-decoration:none;transition:color .2s;
      display:flex;align-items:center;justify-content:center;gap:5px}
.back-link:hover{color:var(--text-2)}
@media(max-width:480px){.card{padding:28px 20px;margin:16px}.card-title{font-size:1.25rem}}
/* ===================== UTILITIES ===================== */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ===================== SOLUTIONS – MOBILE VISUAL FIX ===================== */
/* On mobile, stack the visual image below the text in solution panels */
@media (max-width: 768px) {
  .solution-hero-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .solution-visual.aos-right {
    order: 2; /* ensure image always comes after text */
    min-height: 260px;
  }
  .solution-hero-text {
    order: 1;
  }
}

/* ===================== GLOBAL MOBILE FIX ===================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* { box-sizing: border-box; }

/* ===================== CONTACT PAGE MOBILE ===================== */
@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 0 16px 60px;
  }
  .contact-sidebar {
    flex-direction: column;
    order: 2;
    margin-top: 8px;
  }
  .form-card {
    order: 1;
    padding: 24px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card::after { display: none; }
}

/* ===================== PRICING PAGE MOBILE ===================== */
@media (max-width: 768px) {
  .billing-toggle {
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 40px;
  }
  .comp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }
  .comp-table {
    min-width: 480px;
  }
  .comp-table th, .comp-table td {
    padding: 12px 10px;
    font-size: 12px;
  }
  .comp-table th:first-child, .comp-table td:first-child {
    padding-left: 12px;
  }
  /* Pricing logo */
  .navbar-logo-icon img { display: block !important; }
}

/* ===================== INTEGRATIONS PAGE MOBILE ===================== */
@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .api-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .partner-logos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===================== EMAIL CLIENT MOCKUP MOBILE ===================== */
@media (max-width: 768px) {
  .email-client-body {
    grid-template-columns: 1fr;
  }
  .email-sidebar {
    display: none;
  }
}

/* ===================== SOLUTIONS PAGE MOBILE ===================== */
@media (max-width: 768px) {
  .solution-hero-card {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .use-case-grid {
    grid-template-columns: 1fr;
  }
  .uc-visual {
    display: none;
  }
}

/* ===================== BLOBS — clip to viewport ===================== */
@media (max-width: 768px) {
  .blob, .ph-blob-1, .ph-blob-2, .ph-blob-3, .pb1, .pb2 {
    max-width: 200px;
    max-height: 200px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== COMPARISON TABLE MOBILE ===================== */
.comp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  margin-top: 32px;
}
@media (max-width: 768px) {
  .comparison-section { padding: 60px 16px; }
  .comparison-table { min-width: 520px; }
  .comparison-table th, .comparison-table td { padding: 12px 10px; font-size: 12px; }
  .comparison-table th:first-child, .comparison-table td:first-child { padding-left: 12px; }
  .comp-table-wrap::after {
    content: '← scroll →';
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 6px 0;
  }
}

/* ===================== INTEGRATIONS PARTNER SECTION MOBILE ===================== */
@media (max-width: 768px) {
  .partner-section { padding: 60px 16px; }
  .partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .partner-logo-item { padding: 14px 10px; }
  .api-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================== PREVENT HORIZONTAL SCROLL GLOBALLY ===================== */
@media (max-width: 768px) {
  section, .section-wrap, .partner-section, .use-cases-section,
  .testimonials-section, .comparison-section, .api-section {
    overflow: hidden;
  }
  /* Shrink large decorative blobs on mobile */
  .blob-1, .blob-2, .blob-3 { width: 220px !important; height: 220px !important; }
  .ph-blob-1 { width: 200px !important; height: 200px !important; }
  .ph-blob-2 { width: 160px !important; height: 160px !important; }
  .ph-blob-3 { width: 130px !important; height: 130px !important; }
  .pb1 { width: 200px !important; height: 200px !important; }
  .pb2 { width: 160px !important; height: 160px !important; }
}
