/* Clean, Minimalist, Calm Styling - BumpSafety Theme */
:root {
  /* Brand Colors */
  --primary: #FF9F88;
  /* Soft active peach */
  --primary-rgb: 255, 159, 136;
  --secondary: #FFD6C9;
  /* Light peach background */

  /* Status Colors */
  --safe: #88D498;
  --caution: #FFD275;
  --avoid: #FF8888;

  /* Functional Colors */
  --background: #FAFAFA;
  /* Neutral Soft Gray/White */
  --surface: #FFFFFF;
  --border: #E5E5E5;

  /* Text */
  --text-primary: #2D2D2D;
  --text-secondary: #757575;
  --text-tertiary: #BDBDBD;

  /* Styling */
  --shadow-sm: 0 4px 12px rgba(255, 159, 136, 0.15);
  /* Tinted shadow */
  --shadow-md: 0 8px 24px rgba(255, 159, 136, 0.20);
  --radius: 24px;
  --max-width: 1100px;
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

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

a:hover {
  opacity: 0.8;
}

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

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* Sections */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  padding-top: 160px;
  /* More space for navbar */
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(255, 159, 136, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 214, 201, 0.2), transparent 40%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 400;
}

.app-store-badge svg {
  height: 56px;
  /* Match button height of design system */
  width: auto;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.app-store-badge svg:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  /* Decorative blob */
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  /* background: var(--secondary); */
  /* filter: blur(60px); */
  opacity: 0.4;
  z-index: -1;
  border-radius: 50%;
  top: -10%;
  left: -10%;
}

.hero-image img {
  max-width: 320px;
  height: auto;
  /* border-radius: 40px; */
  /* iPhone corner radius match */
  /* box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1); */
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.icon-circle {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 159, 136, 0.15);
  /* Primary with opacity */
  border-radius: 50%;
  color: var(--primary);
  /* Icon color */
}

.icon-circle svg {
  width: 40px;
  height: 40px;
  stroke-width: 2px;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--background);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid transparent;
  /* Prepare for hover */
}

.quote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.faq-item {
  margin-bottom: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 4rem;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transform: translateY(-50%);
  top: 50%;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 2rem 2rem 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 4rem 0;
  margin-top: 0;
  background: var(--background);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 0;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 2.75rem;
  }

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

  .nav-content {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 1.5rem;
  }
}