/*
  SATTA GURU APP - Streamlined High-Conversion Mobile Landing Page
  Theme: Ultra-Modern Light Theme (Pink, White & Electric Blue Mix)
  Domain: App.Fastsatta.live
*/

:root {
  /* Core Palette */
  --bg-light: #F4F7FC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-modal: #FFFFFF;

  /* Vibrant Pink & Blue Palette */
  --pink-primary: #FF2E93;
  --pink-light: #FF85C0;
  --pink-dark: #D80068;

  --blue-primary: #2563EB;
  --blue-light: #60A5FA;
  --blue-dark: #1D4ED8;

  --purple-accent: #7C3AED;

  /* Gradients */
  --pb-gradient: linear-gradient(135deg, #FF2E93 0%, #8B5CF6 50%, #2563EB 100%);
  --pb-gradient-hover: linear-gradient(135deg, #FF007A 0%, #7C3AED 50%, #1D4ED8 100%);
  --pb-gradient-soft: linear-gradient(135deg, rgba(255, 46, 147, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);

  /* Shadow & Glow Effects */
  --pb-glow: 0 10px 30px rgba(255, 46, 147, 0.35);
  --pb-glow-intense: 0 12px 35px rgba(255, 46, 147, 0.5), 0 0 20px rgba(37, 99, 235, 0.3);
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(255, 46, 147, 0.04);
  --card-shadow-hover: 0 18px 40px rgba(255, 46, 147, 0.15), 0 8px 25px rgba(37, 99, 235, 0.12);

  /* Typography Colors */
  --text-main: #0F172A;
  --text-muted: #64748B;

  /* Font Families */
  --font-heading: 'Outfit', 'Poppins', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout Constants */
  --container-max: 1140px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 75px; /* Space for mobile sticky bottom download bar */
}

/* Light Background Canvas */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 46, 147, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
}

.pink-blue-text {
  background: var(--pb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: var(--pb-gradient-soft);
  border: 1px solid rgba(255, 46, 147, 0.25);
  border-radius: var(--radius-full);
  color: var(--pink-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* HIGH-CONVERSION DOWNLOAD BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-pink-blue {
  background: var(--pb-gradient);
  color: #FFFFFF;
  box-shadow: var(--pb-glow);
}

.btn-pink-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s ease;
}

.btn-pink-blue:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--pb-glow-intense);
  color: #FFFFFF;
}

.btn-pink-blue:hover::before {
  left: 100%;
}

/* Pulsing Ring for Hero Download Action */
.btn-pulse {
  animation: pulseRing 2.5s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(255, 46, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
}

.btn-hero {
  padding: 18px 40px;
  font-size: 1.15rem;
  width: 100%;
  max-width: 340px;
}

.btn-outline {
  background: #FFFFFF;
  color: var(--blue-primary);
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.btn-outline:hover {
  border-color: var(--pink-primary);
  color: var(--pink-primary);
  background: rgba(255, 46, 147, 0.05);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pb-gradient);
  padding: 2px;
  box-shadow: 0 4px 12px rgba(255, 46, 147, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
}

.brand-tag {
  font-size: 0.65rem;
  color: var(--blue-primary);
  font-weight: 700;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--pink-primary);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 46, 147, 0.08);
  border: 1px solid rgba(255, 46, 147, 0.2);
  color: var(--pink-primary);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* HERO SECTION - TOP PRIORITY APP DOWNLOAD */
.hero-section {
  padding-top: 110px;
  padding-bottom: 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.top-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 46, 147, 0.25);
  border-radius: var(--radius-full);
  color: var(--pink-primary);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255, 46, 147, 0.08);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* HERO CONVERSION BOX */
.hero-download-box {
  background: #FFFFFF;
  border: 2px solid rgba(255, 46, 147, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 40px rgba(255, 46, 147, 0.12);
  text-align: center;
  margin-bottom: 24px;
}

.apk-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 12px;
}

.apk-info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 3D MOBILE MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.phone-frame {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: 40px;
  padding: 10px;
  border: 3px solid rgba(255, 46, 147, 0.3);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15), 0 8px 25px rgba(255, 46, 147, 0.2);
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 10px;
  margin: 4px auto 8px auto;
}

.phone-screen {
  background: #F8FAFC;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  aspect-ratio: 9/18.5;
  display: flex;
  flex-direction: column;
}

.phone-screen-content {
  padding: 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.phone-app-hero-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(255, 46, 147, 0.3);
  border: 3px solid #FFFFFF;
}

.phone-quick-download-btn {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
}

/* STREAMLINED FEATURES SECTION */
.features-section {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 147, 0.3);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pb-gradient-soft);
  border: 1px solid rgba(255, 46, 147, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--pink-primary);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* BIG DOWNLOAD BANNER */
.download-section {
  padding: 60px 0;
}

.download-banner {
  background: #FFFFFF;
  border: 2px solid rgba(255, 46, 147, 0.3);
  border-radius: 28px;
  padding: 46px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(255, 46, 147, 0.15);
}

.download-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 10px;
}

.download-banner p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 24px auto;
}

/* FAQ SECTION */
.faq-section {
  padding: 50px 0;
}

.faq-grid {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--pink-primary);
  transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* FOOTER */
.footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 40px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--blue-primary);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--pink-primary);
}

.legal-notice-box {
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.age-badge {
  background: var(--pb-gradient);
  color: #FFFFFF;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.notice-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* APK DOWNLOAD PROGRESS MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-card {
  background: #FFFFFF;
  border: 2px solid rgba(255, 46, 147, 0.3);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  transform: scale(0.92);
  transition: var(--transition-normal);
}

.modal-overlay.active .download-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(100, 116, 139, 0.1);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-app-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  margin: 0 auto 12px auto;
  border: 2px solid var(--pink-primary);
  box-shadow: var(--pb-glow);
}

.progress-container {
  width: 100%;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--pb-gradient);
  border-radius: var(--radius-full);
  transition: width 0.2s linear;
}

.progress-status-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* POLICY MODAL */
.policy-modal-card {
  max-width: 600px;
  max-height: 80vh;
  text-align: left;
}

.policy-modal-body {
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-modal-body h3 {
  color: var(--pink-primary);
  margin: 14px 0 4px 0;
  font-size: 1rem;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 80px;
  right: 16px;
  background: #FFFFFF;
  border: 1px solid var(--pink-primary);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--text-main);
  box-shadow: var(--pb-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
  font-weight: 600;
  font-size: 0.9rem;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* HIGH-CONVERSION MOBILE STICKY BOTTOM BAR */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 2px solid rgba(255, 46, 147, 0.3);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.1);
  align-items: center;
  justify-content: space-between;
}

.mobile-sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-sticky-info img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.mobile-sticky-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.mobile-sticky-sub {
  font-size: 0.75rem;
  color: var(--pink-primary);
  font-weight: 700;
}

.mobile-sticky-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

/* MOBILE RESPONSIVE OPTIMIZATION */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-download-box {
    margin: 0 auto 20px auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 46, 147, 0.2);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-150%);
    transition: var(--transition-normal);
  }

  .nav-links.mobile-active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .hero-section {
    padding-top: 90px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .btn-hero {
    font-size: 1.05rem;
    padding: 16px 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-notice-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-notification {
    left: 12px;
    right: 12px;
    bottom: 75px;
  }
}
