/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fredoka:wght@600&display=swap');

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

body {
  font-family: "Fredoka", sans-serif;
  background: #1a1a1a;
  color: #fff;
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: normal;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  font-weight: normal;
  color: #fff;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 30px;
}

.app-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  height: 50px;
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
}

/* Sections */
.section {
  padding: 60px 20px;
  margin: 40px 0;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px 0;
}

@media (min-width: 900px) {
  .features {
    flex-direction: row;
    gap: 30px;
  }
}

.feature {
  padding: 30px;
  flex: 1;
}

.feature h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.feature p {
  color: #fff;
  line-height: 1.6;
}


/* CTA Buttons */
.cta {
  text-align: center;
  margin: 40px 0 20px;
}

.cta-button {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 20px 50px;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #333;
  color: #fff;
}

.cta-button:hover {
  background: #444;
}

/* App Flow Section - Desktop Fan Layout */
.app-flow-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  position: relative;
  min-height: 550px;
}

.app-flow-mobile {
  display: none;
}

.phone-fan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  height: 500px;
  margin: 0 auto;
}

.phone-mockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center bottom;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  z-index: 1;
}

.phone-mockup img {
  width: 250px;
  height: auto;
  display: block;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
  z-index: 10 !important;
}

.phone-mockup:hover img {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* Fan positioning - rotated from center */
.phone-fan .phone-mockup:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-15deg);
  z-index: 1;
}

.phone-fan .phone-mockup:nth-child(1):hover {
  transform: translate(-50%, -50%) rotate(-15deg) translateY(-20px) scale(1.05);
}

.phone-fan .phone-mockup:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-5deg);
  z-index: 2;
}

.phone-fan .phone-mockup:nth-child(2):hover {
  transform: translate(-50%, -50%) rotate(-5deg) translateY(-20px) scale(1.05);
}

.phone-fan .phone-mockup:nth-child(3) {
  transform: translate(-50%, -50%) rotate(5deg);
  z-index: 3;
}

.phone-fan .phone-mockup:nth-child(3):hover {
  transform: translate(-50%, -50%) rotate(5deg) translateY(-20px) scale(1.05);
}

.phone-fan .phone-mockup:nth-child(4) {
  transform: translate(-50%, -50%) rotate(15deg);
  z-index: 4;
}

.phone-fan .phone-mockup:nth-child(4):hover {
  transform: translate(-50%, -50%) rotate(15deg) translateY(-20px) scale(1.05);
}

.image-caption {
  margin-top: 15px;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-mockup:hover .image-caption {
  opacity: 1;
}

.flow-arrow {
  font-size: 3rem;
  color: #fff;
  opacity: 0.5;
  text-align: center;
  margin: 20px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

footer p {
  color: #fff;
  margin-bottom: 10px;
}

/* Image Carousel */
.image-slider {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  max-width: 300px;
  margin: 20px auto 0;
  background: #2a2a2a;
}

@media (min-width: 768px) {
  .image-slider {
    margin: 0;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #000;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  height: 100%;
  width: 100%;
}

.slider-image {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 4px;
  z-index: 10;
}

.slider-button:hover {
  background: rgba(255, 255, 255, 1);
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

.slider-dots {
  text-align: center;
  padding: 15px;
  background: #2a2a2a;
}

.slider-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  margin: 0 5px;
  cursor: pointer;
}

.slider-dot.active {
  background: #3498db;
}

.image-attribution {
  font-size: 0.75em;
  color: #ccc;
  padding: 10px 15px;
  background: #2a2a2a;
}

.image-attribution a {
  color: #3498db;
  text-decoration: none;
}

.rating-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px 15px;
  z-index: 5;
  text-align: center;
}

/* Responsive */
/* Mid-size screens - show stacked layout */
@media (max-width: 1024px) {
  .app-flow-desktop {
    display: none;
  }

  .app-flow-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 350px;
  }

  .app-flow-mobile .phone-mockup {
    position: relative;
    width: 100%;
    min-width: auto;
    left: auto;
    top: auto;
    transform: none;
  }

  .app-flow-mobile .phone-mockup img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .flow-arrow {
    font-size: 2rem;
    opacity: 0.4;
  }

  .app-flow-mobile .image-caption {
    font-size: 1.1rem;
    margin-top: 15px;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
  }
}
