/* ChargeShield.ai — Design System
   Aesthetic: Swiss Fintech Luxury — clean, trustworthy, precise
   Fonts: DM Sans (body) + Instrument Serif (display)
   Colors: Deep navy + emerald green + warm grays
   Updated: 9 March 2026
*/

@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;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Core palette */
  --navy: #0B1426;
  --navy-mid: #132039;
  --navy-light: #1C2E4A;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.12);
  --emerald-glow-strong: rgba(16, 185, 129, 0.25);

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1140px;
  --max-width-narrow: 720px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
a { color: var(--emerald-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--emerald); }
img { max-width: 100%; display: block; }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.container--narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--space-lg); }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.35em; color: var(--white);
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--emerald);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85em;
}
.nav__logo span { color: var(--emerald); }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); }
.nav__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9em; font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--emerald); color: var(--white) !important;
  padding: 10px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.9em;
  transition: all 0.3s;
}
.nav__cta:hover { background: var(--emerald-dark); transform: translateY(-1px); }

/* === HERO === */
.hero {
  background: var(--navy);
  padding: calc(72px + var(--space-5xl)) var(--space-lg) var(--space-5xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(16,185,129,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald-glow);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--emerald);
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.88em; font-weight: 600;
  margin-bottom: var(--space-xl);
  position: relative;
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--emerald); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8em, 6vw, 4.5em);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-lg);
  font-weight: 400;
  position: relative;
}
.hero h1 em {
  color: var(--emerald);
  font-style: italic;
}
.hero__sub {
  font-size: 1.15em;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}
.hero__actions {
  display: flex; gap: var(--space-md);
  justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--space-4xl);
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1em; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.3s ease;
}
.btn--primary {
  background: var(--emerald); color: var(--white);
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.btn--primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.35);
}
.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.btn--dark {
  background: var(--navy); color: var(--white);
}
.btn--dark:hover { background: var(--navy-mid); }

/* === STATS BAR === */
.stats {
  display: flex; justify-content: center; gap: var(--space-4xl);
  flex-wrap: wrap; position: relative;
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-size: 3em; color: var(--white);
  line-height: 1; margin-bottom: 4px;
}
.stat__value em { color: var(--emerald); font-style: normal; }
.stat__label { font-size: 0.85em; color: rgba(255,255,255,0.5); font-weight: 500; }

/* === SECTIONS === */
.section {
  padding: var(--space-5xl) var(--space-lg);
}
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--navy); color: var(--white); }
.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section__label {
  display: inline-block;
  font-size: 0.8em; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--emerald);
  margin-bottom: var(--space-md);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
}
.section--dark .section__title { color: var(--white); }
.section__desc {
  font-size: 1.05em;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}
.section--dark .section__desc { color: rgba(255,255,255,0.6); }

/* === CARDS GRID === */
.grid { display: grid; gap: var(--space-lg); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* === STEP CARDS === */
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  transition: all 0.3s;
  position: relative;
}
.step-card:hover {
  border-color: var(--emerald);
  box-shadow: 0 8px 40px rgba(16,185,129,0.08);
  transform: translateY(-4px);
}
.step-card__num {
  width: 48px; height: 48px;
  background: var(--emerald-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2em; color: var(--emerald);
  margin-bottom: var(--space-lg);
}
.step-card h3 {
  font-size: 1.2em; font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}
.step-card p { color: var(--gray-500); font-size: 0.95em; }

/* === PRICING CARDS === */
.price-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.4s;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.price-card--featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald), 0 12px 40px rgba(16,185,129,0.12);
}
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: var(--white);
  padding: 6px 20px; border-radius: 100px;
  font-size: 0.78em; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-card__name { font-size: 0.95em; font-weight: 600; color: var(--gray-500); margin-bottom: 4px; }
.price-card__volume { font-size: 0.82em; color: var(--gray-400); margin-bottom: var(--space-lg); }
.price-card__rate {
  font-family: var(--font-display);
  font-size: 3.5em; color: var(--gray-900);
  line-height: 1; margin-bottom: 4px;
}
.price-card__rate small { font-family: var(--font-body); font-size: 0.28em; color: var(--gray-400); }
.price-card__note { color: var(--emerald); font-weight: 600; font-size: 0.88em; margin-bottom: var(--space-lg); }
.price-card__features { list-style: none; text-align: left; }
.price-card__features li {
  padding: 8px 0; font-size: 0.9em; color: var(--gray-600);
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.price-card__features li:last-child { border: none; }
.price-card__features li::before {
  content: '✓'; color: var(--emerald); font-weight: 700;
  width: 20px; text-align: center; flex-shrink: 0;
}

/* === TRUST BAR === */
.trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}
.trust__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9em; color: rgba(255,255,255,0.8); font-weight: 500;
}
.trust__icon { font-size: 1.2em; }

