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

:root {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --text: #1a1a2e;
  --text-muted: #666680;
  --accent: #f47920;
  --accent-glow: rgba(244, 121, 32, 0.1);
  --border: #e0e0e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.btn-nav {
  background: var(--accent) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.btn-nav:hover {
  opacity: 0.9;
}

.hamburger {
  display: none;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 121, 32, 0.3);
}

.btn-secondary {
  display: inline-block;
  color: var(--text-muted);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

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

/* Hero */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

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

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(244, 121, 32, 0.3);
}

#hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Phone Mockup */
.hero-visual {
  flex-shrink: 0;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #2a2a3e;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-placeholder > p {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-reel {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
  animation: reel-spin 3s linear infinite;
  transform-origin: 45% 48.5%;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}

h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
}

/* How It Works */
.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.step-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--accent);
  color: white;
  font-size: 24px;
  font-weight: 800;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content > p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 24px;
}

/* Step Visuals */
.step-visual {
  margin-top: 16px;
}

.step-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 500px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eee;
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-url {
  flex: 1;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.mock-rec {
  color: #e94560;
  font-size: 11px;
  font-weight: 700;
  animation: pulse 1s ease-in-out infinite;
}

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

.mock-body {
  display: flex;
  padding: 16px;
  gap: 12px;
  min-height: 180px;
}

.mock-sidebar {
  width: 80px;
  background: #e8e8f0;
  border-radius: 8px;
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card {
  height: 40px;
  background: #e8e8f0;
  border-radius: 8px;
}

.mock-card.short {
  width: 60%;
}

/* Analysis Preview */
.analysis-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.analysis-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}

.analysis-item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.analysis-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.analysis-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.analysis-item p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* Video Previews */
.video-previews {
  display: flex;
  gap: 16px;
}

.video-thumb {
  width: 100px;
  height: 178px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}

.video-thumb:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.video-thumb.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(244, 121, 32, 0.2);
  transform: scale(1.05);
}

.video-thumb.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.video-overlay {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Pricing */
.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: transform 0.2s;
}

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(244, 121, 32, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
}

.pricing-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card li::before {
  content: '\2713 ';
  color: var(--accent);
  margin-right: 8px;
}

/* CTA */
#download {
  text-align: center;
  padding: 120px 32px;
}

.cta-content h2 {
  margin-bottom: 12px;
}

.cta-content > p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 36px;
}

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

.cta-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo {
  width: 24px;
  height: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 16px 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  /* Nav: hide links, show hamburger */
  .nav-links {
    display: none;
  }

  .nav-inner {
    padding: 12px 16px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 245, 247, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open a {
    font-size: 16px;
    padding: 8px 0;
  }

  .nav-links.open .btn-nav {
    text-align: center;
    padding: 12px 20px;
  }

  /* Hero */
  #hero {
    flex-direction: column;
    text-align: center;
    padding: 90px 20px 60px;
    gap: 40px;
    min-height: auto;
  }

  #hero h1 {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  #hero h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
  }

  /* Sections */
  section {
    padding: 60px 20px;
  }

  h2 {
    font-size: 28px;
  }

  .section-sub {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* Steps */
  .steps {
    gap: 48px;
  }

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

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 12px;
  }

  .step-content h3 {
    font-size: 20px;
  }

  .step-content > p {
    font-size: 15px;
  }

  .step-mock {
    max-width: 100%;
  }

  .mock-body {
    min-height: 140px;
  }

  /* Video previews — scroll horizontally on mobile */
  .video-previews {
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .video-thumb {
    min-width: 80px;
    width: 80px;
    height: 142px;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-icon {
    font-size: 28px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Pricing */
  .pricing-cards {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-card {
    padding: 28px;
  }

  .price {
    font-size: 28px;
  }

  /* CTA */
  #download {
    padding: 80px 20px;
  }

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

  .cta-content > p {
    font-size: 16px;
  }

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

  .cta-buttons .btn-large {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 14px 32px;
  }

  /* Footer */
  footer {
    padding: 32px 20px;
  }

  .footer-brand {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 380px) {
  #hero h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-badge {
    font-size: 12px;
  }
}
