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

:root {
  --primary: #006e2f;
  --primary-container: #22c55e;
  --on-primary-container: #004b1e;
  --on-primary: #ffffff;
  --inverse-primary: #4ae176;
  --surface: #f3fcef;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #edf6ea;
  --surface-container: #e8f0e4;
  --on-surface: #161d16;
  --on-surface-variant: #3d4a3d;
  --outline-variant: #bccbb9;
  --secondary: #006591;
  --error: #ba1a1a;
  --success-light: #DCFCE7;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--on-surface);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Layout ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* ===== Typography ===== */

.headline-lg {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.headline-md {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.body-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.label-bold {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.label-sm {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

/* ===== Shared Components ===== */

.tonal-elevation {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.card-shadow {
  border: 1px solid var(--slate-200);
}

/* ===== Top Nav ===== */

.top-nav {
  background: var(--surface-container-lowest);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.top-nav .logo {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--primary);
}

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

.top-nav .nav-links a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--on-surface-variant);
  transition: color 0.2s;
}

.top-nav .nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

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

.top-nav .nav-links a.active {
  border-bottom-color: var(--primary);
}

.btn-primary {
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ===== Footer ===== */

.footer {
  background: var(--surface-container-low);
  border-top: 1px solid var(--outline-variant);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer .logo {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--primary);
}

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

.footer .footer-links a {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.2s;
}

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

.footer .copyright {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--on-surface-variant);
}

/* ===================== */
/* LANDING PAGE          */
/* ===================== */

/* Hero */

.hero {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 18px;
  line-height: 28px;
  color: var(--slate-600);
  max-width: 560px;
}

.hero-text .btn-hero {
  display: inline-block;
  margin-top: 24px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.hero-text .btn-hero:hover {
  opacity: 0.9;
}

.hero-image {
  flex: 0.5;
}

.hero-image .phone-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  background: white;
  padding: 16px;
}

.hero-image .phone-frame img {
  border-radius: 16px;
  width: 100%;
}

/* Features Bento Grid */

.features-section {
  background: var(--slate-100);
  padding: 96px 0;
}

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

.section-header h2 {
  color: var(--slate-900);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--slate-600);
}

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

.bento-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.bento-card.span-8 {
  grid-column: span 8;
}

.bento-card.span-4 {
  grid-column: span 4;
}

.bento-card.span-12 {
  grid-column: span 12;
}

.bento-card.green {
  background: var(--primary);
  color: white;
  border: none;
}

.bento-card.green p {
  color: rgba(255, 255, 255, 0.8);
}

.bento-card.light-green {
  background: var(--surface-container-low);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-icon.green-bg {
  background: var(--success-light);
}

.bento-icon.green-bg .material-symbols-outlined {
  color: var(--primary);
}

.bento-icon.white-bg {
  background: rgba(255, 255, 255, 0.2);
}

.bento-icon.white-bg .material-symbols-outlined {
  color: white;
}

.bento-icon.blue-bg {
  background: rgba(0, 101, 145, 0.1);
}

.bento-icon.blue-bg .material-symbols-outlined {
  color: var(--secondary);
}

.bento-icon.plain-white {
  background: white;
}

.bento-icon.plain-white .material-symbols-outlined {
  color: var(--primary);
}

.bento-card h3 {
  color: var(--slate-900);
  margin-bottom: 16px;
}

.bento-card.green h3 {
  color: white;
}

.bento-card p {
  color: var(--slate-600);
}

.bento-tags {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.bento-tag {
  padding: 8px 16px;
  background: var(--surface-container-low);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.bento-card .feature-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--slate-100);
  margin-top: 24px;
}

.bento-split {
  display: flex;
  gap: 32px;
  align-items: center;
}

.bento-split > div {
  flex: 1;
}

.bento-split img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Pricing */

.pricing-section {
  padding: 96px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.pricing-card {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  background: white;
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: var(--primary);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transform: scale(1.05);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.pricing-card .plan-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pricing-card.featured .plan-label {
  color: var(--primary);
}

.pricing-card .price {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.pricing-card .price span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--slate-500);
}

.pricing-card ul {
  margin-bottom: 32px;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.pricing-card ul li:last-child {
  margin-bottom: 0;
}

.pricing-card ul li .material-symbols-outlined {
  color: var(--primary);
  font-size: 18px;
}

.btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  text-align: center;
}

.btn-plan-secondary {
  background: var(--slate-100);
  color: var(--slate-900);
}

.btn-plan-secondary:hover {
  background: var(--slate-200);
}

.btn-plan-primary {
  background: var(--primary);
  color: white;
  border-radius: 9999px;
  padding: 12px 32px;
  width: auto;
}

.btn-plan-primary:hover {
  opacity: 1;
}

/* Privacy */

.privacy-section {
  padding: 96px 0;
  background: var(--slate-900);
  color: white;
}

.privacy-section .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.privacy-content {
  flex: 1;
}

.privacy-content h2 {
  margin-bottom: 24px;
}

.privacy-content > p {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.privacy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.privacy-features .material-symbols-outlined {
  color: var(--inverse-primary);
  font-size: 30px;
  margin-bottom: 8px;
  display: block;
}

.privacy-features h4 {
  font-size: 14px;
  font-weight: 600;
}

.privacy-badge {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 48px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.privacy-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(74, 225, 118, 0.2);
  margin-bottom: 24px;
}

.privacy-badge .badge-icon .material-symbols-outlined {
  color: var(--inverse-primary);
  font-size: 36px;
}

.privacy-badge p {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

/* Testimonials */

.testimonials-section {
  padding: 96px 0;
  background: var(--surface);
}

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

.testimonial-card {
  padding: 40px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--primary);
}

.testimonial-card blockquote {
  font-size: 18px;
  line-height: 28px;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--slate-200);
  border-radius: 50%;
}

.testimonial-author h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
}

.testimonial-author p {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
}

/* ===================== */
/* SUPPORT PAGE          */
/* ===================== */

body.support-page {
  background: var(--surface-container-low);
}

.support-hero {
  padding-top: 32px;
  padding-bottom: 48px;
}

.support-hero h1 {
  margin-bottom: 16px;
}

.support-hero p {
  color: var(--on-surface-variant);
  max-width: 640px;
}

/* How It Works */

.how-it-works {
  background: var(--surface-container-lowest);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--slate-200);
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.how-it-works-content {
  flex: 1;
}

.how-it-works-content .section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.how-it-works-content .section-label .material-symbols-outlined {
  color: var(--primary);
}

.how-it-works-content .info-block {
  margin-bottom: 24px;
}

.how-it-works-content .info-block:last-child {
  margin-bottom: 0;
}

.how-it-works-content .info-block h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.how-it-works-content .info-block p {
  color: var(--on-surface-variant);
}

.how-it-works-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.how-it-works-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */

.faq-section {
  margin-bottom: 32px;
}

.faq-section .section-header {
  margin-bottom: 48px;
}

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

.faq-card {
  background: var(--surface-container-lowest);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.3s, transform 0.3s;
}

.faq-card:hover {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.faq-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.faq-icon.green {
  background: var(--success-light);
}

.faq-icon.green .material-symbols-outlined {
  color: var(--primary);
}

.faq-icon.blue {
  background: #eff6ff;
}

.faq-icon.blue .material-symbols-outlined {
  color: var(--secondary);
}

.faq-icon.red {
  background: #fef2f2;
}

.faq-icon.red .material-symbols-outlined {
  color: var(--error);
}

.faq-card h3 {
  margin-bottom: 16px;
}

.faq-card p {
  color: var(--on-surface-variant);
}

/* Contact */

.contact-section {
  background: var(--surface-container-lowest);
  border-radius: 16px;
  padding: 32px 48px;
  border: 1px solid var(--slate-200);
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
}

.contact-section .decorative-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-section .contact-desc {
  color: var(--on-surface-variant);
  margin-bottom: 32px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.contact-email .material-symbols-outlined {
  color: var(--primary);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-nav .nav-links {
    display: none;
  }

  .hero {
    flex-direction: column;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero-text p {
    margin: 0 auto;
  }

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

  .bento-card.span-8,
  .bento-card.span-4 {
    grid-column: span 1;
  }

  .bento-split {
    flex-direction: column;
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .privacy-section .container {
    flex-direction: column;
  }

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

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .how-it-works {
    flex-direction: column;
  }

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

  .contact-section {
    padding: 32px;
  }
}
