/* ============================================
   Nodera Landing Page — Glassmorphism Design
   ============================================ */

:root {
  /* Brand */
  --primary: #FF6D5A;
  --primary-light: #FF8A7A;
  --primary-dark: #E55A48;

  /* Accents */
  --accent-purple: #6C63FF;
  --accent-teal: #00D9C0;
  --accent-gold: #FFB800;

  /* Status */
  --success: #00C853;
  --error: #FF5252;
  --info: #448AFF;

  /* Surfaces */
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --card: #242424;
  --divider: #3C3C3C;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-tertiary: #808080;

  /* Glass */
  --glass-fill: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-highlight: rgba(255, 255, 255, 0.06);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

/* ===== Particle Canvas ===== */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
}

/* ===== Animated Gradient Orbs ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: var(--primary);
  top: -300px;
  left: -250px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: 35%;
  right: -250px;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: var(--accent-teal);
  bottom: -200px;
  left: 25%;
  animation-delay: -10s;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: var(--accent-gold);
  top: 60%;
  left: -150px;
  animation-delay: -15s;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(50px, -40px, 0) scale(1.08); }
  50% { transform: translate3d(-30px, 50px, 0) scale(0.92); }
  75% { transform: translate3d(40px, 30px, 0) scale(1.04); }
}

/* ===== Glass Utilities ===== */
.glass-card {
  background: var(--glass-fill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-fill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 109, 90, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255, 109, 90, 0); }
}

/* ===== Navigation ===== */
.glass-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 900px;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 10px 12px 10px 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(13, 13, 13, 0.85);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.2s ease;
}

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

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

/* Nav download icons */
.nav-download {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 4px 4px 4px 14px;
}

.nav-dl-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 8px;
}

.nav-dl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-dl-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.nav-dl-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-dl-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  position: relative;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 109, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 109, 90, 0.45);
}

.btn-glow {
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple), var(--primary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

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

.btn-wrapper {
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--accent-purple), #8B83FF);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 140px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-badge {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent-purple), var(--accent-teal));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-detail {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 36px;
}

/* App Store rating badge */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
}

.appstore-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: var(--glass-fill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.appstore-rating:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.appstore-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.appstore-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.appstore-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.appstore-stars span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 6px;
}

.appstore-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== Card Stack ===== */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 420px;
  height: 700px;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 109, 90, 0.18), rgba(108, 99, 255, 0.08) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.stack-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1),
              opacity 0.7s cubic-bezier(0.4, 0.0, 0.2, 1),
              filter 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: transform, opacity, filter;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.stack-card img {
  width: 300px;
  height: auto;
  border-radius: 32px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  -webkit-user-select: none;
  display: block;
}

/* Stack positions — set by JS via data-stack attribute */
.stack-card[data-stack="0"] {
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  z-index: 7;
  opacity: 1;
}

.stack-card[data-stack="0"] img {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 109, 90, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.stack-card[data-stack="1"] {
  transform: translate(-50%, -52%) rotate(3deg) translateX(12px) scale(0.96);
  z-index: 6;
  opacity: 0.85;
  filter: brightness(0.85);
}

.stack-card[data-stack="2"] {
  transform: translate(-50%, -54%) rotate(-2.5deg) translateX(-10px) scale(0.92);
  z-index: 5;
  opacity: 0.65;
  filter: brightness(0.7);
}

.stack-card[data-stack="3"] {
  transform: translate(-50%, -56%) rotate(4.5deg) translateX(8px) scale(0.88);
  z-index: 4;
  opacity: 0.45;
  filter: brightness(0.55);
}

.stack-card[data-stack="4"] {
  transform: translate(-50%, -58%) rotate(-3.5deg) translateX(-6px) scale(0.84);
  z-index: 3;
  opacity: 0.25;
  filter: brightness(0.4);
}

.stack-card[data-stack="hidden"] {
  transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
  z-index: 1;
  opacity: 0;
}

/* Dealing animation — front card flies out */
.stack-card.dealing {
  transform: translate(-50%, -120%) rotate(-15deg) scale(0.7) !important;
  opacity: 0 !important;
  z-index: 10 !important;
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
              filter 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* Glass card mock (kept for bento section) */
.glass-card-mock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

/* ===== Sections Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Features Section ===== */
.features {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(3deg);
  box-shadow: 0 4px 20px rgba(255, 109, 90, 0.35);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== How it Works ===== */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 900px;
  margin: 0 auto;
}

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

.step {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.15);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 109, 90, 0.25);
}

