/* =========================================
   Dragon Notes — Global Styles
   Palette: beige monochrome + purple/orange accents
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- custom properties ---------- */
:root {
  --bg-primary:   #F5F0EB;
  --bg-secondary: #EDE8E3;
  --bg-tertiary:  #E5DED8;
  --bg-white:     #FAF8F5;
  --text-primary: #2D2026;
  --text-secondary: #5C4F54;
  --text-muted:   #8A7E82;
  --accent-purple: #3D1C4F;
  --accent-orange: #E8734A;
  --accent-purple-light: #5E3470;
  --accent-gradient: linear-gradient(135deg, #3D1C4F 0%, #E8734A 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(61,28,79,.08) 0%, rgba(232,115,74,.08) 100%);
  --border-light: rgba(45, 32, 38, .1);
  --shadow-sm:  0 1px 3px rgba(45,32,38,.06);
  --shadow-md:  0 4px 20px rgba(45,32,38,.08);
  --shadow-lg:  0 12px 40px rgba(45,32,38,.12);
  --shadow-xl:  0 20px 60px rgba(45,32,38,.15);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61,28,79,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(61,28,79,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-purple);
  border: 2px solid var(--accent-purple);
}
.btn-secondary:hover {
  background: var(--accent-purple);
  color: #fff;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(245,240,235,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  padding-left: 24px;
  padding-right: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--accent-purple);
}
.nav-logo span {
  white-space: nowrap;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  min-width: 40px;
  object-fit: contain;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent-purple); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta {
  padding: 10px 24px;
  font-size: .85rem;
  color: #ffffff;
  background: var(--accent-purple);
  border-radius: 60px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(61,28,79,.25);
  transition: all var(--transition);
}
.nav-links a.nav-cta::after {
  display: none;
}
.nav-links a.nav-cta:hover {
  color: #ffffff;
  background: var(--accent-purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,28,79,.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(245,240,235,.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent-purple); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(61,28,79,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,115,74,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(61,28,79,.1);
  border-radius: 60px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: italic;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ipad-mockup {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 18;
  background: var(--bg-white);
  border-radius: 40px;
  box-shadow: var(--shadow-xl);
  border: 6px solid #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ipad-screen {
  width: 88%;
  height: 90%;
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 16px;
}
.ipad-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ipad-logo {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.ipad-title {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent-purple);
}
.ipad-wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.ipad-wave .bar {
  width: 3px;
  border-radius: 3px;
  background: var(--accent-gradient);
  animation: waveAnim 1.2s ease-in-out infinite;
}
.ipad-wave .bar:nth-child(1)  { height: 18px; animation-delay: 0s; }
.ipad-wave .bar:nth-child(2)  { height: 30px; animation-delay: .1s; }
.ipad-wave .bar:nth-child(3)  { height: 22px; animation-delay: .2s; }
.ipad-wave .bar:nth-child(4)  { height: 40px; animation-delay: .3s; }
.ipad-wave .bar:nth-child(5)  { height: 35px; animation-delay: .4s; }
.ipad-wave .bar:nth-child(6)  { height: 20px; animation-delay: .5s; }
.ipad-wave .bar:nth-child(7)  { height: 45px; animation-delay: .6s; }
.ipad-wave .bar:nth-child(8)  { height: 28px; animation-delay: .7s; }
.ipad-wave .bar:nth-child(9)  { height: 38px; animation-delay: .8s; }
.ipad-wave .bar:nth-child(10) { height: 15px; animation-delay: .9s; }
.ipad-wave .bar:nth-child(11) { height: 32px; animation-delay: 1s; }
.ipad-wave .bar:nth-child(12) { height: 25px; animation-delay: 1.1s; }
@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(.4); }
}
.ipad-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ipad-note-line {
  height: 8px;
  background: rgba(61,28,79,.08);
  border-radius: 4px;
}
.ipad-note-line:nth-child(1) { width: 90%; }
.ipad-note-line:nth-child(2) { width: 75%; }
.ipad-note-line:nth-child(3) { width: 82%; }
.ipad-note-line:nth-child(4) { width: 60%; }

.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}
.floating-badge.badge-top {
  top: 8%;
  right: -10%;
  color: var(--accent-purple);
}
.floating-badge.badge-bottom {
  bottom: 12%;
  left: -8%;
  color: var(--accent-orange);
  animation-delay: 2s;
}
.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.badge-icon.purple { background: rgba(61,28,79,.1); }
.badge-icon.orange { background: rgba(232,115,74,.1); }

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

