/* ============================================================
   ChronoAI – Style Sheet
   Clean, light design with red/coral accents (nicely.dev style)
   ============================================================ */

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

:root {
  --red: #e83030;
  --red-light: #ff6b6b;
  --dark: #1a1a2e;
  --text: #2c2c3e;
  --text-muted: #666;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-dark: #1e1e2e;
  --border: #e8e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 40px rgba(232,48,48,0.15);
  --font: 'Inter', sans-serif;
  --font-display: 'Manrope', sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.09); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-mark { color: var(--text); }
.logo-ai { color: var(--red); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  background: #fff8f8;
  border: 1px solid #ffd0d0;
  border-radius: 20px;
  padding: 6px 14px;
}

.pa-label {
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
}

.pa-icon { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link:hover { background: var(--bg-soft); color: var(--red); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.lang-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}

.nav-user-icon {
  color: var(--text);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.nav-user-icon:hover { color: var(--red); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-menu.open { display: flex; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4ff 0%, #fef5f5 50%, #f0f9f0 100%);
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-left { flex: 1; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

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

.pa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff8f8;
  border: 1px solid #ffd0d0;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-demo:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,48,48,0.25);
}

.hero-right { flex: 1.1; }

.hero-card-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-mockup {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.r { background: #ff5f57; }
.mockup-dot.y { background: #febc2e; }
.mockup-dot.g { background: #28c840; }

.mockup-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mockup-row { display: flex; align-items: center; gap: 8px; }
.mcol.label { font-size: 11px; font-weight: 500; color: var(--text-muted); min-width: 100px; }
.mcol.bar { height: 12px; border-radius: 6px; flex: 1; min-width: 0; transition: width 0.8s ease; }
.mcol.time { font-size: 11px; font-weight: 600; color: var(--text); min-width: 44px; text-align: right; }

.chart-mini {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: all 0.5s ease;
}

/* ── SECURITY BANNER ─────────────────────────────── */
.security-banner {
  background: #fff;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sec-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.sec-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--bg-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-content { flex: 1; }

.sec-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sec-sub { color: var(--text-muted); margin-bottom: 16px; }

.sec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.sec-list li { font-size: 14px; color: var(--text-muted); }

.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ── PROBLEMS CAROUSEL ───────────────────────────── */
.problems-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 24px;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.carousel-track-wrap { overflow: hidden; }

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.carousel-slide {
  min-width: 100%;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.carousel-slide p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn.prev { left: -60px; }
.carousel-btn.next { right: -60px; }
.carousel-btn:hover { background: var(--red); border-color: var(--red); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ── FEATURES ────────────────────────────────────── */
.features-section {
  padding: 80px 24px;
}

.feature-block {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-block.right { flex-direction: row-reverse; }

.feature-block:last-child { margin-bottom: 0; }

.feature-img-wrap { flex: 1.2; }

.feature-text { flex: 1; }

.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.feature-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-text ul li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.feature-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* Timesheet mockup */
.timesheet-mockup {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 20px;
}

.ts-header {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.ts-tab {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.ts-tab.active {
  background: var(--red);
  color: #fff;
}

.ts-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ts-col-label { font-size: 12px; font-weight: 600; color: var(--text-muted); min-width: 35px; }
.ts-col-val { font-size: 12px; font-weight: 700; color: var(--text); min-width: 55px; }
.ts-col-bar { flex: 1; height: 8px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.ts-fill { height: 100%; background: var(--red); border-radius: 4px; transition: width 1s ease; }

.ts-total {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
}

/* Chart mockup */
.chart-mockup {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 24px;
}

.chart-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 130px;
  margin-bottom: 16px;
}

.c-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c-bar { width: 100%; border-radius: 6px 6px 0 0; transition: height 0.8s ease; }
.c-bar-label { font-size: 11px; font-weight: 600; color: var(--text-muted); }

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chart-legend span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Integration mockup */
.integrate-mockup {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
}

.int-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #fff8f8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.int-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.int-line { height: 2px; background: var(--border); border-radius: 1px; }
.int-line.short { width: 60%; margin: 0 auto; }

.int-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.int-badge {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* ── COMMITMENT ──────────────────────────────────── */
.commitment-section {
  background: var(--bg-soft);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.commit-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: left;
  line-height: 1.4;
}

.commit-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.commit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}

.commit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: #ffd0d0;
}

.commit-icon {
  width: 56px;
  height: 56px;
  background: #fff8f8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.commit-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ── PRICING ──────────────────────────────────────── */
.pricing-section {
  padding: 100px 24px;
  background: #fff;
}

.pricing-inner { max-width: 1200px; margin: 0 auto; }

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.pricing-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 40px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.toggle-label { font-size: 15px; font-weight: 500; color: var(--text); }

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #e0e0e0;
  border-radius: 13px;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider { background: var(--red); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

.save-badge {
  background: #fff3f3;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #ffd0d0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
}

.price-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
  transform: translateY(-6px);
}

.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 8px 40px rgba(232,48,48,0.15);
  transform: scale(1.03);
  background: linear-gradient(160deg, #fff9f9 0%, #fff 100%);
}

.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-plan {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.price-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
  transition: all 0.4s ease;
}

.price-num.custom {
  font-size: 36px;
  letter-spacing: -1px;
}

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

.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  min-height: 50px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  min-height: 220px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.price-features li.feat-inactive { color: var(--text-muted); }

.check-icon {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-inactive .check-icon { stroke: #ccc; }

.btn-price {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--bg-soft);
  transition: all var(--transition);
}

.btn-price:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.btn-price.featured-btn {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-price.featured-btn:hover {
  background: #c62020;
  border-color: #c62020;
}

/* Trust strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

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

/* ── DEMO SECTION ────────────────────────────────── */
.demo-section {
  background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
  padding: 100px 24px;
  color: #fff;
}

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

.demo-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.demo-text p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.demo-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: flex; gap: 14px; }

.form-row input,
.demo-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: #fff;
  font-family: var(--font);
  transition: all var(--transition);
  outline: none;
}

.form-row input::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus { border-color: var(--red); background: rgba(255,255,255,0.12); }

.btn-submit {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  margin-top: 4px;
}

.btn-submit:hover {
  background: #c62020;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,48,48,0.4);
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo { display: block; margin-bottom: 12px; }

.footer-brand {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 800;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--font);
  font-weight: 400;
  margin-top: 12px;
}

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

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

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

/* ── POPUP ───────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

.popup-overlay.visible .popup-box {
  transform: scale(1) translateY(0);
}

.popup-icon { font-size: 52px; margin-bottom: 16px; }

.popup-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.popup-box p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup-close {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.popup-close:hover { background: #c62020; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .nav-center, .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-right { width: 100%; }

  .feature-block, .feature-block.right { flex-direction: column; gap: 32px; }

  .commit-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .price-card.featured { transform: scale(1); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .form-row { flex-direction: column; }

  .trust-strip { gap: 20px; }

  .carousel-btn.prev { left: -10px; }
  .carousel-btn.next { right: -10px; }

  .sec-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; gap: 12px; }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,48,48,0); }
  50% { box-shadow: 0 0 0 8px rgba(232,48,48,0.1); }
}

.hero-title { animation: fadeInUp 0.6s ease both; }
.pa-badge { animation: fadeInUp 0.6s 0.1s ease both; }
.hero-sub { animation: fadeInUp 0.6s 0.2s ease both; }
.btn-demo { animation: fadeInUp 0.6s 0.3s ease both; }

.price-card.featured { animation: pulse 3s infinite; }

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