/* School Portal - Modern SaaS Design
   Mobile-first, accessible, refined aesthetics
*/

/* Self-hosted Inter variable font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Inter.woff2') format('woff2');
}

:root {
  /* Core palette */
  --bg-dark: #0a0f1a;
  --bg-darker: #060912;
  --surface: #0f1629;
  --card: #ffffff;
  --card-hover: #fafbff;

  /* Text colors */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Brand colors */
  --brand: #2563eb;
  --brand-light: #3b82f6;
  --brand-dark: #1d4ed8;
  --brand-glow: rgba(37, 99, 235, 0.35);
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-glow: rgba(16, 185, 129, 0.25);

  /* UI colors */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --soft: #f8fafc;
  --soft-blue: #eff6ff;
  --soft-green: #ecfdf5;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.15);
  --shadow-brand: 0 8px 30px rgba(37, 99, 235, 0.25);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.15);

  /* Sizing */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--card);
  padding: 12px 16px;
  border: 2px solid var(--brand);
  border-radius: 12px;
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: 16px; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.nav {
  display: none;
  gap: 8px;
}
.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.15s ease;
}
.nav a:hover {
  color: var(--brand);
  background: var(--soft-blue);
}

.header-cta {
  display: none;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--brand-light);
  background: var(--soft-blue);
  color: var(--brand);
}

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nav-toggle:hover {
  background: var(--soft);
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  display: block;
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
}
.mobile-nav .container {
  padding: 16px 0 20px;
  display: grid;
  gap: 8px;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: all 0.15s ease;
}
.mobile-nav a:hover {
  border-color: var(--brand-light);
  background: var(--soft-blue);
}

/* ========== HERO ========== */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--brand-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, var(--accent-glow), transparent),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}


h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 54ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}


/* Image alternator - crossfade between two variants */
.img-alternator {
  position: relative;
  width: 100%;
}

.img-alternator .img-alt-a,
.img-alternator .img-alt-b {
  display: block;
  width: 100%;
  transition: opacity 1s ease;
}

.img-alternator .img-alt-b {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.img-alternator.show-b .img-alt-a {
  opacity: 0;
}

.img-alternator.show-b .img-alt-b {
  opacity: 1;
}

/* Hero media with browser chrome */
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Browser chrome header */
.hero-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(15, 22, 41, 0.95) 0%, rgba(15, 22, 41, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

/* Browser dots */
.hero-media::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: #ff5f57;
  border-radius: 50%;
  box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
  z-index: 3;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-media > .img-alternator {
  margin-top: 40px;
}

.hero-media .img-alternator .img-alt-b {
  top: 0;
}

.hero-badges {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 4;
}

.badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
  box-shadow: var(--shadow);
}


/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-top: 1px solid var(--border-light);
}

.section-head {
  margin-bottom: 48px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ========== PROBLEMS ========== */
.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.problem-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

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

.problem-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.problem-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== FEATURES ========== */
.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}


/* Feature cards with media */
.feature-card-media {
  padding: 0;
  overflow: hidden;
}

.feature-media {
  position: relative;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card-media:hover .feature-media img {
  transform: scale(1.03);
}

.feature-body {
  padding: 24px 28px 28px;
}

.mini-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.mini-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ========== AI SECTION ========== */
.ai-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.ai-list {
  display: grid;
  gap: 16px;
}

.ai-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.ai-item:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}

.ai-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.ai-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ai-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-media picture,
.ai-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ai-note {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========== WHO IT'S FOR ========== */
.who-grid {
  display: grid;
  gap: 20px;
}

.who-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-align: center;
}

.who-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.who-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.who-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.who-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--soft-blue);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

/* ========== HOW IT WORKS ========== */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.step:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--soft-green) 0%, #fff 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, var(--brand-glow), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--accent-glow), transparent),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: center;
  position: relative;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0 auto 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 55ch;
}

.cta .cta-row {
  justify-content: center;
}

.cta .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(10px);
}

.cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--brand-light);
}

.faq-item[open] {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 20px;
}

.faq-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.field-row {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field span {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}

input, select, textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  background: var(--soft);
  transition: all 0.2s ease;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--text-light);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.form-actions .btn {
  padding: 16px 24px;
  font-size: 15px;
}

.form-next {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-status {
  margin: 16px 0 0;
  font-weight: 600;
  font-size: 14px;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.aside-card {
  background: linear-gradient(135deg, var(--soft-blue) 0%, #fff 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.aside-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.aside-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.aside-card .mini-list {
  margin-top: 12px;
}

/* WhatsApp aside card */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: #25D366;
  color: #fff;
  margin-top: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.aside-phone {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.aside-phone a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.aside-phone a:hover {
  text-decoration: underline;
}

/* ========== SECURITY STRIP ========== */
.security-strip {
  padding: 20px 0;
  background: var(--soft);
  border-top: 1px solid var(--border-light);
}

.security-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.security-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.security-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ========== FLOATING WHATSAPP ========== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  z-index: 90;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--soft);
}

.footer-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-note {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }

  .hero { padding: 100px 0 80px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 60px; }

  .section { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }

  .problem-grid { grid-template-columns: repeat(3, 1fr); }

  .feature-card-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .feature-card-media .feature-media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .ai-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .who-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-inner {
    text-align: left;
    grid-template-columns: 1.3fr 0.7fr;
  }
  .cta .cta-row { justify-content: flex-end; }

  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
