:root {
  --primary-color: #ffc107;
  --primary-light: #ffdd4b;
  --primary-dark: #e0a800;
  --accent-color: #5e5ce6;
  --text-color: #333;
  --text-light: #666;
  --background-light: #f7f9fc;
  --background-white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Navigation */
.header {
  background-color: var(--background-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.logo-img {
  height: 44px;
  width: 44px;
  margin-right: 0.8rem;
  border-radius: 10px;
  object-fit: contain;
  background-color: transparent;
}

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

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

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

.app-store-badge {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge img {
  display: block;
}

.btn-download {
  background-color: black;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-download:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, #fff9e6, #fff0c8);
  padding: 5rem 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: black;
  color: white;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  position: relative;
  width: 280px;
  height: 580px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}

.device-frame::before {
  display: none;
}

.image-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background-color: transparent;
}

.device-screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.device-screenshot.active {
  opacity: 1;
  z-index: 1;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

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

.feature-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  background-color: var(--primary-color);
  color: var(--text-color);
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Why Section */
.why-section {
  padding: 5rem 0;
  background-color: #fff9e6;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.why-content {
  z-index: 1;
  position: relative;
}

.benefits-list {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.benefits-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.benefits-list i {
  color: var(--primary-dark);
  margin-top: 0.3rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background-color: var(--background-light);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .app-store-badge {
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: #333;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  object-fit: contain;
  background-color: transparent;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--primary-light);
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #6c757d;
  font-size: 0.9rem;
}

/* Device Showcase Section */
.device-showcase {
  padding: 5rem 0;
  background: linear-gradient(to right, #f5f7fa, #fff9e6);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

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

.device-screen {
  max-height: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s ease;
  margin-bottom: 1.5rem;
  transform: perspective(1000px) rotateY(0deg);
}

.device-item:nth-child(1) .device-screen {
  transform: perspective(1000px) rotateY(-5deg);
}

.device-item:nth-child(2) .device-screen {
  transform: perspective(1000px) rotateY(5deg);
}

.device-item:nth-child(3) .device-screen {
  transform: perspective(1000px) rotateY(-5deg);
}

.device-screen:hover {
  transform: perspective(1000px) rotateY(0) translateY(-10px) !important;
}

.ipad-screen {
  max-height: 550px;
}

.device-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.device-item p {
  color: var(--text-light);
  max-width: 300px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .device-frame {
    width: 240px;
    height: 500px;
  }
  
  .device-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .device-screen, .ipad-screen {
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .device-frame {
    width: 220px;
    height: 460px;
    margin: 30px auto 0;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
  }
  
  .why-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .why-screenshot {
    max-height: 450px;
    transform: perspective(1000px) rotateY(0);
  }
  
  .why-screenshot:hover {
    transform: perspective(1000px) rotateY(0) translateY(-10px);
  }
  
  .benefits-list li {
    font-size: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .nav-links .app-store-badge img {
    height: 30px;
  }
  
  .hero-cta .app-store-badge img {
    height: 54px;
  }
  
  .cta-section .app-store-badge img {
    height: 46px;
  }
}

@media (max-width: 576px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-cta .app-store-badge img {
    height: 50px;
  }
  
  .cta-section .app-store-badge img {
    height: 44px;
  }
}

/* Different sizes for different sections */
.nav-links .app-store-badge img {
  height: 32px;
}

.hero-cta .app-store-badge img {
  height: 60px;
}

.cta-section .app-store-badge img {
  height: 50px;
}
