@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

html,
body,
main,
section,
.container,
.hero-grid,
.stats-grid,
.features-grid,
.hiw-grid,
.testimonial-grid,
.pricing-grid,
.cta-flex {
  overflow-x: clip;
}

.legal-content {
  word-break: break-word;
}

:root {
  --bg-light: #ffffff;
  --bg-offwhite: #f8fafc;
  --primary: #1e3c5c;
  --primary-dark: #0f2a42;
  --accent: #aee865;
  --accent-light: #c4f07a;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-line1, .logo-line2 {
  display: block;
  line-height: 1.2;
  font-weight: 700;
}
.logo-line1 { font-size: 1rem; letter-spacing: -0.3px; }
.logo-line2 { font-size: 0.85rem; color: var(--accent); }

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}
.nav-list a:hover { color: var(--accent); }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: 0.2s;
}
.header-notice {
  background: #aee865;
  padding: 0.3rem 0.9rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
}

@media (max-width: 768px) {
  .nav {
    position: relative;
  }
  .nav-list {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    gap: 1rem;
    display: none;
    width: 200px;
  }
  .nav-list.active { display: flex; }
  .mobile-toggle { display: flex; }
  .header-notice { font-size: 0.7rem; }
}

/* hero */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.accent { color: var(--accent); }
.hero-subhead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-image img {
  width: 100%;
  max-width: 580px; 
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  color: #1e293b; 
  box-shadow: 0 4px 8px rgba(174, 232, 101, 0.25);
}
.btn-primary:hover {
  background: #8fd14b;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: white;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--primary);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: #fff7ed;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
.no-card {
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-group { justify-content: center; }
}

/* stats */
.stats {
  padding: 3rem 0;
  background: var(--bg-offwhite);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  min-width: 0;
}
.stat-card {
  min-width: 0;
}
.stat-card h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-card p { color: var(--text-muted); font-size: 0.9rem; }
.stat-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2rem;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card h3 { font-size: 1.75rem; }
  .stat-card p { font-size: 0.8rem; }
}

/* features */
.features {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pre-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-top: 0.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid var(--border-light);
}
.feature-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.feature-item h3 { margin-bottom: 0.8rem; }
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* how it works */
.how-it-works {
  background: linear-gradient(120deg, #ffffff 0%, #fef9e6 100%);
  padding: 5rem 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 2rem 0;
}
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #1e293b;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hiw-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .hiw-grid { grid-template-columns: 1fr; }
}

/* quote */
.quote-block {
  padding: 4rem 0;
  background: var(--primary-dark);
  color: white;
}
.quote-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.quote-card i {
  font-size: 2.5rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.quote-card p {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
}
.quote-author {
  margin-top: 1.5rem;
  font-weight: 500;
  opacity: 0.9;
}

/* testimonials */
.testimonials {
  padding: 5rem 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-offwhite);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all 0.2s;
}
.testimonial-content p {
  font-style: normal;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* pricing */
.pricing {
  padding: 5rem 0;
  background: var(--bg-offwhite);
}
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.pricing-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  width: 320px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}
.pricing-card.featured {
  border-top: 4px solid var(--accent);
  transform: scale(1.02);
  background: white;
}
.popular-tag {
  background: var(--accent);
  color: #1e293b;
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.7rem;
  position: absolute;
  top: -12px;
  left: 20px;
}
.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0 0.2rem;
}
.price span {
  font-size: 1rem;
  font-weight: 400;
}
.saving {
  font-size: 0.8rem;
  color: #2e7d32;
  background: #e8f5e9;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
}
.pricing-card li {
  margin-bottom: 0.8rem;
}
.pricing-card i {
  color: var(--accent);
  margin-right: 0.6rem;
}

.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f2a42, #1e3c5c);
  color: white;
}
.cta-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.signup-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.signup-form input, .signup-form select, .signup-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  font-family: inherit;
}
.signup-form textarea {
  margin-bottom: 1rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .cta-flex { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

/* footer */
.footer {
  background: #0b1a2a;
  color: #cbd5e1;
  padding: 2rem 0 1.5rem;
  margin-top: auto;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-brand a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: right;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #2d3e4e;
  padding-top: 1.5rem;
  font-size: 0.7rem;
}
.footer-disclaimer {
  flex: 2;
  min-width: 200px;
}
.footer-copyright {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-copyright {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .signup-form {
    padding: 1.25rem;
  }
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
  .stats-grid {
    gap: 0.75rem;
  }
  .stat-card h3 {
    font-size: 1.4rem;
  }
  .stat-card p {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .header-notice {
    word-break: break-all;
  }
  .logo a {
    flex-direction: column;
  }
  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }
  .footer-contact,
  .footer-brand span,
  .footer-disclaimer {
    word-break: break-all;
  }
  .stat-card,
  .stat-card h3,
  .stat-card p,
  .stat-footnote {
    word-break: break-all;
  }
}