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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: white;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4DB8FF;
}

.cookie-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ccc;
}

.cookie-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cookie-links a {
  color: #4DB8FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cookie-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(45deg, #007AFF, #5AC8FA);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ccc;
  border: 2px solid #666;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #5AC8FA;
  color: #5AC8FA;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 122, 255, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  color: #007AFF;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #007AFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #007AFF, #5AC8FA);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0066CC, #003366);
  color: #fff;
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/bg-pattern.png');
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta {
  margin-top: 30px;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.iphone-intro {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.iphone-intro:hover {
  transform: scale(1.05);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: linear-gradient(45deg, #0066CC, #4DB8FF);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 122, 255, 0.6);
}

.cta-button-large {
  padding: 22px 44px;
  font-size: 1.3rem;
}

.cta-emoji {
  font-size: 1.2em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #0066CC, #4DB8FF);
  margin: 20px auto 30px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* Offer Section */
.offer-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

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

.feature-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Benefits Section */
.benefits-section {
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0066CC, #4DB8FF);
  border-radius: 15px;
  z-index: -1;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #0066CC, #4DB8FF);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  z-index: 1;
}

.step-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin: 20px 0;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
}

/* Join Section */
.join-section {
  background: #fff;
}

.requirements {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.requirements-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.download-links p {
  margin-bottom: 20px;
  color: #666;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: linear-gradient(45deg, #007AFF, #5AC8FA);
  color: #fff;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

.download-icon {
  font-size: 1.2em;
}

.instructions {
  max-width: 600px;
  margin: 0 auto;
}

.instruction-step {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  border-left: 5px solid #007AFF;
}

.instruction-number {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.instruction-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.instruction-step p {
  color: #666;
  line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid #5AC8FA;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.review-stars {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.review-text {
  color: #555;
  line-height: 1.6;
  font-style: italic;
}

/* FAQ Section */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  background: linear-gradient(45deg, #007AFF, #5AC8FA);
  color: #fff;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  padding: 25px 30px;
  max-height: 200px;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, #0066CC, #003366);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/bg-pattern.png');
  opacity: 0.1;
  z-index: 0;
}

.final-cta-content {
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.final-cta-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header .container {
    padding: 10px 15px;
  }
  
  .nav {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .final-cta-title {
    font-size: 2.2rem;
  }
  
  .final-cta-subtitle {
    font-size: 1.1rem;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .cookie-links {
    justify-content: center;
  }
  
  .iphone-intro {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }
  
  .cta-button-large {
    padding: 18px 36px;
    font-size: 1.1rem;
  }
  
  .feature-card,
  .step-card,
  .review-card {
    padding: 20px;
  }
  
  .benefit-card {
    padding: 30px 15px;
  }
  
  .final-cta-title {
    font-size: 1.8rem;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .iphone-intro {
    max-height: 280px;
  }
}

/* Smooth scrolling and performance optimizations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    background: #000;
    color: #fff;
  }
  
  .cta-button {
    background: #fff;
    color: #000;
    border: 2px solid #000;
  }
  
  .feature-card,
  .step-card,
  .review-card {
    border: 2px solid #000;
  }
}
