/* ============================================================
   LandingPage — Daylight Redesign
   Typeface: Outfit + Noto Sans SC | Accent: blue | Bg: warm light
   Motion: custom cubic-bezier, reduced-motion aware
   ============================================================ */

/* ========== Root Tokens ========== */
.landing-page {
  --bg-base:       #f6f7f9;
  --bg-surface:    #ffffff;
  --bg-elevated:   #f0f2f5;
  --bg-overlay:    rgba(255, 255, 255, 0.92);

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-hover:  rgba(0, 0, 0, 0.12);

  --accent:        #2563eb;
  --accent-dim:    rgba(37, 99, 235, 0.08);
  --accent-hover:  #1d4ed8;

  --text-primary:  #111827;
  --text-secondary:#4b5563;
  --text-muted:    #9ca3af;

  --brand-grad:    linear-gradient(135deg, #2563eb 0%, #6366f1 55%, #a855f7 100%);

  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-glow:   0 4px 24px rgba(37, 99, 235, 0.12);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.32, 0.72, 0, 1);
  --dur-normal:   500ms;
  --dur-slow:     800ms;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  --font-sans: 'Outfit', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  position: relative;
  min-height: 100dvh;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ========== Grain Overlay ========== */
.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ========== Ambient Background ========== */
.landing-page .lp-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
}

/* ========== Layout ========== */
.landing-page .lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.landing-page section {
  padding: 100px 0;
}

/* ========== Top Navigation ========== */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
}

.lp-nav__logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: default;
}

.lp-nav__links {
  display: flex;
  gap: 28px;
}

.lp-nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: color var(--dur-normal) var(--ease-out-expo);
}
.lp-nav__links a:hover {
  color: var(--text-primary);
}

.lp-nav__actions {
  display: flex;
  gap: 8px;
}

.lp-nav__btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all var(--dur-normal) var(--ease-spring);
}

.lp-nav__btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.lp-nav__btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(0, 0, 0, 0.02);
}
.lp-nav__btn--ghost:active {
  transform: scale(0.97);
}

.lp-nav__btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
}
.lp-nav__btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}
.lp-nav__btn--primary:active {
  transform: scale(0.97) translateY(0);
}

/* ========== Hero ========== */
.lp-hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 64px;
}

.lp-hero-content {
  max-width: 780px;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.lp-hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: lpPulse 2.5s ease-in-out infinite;
}
@keyframes lpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.lp-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.lp-hero h1 .lp-gradient {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero__sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 0;
  line-height: 1.85;
}

/* Hero CTA Actions */
.lp-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 36px auto 44px;
}

.lp-hero-actions__links {
  display: flex;
  gap: 20px;
}

.lp-hero-actions__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--dur-normal) var(--ease-out-expo);
}
.lp-hero-actions__links a:hover {
  color: var(--accent);
}

/* Device Mockup - Double Bezel */
.lp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 64px auto 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(145deg, rgba(0,0,0,0.08), rgba(0,0,0,0.03));
  box-shadow: var(--shadow-lg);
}

.lp-hero-visual__inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-xl) - 3px);
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lp-hero-visual__screen {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lp-screen-left {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lp-camera-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(96, 165, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lpRingPulse 4s ease-in-out infinite;
  position: relative;
}

.lp-camera-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.12);
}

.lp-camera-ring svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #60a5fa;
  stroke-width: 1.2;
  opacity: 0.8;
}
@keyframes lpRingPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.8; } }

.lp-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  animation: lpScanMove 4s linear infinite;
  opacity: 0.5;
}
@keyframes lpScanMove { 0% { top: 0; } 100% { top: 100%; } }

.lp-screen-right {
  background: var(--bg-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--border-subtle);
}

.lp-chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  line-height: 1.7;
  animation: lpFadeInUp var(--dur-slow) var(--ease-out-expo) both;
}

.lp-chat-bubble--user {
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}

.lp-chat-bubble--ai {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.lp-typing {
  display: inline-flex;
  gap: 4px;
  margin-top: 6px;
}

.lp-typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: lpBlink 1.4s infinite both;
}
.lp-typing span:nth-child(2) { animation-delay: 0.2s; }
.lp-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lpBlink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes lpFadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.lp-chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.lp-chat-bubble:nth-child(2) { animation-delay: 0.6s; }
.lp-chat-bubble:nth-child(3) { animation-delay: 1.1s; }

.lp-audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  padding-top: 8px;
}

.lp-audio-wave span {
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  animation: lpWaveBar 1.2s ease-in-out infinite;
  opacity: 0.7;
}
.lp-audio-wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.lp-audio-wave span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.lp-audio-wave span:nth-child(3) { height: 14px; animation-delay: 0.2s; }
.lp-audio-wave span:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.lp-audio-wave span:nth-child(5) { height: 12px; animation-delay: 0.4s; }
.lp-audio-wave span:nth-child(6) { height: 18px; animation-delay: 0.15s; }
.lp-audio-wave span:nth-child(7) { height: 8px; animation-delay: 0.35s; }
@keyframes lpWaveBar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1.2); } }

/* ========== Section Headers ========== */
.lp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.lp-section-header__tag {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 14px;
}

