/* ==========================================================================
   Uhh: Digital Detox & App Blocker - Official Website Stylesheet
   Design System: Sage & Cream Palette (Mindful Digital Wellbeing)
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --sage: #4D614E;
  --sage-dark: #384B3A;
  --sage-deep: #253327;
  --sage-light: #A7BBA7;
  --sage-soft: #D2E9D0;
  --sage-mist: #F2F7F1;
  
  --cream: #FFFDF9;
  --cream-soft: #F9F7F2;
  --paper: #FFFFFF;
  --peach: #E8E2D6;
  --surface-low: #F3F6F3;
  
  --ink: #181C1D;
  --ink-secondary: #303734;
  --muted: #555E54;
  --muted-light: #7E887D;
  --border: #DFE5DF;
  --border-light: #EBEFEA;
  
  --accent: #D96B43;
  --accent-soft: #FDF0EB;
  --accent-green: #2E7D32;
  --accent-green-soft: #E8F5E9;
  --gold: #C28E58;
  --gold-soft: #FBF4EC;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 3px rgba(24, 28, 29, 0.04);
  --shadow-sm: 0 4px 12px rgba(24, 28, 29, 0.05);
  --shadow-md: 0 10px 30px rgba(24, 28, 29, 0.07);
  --shadow-lg: 0 20px 50px rgba(24, 28, 29, 0.1);
  --shadow-glow: 0 0 40px rgba(77, 97, 78, 0.15);
  
  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transition */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--sage-dark);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-tight {
  padding: 4rem 0;
}

.section-muted {
  background-color: var(--surface-low);
}

.section-dark {
  background-color: var(--sage-dark);
  color: var(--cream);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   Typography & Badges
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--cream);
}

.display-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--sage-soft);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--sage-soft);
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.badge-pro {
  background: linear-gradient(135deg, var(--gold-soft), #FFF2DE);
  color: #8C5B1E;
  border: 1px solid rgba(194, 142, 88, 0.3);
}

.badge-privacy {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.highlight-text {
  color: var(--sage);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background-color: var(--sage-soft);
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 253, 249, 0.96);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.brand-logo span.tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--sage);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--sage);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 4.75rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cream);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 999;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--sage);
  color: var(--cream);
}

.btn-primary:hover {
  background-color: var(--sage-dark);
  color: var(--paper);
}

.btn-secondary {
  background-color: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--surface-low);
  border-color: var(--sage-light);
  color: var(--sage-deep);
}

