/* XAVIOR Landing Page - New Design */

:root {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f3f8;
  --text-primary: #111827;
  --text-secondary: #5b6478;
  --text-muted: #9ca3af;
  --accent: #0ea5e9;
  --accent-dim: #3a9fd0;
  --accent-glow: rgba(14, 165, 233, 0.10);
  --accent-dark: #2d8bb8;
  --border: rgba(0, 0, 0, 0.07);
  --border-hover: rgba(0, 0, 0, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color-scheme: light;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAV — matches new landing index.html nav (DM Sans, .nav-inner wrapper, .nav-logo-x badge, transparent bordered CTA) */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 245, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #e8e6e2;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: #0a0a0a;
  text-decoration: none;
  text-transform: none;
}

.nav-logo-x {
  width: 26px;
  height: 26px;
  background: #0ea5e9;
  color: white;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: #6b6b6b;
}

.nav-links a {
  color: #6b6b6b;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: normal;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #0a0a0a;
}

.nav-cta {
  background: transparent !important;
  color: #0ea5e9 !important;
  border: 1px solid #0ea5e9;
  padding: 8px 15px !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
}

.nav-cta:hover {
  background: #0ea5e9 !important;
  color: white !important;
  transform: none;
  box-shadow: none;
}

.nav-login {
  border: 1px solid var(--border-hover) !important;
  padding: 8px 24px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  transition: all 0.2s !important;
}

.nav-login:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px 80px;
  padding-top: calc(80px + env(safe-area-inset-top, 0px));
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge span {
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 900px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Hero email form */
.hero-form {
  width: 100%;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-form-row {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.hero-form-row input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  padding: 12px 0;
  min-width: 0;
}

.hero-form-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.hero-form-row button {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-form-row button:hover:not(:disabled) {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.hero-form-row button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
}

.form-message.success {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}

.form-message.error {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}

.form-message.info {
  color: var(--accent-dark);
  background: var(--accent-glow);
}

.hero-trust {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 0.3px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-premium {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  opacity: 0.7;
  animation: fadeInUp 0.6s ease 0.45s both;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  color: var(--text-secondary);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-block;
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* REPLACES */
.replaces {
  padding: 80px 48px;
  text-align: center;
}

.replaces p {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}

.replaces-list {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.replaces-list span {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.5;
  position: relative;
}

.replaces-list span::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* GSUITE */
.gsuite {
  padding: 100px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gsuite-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.gsuite-badge {
  display: inline-block;
  background: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.12);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
}

.gsuite-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gsuite-inner > p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 56px;
}

.gsuite-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.gsuite-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.gsuite-icon.visible {
  opacity: 1;
  transform: translateY(0);
}

.gsuite-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gsuite-icon:hover .gsuite-icon-circle {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.gsuite-icon span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.gsuite-icon em {
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.gsuite-connector {
  color: var(--text-muted);
  font-size: 20px;
  opacity: 0.3;
  margin-top: -30px;
}

/* FEATURES */
.features {
  padding: 120px 48px;
  max-width: 1320px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}

.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.feature-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-text {
  padding: 20px 0;
}

.feature-text h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.feature-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.feature-detail .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

.feature-detail span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-img {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.feature-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-img:hover img {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.08);
}

/* Feature placeholder for when no images */
.feature-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  color: var(--text-muted);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
}

.feature-placeholder svg {
  stroke: var(--accent);
  opacity: 0.6;
}

.feature-placeholder span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* AI ENGINE */
.ai-engine {
  padding: 140px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ai-engine::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ai-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.ai-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: var(--bg-card);
  border: 1px solid rgba(14, 165, 233, 0.12);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 auto 32px;
  font-family: 'JetBrains Mono', monospace;
}

.ai-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

.ai-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.ai-desc {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(20px);
}

.ai-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-card:hover {
  border-color: rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}

.ai-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ai-card h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.ai-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ai-anthropic {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.ai-anthropic.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-anthropic-inner {
  flex-shrink: 0;
  text-align: center;
  min-width: 200px;
}

.ai-anthropic-wordmark {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ai-anthropic-logo {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1.1;
}

.ai-anthropic-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.ai-anthropic > p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-left: 1px solid var(--border);
  padding-left: 48px;
}

/* PRICING */
.pricing {
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.pricing .section-label {
  text-align: center;
}

.pricing .section-title {
  margin: 0 auto 12px;
  text-align: center;
}

.pricing-desc {
  max-width: 480px;
  margin: 0 auto 64px;
  text-align: center;
}

.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.price-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount .dollar {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount .number {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
}

.price-amount .period {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.price-annual {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.price-annual strong {
  color: var(--accent);
  font-weight: 600;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 0 -48px 32px;
}

.price-includes {
  text-align: left;
  margin-bottom: 40px;
}

.price-includes h4 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.price-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}

.price-check {
  width: 22px;
  height: 22px;
  background: var(--accent-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.price-item span {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 400;
}

.price-item span strong {
  font-weight: 600;
}

.price-cta {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.3px;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  text-align: center;
}

.price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* BOTTOM CTA */
.bottom-cta {
  padding: 120px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.bottom-cta h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.bottom-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left .nav-logo {
  font-size: 16px;
  letter-spacing: 4px;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  font-size: 14px;
  color: var(--text-muted);
}

.patent-info {
  font-size: 12px !important;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--text-primary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 100px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

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

  .ai-anthropic {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .ai-anthropic > p {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 16px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-logo {
    font-size: 14px;
    letter-spacing: 2px;
    flex-shrink: 0;
  }

  .nav-logo-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .nav-links {
    gap: 0;
    flex-shrink: 0;
  }

  .nav-links a:not(.nav-cta):not(.nav-login) {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .nav-login {
    padding: 6px 16px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .hero-form-row {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 4px;
    gap: 4px;
  }

  .hero-form-row input[type="email"] {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .hero-form-row button {
    width: 100%;
    border-radius: 12px;
    padding: 14px;
    justify-content: center;
  }

  .hero {
    padding: 80px 20px 60px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 56px);
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-sub br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .replaces {
    padding: 60px 24px;
  }

  .replaces-list {
    gap: 24px;
  }

  .replaces-list span {
    font-size: 15px;
  }

  .gsuite {
    padding: 60px 24px;
  }

  .gsuite-icons {
    gap: 16px;
  }

  .gsuite-connector {
    display: none;
  }

  .features {
    padding: 80px 24px;
  }

  .feature-text h3 {
    font-size: 28px;
  }

  .feature-placeholder {
    min-height: 240px;
  }

  .ai-engine {
    padding: 80px 24px;
  }

  .ai-card {
    padding: 32px 24px;
  }

  .ai-anthropic {
    padding: 32px 24px;
  }

  .pricing {
    padding: 80px 24px;
  }

  .price-card {
    padding: 40px 24px;
  }

  .price-amount .number {
    font-size: 56px;
  }

  .price-divider {
    margin: 0 -24px 32px;
  }

  .bottom-cta {
    padding: 80px 24px;
  }

  footer {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  .footer-center {
    order: 1;
  }

  .footer-left {
    order: 0;
  }

  .footer-right {
    order: 2;
  }

  .gsuite-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 320px;
    margin: 0 auto;
  }

  .gsuite-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .gsuite-icon-circle svg {
    width: 22px;
    height: 22px;
  }

  .gsuite-icon span {
    font-size: 13px;
  }

  .gsuite-icon em {
    font-size: 11px;
  }

  .section-label {
    font-size: 12px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-desc {
    font-size: 16px;
  }

  .ai-title {
    font-size: 28px;
  }

  .ai-card h4 {
    font-size: 18px;
  }

  .ai-card p {
    font-size: 15px;
  }

  .ai-anthropic-logo {
    font-size: 30px;
  }

  .feature-detail {
    font-size: 15px;
  }

  .bottom-cta h2 {
    font-size: 34px;
  }

  .bottom-cta p {
    font-size: 17px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero {
    padding: 60px 16px 40px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-sub br {
    display: none;
  }

  .hero-actions {
    max-width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 14px;
  }

  .replaces {
    padding: 48px 16px;
  }

  .replaces p {
    font-size: 12px;
  }

  .replaces-list {
    gap: 16px;
  }

  .replaces-list span {
    font-size: 13px;
  }

  .gsuite {
    padding: 48px 16px;
  }

  .gsuite-inner {
    padding: 32px 20px;
  }

  .gsuite-badge {
    font-size: 11px;
  }

  .gsuite h2 {
    font-size: 26px;
  }

  .gsuite p {
    font-size: 15px;
  }

  .gsuite-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 280px;
  }

  .gsuite-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .gsuite-icon-circle svg {
    width: 20px;
    height: 20px;
  }

  .features {
    padding: 48px 16px;
  }

  .feature-block {
    margin-bottom: 64px;
    gap: 32px;
  }

  .feature-text h3 {
    font-size: 26px;
  }

  .feature-text > p {
    font-size: 15px;
  }

  .feature-detail {
    font-size: 14px;
    gap: 10px;
  }

  .feature-img img {
    border-radius: 8px;
  }

  .ai-engine {
    padding: 48px 16px;
  }

  .ai-title {
    font-size: 24px;
  }

  .ai-desc {
    font-size: 15px;
  }

  .ai-grid {
    gap: 16px;
  }

  .ai-card {
    padding: 24px 20px;
  }

  .ai-card h4 {
    font-size: 17px;
  }

  .ai-card p {
    font-size: 14px;
  }

  .ai-anthropic {
    padding: 24px 20px;
  }

  .ai-anthropic-logo {
    font-size: 26px;
  }

  .ai-anthropic > p {
    font-size: 14px;
  }

  .pricing {
    padding: 48px 16px;
  }

  .price-card {
    padding: 32px 20px;
  }

  .price-amount .number {
    font-size: 48px;
  }

  .price-annual {
    font-size: 13px;
  }

  .price-includes h4 {
    font-size: 14px;
  }

  .price-item {
    font-size: 14px;
  }

  .price-cta {
    padding: 14px 24px;
    font-size: 14px;
  }

  .bottom-cta {
    padding: 48px 16px;
  }

  .bottom-cta h2 {
    font-size: 28px;
  }

  .bottom-cta p {
    font-size: 15px;
  }

  footer {
    padding: 24px 16px;
    gap: 16px;
  }

  .nav-logo {
    font-size: 16px;
  }

  .footer-center p {
    font-size: 12px;
  }

  .patent-info {
    font-size: 10px;
  }

  .footer-right {
    gap: 16px;
  }

  .footer-right a {
    font-size: 13px;
  }
}
