/* ========================================
   AtananBen – Tanıtım Sayfası
   Mobile-First, Full-Screen Slides
   ======================================== */

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, .35);
  --bg-dark: #0B1120;
  --bg-card: rgba(255, 255, 255, .06);
  --bg-card-solid: #162032;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --danger: #F43F5E;
  --warning: #F59E0B;
  --radius: 20px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow: hidden;
  height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* ── Slides Container ── */
.slides {
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.slide {
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 24px 40px;
}

.slide-content {
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ── Dot Navigation ── */
.dot-nav {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: all .4s cubic-bezier(.25, .46, .45, .94);
  padding: 0;
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.4);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .25);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 20px;
}

/* ── Typography ── */
.slide-title {
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}

.accent {
  color: var(--primary);
}

.text-danger {
  color: var(--danger);
}

/* ============================
   SLIDE 0: HERO
   ============================ */
.slide-hero {
  background: radial-gradient(ellipse at 50% 30%, #122540 0%, var(--bg-dark) 70%);
}

.hero-icon-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
}

.hero-icon {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow:
    0 0 40px var(--primary-glow),
    0 20px 40px rgba(0, 0, 0, .4);
  position: relative;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  inset: -15px;
  border: 2px solid var(--primary);
  border-radius: 36px;
  opacity: 0;
  animation: pulseRing 2.5s ease-out infinite;
}

.pulse-ring.delay {
  animation-delay: 1.2s;
}

@keyframes pulseRing {
  0% {
    transform: scale(.85);
    opacity: .6;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.hero-title {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--text);
}

.hero-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 20px 36px;
  margin-bottom: 36px;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) translateY(8px);
    opacity: .4;
  }
}

/* ============================
   SLIDE 1: PROBLEM
   ============================ */
.slide-problem {
  background: radial-gradient(ellipse at 50% 80%, #1a1020 0%, var(--bg-dark) 70%);
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(244, 63, 94, .06);
  border: 1px solid rgba(244, 63, 94, .15);
  border-radius: var(--radius-sm);
  text-align: left;
}

.pain-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.pain-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* ============================
   SLIDE 2: FEATURES
   ============================ */
.slide-features {
  background: radial-gradient(ellipse at 30% 20%, #0d2818 0%, var(--bg-dark) 70%);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-card {
  padding: 20px 14px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  transition: transform .3s ease, border-color .3s ease;
}

.feature-card:active {
  transform: scale(.97);
  border-color: var(--primary);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, .12);
  border-radius: 12px;
  margin: 0 auto 12px;
  color: var(--primary);
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================
   SLIDE 3: HOW IT WORKS
   ============================ */
.slide-steps {
  background: radial-gradient(ellipse at 70% 50%, #0d1f33 0%, var(--bg-dark) 70%);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 28px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.step-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-body p {
  font-size: 13px;
  color: var(--text-muted);
}

.step-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  margin: 0 auto;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(5, 150, 105, .1));
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
}

.trial-icon {
  font-size: 22px;
}

.trial-badge strong {
  color: var(--primary);
}

/* ============================
   SLIDE 4: SOCIAL PROOF
   ============================ */
.slide-social {
  background: radial-gradient(ellipse at 50% 30%, #171030 0%, var(--bg-dark) 70%);
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-card {
  padding: 20px 12px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
}

.stat-big {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.testimonial-card {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  text-align: left;
}

.testimonial-stars {
  font-size: 16px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================
   SLIDE 5: CTA
   ============================ */
.slide-cta {
  background: radial-gradient(ellipse at 50% 60%, #0d2818 0%, var(--bg-dark) 70%);
}

.cta-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
}

.cta-app-icon {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 0 40px var(--primary-glow);
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    0 8px 32px var(--primary-glow),
    0 2px 8px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
  margin-bottom: 24px;
}

.cta-btn:active {
  transform: scale(.96);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.cta-btn-apple {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .4),
    0 2px 8px rgba(0, 0, 0, .3);
}

.cta-btn-apple:active {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.cta-btn div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-btn small {
  font-size: 11px;
  font-weight: 500;
  opacity: .8;
}

.cta-btn strong {
  font-size: 18px;
  font-weight: 800;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================
   SLIDE 3: SCREENSHOTS SHOWCASE
   ============================ */
.slide-showcase {
  background: radial-gradient(ellipse at 50% 40%, #0f1d30 0%, var(--bg-dark) 70%);
}

.phone-frame {
  position: relative;
  width: 240px;
  max-width: 65vw;
  aspect-ratio: 9 / 17;
  margin: 0 auto 20px;
  background: #1a1a2e;
  border-radius: 32px;
  border: 3px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, .5),
    0 0 40px var(--primary-glow),
    inset 0 0 30px rgba(0, 0, 0, .3);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0B1120;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}

.phone-screen.active {
  opacity: 1;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}

.c-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  transform: scale(1.3);
}

/* Carousel Labels */
.carousel-labels {
  min-height: 24px;
}

.c-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: opacity .3s ease;
}

/* ============================
   PARTICLES (Canvas)
   ============================ */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================
   ANIMATIONS
   ============================ */
.animate-up,
.animate-left,
.animate-right,
.animate-pop,
.animate-fade {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.25, .46, .45, .94),
    transform .7s cubic-bezier(.25, .46, .45, .94);
}

.animate-up {
  transform: translateY(40px);
}

.animate-left {
  transform: translateX(-40px);
}

.animate-right {
  transform: translateX(40px);
}

.animate-pop {
  transform: scale(.7);
}

.animate-fade {
  /* just opacity */
}

/* Delay variants */
.d1 {
  transition-delay: .12s;
}

.d2 {
  transition-delay: .24s;
}

.d3 {
  transition-delay: .36s;
}

.d4 {
  transition-delay: .48s;
}

.d5 {
  transition-delay: .60s;
}

/* Visible (triggered by JS) */
.slide.visible .animate-up,
.slide.visible .animate-left,
.slide.visible .animate-right,
.slide.visible .animate-pop,
.slide.visible .animate-fade {
  opacity: 1;
  transform: none;
}

/* ============================
   RESPONSIVE (larger phones)
   ============================ */
@media (min-width: 480px) {
  .slide {
    padding: 80px 32px 50px;
  }

  .hero-icon-wrap {
    width: 140px;
    height: 140px;
  }

  .hero-title {
    font-size: 52px;
  }
}

/* ============================
   LANDSCAPE / TABLET TWEAKS
   ============================ */
@media (min-height: 700px) {
  .hero-stat {
    margin-bottom: 48px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .slide {
    padding: 20px 24px;
    min-height: 100dvh;
  }

  .hero-icon-wrap {
    width: 70px;
    height: 70px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-sub {
    margin-bottom: 16px;
  }

  .hero-stat {
    padding: 10px 20px;
    margin-bottom: 12px;
  }

  .stat-number {
    font-size: 32px;
  }

  .scroll-hint {
    display: none;
  }
}

/* ============================
   DESKTOP (optional polish)
   ============================ */
@media (min-width: 768px) {
  .slide-content {
    max-width: 560px;
  }

  .feature-grid {
    gap: 16px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .dot-nav {
    right: 32px;
    gap: 16px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}