/* d:\测试\codex\frontend\css\landing.css */

/*
  Gravity Landing Page Styles
  Style: Minimal, High-end, Dark Tech, Apple-like
  Dependencies: tokens.css (design tokens)
*/

:root {
  --container: 1080px;
  --nav-height: 60px;
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --accent-glow: rgba(139, 92, 246, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--surface-page);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--text-primary);
  color: var(--bg-dark);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  transition: 
    transform 0.2s var(--ease-slow),
    box-shadow 0.3s var(--ease-slow),
    background-color 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), 
    rgba(139, 92, 246, 0.4) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.3s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 30px var(--accent-glow),
    0 0 20px var(--accent-glow);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary:active::before {
  opacity: 1;
  transform: scale(2);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  transition: 
    background-color 0.3s ease, 
    border-color 0.3s ease,
    transform 0.2s var(--ease-slow),
    box-shadow 0.3s ease;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), 
    rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.3s ease;
  pointer-events: none;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}
.btn-secondary:active::before {
  opacity: 1;
  transform: scale(2);
}

.btn-text {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-slow);
}
.btn-text:hover {
  opacity: 1;
}
.btn-text:hover::after {
  width: 100%;
}

/* Typography */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Navigation */
.nav-minimal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 100;
}

.nav-brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links li {
  list-style: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-actions {
    display: none;
  }
}

/* Hero Section */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Abstract Visual (Glow Rings) */
.hero-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.core-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.15) 0%, rgba(167, 139, 250, 0.08) 40%, transparent 70%);
  filter: blur(40px);
  animation: pulse 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(60deg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  will-change: transform;
}

.ring-1 { 
  width: 600px; 
  height: 600px; 
  animation: 
    spin 25s cubic-bezier(0.4, 0, 0.2, 1) infinite,
    breathe 4s ease-in-out infinite;
  border-left-color: rgba(196, 181, 253, 0.35); 
  border-top-color: rgba(167, 139, 250, 0.15); 
}
.ring-2 { 
  width: 800px; 
  height: 800px; 
  animation: 
    spin 35s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse,
    breathe 5s ease-in-out infinite 1s;
  border-right-color: rgba(196, 181, 253, 0.2); 
  border-bottom-color: rgba(167, 139, 250, 0.1); 
}
.ring-3 { 
  width: 1000px; 
  height: 1000px; 
  animation: 
    spin 45s cubic-bezier(0.4, 0, 0.2, 1) infinite,
    breathe 6s ease-in-out infinite 2s;
  border-color: rgba(196, 181, 253, 0.08); 
}

@keyframes pulse {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
  25% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(90deg); }
  50% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(180deg); }
  75% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(270deg); }
  100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* Vision Section */
