:root {
  --bg: #050505;
  --bg-elevated: #0d0d10;
  --bg-card: rgba(18, 18, 23, 0.72);
  --bg-card-solid: #121217;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.35);
  --green-dark: #16a34a;
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --glow-shadow: 0 0 40px rgba(34, 197, 94, 0.15), 0 0 80px rgba(139, 92, 246, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(ellipse at top center, rgba(34, 197, 94, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at left center, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #0a0a0e 50%, #050505 100%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.bg-dark {
  background: #050505 !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global Animations & Effects */

/* Smooth entrance animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle glow effect for cards */
.glow-effect {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.3), 
                0 0 80px rgba(139, 92, 246, 0.2);
  }
}
html {
  scroll-behavior: smooth;
}

/* Background effects */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  top: -160px;
  right: -120px;
}

.glow-2 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  bottom: -220px;
  left: -180px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.navbar .container.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none !important;
  padding: 0 40px;
}

.navbar.scrolled {
  padding: 12px 0;
  /* Same styles as initial state, just different padding */
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-text {
  color: var(--text);
  font-weight: 700;
}

.logo-accent {
  color: var(--green);
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  position: relative;
  box-shadow: 0 0 24px var(--green-glow), 0 4px 12px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--bg);
  border-radius: 6px;
  transform: rotate(45deg);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 
    0 0 36px var(--green-glow),
    0 0 60px rgba(34, 197, 94, 0.4),
    0 8px 24px rgba(34, 197, 94, 0.3);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

/* Hero Section with Tilted Dashboard */
.hero {
  position: relative;
  padding: calc(60vh - 150px) 0 calc(40vh - 80px);
  min-height: 100vh;
  max-height: 1200px;
  text-align: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Better spacing for hero content */
.hero-badge {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out forwards, pulseGlow 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Tilted Dashboard Background Image */
.hero-image-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.0);
  width: 85%;
  max-width: 1200px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}

.tilted-dashboard {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s ease;
}

.hero-image-background:hover .tilted-dashboard {
  transform: rotate(-5deg) scale(1.02);
}

/* Overlay gradient for better readability - Darker gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Scroll Reveal Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientSweep {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-badge, .hero-subtitle, .hero-actions, .hero-stats {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 40px;
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

/* Scroll Reveal on Intersection */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card-large,
.feature-grid > div:not(.feature-card-large) {
  animation: revealUp 0.6s ease-out both;
}

.feature-card-large { animation-delay: 0.2s; }
.feature-grid > div:not(.feature-card-large):nth-child(1) { animation-delay: 0.3s; }
.feature-grid > div:not(.feature-card-large):nth-child(2) { animation-delay: 0.4s; }

/* Button Pulse Animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 4px 40px rgba(34, 197, 94, 0.5);
  }
}

.hero .btn-primary {
  animation: pulse-glow 2s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.5),
    0 0 60px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-tertiary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-tertiary:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--green);
  color: var(--green);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 180px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--green);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: 
    linear-gradient(135deg, #ffffff 0%, #a7f3d0 30%, #86efac 60%, #a78bfa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 0.8s ease-out;
  text-shadow: 0 0 80px rgba(34, 197, 94, 0.1), 0 0 40px rgba(139, 92, 246, 0.08);
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 80px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-preview {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(34, 197, 94, 0.12);
  transform: rotateX(6deg) rotateY(0deg);
  transition: var(--transition);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-preview:hover .hero-image {
  transform: rotateX(0deg) scale(1.015);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 100px rgba(34, 197, 94, 0.2);
}

@keyframes heroFloat {
  0%, 100% { transform: rotateX(6deg) translateY(0); }
  50% { transform: rotateX(6deg) translateY(-12px); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-elevated);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1300px;
}

.pricing-card {
  background: 
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.15), transparent 40%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(30, 30, 35, 0.9) 0%, rgba(20, 20, 25, 0.95) 50%, rgba(15, 15, 20, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  width: 280px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* 悬停时的特效 */
.pricing-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(34, 197, 94, 0.2),
    0 0 60px rgba(139, 92, 246, 0.15),
    0 0 0 1px rgba(34, 197, 94, 0.5) inset !important;
}

.feature-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.feature-tag.tag-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.25);
}

.feature-tag.tag-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.25);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.92rem;
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  animation: fadeInUp 0.5s ease-out both;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  animation: scaleIn 0.3s ease-out both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.feature-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card-2x);
  transition: var(--transition);
}

.feature-card:hover .feature-media {
  transform: scale(1.02);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
  transform: scale(0.9);
}

.feature-card:hover .feature-media img {
  transform: scale(1.05);
}

.feature-media.compact {
  margin-top: 24px;
}

/* Highlight / poster section */
.section-highlight {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(34, 197, 94, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.08), transparent 50%),
    var(--bg);
}

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

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.highlight-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.highlight-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.highlight-tags .tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.highlight-tags .tag:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
  transform: translateY(-2px);
}

.highlight-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 12px;
  font-size: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

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

.highlight-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.highlight-media:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(34, 197, 94, 0.15);
}

.highlight-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 40%, transparent 60%, rgba(255,255,255,0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: var(--transition);
}

.platform-icon svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.platform-icon.windows {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.platform-icon.macos {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.platform-icon.linux {
  background: rgba(244, 244, 245, 0.1);
  color: #f4f4f5;
  box-shadow: 0 0 30px rgba(244, 244, 245, 0.1);
}

.platform-card:hover .platform-icon {
  transform: scale(1.12) rotate(-5deg);
}

.platform-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.platform-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Download section */
.section-download {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.08), transparent 60%),
    var(--bg-elevated);
}

.download-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.download-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateX(6px);
}

.tab-btn.active {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--green);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.download-panels {
  position: relative;
  min-height: 320px;
}

.tab-panel {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.tab-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.tab-panel p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.code-block {
  position: relative;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 56px 18px 20px;
  margin-bottom: 28px;
  overflow: hidden;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--purple));
}

.code-block code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9rem;
  color: #e4e4e7;
  word-break: break-all;
}

.copy-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
  transform: translateY(-50%) scale(1.1);
}

/* Download Section */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item summary {
  padding: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--green);
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green);
}

/* Footer Logo */
.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  color: var(--green);
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Download Section */
.download-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
  margin-top: 20px;
  text-align: center;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #22c55e, #22c55e);
}

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

/* Tutorial CTA Section */
.section-tutorial-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.05) 50%, transparent 100%);
}

.tutorial-cta-card {
  max-width: 900px;
  margin: 0 auto;
}

.tutorial-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
  animation: cardFloat 4s ease-in-out infinite;
}

.tutorial-cta-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}

.tutorial-cta-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tutorial-cta-text h2 {
  font-size: 2rem;
  margin: 0;
  background: linear-gradient(135deg, #ffffff, #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.tutorial-cta-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

.tutorial-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #ffffff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  width: fit-content;
  margin-top: 8px;
}

.tutorial-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #22c55e, #22c55e);
}

.tutorial-btn svg {
  stroke: white;
  transition: transform var(--transition);
}

.tutorial-btn:hover svg {
  transform: translateX(4px);
}

.tutorial-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tutorial-cta-icon svg {
  width: 120px;
  height: 120px;
  stroke: var(--green);
  opacity: 0.9;
  animation: iconPulse 2s ease-in-out infinite;
}

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

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-btn {
    width: auto;
    flex: 1 1 calc(50% - 6px);
  }

  .download-preview {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .highlight-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .navbar .btn-sm {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .feature-card-large {
    grid-template-columns: 1fr;
  }

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

  .highlight-benefits {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    flex: 1 1 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
