/* ============================================
   Lifestream Chronicles — Website Stylesheet
   ============================================ */

/* --- Accessibility: visually hidden, available to screen readers --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- CSS Custom Properties (matching app theme) --- */
:root {
  --navy: #0A1628;
  --navy-light: #162033;
  --navy-dark: #060F1A;
  --cream: #F5F0E8;
  --cream-dark: #EBE4D6;
  --cream-light: #F9F6F0;
  --gold: #C9A96E;
  --gold-light: #D4BA8A;
  --gold-dark: #B08F52;
  --charcoal: #2D2D2D;
  --charcoal-light: #5A5A5A;
  --charcoal-muted: #8A8A8A;
  --rose: #B88A8A;
  --rose-light: #D4B5B5;
  --error: #C0392B;
  --white: #FFFFFF;
  --max-width: 1200px;
  --radius: 16px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

.script-text {
  font-family: 'Dancing Script', cursive;
  color: var(--rose);
}

.sans {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--charcoal-muted); }

.section-padding {
  padding: 100px 0;
}

/* --- Gold Divider --- */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  border: none;
  margin: 20px auto 0;
  border-radius: 2px;
}

.gold-divider-left {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  border: none;
  margin: 20px 0 0;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold-dark));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline-white:hover {
  background: var(--cream);
  color: var(--navy);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated river lines */
.hero-river {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  height: 200px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-river svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(201, 169, 110, 0.2);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  color: var(--gold);
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .subtitle {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: inherit;
  margin: 0 0 0 0.25em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .tagline {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream-dark);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features Section --- */
.features {
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
  border-color: rgba(201, 169, 110, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--charcoal-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
}

.how-it-works .section-header h2 {
  color: var(--gold);
}

.how-it-works .section-header p {
  color: var(--cream-dark);
}

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

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.step h3 {
  color: var(--cream);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.step p {
  color: var(--cream-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Showcase / App Preview --- */
.showcase {
  background: var(--cream-light);
  overflow: hidden;
}

.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

.showcase-image img {
  width: 100%;
  transition: transform 0.6s ease;
}

.showcase-image:hover img {
  transform: scale(1.03);
}

.showcase-text h2 {
  margin-bottom: 16px;
}

.showcase-text p {
  color: var(--charcoal-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.showcase-list {
  list-style: none;
  margin-bottom: 32px;
}

.showcase-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--charcoal);
  font-size: 1rem;
}

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

/* --- Pricing Section --- */
.pricing {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.2);
}

.pricing-card.featured .pricing-badge {
  display: block;
}

.pricing-badge {
  display: none;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.pricing-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.pricing-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.pricing-card .price-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--charcoal-muted);
  margin-bottom: 20px;
}

.pricing-card .tagline {
  font-style: italic;
  color: var(--charcoal-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  border-top: 1px solid var(--cream-dark);
  padding-top: 16px;
  margin-top: 8px;
  line-height: 1.5;
}

/* --- Testimonial / Quote --- */
.testimonial {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: var(--cream);
  text-align: center;
}

.testimonial blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream-dark);
}

.testimonial blockquote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial .attribution {
  margin-top: 24px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--gold-light);
}

/* --- Contact Section --- */
.contact {
  background: var(--cream-light);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper h2 {
  margin-bottom: 16px;
}

.contact-wrapper > p {
  color: var(--charcoal-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

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

.contact-form .btn {
  width: 100%;
  text-align: center;
  border: none;
  font-size: 1rem;
  padding: 16px;
}

.contact-email {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal-muted);
}

.contact-email a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: var(--cream-dark);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.footer-brand p {
  color: var(--cream-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--cream-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--charcoal-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero h1 { font-size: 2.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-image {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .testimonial blockquote {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 90px; height: 90px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; max-width: 280px; }
}

/* --- Animations on scroll (simple) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Moments / Life in Frames --- */
.moments {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
  overflow: hidden;
}

.moments .moments-text h2 {
  color: var(--gold);
}

.moments .moments-text p {
  color: var(--cream-dark);
}

.moments .showcase-list li {
  color: var(--cream-dark);
}

/* Framed "album print" treatment */
.moments-photo {
  margin: 0;
  background: var(--cream-light);
  padding: 14px 14px 20px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.4), 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.5deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.moments-photo:hover {
  transform: rotate(0deg) scale(1.015);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.7), 0 34px 80px rgba(0, 0, 0, 0.55);
}

.moments-photo img {
  width: 100%;
  border-radius: 6px;
}

.moments-photo figcaption {
  text-align: center;
  margin-top: 16px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.35rem;
  color: var(--charcoal-light);
}

/* --- Dedication Band --- */
.dedication {
  background: var(--white);
  text-align: center;
  border-top: 1px solid rgba(10, 22, 40, 0.05);
  border-bottom: 1px solid rgba(10, 22, 40, 0.05);
}

.dedication-ornament {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 44px;
}

.dedication-quote {
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .moments-photo-wrap {
    order: -1;
  }

  .dedication-quote {
    font-size: 1.25rem;
  }
}

/* --- Final Page (Book Image) — full-bleed --- */
.final-page {
  position: relative;
  background: var(--navy-dark);
}

.final-page-fig {
  margin: 0;
}

.final-page-fig img {
  width: 100%;
  display: block;
}

.final-page figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 72px 24px 34px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 15, 26, 0.55) 55%, rgba(6, 15, 26, 0.78) 100%);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--cream-light);
}

.final-page-ornament {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  font-style: normal;
}

@media (max-width: 768px) {
  .final-page figcaption {
    font-size: 1.15rem;
    padding: 56px 20px 26px;
  }
}

/* --- Web App (Live Record) Section --- */
.webapp {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden;
}

.webapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(201, 169, 110, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.webapp .container {
  position: relative;
  z-index: 1;
}

.webapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.webapp-copy h2 {
  color: var(--gold);
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.webapp-copy p {
  color: var(--cream-dark);
  font-size: 1.15rem;
  margin: 24px 0;
}

.webapp-copy .showcase-list {
  margin-bottom: 36px;
}

.webapp-copy .showcase-list li {
  color: var(--cream-dark);
}

.webapp-copy .showcase-list li::before {
  color: var(--gold);
}

.webapp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Phone frame wrapping the live web app */
.webapp-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-frame {
  position: relative;
  width: min(340px, 86%);
  aspect-ratio: 390 / 780;
  border-radius: 44px;
  background: #05090F;
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(201, 169, 110, 0.35);
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #05090F;
  border-radius: 0 0 14px 14px;
  z-index: 3;
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.25);
}

.phone-frame iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 32px;
  background: var(--cream);
}

.webapp-hint {
  color: var(--cream-dark);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.webapp-hint a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 186, 138, 0.4);
  transition: color var(--transition), border-color var(--transition);
}

.webapp-hint a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 1024px) {
  .webapp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .webapp-copy {
    text-align: center;
  }

  .webapp-copy .gold-divider-left {
    margin: 0 auto;
  }

  .webapp-copy .showcase-list {
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .webapp-ctas {
    justify-content: center;
  }

  .phone-frame {
    width: min(320px, 80%);
  }
}
