/* ============================================================
   LOFT Immobilien — style.css
   Dark, refined tech-meets-real-estate aesthetic
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Variables --- */
:root {
  --bg:            #0A0E17;
  --bg-elevated:   #0F1420;
  --bg-card:       #141A27;
  --bg-card-hover: #1A2235;
  --border:        rgba(255,255,255,0.07);
  --border-light:  rgba(255,255,255,0.12);

  --text-primary:   #F0F2F5;
  --text-secondary: #94A3B8;
  --text-muted:     #5A6A80;

  --accent:        #22D3EE;
  --accent-light:  #67E8F9;
  --accent-dim:    rgba(34,211,238,0.12);
  --accent-glow:   rgba(34,211,238,0.25);

  --cta:           #0B7CFF;
  --cta-hover:     #3D9BFF;
  --cta-glow:      rgba(11,124,255,0.35);

  --gradient-text:  linear-gradient(135deg, #22D3EE, #0B7CFF);
  --gradient-hero:  linear-gradient(170deg, #0F1420 0%, #0A0E17 50%, #0D1018 100%);
  --gradient-cta:   linear-gradient(135deg, #0B7CFF, #22D3EE);

  --success:  #10B981;
  --danger:   #EF4444;

  --font-body:    'Outfit', 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --container:  1120px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-sm:  8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--accent-dim); color: var(--accent-light); }

/* --- Utilities --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

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

.label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(10,14,23,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(10,14,23,0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  border-bottom-color: rgba(34,211,238,0.1);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 700; font-size: 1.05rem; color: var(--text-primary);
  white-space: nowrap;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--gradient-cta);
  color: #fff; font-weight: 800; font-size: 0.8rem;
  letter-spacing: -0.02em;
}

/* Nav */
.nav-main { display: flex; align-items: center; gap: 1.75rem; }
.nav-main a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-main a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--cta) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--cta-hover) !important;
  box-shadow: 0 0 20px var(--cta-glow) !important;
}

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--accent-glow); }
  50% { box-shadow: 0 0 16px var(--accent-glow), 0 0 32px rgba(34,211,238,0.1); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
}

/* Hero Split Layout */
.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: flex-start;
}
.hero-left { max-width: 620px; position: relative; z-index: 1; }

/* Hero Testimonial (mini, under CTA) */
.hero-testimonial {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  max-width: 420px;
}
.hero-testimonial-stars {
  color: #F59E0B; font-size: 0.8rem;
  letter-spacing: 2px; margin-bottom: 0.35rem;
}
.hero-testimonial p {
  font-size: 0.88rem; color: var(--text-secondary);
  line-height: 1.5; margin-bottom: 0.35rem;
  font-style: italic;
}
.hero-testimonial-author {
  font-size: 0.75rem; color: var(--text-muted); font-weight: 600;
}

/* Hero Form Card */
.hero-right { position: relative; z-index: 1; }
.hero-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.hero-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 0.2rem;
}
.hero-form-sub {
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.hero-form-card .form-group { margin-bottom: 0.65rem; }
.hero-form-card .form-input {
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
}
.hero-form-card .form-textarea { min-height: 60px; }
.hero-form-card .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}
.hero-form-card .form-row .form-group { margin-bottom: 0.65rem; }

/* Form Checklist */
.form-checklist {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.form-checklist-title {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.form-checklist-item {
  font-size: 0.82rem; color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.form-checklist-item:last-child { margin-bottom: 0; }
.form-check-icon {
  color: var(--success); font-weight: 700;
  margin-right: 0.3rem;
}

/* Form Success */
.hero-form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.hero-form-success.visible { display: block; }
.hero-form-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--success); font-size: 1.5rem; font-weight: 700;
}
.hero-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--success);
}
.hero-form-success p {
  color: var(--text-secondary); font-size: 0.92rem;
}

