/* =============================================
   InsightCRM — Feuille de style principale
   Développé par YSDesign.fr
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── VARIABLES ── */
:root {
  --primary:    #153462;
  --secondary:  #2861a5;
  --accent:     #4a90d9;
  --light-blue: #e8f0fb;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --text-muted: #5a6a85;
  --border:     #dde5f0;
  --shadow:     0 4px 24px rgba(21,52,98,0.10);
  --shadow-lg:  0 12px 48px rgba(21,52,98,0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}

/* ── LANGUAGE TOGGLE ── */
[data-lang="fr"] [data-en] { display: none !important; }
[data-lang="en"] [data-fr] { display: none !important; }

/* ── CONTAINER ── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── TOP BAR ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--primary);
  height: 38px;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }
.topbar-label { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 500; letter-spacing: .04em; }

.lang-switcher, .currency-switcher { display: flex; gap: 2px; }
.lang-switcher button, .currency-switcher button {
  background: rgba(255,255,255,0.1); border: none; padding: 3px 10px;
  cursor: pointer; border-radius: 4px;
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.65); transition: all .18s; white-space: nowrap; letter-spacing: .03em;
}
.lang-switcher button.active, .currency-switcher button.active {
  background: rgba(255,255,255,0.25); color: #fff;
}
.lang-switcher button:hover:not(.active),
.currency-switcher button:hover:not(.active) {
  background: rgba(255,255,255,0.15); color: #fff;
}

/* ── NAV ── */
nav {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; object-fit: contain; }
.logo-placeholder { height: 42px; display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px; background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--primary); }

.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary); color: #fff; padding: 10px 24px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--secondary); transform: translateY(-1px); }

/* ── SECTION GENERIC ── */
section { padding: 90px 0; }
.section-tag {
  display: inline-block; background: var(--light-blue); color: var(--secondary);
  padding: 5px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-top:50px; margin-bottom: 16px;
}
.section-title {
  font-family: 'Montserrat', sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary); color: #fff; padding: 14px 32px;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(21,52,98,0.3);
}
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,52,98,0.35); }

.btn-outline {
  border: 2px solid var(--primary); color: var(--primary); padding: 13px 28px;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 148px 0 80px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #f7f9fd 0%, #eaf1fb 50%, #f0f5ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(40,97,165,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,52,98,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .section-inner { display: flex; align-items: center; width: 100%; gap: 60px; }
.hero-content { max-width: 580px; position: relative; z-index: 1; flex-shrink: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--light-blue); border: 1px solid rgba(40,97,165,0.25);
  color: var(--secondary); padding: 6px 16px; border-radius: 100px;
  font-size: 0.83rem; font-weight: 600; margin-bottom: 28px;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-dot { width: 6px; height: 6px; min-width: 6px; background: var(--secondary); border-radius: 50%; display: inline-block; }

.hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.12; color: var(--primary); margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--secondary); }
.hero p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Montserrat', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.83rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.hero-visual { flex: 1; display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1; }
.dashboard-mockup {
  width: 100%; max-width: 520px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.dash-header { background: var(--primary); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.dash-title { color: rgba(255,255,255,0.9); font-size: 0.82rem; font-weight: 600; margin-left: 6px; }
.dash-body { padding: 20px; }
.dash-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.dash-card { background: var(--light-blue); border-radius: 10px; padding: 14px; border: 1px solid rgba(40,97,165,0.15); }
.dash-card-val { font-family: 'Montserrat',sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.dash-card-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.dash-bar-row { display: flex; flex-direction: column; gap: 8px; }
.dash-bar { display: flex; align-items: center; gap: 10px; }
.dash-bar-lbl { font-size: 0.72rem; color: var(--text-muted); width: 70px; flex-shrink: 0; }
.dash-bar-track { flex: 1; height: 7px; background: var(--light-blue); border-radius: 100px; overflow: hidden; }
.dash-bar-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--accent)); border-radius: 100px; }
.dash-bar-pct { font-size: 0.72rem; color: var(--primary); font-weight: 600; width: 32px; text-align: right; }

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 48px;
}
.feature-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 32px 28px; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px; background: var(--light-blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.feature-card h3 { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); line-height: 1.65; font-size: 0.95rem; }
.features-cta { text-align: center; }

