/* ─── RESETS ───────────────────────────────────── */
.home-root {
  overflow-x: hidden;
}

/* ─── SECTION BASE ─────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.section--flush {
  max-width: 100%;
  padding: 6rem 1.5rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #059669;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: #059669;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #f3f4f6;
}
.section-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 36rem;
  margin-bottom: 3rem;
}
.text-emerald {
  color: #059669;
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-orbe {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbeFloat 20s ease-in-out infinite;
}
.hero-orbe--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #059669 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}
.hero-orbe--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1e3a5f 0%, transparent 70%);
  bottom: -15%;
  right: -5%;
  animation-delay: -7s;
}
.hero-orbe--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}
@keyframes orbeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.05); }
  50% { transform: translate(-30px, 60px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #0f172a 80%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a7f3d0;
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid rgba(5, 150, 105, 0.3);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #f3f4f6;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-hero--primary {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.3);
}
.btn-hero--primary:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(5, 150, 105, 0.4);
}
.btn-hero--ghost {
  background: transparent;
  color: #f3f4f6;
  border: 1px solid #334155;
}
.btn-hero--ghost:hover {
  border-color: #059669;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f3f4f6;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #64748b;
  animation: heroBounce 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── SHOWREEL ─────────────────────────────────── */
.showreel-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1rem;
}
.showreel-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.showreel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.showreel-card--wide {
  grid-row: span 1;
}
.showreel-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #1e293b;
  overflow: hidden;
}
.showreel-card--wide .showreel-media {
  aspect-ratio: 16 / 9;
}
.showreel-media--1 {
  background: linear-gradient(135deg, #0d9488, #0f766e, #115e59);
  animation: demoReel1 6s ease-in-out infinite;
}
.showreel-media--2 {
  background: linear-gradient(135deg, #1e3a5f, #2563eb, #1d4ed8);
  animation: demoReel2 8s ease-in-out infinite;
}
.showreel-media--3 {
  background: linear-gradient(135deg, #7c3aed, #6d28d9, #5b21b6);
  animation: demoReel3 7s ease-in-out infinite;
}
@keyframes demoReel1 {
  0%, 100% { background-position: 0% 50%; }
  33% { background-position: 100% 50%; }
  66% { background-position: 50% 100%; }
}
@keyframes demoReel2 {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
@keyframes demoReel3 {
  0%, 100% { background-position: 50% 0%; }
  50% { background-position: 50% 100%; }
}
.showreel-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.showreel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.showreel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.7);
  transition: color 0.3s, transform 0.3s;
  z-index: 2;
}
.showreel-card:hover .showreel-play {
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
.showreel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.showreel-tag {
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #f3f4f6;
}
.showreel-dur {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.showreel-label {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: #94a3b8;
  font-style: italic;
}

/* ─── HOW IT WORKS ─────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}
.steps::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #059669, transparent);
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
  position: relative;
  z-index: 1;
}
.step-card {
  flex: 1;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover {
  border-color: #059669;
  transform: translateX(4px);
}
.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(5, 150, 105, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ─── FEATURES ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon--hd { background: rgba(5, 150, 105, 0.12); color: #059669; }
.feature-icon--speed { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.feature-icon--easy { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.feature-icon--share { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
}
.feature-text {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ─── USE CASES ────────────────────────────────── */
.usecases-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.usecase-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.usecase-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.usecase-card:hover .usecase-bg {
  transform: scale(1.05);
}
.usecase-bg--social { background-image: url('https://images.unsplash.com/photo-1611162617474-5b21e879e113?w=600&q=80'); }
.usecase-bg--ads { background-image: url('https://images.unsplash.com/photo-1557838923-2985c318be48?w=600&q=80'); }
.usecase-bg--creative { background-image: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=600&q=80'); }
.usecase-bg--brand { background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=600&q=80'); }
.usecase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.2) 60%, transparent 100%);
}
.usecase-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}
.usecase-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.2);
  color: #a7f3d0;
  margin-bottom: 0.75rem;
}
.usecase-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 0.375rem;
}
.usecase-text {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ─── CTA ──────────────────────────────────────── */
.cta-banner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 4rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(5,150,105,0.15) 0%, rgba(30,58,95,0.15) 100%);
  border: 1px solid rgba(5,150,105,0.2);
}
.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-orbe {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.cta-orbe--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #059669 0%, transparent 70%);
  top: -30%;
  right: -10%;
  animation: orbeFloat 15s ease-in-out infinite;
}
.cta-orbe--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  bottom: -20%;
  left: -5%;
  animation: orbeFloat 18s ease-in-out infinite reverse;
}
.cta-body {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #f3f4f6;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-text {
  font-size: 1.0625rem;
  color: #94a3b8;
  max-width: 32rem;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ─── REVIEWS ──────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.review-stars {
  font-size: 1rem;
  color: #f59e0b;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.star-empty {
  color: #475569;
}
.review-text {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
}
.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f3f4f6;
}
.review-location {
  font-size: 0.75rem;
  color: #64748b;
}

/* ─── REVEAL ANIMATIONS ────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal="fade-up"] {
  transform: translateY(40px);
}
[data-reveal="slide-left"] {
  transform: translateX(-60px);
}
[data-reveal="slide-right"] {
  transform: translateX(60px);
}
[data-reveal="scale"] {
  transform: scale(0.95);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .showreel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .showreel-card--wide {
    grid-column: span 2;
  }
  .usecases-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .showreel-grid {
    grid-template-columns: 1fr;
  }
  .showreel-card--wide {
    grid-column: span 1;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .usecases-track {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-card:hover {
    transform: none;
  }
  .step-icon {
    margin: 0 auto 1rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .hero {
    min-height: 90vh;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─── REDUCED MOTION ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-orbe,
  .cta-orbe {
    animation: none;
  }
  .showreel-media--1,
  .showreel-media--2,
  .showreel-media--3 {
    animation: none;
  }
  .hero-scroll-hint {
    animation: none;
  }
}
