/* LifeVerse Journal – Modern Reverent Styles */
:root {
  --blue-deep: #0B1D3A;
  --blue-mid: #15305A;
  --blue-soft: #1E3A6E;
  --gold: #D4A84B;
  --gold-light: #F0D9A0;
  --cream: #F8F4EC;
  --off-white: #FDFBF7;
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
  --border: #E8E2D6;
  --success: #2E7D4F;
  --shadow: 0 8px 30px rgba(11, 29, 58, 0.08);
  --shadow-hover: 0 12px 40px rgba(11, 29, 58, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--blue-deep);
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--gold);
  font-weight: 500;
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a:hover,
.nav a.active {
  color: var(--blue-deep);
}

.nav-cta {
  background: var(--blue-deep);
  color: white !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-deep);
  margin: 5px 0;
  transition: 0.25s;
}

/* ========== Hero ========== */
.hero {
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-deep);
  color: white;
  box-shadow: 0 4px 16px rgba(11, 29, 58, 0.25);
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(11, 29, 58, 0.3);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--blue-deep);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--blue-deep);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== Sections ========== */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

/* Showcase / Screenshots */
.showcase {
  background: var(--cream);
  padding: 4.5rem 1.5rem;
}

.showcase-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.showcase-grid:nth-child(even) {
  direction: rtl;
}

.showcase-grid:nth-child(even) > * {
  direction: ltr;
}

.showcase-text h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}

.showcase-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.showcase-text ul {
  list-style: none;
  margin-top: 1rem;
}

.showcase-text li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.showcase-text li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.phone-frame {
  background: #111;
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-hover);
  max-width: 280px;
  margin: 0 auto;
}

.phone-frame img {
  border-radius: 20px;
  width: 100%;
}

/* Journey highlight */
.journey-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.journey-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.journey-banner p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto;
}

/* Testimonials placeholder */
.testimonials {
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
}

.testimonials h3 {
  font-family: var(--font-serif);
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
}

/* ========== Legal pages ========== */
.page-header {
  background: var(--cream);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin: 2.2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--blue-mid);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.legal-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact page */
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  background: var(--off-white);
  transition: border-color 0.2s;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-grid:nth-child(even) {
    direction: ltr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phone-frame {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1.25rem 4rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}