/* ============================================================
   Amithos Shield — Design System
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
https://calendly.com/team-amithos/30minhtml {
    scroll-behavior: smooth;
    font-size: 16px;
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

:root {
  --primary-blue: #1e3a8a;
  --accent-teal:  #0d9488;
  --accent-teal-dark: #0b7f78;
  --text-dark:    #0f172a;
  --text-muted:   #475569;
  --bg-light:     #f8fafc;
  --bg-white:     #ffffff;
  --border-gray:  #e2e8f0;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.10);
  --radius:       8px;
  --max-width:    1200px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography -------------------------------------------- */
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 0.5em; font-weight: 700; }
h2 { font-size: 2rem;   line-height: 1.3; margin-bottom: 0.5em; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.4em; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.4; margin-bottom: 0.4em; font-weight: 600; }
p  { font-size: 1rem; margin-bottom: 1em; color: var(--text-muted); }
a  { color: var(--accent-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
small { font-size: 0.875rem; }

/* --- Skip Link (accessibility) ----------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.1s;
}
.skip-link:focus { top: 0; }

/* --- Layout Container -------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Site Header / Nav ------------------------------------- */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo:hover { text-decoration: none; color: var(--accent-teal); }

.logo-shield {
  color: var(--accent-teal);
}

.site-nav { display: flex; align-items: center; gap: 0; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background-color 0.15s, color 0.15s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background-color: rgba(13,148,136,0.08);
  color: var(--accent-teal);
  text-decoration: none;
}

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}
.nav-toggle svg { display: block; }

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--accent-teal);
  outline-offset: 3px;
}
.btn-primary {
  background-color: var(--accent-teal);
  color: #ffffff;
  border-color: var(--accent-teal);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-teal-dark);
  border-color: var(--accent-teal-dark);
  color: #ffffff;
  text-decoration: none;
}
.btn-secondary {
  background-color: transparent;
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: rgba(13,148,136,0.08);
  color: var(--accent-teal);
  text-decoration: none;
}
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}
.btn:disabled, .btn[aria-disabled="true"] {
  background-color: var(--border-gray);
  color: #aaa;
  border-color: var(--border-gray);
  cursor: not-allowed;
}

/* --- Card -------------------------------------------------- */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { color: var(--text-dark); }
.card p  { margin-bottom: 0; }

/* --- Section spacing --------------------------------------- */
section { padding-block: 4rem; }
section + section { border-top: 1px solid var(--border-gray); }

/* === HERO SECTION ========================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
  color: #ffffff;
  padding-block: 5rem;
  text-align: center;
}
.hero-section h1 { color: #ffffff; font-size: clamp(2rem, 5vw, 3rem); max-width: 760px; margin-inline: auto; }
.hero-section > .container > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.trust-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.trust-item::before { content: "✓"; color: #5eead4; font-weight: 700; }

/* === PROBLEM SECTION ======================================= */
.problem-section { background-color: var(--bg-white); }
.problem-section h2 { text-align: center; color: var(--text-dark); max-width: 620px; margin-inline: auto; margin-bottom: 2.5rem; }
.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.problem-card { border-left: 4px solid var(--accent-teal); }
.problem-card h3 { color: var(--text-dark); }

/* === STEPS SECTION ========================================= */
.steps-section { background-color: var(--bg-light); }
.steps-section h2 { text-align: center; color: var(--text-dark); margin-bottom: 0.5rem; }
.steps-subtitle { text-align: center; max-width: 540px; margin-inline: auto; margin-bottom: 2.5rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background-color: var(--accent-teal);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step-card .step-icon {
  display: block;
  width: 3rem; height: 3rem;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--accent-teal);
}
.step-card h3 { font-size: 1.125rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.9375rem; margin-bottom: 0; }
.steps-tagline { text-align: center; margin-top: 2rem; font-size: 1.0625rem; font-weight: 600; color: var(--text-dark); }

/* === BENEFITS SECTION ====================================== */
.benefits-section { background-color: var(--bg-white); }
.benefits-section h2 { text-align: center; color: var(--text-dark); margin-bottom: 2.5rem; }
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.benefit-card .benefit-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.benefit-card h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.35rem; }
.benefit-card p  { font-size: 0.9375rem; margin-bottom: 0; }

/* === CTA SECTION =========================================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dark) 100%);
  color: #ffffff;
  text-align: center;
}
.cta-section h2 { color: #ffffff; margin-bottom: 0.75rem; }
.cta-section p  { color: rgba(255,255,255,0.9); max-width: 480px; margin-inline: auto; margin-bottom: 1.75rem; }

/* === PRICING TEASER (Home) ================================= */
.pricing-teaser { background-color: var(--bg-light); }
.pricing-teaser h2 { text-align: center; color: var(--text-dark); margin-bottom: 0.5rem; }
.pricing-teaser-sub { text-align: center; margin-bottom: 2.5rem; }

