/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  image-rendering: -moz-crisp-edges; /* firefox */
  image-rendering: -o-crisp-edges; /* opera */
  image-rendering: -webkit-optimize-contrast; /* chrome(비표준) */
  image-rendering: crisp-edges;
  /* transform:translateZ(0);
  backface-visibility:hidden; */
}

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

/* Navigation */
.navbar {
  background: rgba(30, 26, 36, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand h2 {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3cc3df;
}

.btn-download {
  background: #3cc3df;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  color: white !important;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #2ba3c4;
  color: white !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e1a24 0%, #2a2438 50%, #1e1a24 100%);
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #a0a0a0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.final-cta .download-buttons {
  justify-content: center;
}

.download-btn {
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
}

.download-btn img {
  height: auto;
  width: auto;
  max-height: 49.2px;
}

/* .download-btn.google img {
  width: 170px !important;
  height: 60px !important;
} */

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #1e1a24;
  border: 8px solid #28242E;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

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

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Certifications Section */
.certifications {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
  z-index: 1;
}

.certifications h3 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1e1a24;
  font-weight: 600;
}

/* Infinite Scroll Slider for Certifications */
.slider {
  width: 100vw;
  position: relative;
  margin-left: calc(-50vw + 50%);
  padding: 2rem 0;
  overflow: hidden;
  background: transparent;
}

.slide-track {
  display: flex;
  width: calc(220px * 24); /* 12 items * 2 sets * width (200px + 20px margin) */
  animation: scroll 30s linear infinite;
}

.slide {
  width: 200px;
  height: 200px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.slide:hover {
  transform: scale(1.1);
}

.slide img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* Pause animation on hover */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-220px * 12)
    ); /* Move by half the width (12 items) */
  }
}

/* Cleaned up old animations */

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
  position: relative;
  z-index: 1;
}

.features h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #1e1a24;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(60, 195, 223, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3cc3df, #5dd8f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.icon-emoji {
  font-size: 2rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e1a24;
  font-weight: 600;
}

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

/* Value Proposition Section */
.value-proposition {
  padding: 100px 0;
  background: #1e1a24;
  color: white;
  position: relative;
  z-index: 1;
}

.value-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #3cc3df;
  font-weight: 700;
}

.value-text p {
  font-size: 1.1rem;
  color: #a0a0a0;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.value-points {
  list-style: none;
}

.value-points li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.value-points i {
  color: #3cc3df;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Screenshots Container */
.screenshots-container {
  position: relative;
  width: 400px;
  height: 500px;
  max-width: 100%;
}

.screenshot-card {
  position: absolute;
  width: 200px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 6px solid #28242E;
}

.screenshot-card--back {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-8deg);
}

.screenshot-card--front {
  top: 40px;
  right: 0;
  z-index: 1;
  transform: rotate(5deg);
}

.screenshot-card:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 3;
}

.screenshot-card--back:hover {
  transform: rotate(-8deg) scale(1.05);
}

.screenshot-card--front:hover {
  transform: rotate(5deg) scale(1.05);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  z-index: 1;
}

.screenshots h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #1e1a24;
  font-weight: 700;
}

.screenshot-slider {
  width: 100vw;
  padding: 20px 0px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.screenshot-slide-track {
  display: flex;
  width: calc(300px * 12);
  animation: screenshotScroll 25s linear infinite;
}



.screenshot-slide {
  width: 300px;
  flex-shrink: 0;
  padding: 0 20px;
  text-align: center;
}

@keyframes screenshotScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 6));
  }
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.screenshot-item {
  text-align: center;
}

.screenshot-mockup {
  background: #1a1a1a;
  border: 8px solid #2a2a2a;
  border-radius: 30px;
  padding: 0px 0px 0px 0px;
  margin-bottom: 1.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
  width: 220px;
  height: 420px;
  margin: 0 auto 1.5rem auto;
}

.screenshot-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #444;
  border-radius: 2px;
}

.screenshot-slide:hover .screenshot-mockup {
  transform: translateY(-5px);
}

