/* ============================================================
   Clearstream Media — styles.css
   ============================================================ */

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

/* Variables */
:root {
  --primary:       #1E40AF;
  --primary-dark:  #1e3a8a;
  --secondary:     #0F766E;
  --secondary-dk:  #0d6461;
  --accent:        #DC2626;
  --accent-dark:   #b91c1c;
  --bg:            #FFFFFF;
  --bg-light:      #F3F4F6;
  --text:          #1F2937;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --radius:        8px;
  --shadow:        0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* Base */
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg-light); color: var(--primary); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

/* ── NAVIGATION ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.1rem;
  margin-left: 0.5rem;
}

.nav-links .nav-cta:hover { background: var(--accent-dark); color: #fff; }
.nav-links .nav-cta.active { background: var(--accent-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 0.85rem 1.5rem;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--bg-light); }
.mobile-nav a.active { color: var(--primary); font-weight: 600; }

/* ── HERO (Home) ── */
.hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero .btn {
  font-size: 1.1rem;
  padding: 1rem 2.4rem;
}

/* ── PAGE HERO (Interior pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ── SECTION COMMON ── */
section { padding: 5rem 0; }

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── PROBLEMS SECTION ── */
.problems { background: var(--bg-light); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
}

.problem-card .problem-icon {
  width: 48px;
  height: 48px;
  background: #ecfdf5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-style: italic;
  color: var(--primary);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── OUTCOMES SECTION ── */
.outcomes-inner {
  max-width: 820px;
  margin: 0 auto;
}

.outcomes-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
}

.outcome-item svg { flex-shrink: 0; color: var(--secondary); margin-top: 2px; }

.outcome-item p { font-size: 0.95rem; margin: 0; }

.outcomes-cta { text-align: center; }

/* ── PRICING ── */
.pricing { background: var(--bg-light); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}

.pricing-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.pricing-card .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-card .price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card .feature-list { margin-bottom: 2rem; }

.pricing-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card .feature-list li:last-child { border-bottom: none; }
.pricing-card .feature-list li svg { flex-shrink: 0; color: var(--secondary); margin-top: 2px; }

/* ── ADD-ONS ── */
.addons { padding-top: 0; }

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.addon-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 3px solid var(--secondary);
}

.addon-card h4 { margin-bottom: 0.4rem; }

.addon-card .addon-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.addon-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--bg-light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 25px;
  left: calc(10% + 12px);
  right: calc(10% + 12px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.step h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.faq-item p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ── ABOUT PAGE ── */
.about-block {
  padding: 4.5rem 0;
}

.about-block:nth-child(even) { background: var(--bg-light); }

.about-inner {
  max-width: 780px;
  margin: 0 auto;
}

.about-inner h2 {
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-size: 1.7rem;
}

.about-inner p { color: var(--text-muted); }

.pain-points {
  list-style: none;
  margin: 1rem 0 1rem 0;
}

.pain-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pain-points li svg { flex-shrink: 0; color: var(--accent); margin-top: 4px; }

.personal-note {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3rem;
  border-radius: 12px;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  position: relative;
}

.personal-note::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 5rem;
  opacity: 0.2;
  font-style: normal;
  line-height: 1;
}

.personal-note cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 700;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.portfolio-thumb .play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.portfolio-card:hover .play-btn {
  background: rgba(255,255,255,0.35);
}

.portfolio-body { padding: 1.4rem; }

.portfolio-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }

.portfolio-body .church-name {
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.portfolio-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.portfolio-body a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.portfolio-body a:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}

.form-group textarea { height: 160px; resize: vertical; }

.optional { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

.contact-sidebar {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid var(--primary);
}

.contact-sidebar h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-item-text a,
.contact-item-text p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.contact-item-text a:hover { color: var(--primary); text-decoration: underline; }

.response-note {
  margin-top: 2rem;
  padding: 1rem;
  background: #ecfdf5;
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
  font-size: 0.9rem;
  color: var(--secondary-dk);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 2.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
footer {
  background: #111827;
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  display: block;
  text-decoration: none;
}

.footer-brand .footer-logo span { color: var(--secondary); }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .problems-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 1rem; }
  .addons-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 3.5rem 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 4rem 0 3.5rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .personal-note { padding: 2rem 1.5rem; }
}
