/* ==========================================================================
   Habit Fast Landing Page Stylesheet
   Designed with Apple Neo-Minimalism & Mindful Emerald / Sage Palettes
   ========================================================================== */

:root {
  /* Brand Primary & Accents */
  --primary: #10B981;
  --primary-rgb: 16, 185, 129;
  --primary-hover: #059669;
  --primary-deep: #047857;
  
  --secondary: #5F7D67;
  --secondary-rgb: 95, 125, 103;
  --secondary-light: #E2EFE5;

  --accent-cyan: #06B6D4;
  --accent-amber: #F59E0B;
  --accent-indigo: #6366F1;
  --accent-purple: #8B5CF6;
  --accent-rose: #F43F5E;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
  --grad-emerald-glow: linear-gradient(135deg, #34D399 0%, #059669 100%);
  --grad-sage: linear-gradient(135deg, #5F7D67 0%, #75947D 50%, #8EAA95 100%);
  --grad-soft: linear-gradient(180deg, #F0FDF4 0%, #FAFAF9 100%);
  --grad-card-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(95, 125, 103, 0.04) 100%);
  --grad-dark-hero: linear-gradient(180deg, #061A12 0%, #0F2E22 100%);
  --grad-dark-card: linear-gradient(135deg, #11261E 0%, #0B1F17 100%);

  /* Neutrals */
  --bg: #FAFAF9;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F6F4;
  --border: #E5E7EB;
  --border-focus: #10B981;

  --text-main: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Elevation / Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(17, 24, 39, 0.06), 0 2px 6px -1px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(17, 24, 39, 0.08), 0 4px 12px -2px rgba(17, 24, 39, 0.04);
  --shadow-glow: 0 12px 30px rgba(16, 185, 129, 0.25);
  --shadow-card-hover: 0 20px 40px -12px rgba(16, 185, 129, 0.16);

  /* Layout & Geometry */
  --container-max: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

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

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

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Buttons & UI Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-deep);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 20px;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* App Store Action Badges */
.app-store-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111827;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 14px;
  transition: all var(--duration-fast) var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.app-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.app-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.app-btn-text .subtext {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.app-btn-text .store-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--duration-normal) var(--ease);
  background: rgba(250, 250, 249, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration-fast) var(--ease);
  border-radius: var(--radius-full);
}

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

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

/* Language Switcher Pill */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease);
}

.lang-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  z-index: 1001;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: all var(--duration-fast) var(--ease);
  border-radius: 2px;
}

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

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

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

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease), visibility var(--duration-normal);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-cta-item {
  display: none;
}

.bento-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bento-preview-text {
  flex: 1;
}

.bento-sub-badge {
  margin: 0 !important;
  padding: 6px 14px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--grad-soft);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-blur-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(50px);
}

.bg-blur-2 {
  position: absolute;
  top: 250px;
  left: -120px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 125, 103, 0.15) 0%, rgba(95, 125, 103, 0) 70%);
  filter: blur(60px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 12px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.stat-item .stat-num {
  font-size: 1.65rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Interactive Hero Phone Mockup
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  width: 320px;
  background: #FFFFFF;
  border: 10px solid #1F2937;
  border-radius: 46px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}

.phone-mockup-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: #1F2937;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.app-screen-mockup {
  padding: 16px 14px 20px;
  background: #F8FAF9;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.mockup-header-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
}

.mockup-header-action {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
}

.mockup-greeting-banner {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  padding: 2px 4px 6px;
}

/* Habit Card Component */
.habit-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.habit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.habit-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.habit-emoji {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #EFF6FF;
}

.habit-emoji.water { background: #E0F2FE; }
.habit-emoji.meditate { background: #FEF3C7; }
.habit-emoji.book { background: #DCFCE7; }

.habit-card-name {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-main);
}

.habit-card-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Progress bar inside card */
.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #F3F4F6;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad-primary);
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.status-badge.focusing {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

/* Floating Pills on Hero Visual */
.floating-widget-pill {
  position: absolute;
  z-index: 20;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: floatPill 4s ease-in-out infinite;
}

.floating-widget-pill.top-left {
  top: 25px;
  left: -40px;
  animation-delay: 0s;
}

.floating-widget-pill.bottom-right {
  bottom: 40px;
  right: -35px;
  animation-delay: 2s;
}

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

.floating-widget-pill .pill-text {
  display: flex;
  flex-direction: column;
}

.floating-widget-pill .pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.floating-widget-pill .pill-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background: #FFFFFF;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--duration-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-card-hover);
}

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

.bento-card.highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.bento-icon-box.emerald { background: rgba(16, 185, 129, 0.12); color: var(--primary); }
.bento-icon-box.amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }
.bento-icon-box.cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.bento-icon-box.indigo { background: rgba(99, 102, 241, 0.12); color: var(--accent-indigo); }
.bento-icon-box.sage { background: rgba(95, 125, 103, 0.15); color: var(--secondary); }

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-top: 10px;
}

