/* =============================================
   ScopeCoach Website Stylesheet
   Brand Colors:
     Primary Green: #1db954 (logo green)
     Accent Red:    #e8392a (logo red)
     Dark Green:    #0d7a3a
     Light BG:      #f4faf7
     White:         #ffffff
     Text Dark:     #2c3e50
     Text Mid:      #555f6e
     Border:        #e0ece6
   ============================================= */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.7;
}

a { color: #1db954; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0d7a3a; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #2c3e50;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: #555f6e; }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-green  { color: #1db954; }
.text-red    { color: #e8392a; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.section-label {
  display: inline-block;
  background: #e6f9ee;
  color: #0d7a3a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  text-align: center;
}
.btn-primary {
  background: #1db954;
  color: #ffffff;
  border-color: #1db954;
}
.btn-primary:hover {
  background: #0d7a3a;
  border-color: #0d7a3a;
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: #1db954;
  border-color: #1db954;
}
.btn-outline:hover {
  background: #1db954;
  color: #ffffff;
}
.btn-red {
  background: #e8392a;
  color: #ffffff;
  border-color: #e8392a;
}
.btn-red:hover {
  background: #b52a1e;
  border-color: #b52a1e;
  color: #ffffff;
}

/* --- Navigation --- */
.navbar {
  background: #ffffff;
  border-bottom: 2px solid #e0ece6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo img { height: 52px; width: auto; }
.navbar-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: #e8392a;
}
.navbar-logo span em {
  color: #1db954;
  font-style: normal;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c3e50;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: #e6f9ee;
  color: #0d7a3a;
}
.nav-links .nav-cta a {
  background: #1db954;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 50px;
}
.nav-links .nav-cta a:hover {
  background: #0d7a3a;
  color: #ffffff;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #f4faf7 0%, #e6f9ee 60%, #ffffff 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: #1db954; }
.hero-content p { font-size: 1.15rem; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone-mockup {
  background: #2c3e50;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  width: 220px;
  position: relative;
}
.hero-phone-mockup::before {
  content: '';
  display: block;
  width: 60px;
  height: 8px;
  background: #555;
  border-radius: 4px;
  margin: 0 auto 10px;
}
.hero-phone-screen {
  background: #f4faf7;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 12px;
}
.hero-phone-screen img {
  width: 80px;
  border-radius: 16px;
}
.hero-phone-screen .mock-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
}
.hero-phone-screen .mock-bar {
  width: 100%;
  height: 8px;
  background: #1db954;
  border-radius: 4px;
  opacity: 0.7;
}
.hero-phone-screen .mock-bar.short { width: 70%; opacity: 0.4; }
.hero-phone-screen .mock-bar.shorter { width: 50%; opacity: 0.25; }
.hero-phone-screen .mock-step {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.mock-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6f9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.mock-step-text { font-size: 0.7rem; color: #555f6e; font-weight: 600; }

/* --- Section Styles --- */
.section { padding: 72px 0; }
.section-alt { background: #f4faf7; }
.section-dark { background: #1a3a2a; color: #ffffff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #ffffff; }
.section-dark p { opacity: 0.85; }

.section-header { margin-bottom: 48px; }
.section-header p { font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* --- Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid #e0ece6;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #e6f9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card-icon.red-bg { background: #fde8e6; }
.card h3 { margin-bottom: 10px; }

/* --- Steps / QRG --- */
.steps-list { display: flex; flex-direction: column; gap: 28px; }
.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1db954;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29,185,84,0.3);
}
.step-content h3 { margin-bottom: 6px; }

/* --- Screenshot Placeholder --- */
.screenshot-placeholder {
  background: linear-gradient(135deg, #e6f9ee, #f4faf7);
  border: 2px dashed #1db954;
  border-radius: 16px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 12px;
}
.screenshot-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.5; }
.screenshot-placeholder p {
  font-size: 0.9rem;
  color: #0d7a3a;
  font-weight: 600;
  margin: 0;
}
.screenshot-placeholder small {
  font-size: 0.78rem;
  color: #888;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* --- Benefits List --- */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0ece6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.benefit-icon.red { background: #fde8e6; }
.benefit-text strong { display: block; color: #2c3e50; font-size: 0.95rem; }
.benefit-text span { font-size: 0.88rem; color: #777; }

/* --- Stats Bar --- */
.stats-bar {
  background: #1db954;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

/* --- Testimonial / Quote --- */
.quote-block {
  background: #ffffff;
  border-left: 5px solid #1db954;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin: 32px 0;
}
.quote-block p {
  font-size: 1.05rem;
  font-style: italic;
  color: #2c3e50;
  margin: 0;
}
.quote-block cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #1db954;
  font-weight: 700;
  font-style: normal;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-info-box { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f4faf7;
  border-radius: 12px;
  border: 1px solid #e0ece6;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1db954;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; color: #2c3e50; font-size: 0.95rem; }
.contact-info-text span { font-size: 0.9rem; color: #777; }
.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.09);
  border: 1px solid #e0ece6;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0ece6;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2c3e50;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1db954;
  box-shadow: 0 0 0 3px rgba(29,185,84,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, #1a3a2a 0%, #0d7a3a 100%);
  padding: 80px 0;
  color: #ffffff;
}
.about-hero h1 { color: #ffffff; }
.about-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; }
.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 20px;
}
.team-badge span { color: #fff; font-size: 0.9rem; font-weight: 600; }
.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e0ece6;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  text-align: center;
}
.value-card .vc-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

/* --- QRG Page --- */
.qrg-hero {
  background: linear-gradient(135deg, #e6f9ee 0%, #f4faf7 100%);
  padding: 60px 0;
  text-align: center;
}
.qrg-step-block {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid #e0ece6;
  overflow: hidden;
  margin-bottom: 32px;
}
.qrg-step-header {
  background: #1db954;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.qrg-step-header .step-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qrg-step-header h3 { color: #fff; margin: 0; }
.qrg-step-body {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.qrg-step-body.full-width { grid-template-columns: 1fr; }
.qrg-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qrg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #2c3e50;
}
.qrg-checklist li::before {
  content: '✓';
  color: #1db954;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.diet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.diet-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.diet-table th.allowed { background: #e6f9ee; color: #0d7a3a; }
.diet-table th.avoid   { background: #fde8e6; color: #b52a1e; }
.diet-table td { padding: 8px 14px; border-bottom: 1px solid #f0f0f0; }
.diet-table td.allowed { background: #f9fffe; }
.diet-table td.avoid   { background: #fffaf9; }

/* --- Footer --- */
.footer {
  background: #1a2e22;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 300px; }
.footer-col h4 { color: #ffffff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #1db954; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-disclaimer {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  border-left: 3px solid #1db954;
}

/* --- Page Hero Banner (reusable) --- */
.page-hero {
  background: linear-gradient(135deg, #f4faf7 0%, #e6f9ee 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 2px solid #e0ece6;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* --- App Download Banner --- */
.download-banner {
  background: linear-gradient(135deg, #1db954 0%, #0d7a3a 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.download-banner h2 { color: #fff; margin-bottom: 12px; }
.download-banner p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 28px; }
.store-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.store-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }
.store-btn .store-icon { font-size: 1.4rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qrg-step-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