.step-connector {
  display: none;
}

.step-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Stats Section ===== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  width: 100%;
  text-align: center;
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Counter completion glow */
.stat-value.counter-done {
  animation: counter-glow 1.2s ease forwards;
}

@keyframes counter-glow {
  0% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  40% { filter: brightness(1.4) drop-shadow(0 0 12px rgba(255, 109, 90, 0.5)); }
  100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

/* ===== Bento Showcase ===== */
.showcase {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-item {
  padding: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.bento-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bento-visual {
  margin-top: 24px;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.bento-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  height: 140px;
}

.mini-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
  animation: bar-grow 0.8s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.bento-code {
  margin-top: 20px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-line {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.code-line.code-visible {
  opacity: 1;
  transform: translateY(0);
}

.code-key {
  color: var(--accent-purple);
}

.code-success {
  color: var(--success);
}

.code-val {
  color: var(--primary);
}

.bento-notification {
  margin-top: 20px;
}

.notif-mock {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.notif-mock.notif-visible {
  opacity: 1;
  transform: translateX(0);
}

.notif-mock.notif-pulse {
  animation: notif-re-pulse 0.6s ease;
}

@keyframes notif-re-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 82, 82, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-text strong {
  font-size: 13px;
  font-weight: 600;
}

.notif-text span {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ===== Bento Grid Variants ===== */
.bento-grid-reverse {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.bento-grid-reverse > .bento-large {
  order: 3;
}

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

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

/* ===== Bento Action Mocks ===== */
.bento-action-mock {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn-mock {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  width: fit-content;
  border-radius: 12px;
}

.action-btn-retry span {
  color: var(--primary);
}

.action-btn-lock span {
  color: var(--accent-teal);
}

.action-status-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 4px;
}

.action-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.action-dot-success {
  background: var(--success);
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
}

/* ===== Bento Workflow List ===== */
.bento-workflow-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.workflow-item-mock {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
}

.workflow-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.workflow-dot-active {
  background: var(--success);
  box-shadow: 0 0 6px rgba(0, 200, 83, 0.3);
}

.workflow-dot-inactive {
  background: var(--text-tertiary);
}

.workflow-name {
  font-size: 13px;
  font-weight: 500;
}

.workflow-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: background 0.2s;
}

.workflow-toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-tertiary);
  top: 2px;
  left: 2px;
  transition: transform 0.2s, background 0.2s;
}

.workflow-toggle-on {
  background: rgba(0, 200, 83, 0.2);
}

.workflow-toggle-on::after {
  transform: translateX(16px);
  background: var(--success);
}

/* ===== Bento Node List ===== */
.bento-node-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.node-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.node-icon-active {
  background: rgba(0, 200, 83, 0.1);
}

.node-icon-disabled {
  background: rgba(128, 128, 128, 0.1);
}

.workflow-name-disabled {
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(128, 128, 128, 0.4);
}

/* ===== Reviews Carousel ===== */
.reviews {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: 20px;
}

.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.reviews-track:active {
  cursor: grabbing;
}

.review-card {
  min-width: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 16px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.review-author span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Arrow buttons */
.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 2;
}

.reviews-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.reviews-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Free badge */
.badge-free {
  background: linear-gradient(135deg, var(--success), #69F0AE);
  color: #0D0D0D;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.badge-free::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 60%
  );
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
  0%, 100% { left: -75%; }
  50%, 60% { left: 125%; }
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 40px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  padding: 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 109, 90, 0.08), rgba(108, 99, 255, 0.08));
  border: 1px solid rgba(255, 109, 90, 0.15);
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 109, 90, 0.12), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

/* ===== Contact Section ===== */
.contact {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  padding: 40px;
}

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

.form-row {
  display: flex;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 109, 90, 0.03);
  box-shadow: 0 0 0 4px rgba(255, 109, 90, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 56px 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-link-disabled {
  font-size: 14px;
  color: var(--text-tertiary);
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-soon {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent-purple);
  color: white;
  padding: 1px 6px;
  border-radius: 100px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ===== Step Number Pop ===== */
.step.visible .step-number {
  animation: step-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.step:nth-child(1).visible .step-number { animation-delay: 0s; }
.step:nth-child(2).visible .step-number { animation-delay: 0.12s; }
.step:nth-child(3).visible .step-number { animation-delay: 0.24s; }

@keyframes step-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===== CTA Glow Pulse ===== */
.cta-glow {
  animation: cta-glow-pulse 4s ease-in-out infinite;
}

@keyframes cta-glow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* ===== Footer Link Hover ===== */
.footer-col a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* ===== Nav Logo Hover ===== */
.logo-icon {
  transition: transform 0.3s ease;
}

.logo-text {
  transition: color 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.08) rotate(-3deg);
}

.logo:hover .logo-text {
  color: var(--primary);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent-purple));
  z-index: 101;
  pointer-events: none;
  transition: none;
}

/* ===== Reviews Dot Indicators ===== */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== will-change Optimizations ===== */
.fade-in,
.fade-in-left,
.fade-in-right {
  will-change: transform, opacity;
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  will-change: auto;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 56px;
    padding: 140px 24px 60px;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .hero-visual {
    flex: none;
    width: 300px;
    height: 520px;
  }

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

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

  .bento-grid,
  .bento-grid-reverse,
  .bento-grid-halves,
  .bento-grid-thirds {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-row: span 1;
  }

  .bento-grid-reverse > .bento-large {
    order: 0;
  }

}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .features,
  .how-it-works,
  .showcase {
    padding: 60px 20px;
  }

  .reviews {
    padding: 60px 20px;
  }

  .contact {
    padding: 60px 20px;
  }

  .cta-section {
    padding: 20px 20px 60px;
  }

  .cta-card {
    padding: 40px 24px;
  }

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

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-wrapper {
    width: 100%;
  }

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

  .form-row {
    flex-direction: column;
  }

  /* Mobile: smaller card stack */
  .hero-visual {
    width: 280px;
    height: 480px;
  }

  .stack-card img {
    width: 220px;
    border-radius: 28px;
  }

  .phone-glow {
    display: none;
  }

  .coming-soon-badge {
    right: 0;
  }

  .glass-nav {
    width: calc(100% - 16px);
    padding: 8px 16px;
    border-radius: 20px;
  }

  .nav-links {
    display: none;
  }

  .reviews-arrow {
    display: none;
  }

  .review-card {
    min-width: 240px;
    padding: 22px;
  }

  .review-card p {
    font-size: 14px;
  }

  .review-stars {
    font-size: 14px;
  }

  .review-author strong {
    font-size: 13px;
  }

  .btn-nav {
    display: inline-flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    align-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-link-disabled {
    justify-content: center;
  }

  .footer-columns {
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0 auto;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .stat-value {
    font-size: 28px;
    letter-spacing: -1px;
  }


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

  .step:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .glass-badge {
    font-size: 11px;
    gap: 6px;
    padding: 6px 14px;
  }

  .stat-value {
    font-size: 26px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 28px;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .orb,
  .badge-dot,
  .gradient-text,
  .coming-soon-badge,
  .badge-free::after,
  .phone-glow,
  .mini-bar,
  .stack-card.dealing,
  .cta-glow,
  .notif-mock.notif-pulse,
  .step.visible .step-number {
    animation: none !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .feature-card,
  .feature-icon,
  .btn,
  .review-card,
  .step,
  .stat-item,
  .bento-item,
  .logo-icon,
  .logo-text,
  .footer-col a,
  .nav-links a::after,
  .reviews-track,
  .notif-mock,
  .code-line {
    transition-duration: 0.01s !important;
  }

  #particles {
    display: none;
  }

  .mini-bar {
    transform: scaleY(1);
  }

  .code-line {
    opacity: 1;
    transform: none;
  }

  .notif-mock {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }

  .stack-card[data-stack="0"] {
    opacity: 1;
  }

  .stack-card:not([data-stack="0"]) {
    opacity: 0 !important;
  }
}