/* Use-Case Grid */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.usecase-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.25s;
}
.usecase-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}
.usecase-tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); background: var(--accent-dim);
  padding: 0.25rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.85rem;
}
.usecase-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  line-height: 1.3; margin-bottom: 0.5rem;
}
.usecase-card > p {
  font-size: 0.88rem; color: var(--text-secondary);
  line-height: 1.55; flex: 1;
  margin-bottom: 1.25rem;
}
.usecase-metric {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 0.75rem;
}
.usecase-metric strong {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.usecase-metric span {
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}

/* Button Large */
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px var(--cta-glow);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px var(--cta-glow), 0 0 0 2px rgba(11,124,255,0.2);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}
.btn-arrow::after {
  content: '→';
  margin-left: 0.3rem;
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1rem 0;
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-item strong { color: var(--text-primary); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.section-header p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 540px;
}
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  padding: 9rem 0 3.5rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ============================================================
   PROBLEMS
   ============================================================ */
.problems-list {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.problem-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.problem-item:hover { border-color: rgba(239,68,68,0.25); }
.problem-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  font-size: 0.8rem; font-weight: 700;
}
.problem-item p { color: var(--text-secondary); font-size: 0.92rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }

/* ============================================================
   AI TERMINAL VISUAL
   ============================================================ */
.ai-visual { display: flex; align-items: center; justify-content: center; }
.ai-terminal {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.ai-terminal-bar {
  display: flex; gap: 6px; padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.ai-terminal-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.ai-terminal-dot:first-child { background: #EF4444; }
.ai-terminal-dot:nth-child(2) { background: #F59E0B; }
.ai-terminal-dot:nth-child(3) { background: #10B981; }

.ai-terminal-line {
  padding: 6px 16px;
  color: var(--text-secondary);
  opacity: 0;
  animation: terminal-appear 0.4s ease forwards;
}
.ai-terminal-line .prompt { color: var(--accent); font-weight: 500; }
.ai-terminal-line .accent { color: #F59E0B; font-weight: 500; }
.ai-terminal-line .success { color: var(--success); font-weight: 500; }

@keyframes terminal-appear {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURES SPLIT
   ============================================================ */
.features-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  color: var(--success);
  font-size: 0.78rem; font-weight: 700;
}
.feature-item h4 {
  font-size: 0.95rem; font-weight: 600;
  margin-bottom: 0.2rem;
}
.feature-item p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }
.feature-visual {
  display: flex; align-items: center; justify-content: center;
}
.feature-visual-inner {
  text-align: center; padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature-visual-inner .icon { font-size: 3rem; margin-bottom: 0.75rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  counter-reset: step-counter;
}
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step-counter;
}
.step::before {
  content: counter(step-counter);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.4rem;
}
.step p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.testimonial {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.testimonial:hover { border-color: rgba(34,211,238,0.2); }
.testimonial-stars {
  color: #F59E0B; font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.testimonial blockquote {
  color: var(--text-secondary);
  font-size: 0.92rem; line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author strong {
  display: block; font-size: 0.88rem; color: var(--text-primary);
}
.testimonial-author span {
  font-size: 0.78rem; color: var(--text-muted);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(34,211,238,0.08);
  position: relative;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin: 0.5rem 0 1rem;
}
.price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.price span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.pricing-list { margin-bottom: 1.5rem; }
.pricing-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: '✓';
  color: var(--success);
  margin-right: 0.6rem;
  font-weight: 700;
}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; }
.table-wrap table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem;
}
.table-wrap th, .table-wrap td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table-wrap th {
  color: var(--text-muted);
  font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.table-wrap td { color: var(--text-secondary); }
.table-wrap td:last-child { color: var(--accent-light); font-weight: 500; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-icon {
  font-size: 1.5rem; margin-bottom: 0.75rem;
}
.value-item h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.4rem;
}
.value-item p { color: var(--text-secondary); font-size: 0.85rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.team-member {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.team-avatar {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.team-member h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-member .role {
  font-size: 0.8rem; color: var(--accent);
  font-weight: 600; margin-bottom: 0.6rem;
}
.team-member p { color: var(--text-secondary); font-size: 0.85rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 5rem 0;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(11,124,255,0.08), transparent);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-band p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
}
.cta-band .btn { position: relative; }

/* ============================================================
   CONTACT GRID
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem;
}
.contact-info-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  font-size: 1rem;
}
.contact-detail strong {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-detail span {
  font-size: 0.88rem; color: var(--text-secondary);
}
.contact-detail a { color: var(--accent-light); }
.contact-detail a:hover { text-decoration: underline; }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select { cursor: pointer; }
.form-group textarea { min-height: 100px; resize: vertical; }

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: var(--radius);
}
.form-success.visible { display: block; }
.form-success h3 { color: var(--success); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger .fade-up:nth-child(2) { transition-delay: 0.08s; }
.stagger .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stagger .fade-up:nth-child(4) { transition-delay: 0.24s; }
.stagger .fade-up:nth-child(5) { transition-delay: 0.32s; }
.stagger .fade-up:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet (≤ 900px) --- */
@media (max-width: 900px) {
  .hero { padding: 6.5rem 0 3rem; }
  .hero-split-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { max-width: 480px; }
  .hero-stats { gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .features-split, .ai-split { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* --- Mobile (≤ 640px) --- */
@media (max-width: 640px) {

  /* Typography: slightly larger for mobile readability */
  body { font-size: 1.02rem; line-height: 1.7; }

  /* Nav: full-screen mobile menu */
  .nav-main { display: none; }
  .nav-main.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 1.5rem;
    gap: 0;
    z-index: 199;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-main.open a {
    font-size: 1.05rem;
    padding: 0.85rem 0;
    min-height: 48px;
    display: flex; align-items: center;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
  }
  .nav-main.open .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    padding: 0.9rem 1.25rem !important;
    min-height: 48px;
    border-bottom: none;
  }
  .burger { display: flex; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

  /* Hero: drastically simplified for mobile */
  .hero { padding: 5.5rem 0 2.5rem; }
  .hero h1 { font-size: 1.85rem; margin-bottom: 1rem; }
  .hero-text { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.85rem; margin-bottom: 1.25rem; }

  /* Hide form on mobile — show CTA to contact page instead */
  .hero-right { display: none; }
  .hero-mobile-cta { display: block !important; }

  /* Stats: horizontal compact row on mobile */
  .hero-stats {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .hero-stat { text-align: center; flex: 1; }
  .hero-stat strong { font-size: 1.25rem; }
  .hero-stat span { font-size: 0.7rem; }

  /* Hide hero testimonial on mobile (too much before fold) */
  .hero-testimonial { display: none; }

  /* Buttons: proper touch targets */
  .btn { min-height: 48px; padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* Trust bar: wrap nicely */
  .trust-bar { padding: 0.85rem 0; }
  .trust-items { gap: 1rem 1.5rem; justify-content: flex-start; }
  .trust-item { font-size: 0.8rem; }

  /* Sections: less padding on mobile */
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.45rem; }

  /* Page hero (subpages) */
  .page-hero { padding: 6.5rem 0 2.5rem; }
  .page-hero h1 { font-size: 1.6rem; }

  /* Cards: more breathing room */
  .card { padding: 1.5rem; }
  .card h3 { font-size: 1rem; }

  /* Use-case cards */
  .usecase-card { padding: 1.5rem; }
  .usecase-metric { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 0.75rem; }
  .usecase-metric strong { font-size: 1.2rem; }

  /* Problem items: better touch spacing */
  .problem-item { padding: 1rem; gap: 0.75rem; }

  /* Steps */
  .step { padding: 1.5rem; }

  /* Testimonials */
  .testimonial { padding: 1.5rem; }
  .testimonial blockquote { font-size: 0.9rem; }

  /* AI terminal */
  .ai-terminal { font-size: 0.75rem; }
  .ai-terminal-line { padding: 5px 12px; }

  /* Forms: bigger touch targets */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem 0.85rem;
    font-size: 1rem;
    min-height: 48px;
  }
  .form-row { grid-template-columns: 1fr; }

  /* Contact grid */
  .contact-detail-icon { min-width: 40px; min-height: 40px; }

  /* CTA band */
  .cta-band { padding: 3.5rem 0; }
  .cta-band h2 { font-size: 1.35rem; }
  .cta-band p { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-col a { min-height: 40px; display: flex; align-items: center; }

  /* Team teaser (new section) */
  .team-teaser-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
}

/* Hidden by default, shown on mobile */
.hero-mobile-cta { display: none; }

/* Hide desktop CTA that links to inline form on mobile */
@media (max-width: 640px) {
  .hero-left > a[href="#hero-form"] { display: none; }
}

/* Placeholder data warning badge */
.placeholder-warning {
  display: inline-block;
  background: rgba(239,68,68,0.15);
  color: #EF4444;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* Team Teaser Section */
.team-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.team-teaser-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.team-teaser-card:hover { border-color: rgba(34,211,238,0.15); }
.team-teaser-avatar {
  width: 56px; height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
}
.team-teaser-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.team-teaser-card .role { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 0.4rem; }
.team-teaser-card p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.45; }
