:root {
  --primary-blue: #0055FF;
  --secondary-blue: #00A2FF;
  --background-dark: #FAFAFC;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --section-bg-alt: transparent;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
  /* Removed scroll-behavior: smooth as it causes jank with scroll-snap */
}

/* Only apply scroll snapping to pages that explicitly request it (like index.html) */
html.snap-html {
  scroll-snap-type: y mandatory;
}

body {
  background-color: var(--background-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  /* Premium subtle grid pattern */
  background-image: 
    linear-gradient(rgba(0, 85, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 85, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
}

/* Premium soft gradient orbs (replacing messy blobs and heavy blur) */
.bg-blob-1 {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, rgba(0, 85, 255, 0) 60%);
  z-index: -1;
  animation: float-premium 25s ease-in-out infinite alternate;
  pointer-events: none;
}

.bg-blob-2 {
  position: fixed;
  bottom: -30%;
  right: -20%;
  width: 90vw;
  height: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.1) 0%, rgba(0, 162, 255, 0) 60%);
  z-index: -1;
  animation: float-premium 30s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

/* Optional 3rd blob for better balance */
.bg-blob-1::after {
  content: '';
  position: fixed;
  top: 40%;
  left: 30%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0) 60%);
  animation: float-premium 20s ease-in-out infinite alternate;
}

@keyframes float-premium {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.05); }
  100% { transform: translate(-2%, 3%) scale(0.95); }
}

/* App Container */
.app-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 8vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-left: -8vw;
  margin-right: -8vw;
  padding: 1.5rem 8vw;
  border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #1A1A1A, var(--primary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  min-height: 70vh;
  padding: 2rem 0 4rem;
  scroll-snap-align: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary-blue);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue), #0044BB);
  color: white;
  text-decoration: none;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
  background: linear-gradient(135deg, #0077FF, var(--primary-blue));
}

.windows-info {
  display: flex;
  flex-direction: column;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.windows-info strong {
  color: var(--text-primary);
}

/* Mockup Display */
.hero-mockup {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-mockup:hover .glass-card {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Mockup UI Elements */
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

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

.mockup-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mockup-item:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateX(10px);
}

.mockup-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-item.done .mockup-check {
  background: var(--secondary-blue);
}

.mockup-item.done .mockup-text {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.floating-element {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: float 6s ease-in-out infinite;
}

.f-1 {
  top: 15%;
  left: calc(50% + 120px);
  animation-delay: 0s;
}

.f-2 {
  bottom: 25%;
  right: calc(50% + 120px);
  animation-delay: -3s;
}

/* Feature Showcases */
.features-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6rem 0 4rem; /* Increased top padding to separate from hero */
}

.feature-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  min-height: 75vh; 
  padding: 4rem 5rem;
  margin-bottom: 6rem; /* Gap before next card */
  position: sticky;
  top: 12vh; /* Distance from top when sticking */
  scroll-snap-align: start;
  scroll-margin-top: 12vh; /* Snaps exactly when it hits the sticky point */
  
  /* Card styling - Changed to solid to prevent bleed-through of stacked sticky cards and fix extreme scroll lag */
  background: #FFFFFF;
  /* backdrop-filter removed to prevent nested blur performance issues */
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  
  z-index: 10;
}

/* Add consecutive z-index so they stack correctly */
.feature-showcase:nth-child(1) { z-index: 10; }
.feature-showcase:nth-child(2) { z-index: 11; }
.feature-showcase:nth-child(3) { z-index: 12; }
.feature-showcase:nth-child(4) { z-index: 13; }
.feature-showcase:nth-child(5) { z-index: 14; }
.feature-showcase:nth-child(6) { z-index: 15; }

/* Remove the old divider */

/* 交替背景色 (Removed to keep flow clean and seamless) */
.feature-showcase:nth-child(even) {
  /* removed distracting borders and alt background */
}

.feature-showcase.reverse {
  flex-direction: row-reverse;
}

.feature-showcase.vertical {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
}

.feature-showcase.vertical .showcase-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-showcase.vertical .showcase-visual {
  max-width: 100%;
}

/* 左右交替布局 */
.feature-showcase.layout-left {
  flex-direction: row;
  text-align: left;
}
.feature-showcase.layout-left .showcase-content {
  align-items: flex-start;
}
.feature-showcase.layout-right {
  flex-direction: row-reverse;
  text-align: left;
}
.feature-showcase.layout-right .showcase-content {
  align-items: flex-start;
}

.showcase-content {
  flex: 1;
  max-width: 45%;
}

.showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 50%;
}

.feature-showcase h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-showcase p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 102, 255, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-blue);
  margin-bottom: 1.5rem;
}

.feature-icon.glow {
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 198, 255, 0.15));
  border: 1px solid rgba(0, 198, 255, 0.2);
  transition: all 0.3s;
}

.feature-showcase:hover .feature-icon.glow {
  box-shadow: 0 0 50px rgba(0, 198, 255, 0.5);
  transform: scale(1.1);
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  /* Added transition fallback or just let animation handle it */
}
.reveal-up.active {
  animation: reveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-slow { animation: float-soft 8s ease-in-out infinite; }
.float-fast { animation: float-soft 6s ease-in-out infinite reverse; }

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

/* Mockup Glass Container */
.mockup-glass {
  width: 100%;
  min-width: 320px;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 50, 150, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.feature-showcase:hover .mockup-glass {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 102, 255, 0.15), inset 0 0 30px rgba(255, 255, 255, 0.8);
}

.mockup-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.reverse-glow { background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 60%); }
.focus-glow { background: radial-gradient(circle, rgba(100, 200, 255, 0.15) 0%, transparent 60%); }

