/* ============================================
   USMail — World-Class SaaS Marketing CSS
   Dark Premium · Cinematic · Fully Responsive
   ============================================ */

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

:root {
  --bg: #080810;
  --bg-2: #0d0d1a;
  --bg-3: #111122;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text: #f0f0ff;
  --text-2: rgba(240,240,255,0.6);
  --text-3: rgba(240,240,255,0.35);
  --accent: #6366f1;
  --accent-2: #7c3aed;
  --accent-light: rgba(99,102,241,0.15);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #0ea5e9;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 80px rgba(0,0,0,0.6);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 3px; }

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

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: linear-gradient(90deg, rgba(99,102,241,0.15), rgba(124,58,237,0.15));
  border-bottom: 1px solid rgba(99,102,241,0.2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
}
.announce-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.announce-bar a { color: var(--accent); font-weight: 500; }
.announce-bar a:hover { text-decoration: underline; }
.announce-close {
  position: absolute; right: 16px;
  color: var(--text-3); font-size: 16px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.announce-close:hover { color: var(--text); background: var(--surface); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-signin {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: color 0.2s;
}
.nav-signin:hover { color: var(--text); }

/* Language Toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  color: var(--text-3);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  letter-spacing: 0.05em;
}
.lang-toggle:hover { border-color: var(--border-hover); }
.lang-sep { color: var(--text-3); }
.lang-en, .lang-ru { transition: color 0.2s; }
.lang-en.active, .lang-ru.active { color: var(--accent); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--surface); }
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-2);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(8,8,16,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 12px;
  font-size: 15px; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--text); background: var(--surface); }
.nav-mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 600; font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 24px rgba(99,102,241,0.4); }
.btn-primary.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-sm); }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2);
  font-weight: 500; font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: var(--surface); }
.btn-ghost.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-sm); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2);
  font-weight: 500; font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { color: var(--text); border-color: var(--border-hover); background: var(--surface); }
.btn-outline.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: glowFloat1 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: 50%; right: -50px;
  animation: glowFloat2 10s ease-in-out infinite;
}
.hero-glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation: glowFloat3 12s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

/* Hero copy */
.hero-copy { max-width: 560px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 500;
  color: rgba(165,165,255,0.9);
  margin-bottom: 24px;
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero-h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-grad {
  background: linear-gradient(135deg, #818cf8, #c084fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 12px; color: var(--text-3);
  margin-bottom: 32px;
}
.hero-trust {
  display: flex; align-items: center; gap: 12px;
}
.trust-avatars { display: flex; }
.trust-av {
  width: 32px; height: 32px;
  min-width: 32px; min-height: 32px;
  max-width: 32px; max-height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: white;
  margin-right: -8px;
  flex-shrink: 0;
  overflow: hidden;
}
.trust-text { font-size: 13px; color: var(--text-2); padding-left: 16px; }
.trust-text strong { display: block; color: var(--text); font-size: 13px; }

/* ===== HERO DEVICES ===== */
.hero-devices {
  position: relative;
  height: 580px;
  display: flex; align-items: center; justify-content: center;
}

/* Floating badges */
.device-badge {
  position: absolute;
  background: rgba(13,13,26,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(20px);
  z-index: 10;
  box-shadow: var(--shadow);
  animation: badgeFloat 4s ease-in-out infinite;
}
.badge-1 { top: 30px; left: -20px; animation-delay: 0s; }
.badge-2 { top: 50%; right: -30px; transform: translateY(-50%); animation-delay: 1.5s; }
.badge-3 { bottom: 60px; left: 10px; animation-delay: 3s; }
.badge-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-title { font-size: 12px; font-weight: 600; color: var(--text); }
.badge-sub { font-size: 11px; color: var(--text-3); }

/* iPad */
.device-ipad {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%) perspective(1000px) rotateY(15deg) rotateX(3deg);
  z-index: 2;
  animation: deviceFloat1 6s ease-in-out infinite;
}
.ipad-frame {
  width: 200px;
  background: #1a1a2e;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.ipad-camera {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 8px;
}
.ipad-screen {
  background: #0a0a18;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
}
.app-ui-ipad { padding: 10px; height: 100%; overflow: hidden; }
.ipad-header { padding: 4px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.ipad-title { font-size: 13px; font-weight: 700; color: var(--text); }
.ipad-sidebar { display: flex; flex-direction: column; gap: 2px; }
.sidebar-section-label { font-size: 9px; font-weight: 600; color: var(--text-3); letter-spacing: 0.08em; padding: 4px 6px 2px; }
.sidebar-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px; color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-item.active { background: rgba(99,102,241,0.15); color: #818cf8; }
.sidebar-count {
  margin-left: auto;
  background: rgba(99,102,241,0.2);
  color: #818cf8;
  font-size: 9px; font-weight: 600;
  padding: 1px 5px;
  border-radius: 10px;
}
.sidebar-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* iPhone */
.device-iphone {
  position: relative;
  z-index: 5;
  animation: deviceFloat2 7s ease-in-out infinite;
}
.iphone-frame {
  width: 200px;
  background: #111122;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 8px 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06), 0 0 60px rgba(99,102,241,0.1);
  position: relative;
}
.iphone-notch {
  width: 80px; height: 22px;
  background: #080810;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}
.iphone-screen {
  background: #0a0a18;
  border-radius: 28px;
  overflow: hidden;
  height: 400px;
  display: flex; flex-direction: column;
}
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--border);
}
.app-title { font-size: 14px; font-weight: 700; color: var(--text); }
.app-compose {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(99,102,241,0.1);
  display: flex; align-items: center; justify-content: center;
}
.app-tabs {
  display: flex; gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}
.app-tab {
  font-size: 10px; font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.app-tab.active {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
}
.app-emails { flex: 1; overflow: hidden; }
.app-email {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  position: relative;
  transition: background 0.15s;
}
.app-email.active { background: rgba(99,102,241,0.06); }
.email-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  color: white; flex-shrink: 0;
}
.email-body { flex: 1; min-width: 0; }
.email-row { display: flex; justify-content: space-between; align-items: center; }
.email-from { font-size: 10px; font-weight: 600; color: var(--text); }
.email-time { font-size: 9px; color: var(--text-3); }
.email-subject { font-size: 9px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.email-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-open { background: var(--green); }
.dot-pending { background: var(--yellow); }
.dot-closed { background: rgba(255,255,255,0.15); }
.app-nav {
  display: flex; justify-content: space-around;
  padding: 8px 4px 6px;
  border-top: 1px solid var(--border);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 8px; color: var(--text-3);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s;
}
.nav-item.active { color: #818cf8; }
.nav-item svg { width: 14px; height: 14px; }

/* MacBook */
.device-macbook {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) perspective(1000px) rotateY(-12deg) rotateX(2deg);
  z-index: 3;
  animation: deviceFloat3 8s ease-in-out infinite;
}
.macbook-frame { width: 320px; }
.macbook-screen {
  background: #0d0d1a;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  height: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.macbook-ui { height: 100%; display: flex; flex-direction: column; }
.web-header {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.web-logo { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; }
.web-nav-items { display: flex; gap: 8px; flex: 1; }
.web-nav-item { font-size: 9px; color: var(--text-3); padding: 2px 6px; border-radius: 4px; }
.web-nav-item.active { color: #818cf8; background: rgba(99,102,241,0.1); }
.web-user { margin-left: auto; }
.web-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 700; color: white;
}
.web-content { flex: 1; display: flex; overflow: hidden; }
.web-list {
  width: 130px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.web-list-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px;
  font-size: 9px; font-weight: 600; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.web-count {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  font-size: 8px; font-weight: 600;
  padding: 1px 5px; border-radius: 10px;
}
.web-ticket {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  cursor: pointer;
  transition: background 0.15s;
}
.web-ticket.active { background: rgba(99,102,241,0.08); }
.wt-av {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 6px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.wt-body { flex: 1; min-width: 0; }
.wt-from { font-size: 8px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-sub { font-size: 7px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-status {
  font-size: 6px; font-weight: 600;
  padding: 1px 4px; border-radius: 3px;
  flex-shrink: 0;
}
.wt-status.open { background: rgba(34,197,94,0.15); color: #22c55e; }
.wt-status.pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.wt-status.closed { background: rgba(255,255,255,0.06); color: var(--text-3); }
.web-detail { flex: 1; padding: 8px; overflow: hidden; }
.wd-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.wd-subject { font-size: 9px; font-weight: 600; color: var(--text); }
.wd-badge { font-size: 7px; font-weight: 600; padding: 1px 5px; border-radius: 3px; }
.wd-badge.open { background: rgba(34,197,94,0.15); color: #22c55e; }
.wd-meta { font-size: 7px; color: var(--text-3); margin-bottom: 6px; display: flex; flex-direction: column; gap: 1px; }
.wd-message { display: flex; gap: 5px; margin-bottom: 6px; }
.wd-msg-av { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 5px; font-weight: 700; color: white; flex-shrink: 0; }
.wd-msg-body { flex: 1; }
.wd-msg-name { font-size: 7px; font-weight: 600; color: var(--text); }
.wd-msg-time { color: var(--text-3); font-weight: 400; }
.wd-msg-text { font-size: 7px; color: var(--text-2); line-height: 1.4; }
.wd-note { display: flex; gap: 5px; background: rgba(245,158,11,0.05); border: 1px solid rgba(245,158,11,0.1); border-radius: 4px; padding: 4px 6px; }
.wd-note-av { width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 5px; font-weight: 700; color: white; flex-shrink: 0; }
.wd-note-label { font-size: 6px; font-weight: 600; color: #f59e0b; margin-bottom: 1px; }
.wd-note-text { font-size: 7px; color: var(--text-2); }
.macbook-chin {
  background: linear-gradient(180deg, #1a1a2e 0%, #111122 100%);
  height: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  display: flex; align-items: center; justify-content: center;
}
.macbook-notch-bottom {
  width: 60px; height: 4px;
  background: rgba(0,0,0,0.5);
  border-radius: 0 0 4px 4px;
}
.macbook-base {
  height: 12px;
  background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  margin: 0 20px;
}

/* ===== LOGO STRIP ===== */
.logo-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logo-strip-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.logo-track-wrap { overflow: hidden; }
.logo-track {
  display: flex; gap: 60px;
  animation: logoScroll 20s linear infinite;
  width: max-content;
}
.logo-track span {
  font-size: 14px; font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 700px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 60px;
}

/* ===== PROBLEM SECTION ===== */
.problem-section { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.problem-col {}
.col-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.col-header.red { color: var(--red); }
.col-header.green { color: var(--green); }
.problem-items { display: flex; flex-direction: column; gap: 12px; }
.problem-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5;
}
.problem-item svg { flex-shrink: 0; margin-top: 2px; }
.problem-item.bad { color: var(--text-2); }
.problem-item.good { color: var(--text-2); }

/* Terminal */
.problem-terminal { display: flex; flex-direction: column; gap: 16px; }
.terminal-win {
  background: #0a0a14;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-title { font-size: 11px; color: var(--text-3); margin-left: 8px; }
.terminal-body { padding: 14px 16px; font-family: 'SF Mono', 'Fira Code', monospace; }
.t-line { font-size: 11px; line-height: 1.8; }
.t-comment { color: rgba(99,102,241,0.5); }
.t-prompt { color: var(--green); }
.t-cmd { color: #e2e8f0; }
.t-dim { color: var(--text-3); }
.t-error { color: var(--red); }
.t-cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
.terminal-vs {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.success-win {
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.success-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(34,197,94,0.06);
  border-bottom: 1px solid rgba(34,197,94,0.1);
  font-size: 12px; font-weight: 600; color: var(--green);
}
.success-items { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.success-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-2);
}
.si-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.si-status {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  color: var(--green);
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  overflow: hidden;
}
.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.bento-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.bento-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.bento-card h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 14px; color: var(--text-2);
  line-height: 1.6;
}

/* Inbox preview */
.inbox-preview {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ip-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.ip-title { font-size: 13px; font-weight: 600; color: var(--text); }
.ip-filters { display: flex; gap: 4px; }
.ip-filter {
  font-size: 10px; font-weight: 500;
  padding: 2px 8px; border-radius: 100px;
  color: var(--text-3);
  border: 1px solid transparent;
}
.ip-filter.active {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.3);
  color: #818cf8;
}
.ip-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.ip-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.ip-body { flex: 1; min-width: 0; }
.ip-name { font-size: 12px; font-weight: 600; color: var(--text); }
.ip-sub { font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-tag {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  flex-shrink: 0; letter-spacing: 0.05em;
}
.ip-tag.open { background: rgba(34,197,94,0.12); color: #22c55e; }
.ip-tag.pending { background: rgba(245,158,11,0.12); color: #f59e0b; }
.ip-tag.closed { background: rgba(255,255,255,0.06); color: var(--text-3); }

/* Routing visual */
.routing-visual { margin-top: 20px; }
.route-node {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: #818cf8;
  display: inline-block;
  margin-bottom: 12px;
}
.route-arrows { display: flex; flex-direction: column; gap: 8px; }
.route-arrow { display: flex; align-items: center; gap: 10px; }
.route-line {
  width: 20px; height: 1px;
  background: linear-gradient(90deg, rgba(99,102,241,0.5), rgba(99,102,241,0.2));
  flex-shrink: 0;
}
.route-dest {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  flex: 1;
}
.rd-email { font-size: 12px; font-weight: 600; color: var(--text); }
.rd-team { font-size: 11px; color: var(--text-3); margin-left: 4px; }
.rd-count { font-size: 10px; color: var(--accent); margin-left: auto; }

/* Collab visual */
.collab-visual { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.note-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.note-card.reply { margin-left: 20px; }
.note-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.note-av { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: white; flex-shrink: 0; }
.note-name { font-size: 12px; font-weight: 600; color: var(--text); }
.note-badge { margin-left: auto; font-size: 9px; font-weight: 600; background: rgba(245,158,11,0.1); color: #f59e0b; padding: 1px 6px; border-radius: 3px; }
.note-text { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.mention { color: #818cf8; font-weight: 600; }

/* Search visual */
.search-visual { margin-top: 20px; }
.search-bar-mock {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  margin-bottom: 10px;
}
.search-query { font-size: 12px; color: var(--text); flex: 1; }
.search-ms { font-size: 10px; color: var(--green); font-weight: 600; }
.search-results { display: flex; flex-direction: column; gap: 4px; }
.sr-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.sr-icon { font-size: 14px; }
.sr-body { flex: 1; font-size: 11px; color: var(--text-2); }
.sr-body strong { color: var(--text); }
.sr-box { font-size: 9px; color: var(--accent); background: var(--accent-light); padding: 1px 6px; border-radius: 3px; }
.search-footer { font-size: 10px; color: var(--text-3); text-align: right; margin-top: 6px; }

/* Roles visual */
.roles-visual { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.role-row { display: flex; align-items: center; gap: 10px; }
.role-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.05em;
  flex-shrink: 0; min-width: 70px; text-align: center;
}
.role-badge.admin { background: rgba(99,102,241,0.15); color: #818cf8; }
.role-badge.agent { background: rgba(34,197,94,0.12); color: #22c55e; }
.role-badge.partner { background: rgba(14,165,233,0.12); color: #38bdf8; }
.role-badge.viewer { background: rgba(255,255,255,0.06); color: var(--text-3); }
.role-desc { font-size: 12px; color: var(--text-2); }

/* Mobile visual */
.mobile-visual { margin-top: 20px; }
.mobile-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  font-size: 12px; color: var(--text);
}
.mobile-status {
  margin-left: auto;
  font-size: 10px; font-weight: 600;
  background: rgba(99,102,241,0.1);
  color: #818cf8;
  padding: 2px 8px; border-radius: 100px;
}
.mobile-status.coming { background: rgba(245,158,11,0.1); color: #f59e0b; }
.mobile-features {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.mobile-features span {
  font-size: 11px; color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px;
}

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg-2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.step-num {
  font-size: 36px; font-weight: 900;
  color: rgba(99,102,241,0.2);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-card h4 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ===== SECURITY STRIP ===== */
.security-strip {
  padding: 60px 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.security-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}
.security-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.security-metric {
  font-size: 32px; font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.security-label { font-size: 13px; color: var(--text-2); }

/* ===== PRICING ===== */
.pricing-section { background: var(--bg); }
.pricing-toggle-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
  font-size: 14px; color: var(--text-2);
}
.toggle-switch { position: relative; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.save-pill {
  background: rgba(34,197,94,0.12);
  color: var(--green);
  font-size: 11px; font-weight: 600;
  padding: 2px 10px; border-radius: 100px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.05);
}
.plan-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.price-monthly, .price-annual {
  font-size: 40px; font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price-period { font-size: 14px; color: var(--text-3); }
.plan-desc { font-size: 13px; color: var(--text-2); margin-bottom: 24px; line-height: 1.5; }
.plan-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 13px; color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 700;
}
.pricing-link { text-align: center; font-size: 14px; }
.pricing-link a { color: var(--accent); }
.pricing-link a:hover { text-decoration: underline; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 36px;
}
.cta-buttons {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.cta-note { font-size: 12px; color: var(--text-3); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-2); line-height: 1.6; max-width: 240px; }
.footer-contact { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.05em; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-3);
}
.footer-lang { display: flex; gap: 4px; }
.flang {
  font-size: 11px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-3);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.flang.active { color: var(--accent); border-color: rgba(99,102,241,0.3); }
.flang:hover { color: var(--text); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}
@keyframes glowFloat2 {
  0%, 100% { transform: translateY(-50%) translate(0, 0); }
  50% { transform: translateY(-50%) translate(-20px, 30px); }
}
@keyframes glowFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-2 {
  animation: badgeFloat2 4s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes badgeFloat2 {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-6px); }
}
@keyframes deviceFloat1 {
  0%, 100% { transform: translateY(-50%) perspective(1000px) rotateY(15deg) rotateX(3deg) translateY(0); }
  50% { transform: translateY(-50%) perspective(1000px) rotateY(15deg) rotateX(3deg) translateY(-8px); }
}
@keyframes deviceFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes deviceFloat3 {
  0%, 100% { transform: translateY(-50%) perspective(1000px) rotateY(-12deg) rotateX(2deg) translateY(0); }
  50% { transform: translateY(-50%) perspective(1000px) rotateY(-12deg) rotateX(2deg) translateY(-6px); }
}
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 100%; }
  .hero-devices {
    height: 480px;
    max-width: 600px;
    margin: 0 auto;
  }
  .device-ipad { left: -10px; }
  .device-macbook { right: -20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .problem-terminal { display: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .nav-signin { display: none; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: span 2; grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .announce-bar { font-size: 12px; gap: 6px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .hero-h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; justify-content: center; }

  .hero-devices {
    height: 360px;
    position: relative;
  }
  .device-ipad { display: none; }
  .device-macbook { display: none; }
  .device-iphone {
    position: relative;
    left: auto; right: auto;
    transform: none;
    animation: deviceFloat2 7s ease-in-out infinite;
  }
  .iphone-frame { width: 180px; }
  .iphone-screen { height: 360px; }
  .device-badge { display: none; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }

  .section-h2 { font-size: 26px; }
  .section-sub { font-size: 15px; }

  .pricing-cards { max-width: 100%; }
  .pricing-card.featured { margin-top: 16px; }

  .cta-inner h2 { font-size: 26px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn-primary, .cta-buttons .btn-ghost { width: 100%; justify-content: center; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .logo-strip { padding: 32px 0; }
}

@media (max-width: 400px) {
  .hero-h1 { font-size: 30px; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ===== INNER PAGES — SHARED ===== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 20px 0 24px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-section { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-text p {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}
.about-values { display: flex; flex-direction: column; gap: 28px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.value-item:hover { border-color: var(--border-hover); background: var(--surface-hover); }
.value-icon { font-size: 24px; flex-shrink: 0; }
.value-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.value-item p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 60px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(99,102,241,0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: #1a1a2e; color: var(--text); }
.btn-full { width: 100%; justify-content: center; }
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-info-icon { font-size: 20px; flex-shrink: 0; }
.contact-info-item h4 { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.contact-info-item a { font-size: 14px; color: var(--accent); }
.contact-info-item a:hover { text-decoration: underline; }

/* ===== CAREERS PAGE ===== */
.careers-section { padding: 60px 0 100px; }
.jobs-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
  gap: 24px;
}
.job-card:hover { border-color: var(--border-hover); background: var(--surface-hover); }
.job-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.job-meta { display: flex; gap: 12px; align-items: center; }
.job-dept {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 20px;
}
.job-type { font-size: 13px; color: var(--text-2); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.careers-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
}
.careers-note a { color: var(--accent); }

/* ===== PRESS PAGE ===== */
.press-section { padding: 60px 0 100px; }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.press-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.press-card h3 { font-size: 18px; font-weight: 600; }
.press-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; flex: 1; }
.press-facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.press-facts li { font-size: 14px; color: var(--text-2); padding-left: 16px; position: relative; }
.press-facts li::before { content: '·'; position: absolute; left: 0; color: var(--accent); }

/* ===== STATUS PAGE ===== */
.status-section { padding: 60px 0 100px; }
.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 32px;
}
.status-operational {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}
.status-dot-lg {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.status-list { display: flex; flex-direction: column; gap: 0; }
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.status-item:last-child { border-bottom: none; }
.status-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}
.status-badge.operational {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}
.status-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
}
.status-note a { color: var(--accent); }

/* ===== BLOG PAGE ===== */
.blog-section { padding: 60px 0 100px; }
.blog-featured { margin-bottom: 40px; }
.blog-card {
  display: block;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  color: var(--text);
}
.blog-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.blog-card-featured {
  padding: 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(124,58,237,0.05));
  border-color: rgba(99,102,241,0.2);
}
.blog-card-featured h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.blog-card-featured p { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 20px;
}
.blog-date { font-size: 13px; color: var(--text-3); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-grid .blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.blog-grid .blog-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.blog-read-more { font-size: 14px; color: var(--accent); font-weight: 500; }

/* ===== BLOG POST ===== */
.blog-post-section { padding: 120px 0 100px; }
.blog-post-header { max-width: 760px; margin: 0 auto 48px; }
.blog-post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.blog-post-header h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.blog-post-lead {
  font-size: 20px;
  color: var(--text-2);
  line-height: 1.7;
}
.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
}
.blog-post-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}
.blog-post-body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.blog-post-cta {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ===== LEGAL PAGES ===== */
.legal-section { padding: 120px 0 100px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.legal-date { font-size: 14px; color: var(--text-3); margin-bottom: 48px; }
.legal-body h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-body p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-body li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-body a { color: var(--accent); }
.legal-body a:hover { text-decoration: underline; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0 100px; }
.cta-inner {
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(124,58,237,0.08));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ===== RESPONSIVE INNER PAGES ===== */
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 60px; }
  .page-hero-title { font-size: 32px; }
  .page-hero-sub { font-size: 16px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { padding: 28px; }
  .cta-inner { padding: 48px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .blog-post-cta { flex-direction: column; }
  .legal-section { padding: 100px 0 60px; }
}


/* ===== ENTERPRISE PAGE ===== */
.enterprise-features { padding: 80px 0 100px; }
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .enterprise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .enterprise-grid { grid-template-columns: 1fr; } }
.enterprise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.enterprise-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-2px);
}
.enterprise-icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.enterprise-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.enterprise-card p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin: 0; }

/* ===== SECURITY PAGE ===== */
.security-features { padding: 80px 0 100px; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }
.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.security-card:hover { border-color: rgba(99,102,241,0.25); transform: translateY(-2px); }
.security-icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.security-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.security-card p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin: 0; }
.security-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.security-card ul li { font-size: 13px; color: var(--text-2); padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.security-card ul li:last-child { border-bottom: none; }
.security-card ul li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }


/* ===== FOOTER GRID (inner pages) ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
