@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Manrope:wght@600;700;800&display=swap');

:root {
  --color-bg-base:            #FFFFFF;
  --color-bg-light:           #F4F7FB;
  --color-bg-section:         #EAF1FB;
  --color-bg-dark:            #0B1E38;   /* deep indigo-navy, hero + footer only */
  --color-accent-primary:     #2A5CDB;   /* strong indigo-blue, tech/business trust */
  --color-accent-primary-dark:#1D3FA0;
  --color-accent-mint:        #26C6A0;   /* fresh mint-teal, sparing use for highlights/success states */
  --color-text-primary:       #0B1E38;
  --color-text-secondary:     #3E4C63;
  --color-text-light:         #F4F7FB;
  --color-text-muted:         #8493AC;
  --color-border:             #DCE5F3;
  --color-cta:                #2A5CDB;
  --color-cta-hover:          #1D3FA0;
  
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1200px;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY */
.heading-xl { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.heading-lg { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.heading-md { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.heading-sm { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.text-lg { font-size: 1.125rem; }
.text-md { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }

.text-center { text-align: center; }
.color-light { color: var(--color-text-light); }
.color-muted { color: var(--color-text-muted); }
.color-primary { color: var(--color-accent-primary); }

/* LAYOUT */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

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

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}
.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-text-light);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* COMPONENTS */
/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-base);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
.preloader-bar-container {
  width: 200px;
  height: 4px;
  background: var(--color-bg-light);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  background: var(--color-accent-primary);
  width: 0%;
  transition: width 3s linear;
}

/* Disclosure Bar */
.disclosure-bar {
  background-color: var(--color-bg-dark);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.logo-img {
  height: 80px;
  width: 80px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-accent-primary);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  position: relative;
  transition: background-color 0.3s;
}
.mobile-menu-icon::before, .mobile-menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  left: 0;
  transition: transform 0.3s;
}
.mobile-menu-icon::before { top: -6px; }
.mobile-menu-icon::after { top: 6px; }
.mobile-menu-btn.active .mobile-menu-icon { background-color: transparent; }
.mobile-menu-btn.active .mobile-menu-icon::before { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active .mobile-menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-base);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-cta {
  background-color: var(--color-cta);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(42, 92, 219, 0.3);
}
.btn-cta:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 92, 219, 0.4);
}
.btn-outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn-outline-dark:hover {
  background-color: var(--color-bg-light);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.badge {
  display: inline-block;
  background-color: rgba(38, 198, 160, 0.15);
  color: var(--color-accent-mint);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(38, 198, 160, 0.3);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.trust-badges {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-badge-icon {
  color: var(--color-accent-mint);
}

/* Image Split */
.image-split-img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(11, 30, 56, 0.08);
}

/* Steps */
.step-card {
  padding: 2rem;
  background: var(--color-bg-base);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
}
.step-number {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--color-accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(42, 92, 219, 0.2);
}

/* Feature Grid */
.feature-card {
  background: var(--color-bg-base);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--color-accent-primary);
}
.feature-icon {
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--color-bg-base);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.stars {
  color: #FFB800;
  margin-bottom: 1rem;
}
.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent-primary);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
}
.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--color-text-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-bg-base);
  border: 1px solid var(--color-accent-primary);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 40px rgba(11, 30, 56, 0.15);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-popup.show {
  transform: translateY(0);
}
.cookie-text {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.cookie-btns {
  display: flex;
  gap: 0.5rem;
}
.btn-cookie {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  flex: 1;
  text-align: center;
  transition: all 0.2s;
}
.btn-cookie-accept {
  background: var(--color-accent-primary);
  color: white;
}
.btn-cookie-accept:hover {
  background: var(--color-accent-primary-dark);
}
.btn-cookie-reject {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}
.btn-cookie-reject:hover {
  background: var(--color-bg-light);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; padding: 4rem 0; }
  .heading-xl { font-size: 2.25rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
}
