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

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

:root {
  --color-primary: #1a5276;
  --color-primary-light: #2980b9;
  --color-primary-dark: #0e3a54;
  --color-accent: #e67e22;
  --color-accent-light: #f39c12;
  --color-accent-dark: #d35400;
  --color-bg: #f8f9fa;
  --color-bg-alt: #ffffff;
  --color-text: #2c3e50;
  --color-text-light: #5d6d7e;
  --color-text-muted: #95a5a6;
  --color-border: #dce1e5;
  --color-success: #27ae60;
  --color-info: #3498db;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero h1 {
  font-size: 2.75rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.hero-cta:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

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

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ========== BENEFITS LIST ========== */
.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefit-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.benefit-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.benefit-text p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.benefits-image {
  background: linear-gradient(135deg, #e8f4fd, #d1ecf9);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefits-image .illustration-text {
  font-size: 4rem;
  margin-bottom: 16px;
}

.benefits-image p {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.step p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: 0;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-banner .hero-cta {
  background: var(--color-accent);
}

.cta-banner .hero-cta:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  opacity: 0.6;
}

/* ========== ABOUT PAGE ========== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.85;
  font-size: 1.1rem;
}

.content-section {
  padding: 60px 0;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.content-block ul {
  margin: 16px 0 24px 24px;
  color: var(--color-text-light);
}

.content-block li {
  margin-bottom: 10px;
}

/* ========== PRIVACY PAGE ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.legal-content li {
  margin-bottom: 8px;
}

.last-updated {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-wrapper {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}
