/* ============================================================
   THE WORSHIPER — Main Stylesheet
   Palette: Cream #F5F0E8 | Gold #C9922A | Dark #1C1207 | Gray #6B6459
   ============================================================ */

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

:root {
  --cream:        #F5F0E8;
  --cream-dark:   #EDE7DA;
  --white:        #FFFFFF;
  --gold:         #C9922A;
  --gold-light:   #E2A83A;
  --gold-pale:    #F7E9CC;
  --dark:         #1C1207;
  --brown:        #3B2E1A;
  --gray:         #6B6459;
  --gray-light:   #9A9087;
  --border:       #E2D8C8;
  --shadow:       rgba(60, 40, 10, 0.08);
  --shadow-md:    rgba(60, 40, 10, 0.14);
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --radius:       14px;
  --radius-pill:  999px;
  --nav-h:        72px;
  --section-py:   80px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.text-gold { color: var(--gold); }
.section { padding: var(--section-py) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,146,42,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.55);
  color: var(--brown);
  border: 2px solid var(--border);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--gray-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-pale);
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-pill { border-radius: var(--radius-pill); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px var(--shadow);
}
.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; font-size: 1.25rem; color: var(--dark); margin-left: auto; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: 0;
    box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: 
    linear-gradient(135deg, rgba(245,240,232,0.92) 0%, rgba(237,231,218,0.88) 100%),
    url('https://images.unsplash.com/photo-1508739773434-c26b3d09e071?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,146,42,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,146,42,0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-badge i { font-size: 0.55rem; }
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-accent {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero mockup */
.hero-mockup { flex-shrink: 0; }
.mockup-frame {
  width: 240px;
  height: 420px;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--white), var(--cream-dark));
  border: 1.5px solid var(--border);
  box-shadow: 0 24px 60px var(--shadow-md), 0 4px 16px var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #fdf8f0 0%, #f0e8d5 100%);
  display: flex; align-items: center; justify-content: center;
}
.mockup-inner { text-align: center; }
.mockup-glow {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,146,42,0.3), transparent 70%);
  margin: 0 auto 16px;
}
.mockup-logo-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 8px 24px rgba(201,146,42,0.4);
}
.mockup-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero-content { flex-direction: column; gap: 40px; padding: 60px 24px; }
  .hero-mockup { display: none; }
  .hero-headline { font-size: 2.2rem; }
}

/* ============================================================
   OUR STORY
   ============================================================ */
.our-story {
  background: var(--white);
}
.story-icon {
  font-size: 2rem;
  color: #9B8BD0;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.story-text {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--cream); }
.features-header { margin-bottom: 52px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-md);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.feature-icon--amber  { background: rgba(201,146,42,0.12); color: var(--gold); }
.feature-icon--blue   { background: rgba(79,130,210,0.12); color: #4F82D2; }
.feature-icon--green  { background: rgba(76,175,80,0.12);  color: #4CAF50; }
.feature-icon--purple { background: rgba(155,139,208,0.12);color: #9B8BD0; }
.feature-icon--rose   { background: rgba(230,100,130,0.12);color: #E66482; }
.feature-icon--teal   { background: rgba(38,166,154,0.12); color: #26A69A; }

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.waitlist-title { margin-bottom: 16px; }
.waitlist-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.waitlist-form { max-width: 460px; margin: 0 auto; }
.form-row {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
}
.input-pill {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
}
.input-pill::placeholder { color: var(--gray-light); }
.form-msg {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 20px;
  transition: color 0.3s;
}
.form-msg.success { color: #2E7D32; }
.form-msg.error   { color: #C62828; }

.store-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}
.store-badge:hover { background: var(--brown); transform: translateY(-2px); }
.badge-platform {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-icon { background: var(--gold); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.text-muted-link { color: rgba(255,255,255,0.35) !important; cursor: default; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom .text-gold { margin: 0 2px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   CONTACT & PRIVACY SHARED PAGE STYLES
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--dark); }
.page-hero p { font-size: 1rem; color: var(--gray); margin-top: 12px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 72px 0;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.contact-item-text p, .contact-item-text a { font-size: 0.88rem; color: var(--gray); }
.contact-item-text a:hover { color: var(--gold); text-decoration: underline; }

.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px var(--shadow);
}
.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-form-card > p { font-size: 0.88rem; color: var(--gray); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group label .required { color: var(--gold); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
  background: var(--white);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6459' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; width: 100%; }
.contact-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.contact-success .success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(76,175,80,0.12);
  color: #4CAF50;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.contact-success h4 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--dark); margin-bottom: 10px; }
.contact-success p { font-size: 0.95rem; color: var(--gray); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.privacy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 72px 0 80px;
  align-items: start;
}
.privacy-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.privacy-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  margin-bottom: 14px;
}
.privacy-toc ul { display: flex; flex-direction: column; gap: 6px; }
.privacy-toc a {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 5px 12px;
  border-radius: 8px;
  display: block;
  transition: background 0.2s, color 0.2s;
  border-left: 2px solid transparent;
}
.privacy-toc a:hover, .privacy-toc a.active {
  background: var(--gold-pale);
  color: var(--gold);
  border-left-color: var(--gold);
}

.privacy-content { min-width: 0; }
.privacy-section { margin-bottom: 52px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.privacy-section h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.privacy-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin: 20px 0 8px;
}
.privacy-section p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
}
.privacy-section ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.privacy-section a { color: var(--gold); }
.privacy-section a:hover { text-decoration: underline; }
.privacy-highlight {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.privacy-highlight p { color: var(--brown); font-size: 0.92rem; margin: 0; }

@media (max-width: 768px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-toc { position: static; display: none; }
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}