/* === FAQ === */
.faq { max-width: 680px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__q {
  padding: var(--space-lg) 0;
  font-weight: 600; font-size: 1.02em;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--gray-800);
  transition: color 0.2s;
}
.faq__q:hover { color: var(--emerald); }
.faq__q::after {
  content: '+'; font-size: 1.5em; color: var(--gray-400);
  transition: transform 0.3s, color 0.3s;
  line-height: 1;
}
.faq__item.open .faq__q::after { transform: rotate(45deg); color: var(--emerald); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--gray-500); font-size: 0.95em; line-height: 1.7;
}
.faq__item.open .faq__a { max-height: 300px; padding-bottom: var(--space-lg); }

/* === WAITLIST === */
.waitlist__form {
  display: flex; gap: var(--space-sm);
  max-width: 480px; margin: var(--space-xl) auto 0;
  flex-wrap: wrap; justify-content: center;
}
.waitlist__form input {
  padding: 14px 20px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white); font-family: var(--font-body);
  font-size: 0.95em; flex: 1; min-width: 200px;
  outline: none; transition: border-color 0.3s;
}
.waitlist__form input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist__form input:focus { border-color: var(--emerald); }
.waitlist__msg { text-align: center; margin-top: var(--space-md); font-size: 0.9em; }

/* === INTEGRATIONS === */
.integrations {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-2xl);
}
.integ {
  text-align: center; opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}
.integ:hover { opacity: 1; transform: scale(1.05); }
.integ__icon { font-size: 2.5em; margin-bottom: 6px; }
.integ__name { font-size: 0.85em; font-weight: 600; color: var(--gray-500); }

/* === BLOG === */
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s;
}
.article-card:hover {
  border-color: var(--emerald);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.article-card__tag {
  display: inline-block;
  background: var(--emerald-glow); color: var(--emerald);
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.78em; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: var(--space-md);
}
.article-card h3 {
  font-size: 1.25em; font-weight: 700;
  color: var(--gray-900); margin-bottom: var(--space-sm);
  line-height: 1.4;
}
.article-card h3 a { color: var(--gray-900); }
.article-card h3 a:hover { color: var(--emerald); }
.article-card p { color: var(--gray-500); font-size: 0.92em; margin-bottom: var(--space-md); }
.article-card__meta { font-size: 0.82em; color: var(--gray-400); }

/* === BLOG ARTICLE === */
.article { max-width: 700px; margin: 0 auto; }
.article h1 {
  font-family: var(--font-display);
  font-size: 2.4em; color: var(--gray-900);
  line-height: 1.2; margin-bottom: var(--space-xl);
}
.article h2 { font-size: 1.5em; color: var(--gray-900); margin: var(--space-2xl) 0 var(--space-md); }
.article h3 { font-size: 1.15em; color: var(--navy); margin: var(--space-lg) 0 var(--space-sm); }
.article p { margin-bottom: var(--space-md); color: var(--gray-700); }
.article li { margin-left: var(--space-lg); margin-bottom: var(--space-sm); color: var(--gray-600); }
.article hr { border: none; border-top: 1px solid var(--gray-200); margin: var(--space-2xl) 0; }
.article strong { color: var(--gray-900); }
.article a { color: var(--emerald); font-weight: 500; }
.article__back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--emerald); font-weight: 600; font-size: 0.92em;
  margin: var(--space-xl) 0;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
}
.footer__grid {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer__col h4 { color: var(--white); font-size: 0.85em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-md); }
.footer__col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.9em; padding: 4px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--emerald); }
.footer__bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md);
}
.footer__copy { font-size: 0.82em; color: rgba(255,255,255,0.35); }
.footer__swiss { font-size: 0.82em; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; }

/* === PAGE HERO (for subpages) === */
.page-hero {
  background: var(--navy);
  padding: calc(72px + var(--space-4xl)) var(--space-lg) var(--space-3xl);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2em, 4vw, 3em);
  color: var(--white); line-height: 1.2;
  margin-bottom: var(--space-md); position: relative;
}
.page-hero p {
  font-size: 1.1em; color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto; position: relative;
}

/* === LEGAL PAGES === */
.legal { max-width: 740px; margin: 0 auto; padding: var(--space-3xl) var(--space-lg); }
.legal h1 { font-family: var(--font-display); font-size: 2em; margin-bottom: var(--space-xl); }
.legal h2 { font-size: 1.3em; color: var(--navy); margin: var(--space-2xl) 0 var(--space-md); }
.legal h3 { font-size: 1.05em; margin: var(--space-lg) 0 var(--space-sm); }
.legal p { margin-bottom: var(--space-md); color: var(--gray-600); font-size: 0.95em; }
.legal li { margin-left: var(--space-lg); margin-bottom: var(--space-sm); color: var(--gray-600); font-size: 0.95em; }
.legal .updated { color: var(--gray-400); font-size: 0.85em; margin-bottom: var(--space-xl); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero { padding-top: calc(72px + var(--space-3xl)); padding-bottom: var(--space-3xl); }
  .stats { gap: var(--space-xl); }
  .stat__value { font-size: 2.2em; }
  .section { padding: var(--space-3xl) var(--space-md); }
  .footer__grid { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .grid--4 { grid-template-columns: 1fr; }
}
