:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg-light: #f8fafc;
  --text-dark: #000;
  --text-gray: #2f363f;
  --white: #f8f8f8;
  --radius: 12px;
  --accent: #3498db;
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 1.3rem;
}

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

.carousel-track {
  min-height: 650px;
}

/* Hero Section */
.hero {
  background: var(--white);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.problem {
  font-size: 2rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  font-weight: 600;
}

.solution-reveal {
  margin-top: 20px;
  animation: fadeIn 1s ease-out;
}

.solution {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary);
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-top: 10px;
}

.version-badge {
  display: inline-block;
  background: #e0e7ff;
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 15px;
}

/* Carousel / App Store Style */
.demo-section {
  padding: 60px 0;
  background: var(--white);
}

.demo-section h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.carousel-wrapper {
  position: relative;
  max-width: 400px; /* Mobile width simulation */
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
  aspect-ratio: 9/16; /* Standard phone ratio */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: white;
}

.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

.carousel-hint {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Installation Guide */
.guide-section {
  padding: 60px 0;
}

.steps-list {
  counter-reset: step-counter;
  max-width: 750px;
  margin: 0 auto;
  padding: 24px 24px;
}

.security-note {
  margin-top: 15px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.security-note .icon {
  font-size: 1.2rem;
}

.security-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.security-note a:hover {
  text-decoration: underline;
}

/* Download Section */
.download-section {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.download-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 20px;
  transition:
    transform 0.2s,
    background 0.2s;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.8);
}

.file-info {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 5px;
}

.last-note {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.links {
  margin-top: 15px;
}

.links a {
  color: #94a3b8;
  margin: 0 10px;
}

.links a:hover {
  color: white;
}

/* Share Section */
.share-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.share-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(52, 152, 219, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.share-note {
  position: relative;
  font-size: 1.25rem;
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.share-note strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

/* Desktop & Catalogue Sections */
.desktop-section,
.catalogue-section {
  padding: 4rem 1rem;
  text-align: center;
  background: white;
  position: relative;
}

.desktop-section h3,
.catalogue-section h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: block;
}

/* Enhanced Buttons */
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #2980b9 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.secondary-btn:hover {
  background-color: #0056b3;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .problem {
    font-size: 1.5rem;
  }
  .solution {
    font-size: 2rem;
  }
  .carousel-wrapper {
    max-width: 100%;
  }
}