.mockup-placeholder {
  text-align: center;
}

.mockup-placeholder i {
  font-size: 3rem;
  color: #3cc3df;
  margin-bottom: 1rem;
}

.mockup-placeholder p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e1a24;
}

.screenshot-slide > h3 {
  color: #1e1a24;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  margin-top: 1rem;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  background: #000;
}

/* Tablet Support Section */
.tablet-support {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  z-index: 1;
}

.tablet-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tablet-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e1a24;
  font-weight: 700;
}

.tablet-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.tablet-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tablet-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tablet-feature .feature-icon {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.tablet-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e1a24;
  margin: 0 0 0.5rem 0;
}

.tablet-feature p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.tablet-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ipad-mockup {
  background: #1a1a1a;
  border: 12px solid #28242E;
  border-radius: 25px;
  padding: 0px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 450px;
  height: 600px;
  position: relative;
  transform: rotate(8deg);
  transition: transform 0.3s ease;
}

.ipad-mockup:hover {
  transform: rotate(5deg) scale(1.02);
}

.ipad-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ipad-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Mobile Tablet Section */
@media (max-width: 768px) {
  .tablet-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .tablet-text h2 {
    font-size: 2rem;
  }
  
  .ipad-mockup {
    width: 240px;
    height: 320px;
    padding: 0px;
    transform: rotate(5deg);
  }
  
  .ipad-mockup:hover {
    transform: rotate(3deg) scale(1.02);
  }
}

/* Social Proof Section */
.social-proof {
  padding: 80px 0;
  background: white;
  position: relative;
  z-index: 1;
}

.social-proof h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #1e1a24;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #3cc3df;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e1a24 0%, #2a2438 50%, #1e1a24 100%);
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #3cc3df;
  font-weight: 700;
}

.final-cta p {
  font-size: 1.2rem;
  color: #a0a0a0;
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  background: #1e1a24;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #3cc3df;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #a0a0a0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.link-group h4 {
  color: #3cc3df;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.link-group a {
  color: #a0a0a0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: #3cc3df;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #666;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(60, 195, 223, 0.2);
}

.nav-links-mobile {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(30, 26, 36, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  padding: 2rem 0;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
/* Screenshot Section Mobile */
@media (max-width: 768px) {
  .screenshot-slide {
    width: 240px;
    padding: 0 10px;
  }
  
  .screenshot-slide-track {
    width: calc(240px * 12);
  }
  
  .screenshot-mockup {
    width: 180px;
    height: 360px;
    padding: 15px 8px 15px 8px;
  }
  
  @keyframes screenshotScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-240px * 6));
    }
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-links-mobile {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .download-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

      .value-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .screenshots-container {
        width: 100%;
        height: 350px;
        margin: 0 auto;
    }
    
    .screenshot-card {
        width: 160px;
        height: 280px;
    }
    
    .screenshot-card--back {
        top: 0;
    }
    
    .screenshot-card--front {
        top: 30px;
    }

  .value-text h2 {
    font-size: 2rem;
  }

  .features h2,
  .screenshots h2,
  .social-proof h2 {
    font-size: 2rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .features-grid,
  .screenshot-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide {
    width: 160px;
    height: 160px;
    margin: 0 8px;
  }

  .slide img {
    width: 140px;
    height: 140px;
  }

  .slide-track {
    width: calc(176px * 24); /* Updated for tablet sizes */
    animation-duration: 25s;
  }

  @keyframes scroll {
    100% {
      transform: translateX(calc(-176px * 12));
    }
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

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

  .download-btn img {
    height: auto;
    max-height: 50px;
  }

  .download-btn.google img {
    width: 140px !important;
    height: 50px !important;
  }

  .slide {
    width: 140px;
    height: 140px;
    margin: 0 5px;
  }

  .slide img {
    width: 120px;
    height: 120px;
  }

  .slide-track {
    width: calc(150px * 24); /* Updated for mobile */
    animation-duration: 20s;
  }

  @keyframes scroll {
    100% {
      transform: translateX(calc(-150px * 12));
    }
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s infinite;
}
