:root {
  --primary: #2D5F3F;
  --primary-light: #E8F5E9;
  --primary-hover: #245032;
  --dark: #1B3A2A;
  --text: #333;
  --text-muted: #555;
  --text-light: #888;
  --bg-warm: #F7FAF7;
  --border-soft: #e0e8e0;
  --warning-bg: #FFF8E1;
  --warning-border: #FFE082;
  --warning-text: #6D4C00;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(45, 95, 63, 0.3);
}

.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

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

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay a {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 500;
}

.mobile-overlay .nav-cta {
  margin-top: 16px;
  padding: 14px 32px;
  font-size: 1.1rem;
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

.hero {
  background: linear-gradient(160deg, #E8F5E9 0%, #FFF8E1 40%, #FFEFD5 70%, #FCE4EC 100%);
  padding: 96px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero .btn-primary {
  padding: 16px 40px;
  font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(45, 95, 63, 0.25);
}

.hero-sub {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.trust-bar {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 32px 24px;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.3rem;
}

.how-section {
  padding: 80px 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

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

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.topics-section {
  background: var(--bg-warm);
  padding: 80px 24px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 28px;
}

.topic-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.topic-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.preview-section {
  padding: 80px 24px;
}

.chat-mockup {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-header-text {
  font-weight: 600;
  font-size: 1rem;
}

.chat-body {
  padding: 20px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.msg-user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-bot {
  align-self: flex-start;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 4px;
}

.institutions-section {
  background: var(--dark);
  color: #fff;
  padding: 80px 24px;
}

.institutions-section .section-header h2 {
  color: #fff;
}

.institutions-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.institution-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px;
}

.institution-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.institution-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

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

.disclaimer-section {
  background: var(--warning-bg);
  border-top: 2px solid var(--warning-border);
  padding: 40px 24px;
}

.disclaimer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--warning-text);
  margin-bottom: 8px;
}

.disclaimer-section p {
  font-size: 0.95rem;
  color: var(--warning-text);
  line-height: 1.7;
  max-width: 800px;
}

footer {
  background: #f5f5f5;
  border-top: 1px solid var(--border-soft);
  padding: 40px 24px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand strong {
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

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

  .hamburger {
    display: block;
  }

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

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

  .hero > p {
    font-size: 1rem;
  }

  .trust-bar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: start;
  }

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

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

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

  footer .container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
