/* ═══════════════════════════════════════════════════════════════
   InvoisReady — shared styles for content pages (services, insights,
   why-odoo). Mirrors the design tokens used in index.html.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --primary: #1e3a5f;
  --primary-light: #2e5090;
  --accent: #00b4d8;
  --accent-dark: #0090b0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(30,58,95,0.10);
  --shadow-lg: 0 8px 40px rgba(30,58,95,0.15);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; }

/* ── Top nav (dark) ── */
.site-nav {
  background: linear-gradient(135deg, #0f2544 0%, #1e3a5f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #fff;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-cta-sm {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta-sm:hover { background: var(--accent-dark); transform: translateY(-1px); }
.lang-switch { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.lang-switch a { color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600; text-decoration: none; padding: 3px 8px; border-radius: 6px; transition: all .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: #fff; background: rgba(255,255,255,0.14); }

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, #0f2544 0%, #1e3a5f 50%, #1a4f7a 100%);
  color: #fff;
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.page-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  color: #7dd3fc;
  padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800; line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px;
}
.page-hero h1 .hl { color: var(--accent); }
.page-hero p { font-size: clamp(15px,2vw,18px); color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto; }

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 56px 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.section-eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-h2 { font-size: clamp(22px,3vw,32px); font-weight: 800; color: var(--primary); letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.25; }
.section-lead { font-size: 16px; color: var(--text-muted); max-width: 680px; margin-bottom: 36px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ── Cards & grids ── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature-card .ico { font-size: 26px; margin-bottom: 12px; display: block; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ── Pricing ── */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; max-width: 780px; margin: 0 auto; }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.price-name { font-size: 18px; font-weight: 800; color: var(--primary); }
.price-tagline { font-size: 13px; color: var(--text-muted); margin: 4px 0 18px; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.price-features { list-style: none; margin-bottom: 26px; flex: 1; }
.price-features li { font-size: 14px; color: var(--text); padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--border); }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(0,180,216,0.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-block { width: 100%; }

/* ── Timeline ── */
.timeline { border-left: 2px solid var(--border); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 28px 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -9px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.timeline-item.danger::before { background: var(--danger); }
.timeline-item.warn::before { background: var(--warning); }
.timeline-date { font-size: 13px; font-weight: 700; color: var(--accent-dark); }
.timeline-title { font-size: 16px; font-weight: 700; color: var(--primary); margin: 2px 0 4px; }
.timeline-desc { font-size: 14px; color: var(--text-muted); }

/* ── Source list ── */
.source-list { display: grid; gap: 14px; }
.source-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; text-decoration: none; transition: all 0.2s;
}
.source-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.source-item h3 { font-size: 15px; font-weight: 700; color: var(--primary); }
.source-item p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.source-item .arrow { color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* ── Trust badge ── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #fff; margin-bottom: 22px;
}
.trust-badge .gold { color: #fbbf24; font-weight: 800; }

/* ── Callout ── */
.callout {
  background: linear-gradient(135deg, #eff6ff, #f0fdff);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 28px 32px;
}
.callout h3 { color: var(--primary); font-size: 18px; margin-bottom: 8px; }
.callout p { color: var(--text); font-size: 15px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, #0f2544, #1a4f7a);
  color: #fff; text-align: center; padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(22px,3vw,30px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 26px; }

/* ── Footer ── */
.site-footer {
  background: #0f2544; color: rgba(255,255,255,0.6);
  padding: 40px 24px; text-align: center; font-size: 13px;
}
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer .foot-links { margin-bottom: 14px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer .foot-links a { color: rgba(255,255,255,0.75); }
.site-footer .disclaimer { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.4); max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .grid-3, .price-grid, .price-grid.two { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .site-nav { padding: 16px 20px; }
  .nav-links { display: none; }
}
