/* ============================================================
   SimpleCat Landing â€” landing.css
   Brand palette
     --accent:     #ea2e00  (Rojo-Naranja SimpleCat)
     --accent-sec: #1e0e8b  (Azul Ã­ndigo profundo)
     --accent-dark:#00003e  (Azul marino oscuro)
     --text-base:  #00003e  (Azul marino â€” texto principal)
     --bg:         #f2f2f2  (Blanco hueso)
   Font: DM Sans (geometric sans-serif)
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:          #ea2e00;
  --accent-dark:     #1e0e8b;
  --accent-light:    #fde0d9;
  --accent-xlight:   #fff3f0;
  --text-base:       #00003e;
  --text-muted:      #00003e99;
  --text-faint:      #1e0e8b80;
  --bg:              #f2f2f2;
  --bg-subtle:       #e8e8ee;
  --border:          #d5d5e0;
  --border-strong:   #b8b8cc;
  --shadow-sm:       0 1px 3px rgba(0,0,62,0.06), 0 1px 2px rgba(0,0,62,0.04);
  --shadow-md:       0 4px 12px rgba(0,0,62,0.08), 0 1px 4px rgba(0,0,62,0.05);
  --shadow-lg:       0 12px 40px rgba(0,0,62,0.12), 0 4px 12px rgba(0,0,62,0.06);
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --radius-pill:     999px;
  --transition:      0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-base);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

.section-alt {
  background: var(--bg-subtle);
  display: none;
}

.section-alt-2 {
  background: var(--bg-subtle);
}

/* ---------- Typography ---------- */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.label-tag svg {
  width: 14px;
  height: 14px;
}

.section-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-base);
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 64px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234,46,0,0.24);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(234,46,0,0.32);
  transform: translateY(-1px);
}

.btn-outline {
  padding: 11px 23px;
  background: transparent;
  color: var(--text-base);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-xlight);
}

.btn-ghost {
  padding: 10px 18px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
}
.btn-ghost:hover {
  color: var(--accent-dark);
  background: var(--accent-xlight);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.55;
  box-shadow: none;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 160px;
  height: auto;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-base);
  background: var(--bg-subtle);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-hamburger:hover { background: var(--bg-subtle); }

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-base);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile login + hamburger wrapper â€” hidden on desktop */
.nav-mobile-end {
  display: none;
  align-items: center;
  gap: 4px;
}

/* Mobile-only login button â€” hidden until breakpoint */
.nav-mobile-login { display: none; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}

.nav-drawer.open { display: flex; }

.nav-drawer .nav-link {
  padding: 10px 14px;
  font-size: 15px;
}

.nav-drawer .nav-actions {
  margin-top: 12px;
  flex-direction: column;
  align-items: stretch;
}

.nav-drawer .btn {
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(30,14,139,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30,14,139,0.06) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-eyebrow svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-base);
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--accent); }

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 36px;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-check svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-faint);
}

.hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--text-faint);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ---------- SOCIAL PROOF STRIP ---------- */
.social-strip {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-strip-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-strip-label {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
  text-align: center;
}

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

.social-stat {
  text-align: center;
}

.social-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-base);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.social-stat-value span {
  color: var(--accent);
}

.social-stat-label {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
}

.social-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(30,14,139,0.10);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* Featured card â€” spans 2 cols */
.feature-card-wide {
  grid-column: span 2;
  background: var(--accent-xlight);
  border-color: var(--accent-light);
}

.feature-card-wide:hover {
  border-color: var(--accent);
}

/* ---------- HOW IT WORKS ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-light), var(--accent), var(--accent-light));
  pointer-events: none;
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-num {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-inline: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.how-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 10px;
}

.how-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 240px;
  margin-inline: auto;
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30,14,139,0.10), var(--shadow-md);
}

.price-card.featured:hover {
  box-shadow: 0 0 0 4px rgba(30,14,139,0.10), var(--shadow-lg);
  transform: translateY(-3px);
}

.price-rec-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

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

.price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-base);
}

.price-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-base);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 15px;
  color: var(--text-faint);
  font-weight: 500;
}

.price-tagline {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.price-feat .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--accent-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  margin-top: 1px;
}

.price-feat .check svg {
  width: 10px;
  height: 10px;
}

.price-feat .cross {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: #f3f4f6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b0b8c1;
  margin-top: 1px;
}

.price-feat .cross svg {
  width: 10px;
  height: 10px;
}

.price-feat.off {
  color: var(--text-faint);
}

.price-btn {
  display: flex;
  justify-content: center;
}

.price-btn .btn {
  width: 100%;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-base);
  line-height: 1.2;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-base);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover { background: var(--bg-subtle); }

.faq-item.open .faq-question { color: var(--accent-dark); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-faint);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--text-base);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,14,139,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30,14,139,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: 96px;
}

.cta-inner .section-heading {
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner .section-sub {
  color: rgba(255,255,255,0.65);
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-inner .btn-primary {
  background: var(--accent);
  font-size: 16px;
  padding: 14px 28px;
}

.cta-inner .btn-outline {
  color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.20);
}

.cta-inner .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}

.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-note svg {
  width: 14px;
  height: 14px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 64px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-base);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-faint);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-dark);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-social-link svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-faint);
  transition: color var(--transition);
}

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

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }

  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-end { display: flex; }
  .nav-mobile-login { display: inline-flex; }

  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .how-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .social-stats { gap: 24px; }
  .social-divider { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero-badge, .hero-badge2 { animation: none; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   CONTACT MODAL
   ============================================================ */

/* Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 62, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0s linear 0.22s;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* Panel */
.modal-panel {
  background: var(--bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}
.modal-backdrop.open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-sm);
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}
.modal-close:hover {
  color: var(--text-base);
  background: var(--bg-subtle);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.legal-hero-badge svg {
  width: 12px;
  height: 12px;
}

/* Header */
.modal-header { margin-bottom: 24px; }
.modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 6px;
}
.modal-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form layout */
.modal-form { display: flex; flex-direction: column; gap: 16px; }

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-field { display: flex; flex-direction: column; gap: 5px; }
.modal-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-base);
}
.modal-field label .req { color: var(--accent); margin-left: 2px; }

.modal-field input:not([type="checkbox"]),
.modal-field select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-base);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300003e99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.modal-field input:not([type="checkbox"]):focus,
.modal-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 46, 0, 0.12);
}
.modal-field input:not([type="checkbox"]).is-error,
.modal-field select.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}
.modal-field-error {
  font-size: 12px;
  color: #dc2626;
  display: none;
}
.modal-field-error.visible { display: block; }

/* Privacy checkbox */
.modal-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}
.modal-privacy input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.modal-privacy a { color: var(--accent); text-decoration: underline; }

/* Submit button */
.modal-submit {
  width: 100%;
  padding: 13px;
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
}
.modal-submit:hover { background: #c72600; }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Global error */
.modal-global-error {
  font-size: 13px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: none;
}
.modal-global-error.visible { display: block; }

/* Success state */
.modal-success {
  text-align: center;
  padding: 24px 0 8px;
  display: none;
}
.modal-success.visible { display: block; }
.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.modal-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 8px;
}
.modal-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 480px) {
  .modal-panel { padding: 28px 20px 24px; }
  .modal-row { grid-template-columns: 1fr; }
}