/* ---------- story ---------- */
.story {
  padding: 120px 0;
  background: var(--bg-white);
  position: relative;
}
.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 1;
  color: rgba(61,28,79,.06);
  pointer-events: none;
}
.story-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.story-accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin-top: 28px;
}
.story-content h2 {
  margin-bottom: 24px;
}
.story-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}
.story-text p + p {
  margin-top: 20px;
}
.story-highlight {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--accent-gradient-soft);
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--accent-purple);
  font-size: 1.05rem;
}

/* ---------- features ---------- */
.features {
  padding: 120px 0;
  background: var(--bg-primary);
  text-align: center;
}
.features-header {
  margin-bottom: 72px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  text-align: left;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.feature-icon.icon-record  { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-transcript { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-notes   { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-share   { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-playback { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-cloud   { background: rgba(61,28,79,.08); color: var(--accent-purple); }

.feature-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 120px 0;
  background: var(--bg-white);
  text-align: center;
}
.pricing-header {
  margin-bottom: 48px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-size: .95rem;
  font-weight: 500;
}
.pricing-toggle span { color: var(--text-muted); transition: color var(--transition); }
.pricing-toggle span.active { color: var(--text-primary); font-weight: 600; }

.toggle-track {
  width: 56px;
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-track.annual { background: var(--accent-purple); }
.toggle-thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-track.annual .toggle-thumb {
  transform: translateX(26px);
}

.save-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(232,115,74,.1);
  color: var(--accent-orange);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
}
.save-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured .plan-name { color: rgba(255,255,255,.7); }
.pricing-card.featured .price-currency,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period { color: #fff; }
.pricing-card.featured .plan-description { color: rgba(255,255,255,.6); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,.8); }
.pricing-card.featured .plan-features li svg { color: var(--accent-orange); }
.pricing-card.featured .btn-primary {
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}
.pricing-card.featured .popular-tag {
  position: absolute;
  top: -1px;
  right: 32px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-name {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 56px;
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  transition: all .3s ease;
}
.price-period {
  font-size: .9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-description {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: 32px;
  min-height: 44px;
}

.plan-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.plan-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-purple);
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.annual-note {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--transition);
}
.annual-note.visible {
  opacity: 1;
  height: auto;
  margin-top: 8px;
}
.pricing-card.featured .annual-note { color: rgba(255,255,255,.5); }

.pricing-btn-subtext {
  display: block;
  margin-top: 14px;
  padding-top: 4px;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
}
.pricing-card.featured .pricing-btn-subtext { color: #64748b; }

/* ---------- faq ---------- */
.faq {
  padding: 120px 0;
  background: var(--bg-primary);
}
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(61,28,79,.15);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--accent-purple); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--accent-purple);
  color: #fff;
  transform: rotate(45deg);
}
.faq-icon svg {
  width: 14px;
  height: 14px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.8;
}

/* ---------- cta ---------- */
.cta-section {
  padding: 100px 0;
  background: var(--text-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232,115,74,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
  position: relative;
}
.cta-section .btn-primary {
  position: relative;
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}

/* ---------- footer ---------- */
.footer {
  padding: 60px 0 36px;
  background: #1a1216;
  color: rgba(255,255,255,.5);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  height: 36px;
  width: 36px;
  min-width: 36px;
  object-fit: contain;
  object-position: center;
}
.footer-logo span {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: rgba(255,255,255,.8);
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  font-size: .8rem;
  opacity: .6;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ---------- legal pages ---------- */
.legal-page {
  padding: 140px 0 80px;
  background: var(--bg-primary);
}
.legal-page .container {
  max-width: 780px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.legal-page .last-updated {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}
.legal-page ul li {
  margin-bottom: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .ipad-mockup { max-width: 280px; }
  .floating-badge.badge-top  { right: 0; }
  .floating-badge.badge-bottom { left: 0; }

  .story .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-visual { order: -1; }

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

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

  .hero { padding: 120px 0 80px; min-height: auto; }
  .ipad-mockup { max-width: 240px; }
  .floating-badge { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card { padding: 32px 24px; }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card { padding: 36px 28px; }

  .story-card { padding: 36px 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  .hero-badge { font-size: .72rem; padding: 6px 14px; }
  .btn { padding: 12px 24px; font-size: .88rem; }
}
