/* ==========================================================================
   Readary - Ultra Premium Store Buttons & Black-and-White Dark Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Lora:ital,wght@0,400..700;1,400..700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-black: #050407;
  --bg-surface: #0b090e;
  --bg-surface-elevated: #131018;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.25);
  
  --subtle-burgundy: #481e28;
  --subtle-plum: #281432;
  --grad-warm-aura: linear-gradient(135deg, rgba(85, 36, 48, 0.45) 0%, rgba(40, 20, 50, 0.35) 60%, rgba(15, 10, 20, 0) 100%);
  --grad-btn-white: linear-gradient(135deg, #ffffff 0%, #e4e4e7 100%);
  
  --text-heading: #ffffff;
  --text-body: #a1a1aa;
  --text-muted: #71717a;
  
  --font-brand: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-reader: 'Lora', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Ambient Canvas Glow Mesh */
.canvas-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.spotlight-1 {
  position: absolute;
  top: -120px;
  left: 30%;
  width: 700px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(88, 36, 48, 0.35) 0%, rgba(42, 18, 52, 0.25) 50%, transparent 75%);
  filter: blur(90px);
}

.spotlight-2 {
  position: absolute;
  top: 45%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(72, 30, 40, 0.25) 0%, rgba(30, 15, 38, 0.15) 50%, transparent 75%);
  filter: blur(100px);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(5, 4, 7, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.brand-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.nav-store-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.navbar.scrolled .nav-store-buttons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Store Pill Buttons */
.btn-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-appstore-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-appstore-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-googleplay-pill {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-googleplay-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
  background: #ffffff;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 50px 0;
  box-sizing: border-box;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  filter: contrast(1.1) brightness(0.88);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 4, 7, 0.3) 0%,
    rgba(5, 4, 7, 0.7) 50%,
    rgba(5, 4, 7, 0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-layout-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 10px 0;
  box-sizing: border-box;
}

.hero-upper-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-lower-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 840px;
  width: 100%;
}

/* Showcase Section */
.showcase-section {
  padding: 40px 0 80px 0;
}

/* Founder's Diary Notebook UI */
.diary-section {
  padding: 60px 0 20px 0;
  position: relative;
  z-index: 2;
}

.notebook-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.9));
}

.notebook-spiral-header {
  display: flex;
  justify-content: space-around;
  padding: 0 40px;
  position: relative;
  top: 14px;
  z-index: 10;
}

.spiral-ring {
  width: 14px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e4e4e7 0%, #71717a 50%, #27272a 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.notebook-page {
  position: relative;
  background-color: #fbf7ee;
  background-image: 
    repeating-linear-gradient(
      transparent,
      transparent 35px,
      #d4e2ed 35px,
      #d4e2ed 36px
    );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 44px 48px 24px 76px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(212, 197, 169, 0.3);
}

.notebook-margin-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56px;
  width: 2px;
  background: #ef4444;
  box-shadow: none;
  opacity: 0.75;
}

.notebook-content {
  position: relative;
  z-index: 2;
}

.diary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px dashed #c2d3e0;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.washi-tape-badge {
  display: inline-block;
  background: #e2ded4;
  border: 1px dashed #a8a296;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.handwritten-date {
  font-family: 'Caveat', cursive;
  font-size: 1.55rem;
  font-weight: 700;
  color: #475569;
}

.handwritten-entry {
  margin-top: 18px;
}

