/* ================= LANDING PAGE STYLES ================= */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #4cc9f0;
  --warning: #ffd166;
  --danger: #ef476f;
  --dark: #121826;
  --light: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-800: #343a40;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page {
  width: 100%;
  overflow-x: hidden;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%234361ee' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
  margin-bottom: 24px;
}

.badge-text {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid rgba(67, 97, 238, 0.2);
}

.hero-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--light);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(248, 249, 250, 0.9);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  min-width: 120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(248, 249, 250, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-dark), #6408a1);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.hero-graphic {
  animation: float 6s ease-in-out infinite;
}

.screen-preview {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
  transition: var(--transition);
}

.screen-preview:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(3deg);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-200);
}

.screen-title {
  font-weight: 600;
  color: var(--dark);
}

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.question {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--dark);
  transition: var(--transition);
  border: 2px solid transparent;
}

.answer:hover {
  background: var(--gray-200);
  transform: translateX(8px);
}

.answer.correct {
  background: rgba(76, 201, 240, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.answer-letter {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.answer.correct .answer-letter {
  background: var(--success);
}

.answer-text {
  flex: 1;
}

.lifelines {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.lifeline {
  width: 50px;
  height: 50px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-800);
  cursor: pointer;
  transition: var(--transition);
}

.lifeline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}

/* ================= TRUST SECTION ================= */
.trust-section {
  padding: 40px 20px;
  background: white;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.trust-badge i {
  font-size: 24px;
  color: var(--primary);
}

.trust-badge span {
  font-weight: 600;
  color: var(--dark);
}

/* ================= SECTION COMMON STYLES ================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-800);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================= FEATURES SECTION ================= */
.features-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(233, 236, 239, 0.3));
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  font-size: 32px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--dark);
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  margin: 0;
}

/* ================= IMPACT SECTION ================= */
.impact-section {
  padding: 80px 20px;
  background: white;
}

.impact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.impact-content {
  animation: fadeInUp 0.6s ease-out;
}

.impact-title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--dark);
}

.impact-subtitle {
  font-size: 18px;
  color: var(--gray-800);
  margin-bottom: 40px;
  line-height: 1.6;
}

.impact-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.impact-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.impact-point i {
  font-size: 24px;
  color: var(--primary);
  margin-top: 4px;
}

.impact-point h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--dark);
}

.impact-point p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  margin: 0;
}

.impact-visual {
  animation: float 6s ease-in-out infinite;
}

.visual-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  box-shadow: var(--shadow-lg);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 700;
}

.visual-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.visual-stat {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= DOWNLOAD SECTION ================= */
.download-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(114, 9, 183, 0.05));
}

.download-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.download-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.download-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.download-header i {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.download-content {
  padding: 40px 30px;
}

.download-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.download-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-800);
}

.download-features li:last-child {
  border-bottom: none;
}

.download-features li i {
  color: var(--success);
}

.download-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.download-note {
  font-size: 14px;
  color: var(--gray-800);
  opacity: 0.8;
  text-align: center;
  margin: 0;
}

/* ================= TESTIMONIALS PREVIEW ================= */
.testimonials-preview {
  padding: 80px 20px;
  background: white;
}

.testimonials-grid {
  max-width: 1000px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}

.testimonial-author strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 14px;
  color: var(--gray-800);
  opacity: 0.8;
}

.testimonials-cta {
  text-align: center;
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(233, 236, 239, 0.3));
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--light);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
}

.faq-toggle {
  background: none;
  border: none;
  color: var(--gray-800);
  cursor: pointer;
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.faq-toggle:hover {
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary);
}

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

.faq-item.active .faq-answer {
  padding: 0 24px 24px;
  max-height: 500px;
}

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

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--gray-800);
}

/* ================= FINAL CTA ================= */
.final-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

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

.cta-title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

/* ================= MODAL STYLES ================= */
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.install-modal[aria-hidden="false"] {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  padding: 40px 40px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-header i {
  font-size: 32px;
  color: var(--primary);
}

.modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
}

.modal-body {
  padding: 30px 40px;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--dark);
}

.step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  margin: 0;
}

.install-note {
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.install-note i {
  color: var(--success);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.install-note p {
  margin: 0;
  line-height: 1.6;
  color: var(--gray-800);
}

.modal-footer {
  padding: 20px 40px 40px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-footer .btn {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) translateY(-20px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .hero-container,
  .impact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-graphic,
  .impact-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .download-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 16px 60px;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-card {
    width: 100%;
    max-width: 200px;
  }
  
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .modal-footer .btn {
    min-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }
  
  .screen-preview {
    padding: 20px;
  }
  
  .impact-title {
    font-size: 28px;
  }
}

/* ================= DARK MODE SUPPORT ================= */
@media (prefers-color-scheme: dark) {
  .hero-section {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  }
  
  .features-section,
  .faq-section {
    background: rgba(13, 17, 23, 0.5);
  }
  
  .download-section {
    background: rgba(67, 97, 238, 0.1);
  }
  
  .trust-section,
  .features-section,
  .impact-section,
  .testimonials-preview {
    background: #0d1117;
  }
  
  .trust-badge,
  .feature-card,
  .testimonial-card,
  .faq-item,
  .download-card,
  .modal-content {
    background: #161b22;
    border-color: #2d3349;
  }
  
  .trust-badge span,
  .feature-title,
  .impact-title,
  .section-title,
  .faq-question h3,
  .modal-header h3,
  .step-content h4 {
    color: #f8f9fa;
  }
  
  .hero-subtitle,
  .section-subtitle,
  .feature-description,
  .impact-subtitle,
  .impact-point p,
  .testimonial-content p,
  .faq-answer p,
  .step-content p,
  .install-note p,
  .download-features li {
    color: #e9ecef;
  }
  
  .screen-preview {
    background: #161b22;
    border-color: #2d3349;
  }
  
  .question,
  .screen-title {
    color: #f8f9fa;
  }
  
  .answer {
    background: #2d3349;
    color: #e9ecef;
  }
  
  .lifeline {
    background: #2d3349;
    border-color: #3e445e;
    color: #e9ecef;
  }
}