/* ============================================
   PLOUF — Landing Page Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --blue-900: #0a2540;
  --blue-700: #0d4a8f;
  --blue-500: #1a73e8;
  --blue-300: #4285f4;
  --blue-100: #e8f0fe;
  --teal-500: #00b4d8;
  --teal-300: #90e0ef;
  --teal-100: #caf0f8;
  --green-500: #10b981;
  --green-100: #d1fae5;
  --yellow-500: #f59e0b;
  --yellow-100: #fef3c7;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 6px 10px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography Helpers --- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue-900);
  line-height: 1.2;
  font-weight: 400;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26,115,232,.3);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,.35);
}
.btn-ghost {
  color: var(--blue-500);
  background: transparent;
}
.btn-ghost:hover { color: var(--blue-700); text-decoration: underline; }
.btn-nav {
  background: var(--blue-500);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
}
.btn-nav:hover { background: var(--blue-700); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-xl {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--blue-500);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(26,115,232,.4);
}
.btn-xl:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,.5);
}
.btn-cta {
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  color: var(--white);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--blue-500); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-100);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--blue-900);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 400;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-proof {
  font-size: 0.85rem;
  color: var(--gray-300);
}
.hero-proof span { font-weight: 500; }

.hero-visual { position: relative; }
.hero-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.hero-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  border: 1px solid var(--gray-100);
}
.hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 4px;
}
.hero-card-status {
  font-weight: 700;
  font-size: 1rem;
  color: var(--yellow-500);
  margin-bottom: 4px;
}
.hero-card-tip {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
}
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-300);
}
.hero-card-badge {
  background: var(--green-100);
  color: var(--green-500);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

/* ============================================
   VALUE PROPS (PILLS)
   ============================================ */
.section-pills {
  padding: 72px 0;
  background: var(--white);
}
.pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pill-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}
.pill-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pill-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.pill-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.pill-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.section-how {
  padding: 80px 0;
  background: var(--off-white);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 14px);
  right: calc(16.67% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal-300), var(--blue-300));
  border-radius: 2px;
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  background: var(--blue-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.step-icon-wrap {
  margin-bottom: 20px;
}
.step-icon { font-size: 2.5rem; }
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.step-example code {
  display: block;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--gray-700);
  font-family: 'Courier New', monospace;
}
.diag-box {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.diag-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 0.85rem;
}
.diag-row:first-child { border-bottom: 1px solid var(--gray-100); }
.diag-ok { background: var(--green-100); color: var(--green-500); }
.diag-warn { background: var(--yellow-100); color: var(--yellow-500); }
.action-box {
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--blue-300);
}
.action-title {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.action-item {
  font-size: 0.82rem;
  color: var(--blue-900);
  line-height: 1.5;
  margin-bottom: 4px;
}
.action-item:last-child { margin-bottom: 0; }

/* ============================================
   QUOTES
   ============================================ */
.section-quotes {
  padding: 80px 0;
  background: var(--white);
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  position: relative;
}
.quote-card-highlight {
  background: linear-gradient(135deg, var(--blue-100), var(--teal-100));
  border-color: var(--teal-300);
}
.quote-stars {
  color: var(--yellow-500);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.quote-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.quote-author {
  font-size: 0.8rem;
  color: var(--gray-300);
  font-weight: 500;
}
.quote-badge {
  display: inline-block;
  background: var(--teal-500);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ============================================
   CTA BAND
   ============================================ */
.section-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0d3a6e 50%, #0a2f5a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-splash { font-size: 3rem; margin-bottom: 20px; opacity: 0.9; }
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 400;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
  padding: 80px 0;
  background: var(--off-white);
}
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-inner .section-header { text-align: left; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--blue-900);
  padding: 48px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
}
.footer-brand p { font-size: 0.85rem; margin-top: 4px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: 0.8rem; color: rgba(255,255,255,.35); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-img { height: 260px; }
  .hero-card { left: 50%; transform: translateX(-50%); bottom: -16px; }
  .pills-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid::before { display: none; }
  .quotes-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn-nav) { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 1.6rem; }
  .section-cta { padding: 64px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}