.section-vision {
  padding: 160px 0;
  background-color: var(--surface-section);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.vision-desc p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Features Section (Scroll Down Blocks) */
.section-scroll-features {
  padding: 160px 0;
  background-color: var(--bg-dark);
}

.features-header {
  margin-bottom: 80px;
}

.scroll-features-wrapper {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.scroll-feature-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .scroll-feature-item {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.sf-content {
  max-width: 480px;
}

.sf-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-icon::before {
  content: '';
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sf-icon-target::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

.sf-icon-rocket::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

.sf-icon-galaxy::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%2314B8A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Cpath d='M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z'/%3E%3Cpath d='M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z'/%3E%3C/svg%3E");
}

.sf-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.sf-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.sf-link {
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.sf-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sf-link::after {
  content: ' →';
  transition: transform 0.3s var(--ease-slow);
  display: inline-block;
}

.sf-link:hover::after {
  transform: translateX(4px);
}

/* Visual Mockups */
.sf-visual {
  position: relative;
  height: 400px;
  background: var(--surface-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 
    transform 0.4s var(--ease-slow),
    box-shadow 0.4s var(--ease-slow),
    border-color 0.3s ease;
}

.sf-visual:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.sf-visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite alternate;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-slow);
  pointer-events: none;
}

.sf-visual:hover .sf-visual-glow {
  opacity: 0.3;
  transform: translate(30px, -30px) scale(1.2);
}

.glow-purple { background: #a855f7; top: 10%; left: 10%; }
.glow-blue { background: #3b82f6; bottom: 10%; right: 10%; }
.glow-teal { background: #14b8a6; top: 30%; left: 30%; }

.sf-visual-mockup {
  position: relative;
  z-index: 2;
  width: 60%;
  height: 60%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* Mockup 1: Lines */
.mockup-line {
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  width: 100%;
}
.mockup-line.short { width: 60%; }
.mockup-line.highlight { background: rgba(168, 85, 247, 0.4); width: 80%; box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }

/* Mockup 2: Timeline */
.timeline-mockup {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.timeline-mockup::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  transform: translateY(-50%);
  z-index: -1;
}
.mockup-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 4px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Mockup 3: Dashboard */
.dashboard-mockup {
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
}
.mockup-bar {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 6px 6px 0 0;
  height: 40%;
  transition: height 0.5s ease;
}
.mockup-bar.tall { height: 90%; background: rgba(20, 184, 166, 0.4); box-shadow: 0 0 20px rgba(20, 184, 166, 0.2); }
.mockup-bar.medium { height: 60%; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.1); }
}

/* Workflow Section */
.section-workflow {
  padding: 160px 0;
  background-color: var(--bg-dark);
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
  position: relative;
}
@media (min-width: 768px) {
  .workflow-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow-steps::before,
  .workflow-steps::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50px;
    right: 50px;
    height: 1px;
  }
  .workflow-steps::before {
    background: rgba(255, 255, 255, 0.1);
  }
  .workflow-steps::after {
    background: linear-gradient(90deg, 
      rgba(139, 92, 246, 0.8) 0%, 
      rgba(139, 92, 246, 0.6) 50%,
      rgba(139, 92, 246, 0.8) 100%
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s var(--ease-slow);
  }
  .workflow-steps.animate-line::after {
    transform: scaleX(1);
  }
}

.step {
  position: relative;
  text-align: center;
}

.step-num {
  font-size: 12px;
  font-family: monospace;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  display: inline-block;
  background: var(--bg-dark);
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.step h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Attitude Section */
.section-attitude {
  padding: 200px 0;
  text-align: center;
}

.attitude-content h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.attitude-content p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.section-cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Footer */
.footer-minimal {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
}

.footer-meta {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* --- Page Load Transition --- */
body {
  opacity: 0;
  animation: pageEnter 0.6s var(--ease-slow) forwards;
  animation-delay: 0.1s;
}

@keyframes pageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- Hero Entrance Orchestration --- */
.hero-content .hero-title {
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) forwards;
  animation-delay: 0ms;
}

.hero-content .hero-subtitle {
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) forwards;
  animation-delay: 150ms;
}

.hero-content .hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-slow) forwards;
  animation-delay: 300ms;
}

.hero-visual {
  opacity: 0;
  animation: heroVisualEnter 1.5s var(--ease-slow) forwards;
  animation-delay: 500ms;
}

@keyframes heroVisualEnter {
  from { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.8); 
  }
  to { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1); 
  }
}

/* --- Scroll Animations --- */
.fade-up-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-slow), transform 1s var(--ease-slow);
}
.fade-up-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left-scroll {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-slow), transform 0.8s var(--ease-slow);
}
.fade-left-scroll.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-up-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-slow), transform 0.8s var(--ease-slow);
}
.scale-up-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Initial load animation */
.fade-up {
  animation: fadeUp 1.2s var(--ease-slow) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--surface-page);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-text:focus-visible,
.sf-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* --- Touch Feedback --- */
.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary:active {
  background-color: rgba(255,255,255,0.1);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  body {
    opacity: 1;
    animation: none;
  }
  
  .core-glow,
  .core-ring {
    animation: none;
  }
  
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-cta,
  .hero-visual {
    opacity: 1;
    animation: none;
  }
  
  .fade-up-scroll,
  .fade-left-scroll,
  .scale-up-scroll {
    opacity: 1;
    transform: none;
  }
  
  .fade-up {
    animation: none;
    opacity: 1;
  }
  
  .workflow-steps::after {
    transform: scaleX(1);
  }
  
  .starlight-container,
  .starlight {
    display: none;
  }
}

.starlight-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.starlight {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4);
  opacity: 0;
  will-change: opacity, transform;
  animation: starlight-twinkle var(--twinkle-duration, 4s) var(--twinkle-delay, 0s) ease-in-out infinite;
  animation-play-state: var(--twinkle-state, running);
}

.starlight--large {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.5);
}

@keyframes starlight-twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