/* ==========================================================================
   Spotlight Sections (Deep Dives)
   ========================================================================== */
.spotlight-section {
  padding: 100px 0;
  background: var(--bg);
}

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

.spotlight-grid.reverse {
  direction: rtl;
}

.spotlight-grid.reverse > * {
  direction: ltr;
}

.spotlight-text h2 {
  font-size: 2.3rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.spotlight-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-check-list .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.spotlight-card-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Realistic Flip Clock Digital Mockup */
.flip-clock-display {
  background: #0B1713;
  color: #FFFFFF;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flip-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flip-card-unit {
  background: #192C23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 3.2rem;
  font-weight: 900;
  font-family: monospace;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.4);
  color: #34D399;
  letter-spacing: 2px;
}

.flip-colon {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  animation: pulseColon 1s infinite;
}

@keyframes pulseColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ==========================================================================
   Clock Face Gallery Showcase
   ========================================================================== */
.clock-gallery-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.clock-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.clock-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease);
}

.clock-tab-btn.active, .clock-tab-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

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

.clock-card {
  background: #0B1713;
  border-radius: 20px;
  padding: 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: transform var(--duration-fast) var(--ease);
}

.clock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.2);
}

.clock-card .clock-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.clock-preview-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 2.8rem;
  font-weight: 800;
}

/* ==========================================================================
   Home Screen Widgets Showcase
   ========================================================================== */
.widgets-section {
  padding: 100px 0;
  background: #0B1A14;
  color: #FFFFFF;
}

.widgets-section .section-header h2 {
  color: #FFFFFF;
}

.widgets-section .section-header p {
  color: #9CA3AF;
}

.widget-cards-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

.widget-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.widget-sm {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.widget-header-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.widget-main-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.widget-days-big {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #34D399;
}

.widget-md {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.widget-timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  padding: 12px 16px;
  border-radius: 14px;
}

/* ==========================================================================
   Routine Blueprints Showcase
   ========================================================================== */
.blueprints-section {
  padding: 100px 0;
  background: var(--bg);
}

.blueprints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blueprint-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease);
}

.blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.blueprint-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.blueprint-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.blueprint-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.blueprint-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
}

/* ==========================================================================
   User Reviews / Testimonials
   ========================================================================== */
.reviews-section {
  padding: 100px 0;
  background: #FFFFFF;
}

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

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-info .name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.reviewer-info .role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
}

.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  gap: 20px;
}

.faq-question > span:first-child {
  flex: 1;
  line-height: 1.45;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

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

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Call To Action Banner
   ========================================================================== */
.cta-section {
  padding: 60px 0 100px;
  background: var(--bg);
}

.cta-banner {
  background: linear-gradient(135deg, #061A12 0%, #0F2E22 100%);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.cta-banner h2 {
  font-size: 2.8rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #D1D5DB;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0B1713;
  color: #9CA3AF;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #9CA3AF;
}

.footer-links a:hover {
  color: #34D399;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #34D399;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .app-store-badge-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

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

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

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

  .spotlight-grid.reverse {
    direction: ltr;
  }

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

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

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

@media (max-width: 768px) {
  .nav-actions .btn {
    display: none !important;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px 20px 24px;
    gap: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    border: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--duration-normal) var(--ease), opacity var(--duration-normal) var(--ease), visibility var(--duration-normal);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 10px 14px;
    text-align: center;
    font-size: 1.05rem;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover {
    background: rgba(16, 185, 129, 0.08);
  }

  .mobile-cta-item {
    display: block;
    width: 100%;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
  }

  .mobile-cta-btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 1rem;
    border-radius: var(--radius-full);
  }

  .nav-toggle {
    display: flex;
  }

  .bento-preview-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
    gap: 16px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

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

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

  .clock-grid-display {
    grid-template-columns: 1fr;
  }

  .floating-widget-pill {
    display: none;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 28px;
    justify-content: center;
  }

  .phone-mockup-frame {
    width: 100%;
    max-width: 300px;
    transform: none;
  }

  .phone-mockup-frame:hover {
    transform: none;
  }

  .flip-card-unit {
    padding: 12px 14px;
    font-size: 2.5rem;
  }

  .flip-colon {
    font-size: 2.2rem;
  }

  .app-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Legal & Support Pages Styling
   ========================================================================== */
.legal-page-header {
  padding-top: 130px;
  padding-bottom: 40px;
  background: var(--grad-soft);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.legal-page-header h1 {
  font-size: 2.5rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-page-header .last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content-container {
  max-width: 860px;
  margin: 40px auto 90px;
  padding: 0 24px;
}

.legal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-main);
}

/* Support Page Specifics */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.support-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--duration-fast);
  background: #FAFAF9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 24px 20px;
  }
}

