:root {
  --primary: #2152b7;
  --primary-dark: #183976;
  --accent: #fed05b;
  --accent-gradient: linear-gradient(90deg, #fed05b 0%, #fcb900 100%);
  --background: #f7fafd;
  --background-dark: #eaf1fa;
  --card-bg: #fff;
  --shadow: 0 6px 36px 0 #19282e18;
  --shadow-hover: 0 12px 36px 0 #19282e33;
  --radius: 1.2rem;
  --transition: all 0.18s cubic-bezier(.4,0,.2,1);
  --text: #1e2730;
  --text-light: #3b4e64;
  --muted: #8ea2ba;
  --danger: #e63946;
}

html {
  font-size: 18px;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px #1933760e;
  z-index: 99;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 32px #19337622;
  background: #fbfbfd;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo, .footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.accent {
  color: var(--accent);
  font-weight: 800;
}
.nav-list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: var(--transition);
}
.nav-list li a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 0.48em 0.88em;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  font-size: 1rem;
}
.nav-list li a.active,
.nav-list li a:hover {
  background: var(--primary);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}
.hamburger, .hamburger:before, .hamburger:after {
  content: '';
  display: block;
  background: var(--primary);
  height: 3px;
  width: 27px;
  margin: 7px 0;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger:before, .hamburger:after {
  position: relative;
}
.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger:before {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle.open .hamburger:after {
  transform: translateY(-10px) rotate(-45deg);
}
@media (max-width: 900px) {
  .nav-container {
    padding: 0.6rem 1rem;
  }
  .nav-list {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    display: none;
    z-index: 99;
    gap: 0.5rem;
    padding: 1rem 1rem 1.4rem 1rem;
  }
  .nav-list.nav-open {
    display: flex;
  }
  .nav-toggle {
    display: inline-block;
    position: relative;
    z-index: 100;
    margin-left: 1rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  max-width: 1150px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  min-height: 430px;
  position: relative;
  background: var(--background-dark);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.hero-content {
  flex: 1 1 55%;
  z-index: 2;
}
.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 900;
  margin: 0 0 0.6em 0;
  color: var(--primary);
  line-height: 1.12;
}
.hero-content .highlight {
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-content .lead {
  font-size: 1.25rem;
  margin-bottom: 2em;
  color: var(--text-light);
}
.hero-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
}
.hero-img img {
  border-radius: var(--radius);
  max-width: 340px;
  box-shadow: 0 12px 32px #b5bedb33;
  width: 100%;
  object-fit: cover;
  border: 8px solid #fff;
}
.hero-shape {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent) 0%, #fcb90055 70%, transparent 100%);
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 950px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1rem 1.2rem;
    gap: 1.3rem;
    min-height: 340px;
  }
  .hero-img {
    justify-content: center;
  }
  .hero-img img {
    max-width: 220px;
  }
}

/* Cards Section */
.section.cards {
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem auto 0 auto;
  max-width: 1100px;
  padding: 0 2rem;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.4em 1.7em 1.9em;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 320px;
  align-items: flex-start;
  position: relative;
}
.card:hover {
  transform: translateY(-7px) scale(1.037);
  box-shadow: var(--shadow-hover);
}
.card h2 {
  font-size: 1.22rem;
  color: var(--primary);
  margin: 0 0 0.4em 0;
  font-weight: 700;
}
.card ul {
  margin: 0 0 0.5em 1.1em;
  padding: 0;
}
.card .icon {
  margin-bottom: 0.6em;
  color: var(--accent);
  font-size: 1.7rem;
}
.card .icon svg {
  width: 2.2em;
  height: 2.2em;
  stroke-width: 2.5px;
}

/* Highlight/Testimonial Section */
.highlight-section {
  background: var(--primary);
  color: #fff;
  margin: 3.5rem 0 0 0;
  padding: 2.6em 1.2em;
  border-radius: var(--radius);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 36px #1c285333;
  text-align: center;
}
.highlight-content h2 {
  font-weight: 600;
  font-size: 1.22em;
  margin: 0 0 1.1em 0;
  letter-spacing: 0.01em;
}
.testimonial-author {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
  margin: 2.8rem auto 0 auto;
  text-align: center;
  background: var(--accent-gradient);
  color: var(--primary-dark);
  border-radius: var(--radius);
  max-width: 800px;
  padding: 2.2em 1.2em 2.5em 1.2em;
  box-shadow: 0 8px 32px #b5bedb33;
}
.cta-section h2 {
  font-size: 1.33em;
  font-weight: 800;
  margin-bottom: 1.1em;
}

/* Buttons & Links */
.button, .button-accent, .button-primary {
  font-family: inherit;
  font-size: 1.08em;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  padding: 0.7em 2.2em;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin: 0.3em 0;
  display: inline-block;
}
.button-accent {
  background: var(--accent-gradient);
  color: var(--primary-dark);
  box-shadow: 0 3px 10px #fed05b33;
}
.button-accent:hover {
  background: #fed05b;
  color: #fff;
  box-shadow: 0 8px 26px #fed05b55;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px #2152b722;
}
.button-primary:hover {
  background: var(--accent);
  color: var(--primary-dark);
}
.link-arrow {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.7em;
  align-self: flex-start;
  transition: color var(--transition);
}
.link-arrow:hover {
  color: var(--accent);
}

/* Footer */
footer {
  background: #1b355d;
  color: #fff;
  padding: 2.2em 0 1em 0;
  margin-top: 3em;
  border-radius: var(--radius) var(--radius) 0 0;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2em;
  flex-wrap: wrap;
  font-size: 1rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.footer-brand nav a {
  color: #fff;
  margin-right: 1.4em;
  opacity: 0.8;
  text-decoration: underline;
  font-size: 1em;
  transition: opacity var(--transition);
}
.footer-brand nav a:hover {
  opacity: 1;
}
.footer-social {
  display: flex;
  gap: 1.2em;
  align-items: center;
}
.footer-social a {
  color: #fed05b;
  font-size: 1.5em;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}
.footer-social a:hover {
  color: #fff;
  opacity: 1;
}
@media (max-width: 750px) {
  .footer-content {
    flex-direction: column;
    gap: 0.8em;
    text-align: center;
  }
}

/* General */
h1, h2, h3 {
  font-family: inherit;
  font-weight: 700;
}
ul, ol {
  margin-left: 1.2rem;
}
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  .section.cards {
    padding: 0 0.3rem;
    gap: 1.2rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 0.4em;
    text-align: center;
  }
}

/* Animation Fade-in */
body {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.07s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}