@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #FF2A6D 0%, #F12B54 100%);
  --primary-color: #F12B54;
  --secondary-color: #FF2A6D;
  --dark-bg: #0B0F19;
  --dark-card: #151B2C;
  --dark-border: #222C44;
  --light-bg: #FAFAFC;
  --light-card: #FFFFFF;
  --light-border: #E2E8F0;
  --text-dark-primary: #FFFFFF;
  --text-dark-secondary: #94A3B8;
  --text-light-primary: #0F172A;
  --text-light-secondary: #64748B;
  
  /* Active theme colors */
  --bg: var(--light-bg);
  --card: var(--light-card);
  --border: var(--light-border);
  --text-primary: var(--text-light-primary);
  --text-secondary: var(--text-light-secondary);
}

[data-theme="dark"] {
  --bg: var(--dark-bg);
  --card: var(--dark-card);
  --border: var(--dark-border);
  --text-primary: var(--text-dark-primary);
  --text-secondary: var(--text-dark-secondary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

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

.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(241, 43, 84, 0.08);
  font-weight: 800;
}

/* Theme Switcher */
.theme-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.theme-btn:hover {
  background-color: rgba(241, 43, 84, 0.08);
  border-color: var(--primary-color);
}

/* Mobile Menu Toggle Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

/* Menu Overlay Background */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 98;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.menu-overlay.active {
  display: block;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  flex: 1;
  width: 100%;
}

/* Hero Section (Two Columns) */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-left h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 520px;
}

.download-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(241, 43, 84, 0.3);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(241, 43, 84, 0.45);
}

.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

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

/* Dynamic CSS Phone Mockup */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrapper {
  width: 290px;
  height: 590px;
  background-color: #0F172A;
  border: 10px solid #1E293B;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 140px;
  height: 20px;
  background-color: #1E293B;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-screen {
  background-color: #F8FAFC;
  flex: 1;
  padding: 24px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: sans-serif;
  color: #1E293B;
  overflow: hidden;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.phone-user h4 {
  font-size: 13px;
  font-weight: 800;
}

.phone-bell {
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.phone-wallet {
  background: var(--primary-gradient);
  border-radius: 16px;
  padding: 14px;
  color: white;
  box-shadow: 0 8px 20px rgba(241, 43, 84, 0.2);
}

.phone-wallet p {
  font-size: 10px;
  opacity: 0.85;
}

.phone-wallet h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 4px 0 10px;
}

.phone-wallet button {
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 10.5px;
  font-weight: 800;
}

.phone-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  margin-top: 4px;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-action {
  background: white;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.phone-action i {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.phone-action p {
  font-size: 9.5px;
  font-weight: 700;
}

.phone-nav {
  margin-top: auto;
  background: white;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}

.phone-nav-item {
  text-align: center;
  font-size: 9px;
  color: #94A3B8;
}

.phone-nav-item.active {
  color: var(--primary-color);
}

.phone-nav-item i {
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

/* Stats Card Banner Section */
.stats-banner {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  margin-bottom: 60px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(241, 43, 84, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-info h3 {
  font-size: 20px;
  font-weight: 900;
}

.stat-info p {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Common Headings */
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

/* Earning Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.feature-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: rgba(241, 43, 84, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feature-details h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.feature-details p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* How It Works Section */
.steps-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  padding: 0 20px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 160px;
  position: relative;
}

.step-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-color);
  background-color: rgba(241, 43, 84, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.step-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  box-shadow: 0 6px 15px rgba(241, 43, 84, 0.2);
}

.step-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.35;
  max-width: 140px;
}

.step-arrow {
  color: var(--border);
  font-size: 22px;
}

/* Multi-Column Document Layout (Privacy/Terms) */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.sidebar h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  display: block;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
  background-color: rgba(241, 43, 84, 0.08);
  color: var(--primary-color);
  font-weight: 800;
}

.doc-single-layout {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.doc-text-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.doc-text-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.doc-text-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.doc-text-card ul {
  margin-left: 18px;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.doc-text-card ul li {
  margin-bottom: 6px;
}

/* Form Styles */
.form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px;
}

.form-card h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--text-primary);
  outline: none;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
}

.submit-btn {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(241, 43, 84, 0.2);
  width: 100%;
}

.submit-btn:hover {
  box-shadow: 0 6px 20px rgba(241, 43, 84, 0.35);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner & Loaders */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  color: var(--text-secondary);
  gap: 15px;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid var(--border);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Footer Section */
footer {
  border-top: 1px solid var(--border);
  background-color: var(--card);
  padding: 60px 24px 30px;
  margin-top: auto;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo-col p {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-top: 14px;
  line-height: 1.5;
  max-width: 250px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}

.social-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.scroll-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(241, 43, 84, 0.1);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.scroll-top-btn:hover {
  background: var(--primary-gradient);
  color: white;
}

/* FAQ Accordion Toggle */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 15px;
  user-select: none;
}

.faq-icon {
  color: var(--primary-color);
  transition: transform 0.3s ease;
  font-size: 13px;
}

.faq-body {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open .faq-body {
  padding-bottom: 22px;
  max-height: 200px;
}

/* Responsiveness */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background-color: var(--card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 24px 40px;
    gap: 16px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
  }
  
  .theme-btn {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    padding: 12px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-left h1 {
    font-size: 38px;
  }
  .hero-left p {
    margin: 0 auto;
  }
  .download-btn {
    align-self: center;
  }
  .trust-row {
    justify-content: center;
  }
  .doc-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .steps-layout {
    justify-content: center;
  }
  .step-arrow {
    display: none;
  }
}

/* Continuous Clean Document Styling (No Cards, Full Width) */
.doc-paper {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  width: 100%;
}

.doc-header h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.doc-header .last-updated {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.doc-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.doc-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc-body ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.doc-body ul li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .doc-paper {
    padding: 24px 20px;
  }
  .doc-header h1 {
    font-size: 28px;
  }
}