.handwritten-entry p {
  font-family: 'Caveat', cursive;
  font-size: 1.85rem;
  line-height: 1.9;
  color: #0f172a;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.diary-ink-highlight {
  background: rgba(253, 224, 71, 0.65);
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.diary-ink-highlight-pink {
  background: rgba(251, 113, 133, 0.45);
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.handwritten-signature {
  margin-top: 36px;
  text-align: right;
}

.sign-line {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0284c7;
  font-style: italic;
}

.hero-brand-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.hero-app-icon {
  width: 130px;
  height: 130px;
  border-radius: 22%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-app-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.88);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-app-name {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-app-name .dot-accent {
  color: #ffffff;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.pill-badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title .serif-highlight {
  font-family: var(--font-brand);
  font-weight: 400;
  font-style: italic;
  font-size: 3.8rem;
  color: #ffffff;
}

.hero-description {
  color: var(--text-body);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 28px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Poster Cards Showcase */
.poster-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.poster-card {
  position: relative;
  background: radial-gradient(circle at top left, #301720 0%, #170d1c 45%, #08060a 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 48px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
}

.poster-brand-header {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.poster-title {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.poster-title span.serif {
  font-family: var(--font-brand);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  font-size: 2.6rem;
}

.poster-subtitle {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: 32px;
}

.poster-mockup-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 20px;
}

.phone-screen-container {
  width: 280px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}

.poster-card:hover .phone-screen-container {
  transform: translateY(-6px) scale(1.02);
}

.phone-screen-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
}

.poster-tags-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.poster-tag-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e4e4e7;
}

.poster-tag-item svg {
  color: #ffffff;
}

/* Section Titles */
.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-heading span.serif {
  font-family: var(--font-brand);
  font-weight: 400;
  font-style: italic;
  font-size: 3.2rem;
}

.section-desc {
  color: var(--text-body);
  font-size: 1.1rem;
}

/* Experience Stage */
.experience-section {
  padding: 100px 0;
}

.interactive-phone-stage {
  background: radial-gradient(ellipse at top left, #29141d 0%, #120b18 50%, #060408 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
}

.phone-controls-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-card-box {
  background: rgba(15, 12, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 20px;
}

.control-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.theme-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.theme-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.theme-pill-btn.active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: block;
}

.swatch-dark { background: #000000; }
.swatch-night { background: #16161a; }
.swatch-sepia { background: #f4ecd8; }
.swatch-day { background: #ffffff; }

/* Font Pill Grid */
.font-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.font-pill-btn {
  padding: 9px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.font-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.font-pill-btn.active {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
}

.custom-slider-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.slider-label-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
}

.custom-range {
  width: 100%;
  accent-color: #ffffff;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
}

.phone-canvas-wrapper {
  display: flex;
  justify-content: center;
}

.phone-device-frame {
  width: 100%;
  max-width: 480px;
  background: #000;
  border-radius: 36px;
  border: 10px solid #1c1826;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

.phone-notch-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 4px 0;
  opacity: 0.8;
}

.camera-lens {
  width: 70px;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-app-topbar {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid currentColor;
  opacity: 0.4;
  font-size: 0.8rem;
}

.phone-reading-content {
  padding: 28px 20px;
  min-height: 380px;
  font-family: var(--font-reader);
  font-size: 1.15rem;
  line-height: 1.75;
}

.phone-reading-content h3 {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.phone-reading-content mark.highlight-yellow {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  padding: 2px 4px;
  border-radius: 4px;
}

.phone-reading-content mark.highlight-pink {
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  padding: 2px 4px;
  border-radius: 4px;
}

/* Bento Features */
.features-grid-section {
  padding: 90px 0;
}

.cards-bento-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-item:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.bento-card-item.span-2 {
  grid-column: span 2;
}

.bento-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.bento-card-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.bento-card-item p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6;
}

/* Privacy Ribbon Card */
.privacy-banner-card {
  background: radial-gradient(circle at top right, #351a24 0%, #170d1e 60%, #08060b 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 80px 0;
}

.privacy-banner-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.privacy-banner-card p {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 600px;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.faq-block:hover {
  border-color: var(--border-strong);
}

.faq-block.open {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger svg {
  color: #ffffff;
  transition: transform 0.3s ease;
}

.faq-block.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  padding: 0 28px;
  opacity: 0;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-block.open .faq-body {
  max-height: 400px;
  padding: 0 28px 24px 28px;
  opacity: 1;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  background: #040306;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  color: #ffffff;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

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

.footer-nav-list a {
  color: var(--text-body);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-subtext {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .poster-showcase-grid {
    grid-template-columns: 1fr;
  }

  .interactive-phone-stage {
    grid-template-columns: 1fr;
  }

  .cards-bento-layout {
    grid-template-columns: 1fr;
  }

  .bento-card-item.span-2 {
    grid-column: span 1;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-title .serif-highlight {
    font-size: 3.2rem;
  }

  .privacy-banner-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .navbar {
    padding: 16px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  .brand-mark {
    font-size: 1.5rem;
    gap: 8px;
  }

  .brand-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .nav-store-buttons {
    gap: 6px;
  }

  .btn-store-pill {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .btn-store-pill svg {
    width: 14px;
    height: 14px;
  }

  .hero-section {
    min-height: auto;
    height: auto;
    padding: 50px 0 30px 0;
    display: flex;
    align-items: center;
  }

  .hero-layout-split {
    gap: 20px;
    padding: 0;
  }

  .showcase-section {
    padding: 50px 0;
  }

  .site-footer {
    padding: 50px 0 30px 0;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .diary-section {
    padding: 50px 0 30px 0;
  }

  .notebook-wrapper {
    max-width: 100%;
  }

  .notebook-spiral-header {
    padding: 0 16px;
    top: 10px;
  }

  .spiral-ring {
    width: 10px;
    height: 22px;
    border-radius: 4px;
  }

  .spiral-ring:nth-child(n+7) {
    display: none;
  }

  .notebook-page {
    background-image: 
      repeating-linear-gradient(
        transparent,
        transparent 31px,
        #d4e2ed 31px,
        #d4e2ed 32px
      );
    padding: 36px 16px 28px 36px;
    border-radius: 16px;
  }

  .notebook-margin-line {
    left: 22px;
    width: 1.5px;
  }

  .diary-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .handwritten-date {
    font-size: 1.3rem;
  }

  .handwritten-entry p {
    font-size: 1.35rem;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  .sign-line {
    font-size: 1.65rem;
  }

  .hero-brand-logo {
    margin-bottom: 16px;
    gap: 8px;
  }

  .hero-app-icon {
    width: 105px;
    height: 105px;
    border-radius: 22%;
    padding: 20px;
  }

  .hero-app-name {
    font-size: 1.85rem;
  }

  .hero-header-box {
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 2.1rem;
    margin-bottom: 16px;
  }

  .hero-title .serif-highlight {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 10px;
  }

  .hero-actions .btn-store-pill,
  .hero-actions .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .poster-card {
    padding: 24px 18px;
    min-height: auto;
    border-radius: 24px;
  }

  .poster-title {
    font-size: 1.6rem;
  }

  .poster-title span.serif {
    font-size: 1.85rem;
  }

  .phone-screen-container {
    width: 100%;
    max-width: 200px;
  }

  .interactive-phone-stage {
    padding: 24px 10px;
    border-radius: 24px;
    gap: 24px;
  }

  .phone-device-frame {
    border-width: 6px;
    border-radius: 24px;
  }

  .phone-app-topbar {
    padding: 12px 14px;
  }

  .phone-reading-content {
    padding: 24px 14px;
  }

  .control-card-box {
    padding: 14px;
  }

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

  .section-heading {
    font-size: 1.85rem;
  }

  .section-heading span.serif {
    font-size: 2.1rem;
  }

  .privacy-banner-card {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .privacy-banner-card h3 {
    font-size: 1.5rem;
  }
}

/* Floating Action Button (FAB) Store Widget */
.store-fab-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  pointer-events: none;
}

.store-fab-widget.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Morphing Container Button */
.fab-container-card {
  position: relative;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  width: 148px;
  height: 52px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease;
}

.fab-container-card.expanded {
  width: 220px;
  height: 195px;
  border-radius: 24px;
  background: rgba(12, 9, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Collapsed Trigger Bar */
.fab-trigger-btn {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 14px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fab-container-card.expanded .fab-trigger-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fab-container-card:not(.expanded) .fab-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fab-btn-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fab-btn-text {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Expanded Content inside the morphed card */
.fab-expanded-content {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease 0.08s, visibility 0.25s ease;
  pointer-events: none;
}

.fab-container-card.expanded .fab-expanded-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fab-expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
}

.fab-menu-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fab-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.fab-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.fab-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.fab-menu-item.btn-fab-appstore {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.fab-menu-item.btn-fab-appstore:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.fab-menu-item.btn-fab-googleplay {
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
}

.fab-menu-item.btn-fab-googleplay:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .store-fab-widget {
    bottom: 20px;
    right: 20px;
  }

  .fab-trigger-btn {
    height: 46px;
    padding: 0 16px 0 10px;
  }

  .fab-btn-icon {
    width: 24px;
    height: 24px;
  }

  .fab-btn-text {
    font-size: 0.86rem;
  }

  .fab-store-menu {
    bottom: 58px;
    width: 175px;
  }
}

/* Closed Beta Instructions Modal */
.beta-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 3, 7, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.beta-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.beta-modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: radial-gradient(circle at top left, #231422 0%, #110b17 50%, #060408 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.beta-modal-overlay.open .beta-modal-card {
  transform: translateY(0) scale(1);
}

.beta-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.beta-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.beta-modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.beta-modal-title {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.beta-modal-desc {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.beta-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.beta-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.beta-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.beta-step-info {
  flex: 1;
}

.beta-step-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.beta-step-info p {
  color: var(--text-body);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.beta-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.beta-step-btn.btn-group-join {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.beta-step-btn.btn-group-join:hover {
  background: rgba(255, 255, 255, 0.25);
}

.beta-step-btn.btn-playstore-download {
  background: #ffffff;
  color: #000000;
}

.beta-step-btn.btn-playstore-download:hover {
  background: #e4e4e7;
}
