/* ==========================================================================
   Hobit Landing Page - Artisanal Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography (@font-face: Obviously)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Obviously';
  src: url('./assets/fonts/ObviouslyDemo-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Theme Variables (Synchronized with Hobit constants/theme.ts)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Accent */
  --brand: #4655E0;
  --brand-hover: #3744c8;
  --brand-active: #2b36a8;
  --brand-soft: rgba(70, 85, 224, 0.1);
  --brand-glow: rgba(70, 85, 224, 0.28);

  /* Light Theme (Hobit Light) */
  --bg-page: #FAFAF8;
  --bg-surface: #FFFFFF;
  --bg-surface-secondary: #F2F1EE;
  --bg-surface-hover: #ebe9e5;
  --bg-navbar: rgba(250, 250, 248, 0.82);

  --text-primary: #11181C;
  --text-secondary: #687076;
  --text-muted: #8e959c;
  --text-inverse: #FFFFFF;

  --border-subtle: rgba(18, 24, 28, 0.07);
  --border-medium: rgba(18, 24, 28, 0.13);
  --border-strong: rgba(18, 24, 28, 0.22);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 28, 0.04);
  --shadow-sm: 0 4px 12px rgba(17, 24, 28, 0.05);
  --shadow-card: 0 8px 30px rgba(17, 24, 28, 0.06);
  --shadow-phone: 0 32px 80px -16px rgba(22, 28, 48, 0.15), 0 12px 28px -6px rgba(22, 28, 48, 0.06);
  --shadow-btn: 0 6px 20px -2px rgba(70, 85, 224, 0.35);

  /* Button spec requested by user: h-16 (64px) & rounded-18px */
  --btn-height: 64px;
  --btn-radius: 18px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-phone: 42px;

  --font-family: 'Obviously', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --max-width: 1180px;
  --nav-height: 80px;
}

[data-theme='dark'] {
  /* Dark Theme (Hobit Dark) */
  --brand: #4655E0;
  --brand-hover: #5867ec;
  --brand-active: #6e7df2;
  --brand-soft: rgba(70, 85, 224, 0.2);
  --brand-glow: rgba(70, 85, 224, 0.45);

  --bg-page: #151718;
  --bg-surface: #1c1c1e;
  --bg-surface-secondary: #27272a;
  --bg-surface-hover: #323236;
  --bg-navbar: rgba(21, 23, 24, 0.82);

  --text-primary: #ECEDEE;
  --text-secondary: #9BA1A6;
  --text-muted: #687076;
  --text-inverse: #11181C;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-phone: 0 32px 90px -12px rgba(0, 0, 0, 0.7), 0 12px 28px -4px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 6px 22px -2px rgba(70, 85, 224, 0.5);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 240ms ease, color 240ms ease;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

/* --------------------------------------------------------------------------
   4. Buttons (h-16 rounded-18px as specified by user)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--btn-height);
  min-height: var(--btn-height);
  border-radius: var(--btn-radius);
  padding: 0 32px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background-color: var(--brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(70, 85, 224, 0.45);
}

.btn-primary:active {
  background-color: var(--brand-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-secondary);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

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

/* Compact button for top navigation only */
.btn-nav {
  height: 48px;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   5. Navigation Bar & Theme Switcher
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-navbar);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background-color 240ms ease, border-color 240ms ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: var(--brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.nav-logo-icon svg {
  display: block;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Global Theme Toggle Button */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-secondary);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: var(--shadow-card);
    display: none;
  }

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

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-actions .btn-nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero Section (Clean, Stationary, Grounded)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 72px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-copy {
  max-width: 740px;
  margin: 0 auto 52px auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--brand);
}

.hero-subtext {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtext {
    font-size: 1.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* Hero Visual Stage: Crisp, Stationary Composition (NO always-floating animations) */
.hero-visual-stage {
  position: relative;
  max-width: 1080px;
  margin: 48px auto 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-screens-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.phone-mockup {
  position: relative;
  border-radius: var(--radius-phone);
  background: var(--bg-surface);
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 1px solid var(--border-medium);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.phone-screen {
  border-radius: calc(var(--radius-phone) - 10px);
  overflow: hidden;
  background: #000;
  display: block;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-center {
  width: 320px;
  z-index: 5;
  transform: scale(1.03);
}

.screen-flank-left {
  width: 275px;
  position: absolute;
  left: 12%;
  top: 36px;
  z-index: 3;
  transform: rotate(-4.5deg) translateY(8px);
  opacity: 0.95;
  transition: transform 240ms ease;
}

.screen-flank-right {
  width: 275px;
  position: absolute;
  right: 12%;
  top: 36px;
  z-index: 3;
  transform: rotate(4.5deg) translateY(8px);
  opacity: 0.95;
  transition: transform 240ms ease;
}

.hero-visual-stage:hover .screen-flank-left {
  transform: rotate(-3deg) translateY(4px) translateX(-6px);
}

.hero-visual-stage:hover .screen-flank-right {
  transform: rotate(3deg) translateY(4px) translateX(6px);
}

/* Hero Floating App Snippets (Authentic Hobit Components, Low Damping, No Bobbing Loops) */
.hero-snippet {
  position: absolute;
  z-index: 10;
  border-radius: 20px;
  box-shadow: 0 16px 36px -6px rgba(18, 22, 40, 0.14), 0 4px 12px rgba(18, 22, 40, 0.06);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  user-select: none;
  cursor: default;
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
  will-change: transform;
}

.hero-snippet:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 24px 48px -8px rgba(18, 22, 40, 0.22);
}

/* Micro celebration badge floating over snippet */
.snippet-micro-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: #000000;
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  white-space: nowrap;
}

.snippet-badge-celebrate {
  background: #10b981;
  color: #FFFFFF;
}

/* Snippet 1: Authentic Hobit Habit Card (Top Left) */
.app-snippet-card {
  top: 7%;
  left: 0%;
  width: 275px;
  padding: 14px 16px;
  background: #f7cd63; /* Hobit Habit Yellow */
  border-color: rgba(0, 0, 0, 0.08);
}

.snippet-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.snippet-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.snippet-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.snippet-text-wrap {
  flex: 1;
  min-width: 0;
}

.snippet-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-snippet-card .snippet-title {
  color: #000000;
}

.snippet-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.snippet-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}

.snippet-check-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.snippet-check-btn:hover {
  transform: scale(1.08);
}

/* Snippet 2: Authentic Active Timer Card (Top Right) */
.app-snippet-timer {
  top: 9%;
  right: 0%;
  width: 270px;
  padding: 14px 16px;
  background: var(--bg-surface);
}

.snippet-timer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.snippet-desc {
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 1px;
}

.snippet-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
}

.snippet-timer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
}