.lp-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.lp-section-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ========== Problem Section ========== */
.lp-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--dur-normal) var(--ease-spring);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.lp-problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.lp-problem-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.lp-problem-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.lp-problem-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* ========== Flow Section ========== */
.lp-flow-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.lp-flow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 700px;
  justify-content: center;
}

.lp-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 100px;
  text-align: center;
}

.lp-flow-step__node {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  transition: all var(--dur-normal) var(--ease-spring);
}

.lp-flow-step:hover .lp-flow-step__node {
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-glow);
  transform: scale(1.08);
}

.lp-flow-step__label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0;
}

.lp-flow-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 0 6px;
}

/* ========== Features (asymmetric 2-col) ========== */
.lp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--dur-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lp-feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.lp-feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 8px);
  justify-self: center;
}

.lp-feature-card__number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.lp-feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.lp-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.lp-feature-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* ========== Users ========== */
.lp-users-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.lp-user-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--dur-normal) var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.lp-user-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.lp-user-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.lp-user-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.lp-user-card p {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.75;
}

/* ========== Scenes ========== */
.lp-scenes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-scene-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: all var(--dur-normal) var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.lp-scene-row:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.lp-scene-row__icon {
  font-size: 1.3rem;
  text-align: center;
}

.lp-scene-row h4 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.lp-scene-row__desc {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.75;
}

.lp-scene-row__tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ========== Metrics ========== */
.lp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lp-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--dur-normal) var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.lp-metric-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.lp-metric-card__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.lp-metric-card__label {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}

/* ========== Tech Stack ========== */
.lp-tech-layers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-tech-layer {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  transition: all var(--dur-normal) var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.lp-tech-layer:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.lp-tech-layer__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.lp-tech-layer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-tech-layer__tags span {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
  transition: all var(--dur-normal) var(--ease-out-expo);
}

.lp-tech-layer__tags span:hover {
  border-color: var(--accent-dim);
  color: var(--text-primary);
}

/* ========== CTA / Footer ========== */
.lp-cta-section {
  text-align: center;
  padding: 120px 0;
}

.lp-cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.lp-cta-section p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1rem;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-spring);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.22);
}

.lp-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37, 99, 235, 0.32);
}

.lp-cta-btn:active {
  transform: scale(0.97);
}

.lp-cta-links {
  margin-top: 24px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.lp-cta-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--dur-normal) var(--ease-out-expo);
}
.lp-cta-links a:hover {
  color: var(--accent);
}

.lp-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

/* ========== Scroll Animations ========== */
.lp-fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.lp-fade-in.lp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Login Modal ========== */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: lpModalOverlayIn 300ms var(--ease-out-expo);
}

@keyframes lpModalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Double-bezel modal */
.lp-modal {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  padding: 4px;
  background: linear-gradient(160deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15), 0 0 60px rgba(37, 99, 235, 0.06);
  animation: lpModalIn 400ms var(--ease-spring);
}

@keyframes lpModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lp-modal__inner {
  background: var(--bg-surface);
  border-radius: calc(var(--radius-xl) - 4px);
  padding: 36px 28px 28px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lp-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-normal) var(--ease-out-expo);
}
.lp-modal__close:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
}

.lp-modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.lp-modal__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.lp-modal__subtitle {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

/* Modal form */
.lp-modal__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 3px;
}

.lp-modal__tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--dur-normal) var(--ease-out-expo);
}

.lp-modal__tab:hover {
  color: var(--text-secondary);
}

.lp-modal__tab--active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lp-modal__field {
  display: block;
  margin-bottom: 14px;
}

.lp-modal__field-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.lp-modal__field-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--dur-normal) var(--ease-out-expo),
              box-shadow var(--dur-normal) var(--ease-out-expo);
}

.lp-modal__field-input::placeholder {
  color: var(--text-muted);
}

.lp-modal__field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lp-modal__error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #dc2626;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  text-align: center;
}

.lp-modal__submit {
  width: 100%;
  padding: 11px 0;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-spring);
  box-shadow: 0 2px 16px rgba(37, 99, 235, 0.18);
}

.lp-modal__submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.28);
}

.lp-modal__submit:active:not(:disabled) {
  transform: scale(0.97);
}

.lp-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lp-modal__footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lp-modal__link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-sans);
  margin-left: 4px;
  padding: 0;
  transition: color var(--dur-normal) var(--ease-out-expo);
}
.lp-modal__link:hover {
  color: var(--accent-hover);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .lp-nav__links { display: none; }
  .lp-problem-grid { grid-template-columns: 1fr; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-feature-card:last-child:nth-child(odd) { max-width: 100%; grid-column: auto; }
  .lp-users-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-tech-layer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .landing-page section { padding: 72px 0; }
  .lp-hero-visual { margin-top: 40px; }
  .lp-scene-row { grid-template-columns: 40px 1fr; }
  .lp-scene-row__tag { grid-column: 2; justify-self: start; }
  .lp-flow-steps { justify-content: flex-start; }
  .lp-users-grid { grid-template-columns: 1fr; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  .lp-fade-in { opacity: 1; transform: none; transition: none; }
  .lp-scan-line, .lp-camera-ring, .lp-audio-wave span, .lp-typing span, .lp-hero-badge__dot { animation: none; }
  .lp-chat-bubble { animation: none; opacity: 1; transform: none; }
  .lp-modal-overlay, .lp-modal { animation-duration: 0.01ms; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
