/* Design System Properties */
:root {
  /* Colors */
  --bg-color: #FFFFFF;
  --surface-color: #F7F7F5;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #B0B0B0;
  --accent: #2E7D7D;
  --accent-light: #EBF4F4;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-max-width: 960px;
  --card-gap: 24px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
}

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

/* Typography Classes */
.label, .section-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.label {
  font-size: 12px;
  letter-spacing: 0.12em;
}

h1.display {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: 40px;
  margin-bottom: 32px;
}

h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Utility Classes */
.bg-surface {
  background-color: var(--surface-color);
}

section {
  padding: var(--section-padding) 0;
}

/* Buttons and Links */
.btn-outline, .btn-primary, .btn-teal-outline {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline {
  padding: 10px 20px;
  border: 1.5px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.btn-primary {
  padding: 12px 28px;
  border-radius: 8px;
  background-color: var(--text-primary);
  color: var(--bg-color);
  border: 1.5px solid var(--text-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-teal-outline {
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-teal-outline:hover {
  background-color: var(--accent);
  color: var(--bg-color);
}

.link-teal {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

.link-teal:hover {
  opacity: 0.8;
}

/* 1. Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E8E8E8;
  z-index: 100;
}

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

.nav-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* 2. Hero */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0;
}

.hero .subtext {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* 3. The Problem */
.problem .problem-text {
  font-size: 17px;
  color: #4A4A4A;
  line-height: 1.8;
  max-width: 640px;
}

.problem .problem-text p {
  margin-bottom: 24px;
}

.problem .problem-text p:last-child {
  margin-bottom: 0;
}

/* 4. Products */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  margin-top: 48px;
}

.card {
  background-color: var(--surface-color);
  padding: 32px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.card-body {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.deliverable {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

/* 5. About */
.about .about-content {
  max-width: 720px;
}

.about-text p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 17px;
}

.about-text .signature {
  margin-top: 40px;
  font-style: italic;
  color: var(--accent);
}

.about-text .sig-title {
  color: var(--text-secondary);
}

/* 6. Newsletter */
.newsletter-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-box p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 17px;
}

/* 7. Footer */
.footer {
  background-color: var(--text-primary);
  color: var(--text-muted);
  padding: 80px 0 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  font-size: 18px;
  color: var(--bg-color);
  font-weight: 500;
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-right a {
  font-size: 15px;
}

.footer-right a:hover {
  color: var(--bg-color);
}

.footer-bottom {
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries (Mobile) */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  h1.display {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

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

  .footer-right {
    flex-direction: column;
    gap: 16px;
  }

  .cta-group {
    flex-direction: column;
  }
}