.snippet-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.snippet-timer-counter {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
}

[data-theme="dark"] .snippet-timer-counter {
  color: #34d399;
}

.snippet-timer-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.snippet-mini-btn {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 120ms ease;
}

.snippet-mini-btn:hover {
  background: var(--border-medium);
  color: var(--text-primary);
}

.snippet-btn-stop {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.snippet-btn-stop:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #dc2626;
}

/* Snippet 3: Authentic Date Selector Strip (Bottom Left) */
.app-snippet-dates {
  bottom: 8%;
  left: 1%;
  width: 250px;
  padding: 13px 15px;
  background: var(--bg-surface);
}

.snippet-dates-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.snippet-dates-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.snippet-dates-tag {
  font-size: 0.625rem;
  font-weight: 700;
  color: #4655E0;
  background: rgba(70, 85, 224, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

.snippet-dates-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.snippet-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 6px;
  border-radius: 10px;
  flex: 1;
  border: 1px solid transparent;
  transition: background 150ms ease;
}

.date-name {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
}

.date-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.snippet-date-col.date-selected {
  background: #4655E0;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(70, 85, 224, 0.3);
}

.snippet-date-col.date-selected .date-name,
.snippet-date-col.date-selected .date-num {
  color: #FFFFFF;
}

.date-indicator-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  margin-top: 3px;
}

/* Snippet 4: Authentic Habit Completed Celebration Card (Bottom Right) */
.app-snippet-complete {
  bottom: 10%;
  right: 1%;
  width: 275px;
  padding: 14px 16px;
  background: #b8eb6c; /* Hobit Habit Green */
  border-color: rgba(0, 0, 0, 0.08);
}

.snippet-completed-title {
  color: #000000;
  text-decoration: line-through;
  opacity: 0.85;
}

.snippet-completed-desc {
  color: rgba(0, 0, 0, 0.65);
}

.snippet-check-completed {
  background: rgba(0, 0, 0, 0.12);
}

/* Responsive Snippet Adaptations */
@media (max-width: 1200px) {
  .app-snippet-card { left: -10px; top: 4%; }
  .app-snippet-timer { right: -10px; top: 6%; }
  .app-snippet-dates { left: -5px; bottom: 5%; }
  .app-snippet-complete { right: -5px; bottom: 7%; }
}

@media (max-width: 980px) {
  .screen-flank-left,
  .screen-flank-right {
    display: none;
  }
  .screen-center {
    width: 300px;
    transform: none;
  }
  .app-snippet-timer,
  .app-snippet-dates {
    display: none;
  }
  .app-snippet-card {
    left: 4%;
    top: 4%;
    width: 240px;
  }
  .app-snippet-complete {
    right: 4%;
    bottom: 6%;
    width: 240px;
  }
}

@media (max-width: 640px) {
  .hero-visual-stage {
    flex-direction: column;
  }
  .app-snippet-card,
  .app-snippet-complete {
    position: static;
    margin: 12px auto 0 auto;
    width: 100%;
    max-width: 310px;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. Core Experience Feature Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Authentic Hobit habit color backgrounds (constants/habit-colors.ts) */
.feature-icon-green {
  background-color: #b8eb6c;
}

.feature-icon-yellow {
  background-color: #f7cd63;
}

.feature-icon-cyan {
  background-color: #aae8e7;
}

.feature-icon-pink {
  background-color: #fc87c6;
}

.feature-icon-blue {
  background-color: #a3c7fe;
}

.feature-icon-orange {
  background-color: #ff8d4d;
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
}

.feature-icon-wrap svg path {
  fill: #000000 !important;
}

.feature-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

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

@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. Visual Product Showcase
   -------------------------------------------------------------------------- */
.showcase-section {
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto 40px auto;
  flex-wrap: wrap;
}

.view-tabs {
  display: inline-flex;
  background: var(--bg-surface);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.view-tab-btn {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 160ms ease;
}

.view-tab-btn.active {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

.showcase-display {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 560px;
}

.showcase-phone-frame {
  width: 100%;
  max-width: 340px;
  border-radius: 44px;
  background: var(--bg-surface);
  padding: 12px;
  box-shadow: var(--shadow-phone);
  border: 1px solid var(--border-medium);
  transition: transform 240ms ease;
}

.showcase-phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.showcase-phone-screen img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 160ms ease;
}

.showcase-caption {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. Download Section
   -------------------------------------------------------------------------- */
.download-section {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 110px;
  position: relative;
}

.download-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 68px 36px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
}

.download-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.download-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.download-btn {
  /* h-16 rounded-18px */
  padding: 0 44px;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .download-box {
    padding: 48px 20px;
  }
  .download-title {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 48px 0;
  transition: background-color 240ms ease, border-color 240ms ease;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background-color: var(--brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.footer-logo-icon svg {
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
