/* ReelSync — neon reel palette
   Sampled from the logo: cyan #40f0f0 (left reel), magenta #e040e0 (right reel),
   button interior #081828, exterior navy. */
:root {
  --bg-primary: #05070f;
  --bg-secondary: #0a1022;
  --bg-card: rgba(8, 24, 40, 0.72);
  --bg-card-hover: rgba(12, 34, 56, 0.9);
  --border-color: rgba(120, 200, 230, 0.12);
  --border-glow: rgba(64, 240, 240, 0.45);
  --text-primary: #f2f8ff;
  --text-secondary: #9fb3c8;
  --text-muted: #6b7f95;
  --brand-cyan: #40f0f0;
  --brand-cyan-soft: #8ff7f7;
  --brand-magenta: #e040e0;
  --brand-magenta-soft: #f38cf3;
  --brand-gradient: linear-gradient(135deg, #40f0f0 0%, #7fa8ff 48%, #e040e0 100%);
  --brand-accent: var(--brand-cyan);
  --brand-glow: 0 0 35px rgba(64, 240, 240, 0.35);
  --cyan-glow: rgba(64, 240, 240, 0.22);
  --magenta-glow: rgba(224, 64, 224, 0.2);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: rgba(64, 240, 240, 0.35);
  color: #fff;
}

/* Ambient lighting: cyan from the left reel, magenta from the right */
.ambient-glow-1 {
  position: absolute;
  top: -140px;
  left: 12%;
  width: 640px;
  height: 540px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 360px;
  right: 6%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--magenta-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(64, 240, 240, 0.35)) drop-shadow(0 0 14px rgba(224, 64, 224, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

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

.nav-links a:hover {
  color: var(--brand-cyan-soft);
}

.nav-links a.active {
  color: #fff;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #05070f;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 18px rgba(64, 240, 240, 0.28), 0 4px 18px rgba(224, 64, 224, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(64, 240, 240, 0.45), 0 8px 28px rgba(224, 64, 224, 0.3);
}

.btn-secondary {
  background: rgba(64, 240, 240, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(64, 240, 240, 0.1);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(64, 240, 240, 0.08);
  border: 1px solid rgba(64, 240, 240, 0.35);
  color: var(--brand-cyan-soft);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(64, 240, 240, 0.1); }
  100% { box-shadow: 0 0 22px rgba(64, 240, 240, 0.35); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 24px;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Showcase Screenshot */
.showcase-frame {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(8, 24, 40, 0.85);
  border: 1px solid rgba(120, 200, 230, 0.18);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    -30px 0 60px -20px rgba(64, 240, 240, 0.25),
    30px 0 60px -20px rgba(224, 64, 224, 0.25);
  overflow: hidden;
  position: relative;
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Screenshot gallery */
.gallery-section {
  padding: 40px 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
}

.shot {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shot:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(64, 240, 240, 0.12);
}

.shot:nth-child(even):hover {
  border-color: rgba(224, 64, 224, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(224, 64, 224, 0.12);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
}

.shot figcaption {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot figcaption strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.shot figcaption span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Feature Grid */
.features-section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(64, 240, 240, 0.12);
}

.feature-card:nth-child(even):hover {
  border-color: rgba(224, 64, 224, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(224, 64, 224, 0.12);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(64, 240, 240, 0.1);
  border: 1px solid rgba(64, 240, 240, 0.35);
  box-shadow: inset 0 0 14px rgba(64, 240, 240, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

/* Alternate reels: odd cards glow cyan, even cards glow magenta */
.feature-card:nth-child(even) .feature-icon-box {
  background: rgba(224, 64, 224, 0.1);
  border-color: rgba(224, 64, 224, 0.35);
  box-shadow: inset 0 0 14px rgba(224, 64, 224, 0.12);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* How It Works Section */
.steps-section {
  padding: 80px 0;
  background: rgba(8, 24, 40, 0.45);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  position: relative;
  padding: 24px;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.55;
}

/* Step numbers travel from the cyan reel to the magenta reel */
.step-card:nth-child(1) .step-number { background: #40f0f0; -webkit-background-clip: text; background-clip: text; }
.step-card:nth-child(2) .step-number { background: #6cc6f8; -webkit-background-clip: text; background-clip: text; }
.step-card:nth-child(3) .step-number { background: #a985f0; -webkit-background-clip: text; background-clip: text; }
.step-card:nth-child(4) .step-number { background: #e040e0; -webkit-background-clip: text; background-clip: text; }

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  background: #03050b;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-cyan-soft);
}

/* Inline brand links (footer credit, policy links) */
.brand-link {
  color: var(--brand-magenta-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand-link:hover {
  color: var(--brand-cyan-soft);
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