/* ── WHY SECTION ── */
#why { background: var(--primary); }
#why .section-title { color: #fff; }
#why .section-sub { color: rgba(255,255,255,0.7); }
#why .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 28px 24px; transition: all .3s;
}
.why-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-family: 'Montserrat',sans-serif; font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.6; }

/* ── PRICING ── */
#pricing { background: linear-gradient(135deg, #f4f8ff 0%, #edf3fc 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: #fff; border: 2px solid var(--border); border-radius: 20px; padding: 36px 30px;
  position: relative; transition: all .3s;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 18px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.pricing-name { font-family: 'Montserrat',sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--primary); margin-bottom: 8px; }
.pricing-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.5; }

.price-block { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.price-main { display: flex; align-items: baseline; gap: 4px; }
.price-main .currency { font-size: 1.1rem; font-weight: 700; color: var(--secondary); vertical-align: super; }
.price-main .amount { font-family: 'Montserrat',sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.price-alt { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.price-alt span { background: var(--light-blue); padding: 2px 8px; border-radius: 100px; }

.annual-block { margin-bottom: 20px; }
.annual-main { font-weight: 700; color: var(--secondary); font-size: 0.9rem; }
.annual-alt { font-size: 0.76rem; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.annual-alt span { background: var(--light-blue); padding: 1px 7px; border-radius: 100px; }

.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.pricing-features li::before {
  content: ''; width: 18px; height: 18px; min-width: 18px;
  background: var(--light-blue); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232861a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 6.5 11.5 13 4.5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center; margin-top: 1px;
}
.pricing-cta {
  display: block; width: 100%; text-align: center; padding: 13px;
  border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all .2s;
}
.pricing-card.featured .pricing-cta { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(21,52,98,0.3); }
.pricing-card.featured .pricing-cta:hover { background: var(--secondary); transform: translateY(-2px); }
.pricing-card:not(.featured) .pricing-cta { border: 2px solid var(--primary); color: var(--primary); }
.pricing-card:not(.featured) .pricing-cta:hover { background: var(--primary); color: #fff; }
.pricing-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.pricing-note strong { color: var(--primary); }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--light-blue); border-radius: 16px; padding: 28px 26px; border: 1px solid rgba(40,97,165,0.12); }
.testimonial-stars { color: #f5a623; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: var(--text); font-size: 0.95rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--secondary);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; color: var(--primary); font-size: 0.92rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); padding: 80px 0; text-align: center; }
.cta-band h2 { font-family: 'Montserrat',sans-serif; font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 36px; }
.btn-white {
  background: #fff; color: var(--primary); padding: 14px 36px;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.btn-white:hover { background: var(--light-blue); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 60px 40px 32px; }
.footer-top { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-logo .logo-icon { background: rgba(255,255,255,0.15); }
.footer-logo .logo-text { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; }
.footer-links h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 0.95rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }
.dev-credit {
  background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; display: flex; align-items: center; gap: 6px;
}

/* ── PAGE BANNERS ── */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 70px 0 60px; text-align: center;
}
.page-banner h1 {
  font-family: 'Montserrat',sans-serif; font-size: clamp(2rem,4vw,3rem);
  font-weight: 800; color: #fff; margin: 16px 0 12px;
}
.page-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.page-banner .section-tag { background: rgba(255,255,255,0.2); color: #fff; }

/* ── ALL FEATURES PAGE ── */
.module-block { margin-bottom: 60px; }
.module-title {
  font-family: 'Montserrat',sans-serif; color: var(--primary); font-size: 1.4rem;
  font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px;
}
.module-num {
  background: var(--light-blue); padding: 4px 12px; border-radius: 8px;
  font-size: 0.85rem; color: var(--secondary);
}
.module-divider {
  height: 3px; background: linear-gradient(90deg,var(--primary),var(--secondary),transparent);
  margin-bottom: 24px; border-radius: 100px;
}
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.module-card { border-radius: 10px; padding: 14px 18px; }
.module-card strong { color: var(--primary); font-size: .92rem; display: block; margin-bottom: 4px; }
.module-card p { color: var(--text-muted); font-size: .82rem; line-height: 1.55; }
.color-blue { background: var(--light-blue); border-left: 3px solid var(--secondary); }
.color-green { background: #f0f7e8; border-left: 3px solid #5ba34a; }
.color-orange { background: #fff5e8; border-left: 3px solid #f0973a; }
.color-purple { background: #f5e8ff; border-left: 3px solid #9b59b6; }
.color-teal { background: #e8f8f5; border-left: 3px solid #1abc9c; }

/* ── DOCS PAGE ── */
.docs-layout { display: flex; gap: 0; padding-top: 60px; padding-bottom: 80px; }
.docs-sidebar { width: 240px; flex-shrink: 0; margin-right: 48px; }
.docs-sidebar-sticky { position: sticky; top: 130px; }
.docs-sidebar h4 { font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.docs-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.docs-sidebar a {
  display: block; padding: 8px 12px; border-radius: 7px;
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: all .2s;
}
.docs-sidebar a:hover { background: var(--light-blue); color: var(--primary); }
.docs-support { margin-top: 32px; padding: 16px; background: var(--light-blue); border-radius: 12px; }
.docs-support p:first-child { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.docs-support p:last-of-type { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.docs-support a {
  display: block; background: var(--primary); color: #fff; text-align: center;
  padding: 8px; border-radius: 7px; font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.docs-content { flex: 1; min-width: 0; }
.docs-section { margin-bottom: 52px; }
.docs-section h2 {
  font-family: 'Montserrat',sans-serif; color: var(--primary); font-size: 1.6rem;
  font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.docs-section p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.step-list { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--light-blue); border-radius: 10px; }
.step-num {
  width: 32px; height: 32px; min-width: 32px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem;
}
.step-item strong { color: var(--primary); display: block; margin-bottom: 4px; }
.step-item span { color: var(--text-muted); font-size: .9rem; }
.docs-list { color: var(--text-muted); line-height: 1.9; padding-left: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
summary {
  padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--primary);
  list-style: none; background: var(--light-blue);
}
details div { padding: 16px 18px; color: var(--text-muted); line-height: 1.7; }

/* ── DEMO FORM PAGE ── */
.demo-wrapper { padding-top: 110px; min-height: 100vh; background: linear-gradient(135deg,#f4f8ff,#edf3fc); }
.demo-header { text-align: center; margin-bottom: 48px; }
.demo-header h1 {
  font-family: 'Montserrat',sans-serif; color: var(--primary);
  font-size: clamp(1.9rem,4vw,2.8rem); font-weight: 800; margin: 14px 0 12px;
}
.demo-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.demo-card { background: #fff; border-radius: 20px; padding: 40px 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 9px; padding: 11px 14px;
  font-family: 'Montserrat', sans-serif; font-size: .95rem; color: var(--text);
  outline: none; transition: border .2s; background: #fff;
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6a85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--secondary); }
.form-group textarea { resize: vertical; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff; border: none; padding: 15px;
  border-radius: 10px; font-family: 'Montserrat',sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s; box-shadow: 0 4px 16px rgba(21,52,98,0.3);
}
.btn-submit:hover { background: var(--secondary); transform: translateY(-2px); }
.form-privacy { text-align: center; color: var(--text-muted); font-size: .8rem; margin-top: 14px; }
.form-error { display: none; background: #fff0f0; border: 1px solid #f5c2c2; color: #c0392b; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; }
.form-success { display: none; text-align: center; padding: 32px 0; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-family: 'Montserrat',sans-serif; color: var(--primary); font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp .7s ease both; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .4s; }
.hero-content > *:nth-child(5) { animation-delay: .5s; }
.hero-visual { animation: fadeUp .9s .3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero .section-inner { flex-direction: column; text-align: center; padding-top: 0; }
  .hero { padding-top: 138px; }
  .hero-content { max-width: 100%; }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { justify-content: center; margin-top: 48px; }
  .nav-links { display: none; }
  section { padding: 60px 0; }
  .section-inner { padding: 0 20px; }
  .topbar-inner { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { padding: 40px 20px 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .docs-layout { flex-direction: column; }
  .docs-sidebar { width: 100%; margin-right: 0; margin-bottom: 32px; }
  .docs-sidebar-sticky { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dash-cards { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .section-inner { padding: 0 16px; }
  .demo-card { padding: 24px 18px; }
}
