/* TowardGod Landing Page - Shared Styles */

:root {
  --gold: #FFBF00;
  --gold-dark: #E6AC00;
  --charcoal: #333333;
  --toward-green: #2F7D32;
  --prayer-blue: #2D6CDF;
  --away-amber: #C58B00;
  --bg: #FFFFFF;
  --surface: #F6F6F6;
  --surface-2: #F1F1F1;
  --divider: #E6E6E6;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #999999;
  --radius: 16px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ─── Layout ─── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-image: url('/apple-touch-icon.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 191, 0, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--charcoal);
  background: var(--surface);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

.btn-store:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-store-google {
  cursor: default;
  pointer-events: none;
}

.btn-store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store-label {
  font-size: 10px;
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.btn-store-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Centered "Coming Soon" pill overlay on Google Play button */
.store-badge-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #5B8DEF;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  white-space: nowrap;
  pointer-events: none;
}

/* ─── Hero ─── */

.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 60%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--toward-green);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-mockup {
  max-width: 340px;
  margin: 0 auto;
  background: var(--charcoal);
  border-radius: 44px;
  padding: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.08);
  position: relative;
}

.hero-mockup-screen {
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/17;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 12px;
}

.mockup-status-bar {
  height: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.3;
}

.mockup-post {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.mockup-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mockup-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
}

.mockup-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
}

.mockup-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 600;
  margin-left: auto;
}

.label-toward {
  background: #E8F5E9;
  color: var(--toward-green);
}

.label-prayer {
  background: #E3F0FF;
  color: var(--prayer-blue);
}

.label-away {
  background: #FFF8E1;
  color: var(--away-amber);
}

.mockup-text {
  font-size: 10px;
  color: #555;
  line-height: 1.5;
}

/* ─── Features ─── */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

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

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--divider);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* ─── Labels Section ─── */

.labels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.label-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.label-card-toward {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}

.label-card-prayer {
  background: linear-gradient(135deg, #E3F0FF, #BBDEFB);
}

.label-card-away {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
}

.label-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.label-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.label-card-toward h3 { color: var(--toward-green); }
.label-card-prayer h3 { color: var(--prayer-blue); }
.label-card-away h3 { color: var(--away-amber); }

.label-card p {
  font-size: 14px;
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.6;
}

/* ─── Download Section ─── */

.download-section {
  background: var(--charcoal);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}

.download-section h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.download-section p {
  font-size: 17px;
  opacity: 0.7;
  max-width: 440px;
  margin: 0 auto 48px;
}

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

.download-buttons .btn-store {
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─── Footer ─── */

footer {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── Legal Pages ─── */

.legal-hero {
  padding: 120px 24px 64px;
  text-align: center;
  background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--divider);
}

.legal-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--prayer-blue);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-content .updated {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ─── Support Page ─── */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.support-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.support-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.support-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