.btn-dark {
  background-color: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background-color: #272F29;
  color: var(--cream);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.btn-playstore:hover {
  background-color: var(--sage-deep);
  color: var(--paper);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-playstore svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-playstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-playstore-text .subtext {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.btn-playstore-text .maintext {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 233, 208, 0.45) 0%, rgba(255, 253, 249, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.trust-chip svg {
  color: var(--sage);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Hero Mockup / Phone Frame
   ========================================================================== */

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background-color: var(--ink);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 70px -10px rgba(37, 51, 39, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  border: 4px solid #2C3530;
}

.phone-notch {
  width: 100px;
  height: 18px;
  background-color: #181C1D;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--cream);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Mockup In-App UI */
.mockup-app-header {
  padding: 2.2rem 1.25rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--cream);
}

.mockup-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.mockup-body {
  padding: 0.75rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
}

.mockup-stat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.mockup-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sage);
  font-family: var(--font-display);
}

.mockup-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.mockup-schedule-card {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-schedule-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.mockup-schedule-time {
  font-size: 0.75rem;
  opacity: 0.85;
}

.mockup-apps-list {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}

.mockup-app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
}

.mockup-app-item:last-child {
  border-bottom: none;
}

.mockup-app-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-app-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.mockup-tag-blocked {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

/* Floating Badges on Mockup */
.mockup-floating-card {
  position: absolute;
  background-color: var(--paper);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
  animation: float 4s ease-in-out infinite;
}

.mockup-floating-card.card-left {
  top: 15%;
  left: -20px;
}

.mockup-floating-card.card-right {
  bottom: 20%;
  right: -25px;
  animation-delay: 2s;
}

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

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--sage-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.floating-subtitle {
  font-size: 0.725rem;
  color: var(--muted);
}

/* ==========================================================================
   Trust & Metric Strip
   ========================================================================== */

.metrics-strip {
  background-color: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--sage);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.775rem;
  color: var(--muted);
}

/* ==========================================================================
   Problem vs Solution Section
   ========================================================================== */

.compare-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.compare-card.problem {
  border-top: 4px solid var(--accent);
}

.compare-card.solution {
  border-top: 4px solid var(--sage);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--sage-mist) 100%);
}

.compare-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.compare-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.compare-card.problem svg {
  color: var(--accent);
}

.compare-card.solution svg {
  color: var(--sage);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.feature-card {
  background-color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-light);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--sage-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--sage);
  color: var(--paper);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */

.simulator-container {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sim-tabs {
  display: flex;
  background-color: var(--surface-low);
  border-bottom: 1px solid var(--border);
}

.sim-tab-btn {
  flex: 1;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.sim-tab-btn.active {
  background-color: var(--paper);
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}

.sim-tab-content {
  display: none;
  padding: 2.5rem;
}

.sim-tab-content.active {
  display: block;
}

/* Blocker Overlay Simulation Inside Widget */
.sim-overlay-mockup {
  background: linear-gradient(145deg, #232C24, #181C1D);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sim-overlay-icon {
  width: 68px;
  height: 68px;
  background-color: rgba(210, 233, 208, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--sage-soft);
}

.sim-overlay-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--peach);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.sim-timer-box {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-timer-digits {
  font-family: monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sage-soft);
  letter-spacing: 2px;
}

.sim-timer-label {
  font-size: 0.775rem;
  color: var(--sage-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sim-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sim-btn-close {
  background-color: var(--sage);
  color: var(--paper);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.sim-btn-close:hover {
  background-color: var(--sage-dark);
}

.sim-btn-emergency {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.sim-btn-emergency:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Analytics Chart Mockup Inside Widget */
.analytics-chart-mockup {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.chart-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chart-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
}

.chart-bar-track {
  width: 100%;
  height: 12px;
  background-color: var(--surface-low);
  border-radius: 6px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 6px;
  background-color: var(--sage);
  transition: width 1s ease-in-out;
}

.chart-bar-fill.accent {
  background-color: var(--accent);
}

.chart-bar-fill.gold {
  background-color: var(--gold);
}

/* ==========================================================================
   Pricing & Plan Comparison
   ========================================================================== */

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

.pricing-card {
  background-color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--sage);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--sage);
  color: var(--paper);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.plan-price-wrap {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink);
}

.plan-price-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--ink-secondary);
}

.plan-feature-item svg {
  color: var(--sage);
  flex-shrink: 0;
}

.plan-feature-item.disabled {
  color: var(--muted-light);
  text-decoration: line-through;
}

.plan-feature-item.disabled svg {
  color: var(--muted-light);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-xs);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--sage);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage-deep));
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  color: var(--cream);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--sage-soft);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--sage-deep);
  color: var(--cream-soft);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 800;
}

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

.footer-desc {
  font-size: 0.875rem;
  color: var(--sage-light);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col-title {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--sage-light);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cream);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sage-light);
  font-size: 0.875rem;
}

.footer-contact-item a {
  color: var(--sage-soft);
  text-decoration: underline;
}

.footer-contact-item a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.825rem;
  color: var(--sage-light);
}

/* ==========================================================================
   Legal / Policy Pages (Privacy & Terms)
   ========================================================================== */

.policy-header {
  padding: 4.5rem 0 3rem;
  background-color: var(--sage-mist);
  border-bottom: 1px solid var(--border);
}

.policy-wrapper {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 3.5rem;
  margin-top: -2rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-sm);
}

.policy-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--muted);
}

.policy-content h2 {
  font-size: 1.65rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--sage-deep);
}

.policy-content h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--ink);
}

.policy-content p {
  margin-bottom: 1.15rem;
  color: var(--ink-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.policy-content ul, .policy-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--ink-secondary);
}

.policy-content ul {
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.policy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.policy-callout {
  background-color: var(--sage-mist);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.policy-callout-admob {
  background-color: #F3F7FA;
  border-left: 4px solid #1A73E8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.policy-callout-warning {
  background-color: #FFF8E1;
  border-left: 4px solid #FFA000;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.policy-table th, .policy-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
}

.policy-table th {
  background-color: var(--surface-low);
  font-weight: 700;
  color: var(--ink);
}

.policy-table tr:nth-child(even) {
  background-color: var(--cream);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .display-title, .hero-title {
    font-size: 2.6rem;
  }
  
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .policy-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .display-title, .hero-title {
    font-size: 2.1rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .mockup-floating-card {
    display: none;
  }
  
  .phone-mockup {
    width: 290px;
    height: 580px;
  }
  
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.85rem;
  }
}
