/* Theme baseline values. build_theme_style() in generate_site.py injects inline overrides per deployment. */
:root {
  --primary: #0a2540;
  --secondary: #00d282;
  --accent: #ff8a00;
  --bg-color: #f7f9fc;
  --bg-light: #f0f4f8;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.py-5 {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--bg-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--primary);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  color: var(--white) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Trust Bar */
.trust-bar {
  background: var(--secondary);
  color: var(--primary);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  flex-wrap: wrap;
  text-align: center;
}

/* Hero */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent), var(--primary);
  color: var(--white);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="2"/></svg>') repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-phone-text {
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.hero-phone-text a {
  color: inherit;
  text-decoration: underline;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 210, 130, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-spacing {
  margin-top: 3rem;
}

.cta-h3 {
  margin-bottom: 1rem;
}

/* Content / NLP blocks */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-padding);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-banner .btn {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 800;
}

/* Map section */
.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 0;
}

/* Process section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--card-radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--secondary);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
}

.why-card h3 {
  font-size: 1.25rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--card-radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--card-shadow);
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item strong {
  color: var(--primary);
  font-size: 1.125rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-padding);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer-col p,
.footer-col li,
.footer-bottom p {
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

.footer-brand-link {
  color: inherit;
  text-decoration: none;
}

.footer-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
}

.footer-service-grid a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-service-grid a:hover {
  opacity: 1;
  color: var(--secondary);
}

#legal-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 800px;
  margin: 15px auto 0;
  text-align: center;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--card-shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
  }

  .hide-mobile {
    display: none !important;
  }

  .floating-call-btn {
    display: flex !important;
  }

  body {
    padding-bottom: 80px;
  }
}

/* CRO Elements */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.floating-call-btn:hover {
  background: var(--primary);
}