/* === HOW IT WORKS PAGE ===================================== */
.hiw-hero {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding-block: 3.5rem;
  text-align: center;
}
.hiw-hero h1 { color: #ffffff; }
.hiw-hero p  { color: rgba(255,255,255,0.85); max-width: 580px; margin-inline: auto; margin-bottom: 0; }

.hiw-steps { background-color: var(--bg-white); }
.hiw-steps h2 { text-align: center; margin-bottom: 2.5rem; color: var(--text-dark); }

.step-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-gray);
  margin-bottom: 1.5rem;
}
.step-detail:last-child { margin-bottom: 0; }
.step-detail-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  background-color: var(--accent-teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.step-detail-body h2 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.step-detail-body p  { margin-bottom: 0.5rem; }
.step-detail-body p:last-child { margin-bottom: 0; }

/* === PRICING PAGE ========================================== */
.pricing-section { background-color: var(--bg-light); }
.pricing-section h1 { text-align: center; color: var(--text-dark); }
.pricing-intro { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: 3rem; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card.featured {
  border-color: var(--accent-teal);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-card h2 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0; }
.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.pricing-card ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-card ul li::before { content: "✓"; color: var(--accent-teal); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; margin-top: auto; }

/* === CONTACT PAGE ========================================== */
.contact-section { background-color: var(--bg-light); }
.contact-section h1 { color: var(--text-dark); margin-bottom: 0.5rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contact-info h2 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.contact-info p  { font-size: 0.9375rem; margin-bottom: 0.5rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.2);
}
.form-group textarea { resize: vertical; min-height: 7rem; }
.form-error { color: #b00020; font-size: 0.875rem; }
.form-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #15803d;
  font-weight: 600;
}

/* === FOOTER ================================================ */
.site-footer {
  background-color: var(--primary-blue);
  color: rgba(255,255,255,0.8);
  padding-block: 3rem 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .site-logo { color: #ffffff; font-size: 1.125rem; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 0.75rem; margin-bottom: 0; }
.footer-col h4 { color: #ffffff; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col ul a:hover { color: #ffffff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { margin-bottom: 0; color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-legal a:hover { color: #fff; }

/* === Lazy loading ========================================== */
img.lazyload { opacity: 0; transition: opacity 0.3s; }
img.lazyload.loaded { opacity: 1; }

/* === Responsive ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  section { padding-block: 3rem; }

  /* Nav */
  .nav-toggle { display: flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; gap: 0.25rem; }
  .nav-list a { padding: 0.75rem 0.5rem; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 0.75rem; width: 100%; }
  .nav-cta .btn { width: 100%; text-align: center; }

  /* Layouts */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step-detail { grid-template-columns: 1fr; }
  .step-detail-number { width: 3rem; height: 3rem; font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero-section { padding-block: 3.5rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
}

/* === SHADOW AI CALLOUT SECTION ============================= */
.shadow-ai-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding-block: 3.5rem;
}
.shadow-ai-section .container { max-width: 820px; }
.shadow-ai-section h2 { color: #ffffff; font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; }
.shadow-ai-section p { color: rgba(255,255,255,0.85); max-width: 760px; margin-bottom: 0.875rem; font-size: 1.0625rem; }
.shadow-ai-section p:last-of-type { margin-bottom: 0; }
.shadow-ai-section strong { color: #7dd3fc; font-weight: 700; }
.shadow-ai-stat-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.shadow-ai-stat {
  flex: 1;
  min-width: 160px;
}
.shadow-ai-stat .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #5eead4;
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}
.shadow-ai-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

/* === FAQ SECTION =========================================== */
.faq-section { background-color: var(--bg-light); }
.faq-section h2 { text-align: center; color: var(--text-dark); margin-bottom: 0.5rem; }
.faq-section .faq-intro { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: 2.5rem; }
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-gray);
}
.faq-item:first-child { border-top: 1px solid var(--border-gray); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.125rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  gap: 1rem;
  line-height: 1.4;
}
.faq-question:focus-visible {
  outline: 3px solid var(--accent-teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--accent-teal);
}
.faq-item[data-open="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-item[data-open="true"] .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  padding-bottom: 1.125rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-answer-inner p { margin-bottom: 0; }
.faq-answer-inner a { color: var(--accent-teal); }

@media (max-width: 768px) {
  .shadow-ai-stat-row { gap: 1.25rem; }
  .shadow-ai-stat .stat-number { font-size: 1.875rem; }
}

/* Very small phones (Galaxy Fold, iPhone SE 1st gen, etc.) */
@media (max-width: 360px) {
  .container { padding-inline: 1rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .btn { padding: 0.625rem 1.125rem; }
  .step-card { padding: 1.5rem 1rem; }
  .pricing-card { padding: 1.5rem 1rem; }
}

/* Respect reduced-motion OS preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .faq-answer { transition: none; }
  img.lazyload { transition: none; }
}