/* ============================================
   Clutter Buddy — Marketing Site Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: #333;
  background: #FBF7F2;
  line-height: 1.6;
}

a {
  color: #4A9E5C;
  text-decoration: none;
}

a:hover {
  color: #3A7E4A;
}

img {
  max-width: 100%;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #333;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo:hover {
  color: #4A9E5C;
}

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

.nav-links a {
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4A9E5C;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, #E8F5E9 0%, #FBF7F2 100%);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.hero .subheadline {
  font-size: 1.15rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto 32px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #333;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s;
}

.store-btn:hover {
  background: #4A9E5C;
  color: #fff;
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn .btn-label small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.85;
}

.store-btn .btn-label strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

/* --- Features --- */
.features {
  padding: 70px 20px;
}

.features h2,
.how-it-works h2,
.cta-section h2,
.page-header h1,
.faq-section h2,
.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: #E8F5E9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: #4A9E5C;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* --- How It Works --- */
.how-it-works {
  padding: 70px 20px;
  background: #E8F5E9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #4A9E5C;
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step p {
  color: #555;
  font-size: 0.95rem;
}

/* --- Bottom CTA --- */
.cta-section {
  padding: 70px 20px;
  text-align: center;
}

.cta-section p {
  color: #666;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(180deg, #E8F5E9 0%, #FBF7F2 100%);
  padding: 50px 20px 30px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-header p {
  color: #666;
}

/* --- Legal / Content Pages --- */
.content-section {
  padding: 40px 20px 60px;
}

.content-section .container {
  max-width: 780px;
}

.content-section h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  color: #333;
}

.content-section p,
.content-section li {
  color: #555;
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.content-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* --- FAQ --- */
.faq-section {
  padding: 50px 20px 40px;
}

.faq-section .container {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  overflow: hidden;
}

summary {
  padding: 18px 24px;
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: #4A9E5C;
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: '−';
}

details .faq-body {
  padding: 0 24px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Contact --- */
.contact-section {
  padding: 40px 20px 60px;
  text-align: center;
}

.contact-section p {
  color: #555;
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4A9E5C;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.2s;
}

.contact-email:hover {
  background: #3A7E4A;
  color: #fff;
}

/* --- Footer --- */
.site-footer {
  background: #4A9E5C;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer .copyright {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }

  .features h2,
  .how-it-works h2,
  .cta-section h2,
  .page-header h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 16px 40px;
  }

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

  .hero .subheadline {
    font-size: 1rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .features,
  .how-it-works,
  .cta-section {
    padding: 50px 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-logo svg {
    width: 26px;
    height: 26px;
  }

  summary {
    padding: 14px 18px;
    font-size: 0.97rem;
  }
}