/* Note UI Elements */
.mockup-note {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.note-line {
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  width: 100%;
}
.note-line.w-80 { width: 80%; }
.note-line.w-60 { width: 60%; }

.note-content-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 102, 255, 0.03);
  border-left: 3px solid var(--primary-blue);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.9rem;
  border: 1px solid rgba(0, 102, 255, 0.1);
  backdrop-filter: blur(10px);
}
.f-badge-1 {
  bottom: -20px;
  right: -20px;
  animation: float-soft 4s ease-in-out infinite;
}

/* Focus UI Elements */
.focus-timer-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.timer-circle {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 4;
}

.circle-progress {
  fill: none;
  stroke: var(--secondary-blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 1s linear;
}

.timer-text {
  text-align: center;
  z-index: 10;
}

.timer-text .time {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-text .label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 500;
}

.focus-controls {
  display: flex;
  gap: 1rem;
}

.focus-controls div {
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-pause {
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary-blue);
}
.btn-pause:hover {
  background: rgba(0, 102, 255, 0.2);
}

.btn-stop {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-stop:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

/* ======= Cloud Sync UI ======= */
.sync-ui {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sync-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.sync-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sync-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}

.sync-dot.pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.sync-label {
  font-weight: 600;
  color: #22C55E;
  font-size: 0.95rem;
}

.sync-time {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sync-devices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sync-device-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.sync-device-item:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateX(6px);
}

.sync-device-info {
  flex: 1;
}

.sync-device-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.sync-device-status {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sync-progress-mini {
  width: 40px;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.sync-progress-bar-mini {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
  border-radius: 3px;
  animation: sync-bar 2s ease-in-out infinite;
}

@keyframes sync-bar {
  0% { width: 30%; }
  50% { width: 80%; }
  100% { width: 30%; }
}

.sync-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sync-summary strong {
  color: var(--primary-blue);
}

.f-badge-2 {
  bottom: -20px;
  left: -20px;
  animation: float-soft 5s ease-in-out infinite;
}

/* ======= SMS Notification UI ======= */
.sms-ui {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sms-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.sms-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sms-header-info {
  flex: 1;
}

.sms-sender {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.sms-time-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sms-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sms-bubble {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(0, 198, 255, 0.06));
  border: 1px solid rgba(0, 102, 255, 0.08);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 1rem 1.15rem;
  transition: all 0.3s ease;
}

.sms-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.1);
}

.sms-bubble-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue);
  margin-bottom: 0.4rem;
}

.sms-bubble-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.sms-bubble-time {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.3);
  margin-top: 0.4rem;
}

.sms-setup-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 102, 255, 0.04);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.f-badge-3 {
  top: -15px;
  right: -15px;
  animation: float-soft 4.5s ease-in-out infinite reverse;
}

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 2rem 3rem;
  margin-top: 6rem;
  color: var(--text-secondary);
  position: relative;
  scroll-snap-align: end;
  
  /* Modern Glassmorphic Island */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.02), inset 0 1px 20px rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(to right, #1A1A1A, var(--primary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand img {
  filter: drop-shadow(0 4px 8px rgba(0, 85, 255, 0.2));
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.05);
  transform: translateY(-2px);
}

.footer-divider {
  width: 100%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.15), transparent);
  margin: 2rem auto;
}

.footer p {
  font-size: 0.9rem;
  color: #8892B0;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-showcase,
  .feature-showcase.reverse,
  .feature-showcase.layout-left,
  .feature-showcase.layout-right {
    flex-direction: column !important;
    text-align: center;
    gap: 2.5rem;
  }
  .feature-showcase.layout-left .showcase-content,
  .feature-showcase.layout-right .showcase-content {
    align-items: center;
  }
  .showcase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .features-showcase-container {
    padding: 2rem 0 0;
    gap: 0;
  }
}

@media (max-width: 768px) {
  html.snap-html {
    scroll-snap-type: none;
  }

  .app-container {
    padding: 0 5vw;
  }
  
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 5vw;
    margin: 0 -5vw;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    gap: 1.25rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    font-size: 0.95rem;
    white-space: nowrap;
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  .hero p {
    font-size: 1.05rem;
    padding: 0;
  }
  .cta-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-mockup {
    width: 100%;
    margin-top: 2rem;
  }
  .glass-card {
    transform: none !important;
    width: 100%;
    padding: 1.5rem;
  }
  .hero-mockup:hover .glass-card {
    transform: none !important;
  }
  .floating-element, .floating-badge {
    display: none !important; /* Hide floating items on mobile */
  }

  .feature-showcase {
    position: relative;
    top: auto;
    scroll-snap-align: none;
    padding: 2rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 24px;
    min-height: auto;
    z-index: 1 !important;
  }
  .showcase-content,
  .showcase-visual {
    max-width: 100%;
    width: 100%;
  }
  .feature-showcase h2 {
    font-size: 1.6rem;
  }
  .feature-showcase p {
    font-size: 0.95rem;
  }
  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  .mockup-glass {
    min-width: 100%;
    padding: 1.25rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  /* Feature Subpages */
  .detail-hero h1 {
    font-size: 2rem;
  }
  .detail-hero p {
    font-size: 1.05rem;
    padding: 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
