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

:root {
  --bg: #fdfaf6;
  --surface: #ffffff;
  --surface-2: rgba(0, 0, 0, 0.04);
  --line: rgba(0, 0, 0, 0.08);
  --text: #1a1a1a;
  --muted: #666666;
  --accent: #655fff;
  --accent-2: #fd9455;
  --accent-3: #70deb0;
}

[data-theme="dark"] {
  --bg: #07101c;
  --surface: rgba(12, 19, 34, 0.92);
  --surface-2: rgba(255, 255, 255, 0.04);
  --line: rgba(171, 189, 255, 0.16);
  --text: #eff3ff;
  --muted: #99a8c8;
  --accent: #655fff;
  --accent-2: #fd9455;
  --accent-3: #70deb0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top center, rgba(101, 95, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #050b16 0%, #08101d 56%, #060c16 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 22rem;
  height: 22rem;
  left: -8rem;
  top: 42vh;
  background: radial-gradient(circle, rgba(112, 222, 176, 0.14), transparent 68%);
}

body::after {
  width: 18rem;
  height: 18rem;
  right: 10vw;
  top: 16vh;
  background: radial-gradient(circle, rgba(253, 148, 85, 0.12), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container,
.nav-container,
.footer-container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.navbar,
.hero,
section,
.footer {
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.logo h2,
h1,
h2,
h3,
h4,
.impact-title {
  font-family: "Sora", sans-serif;
}

.logo h2 {
  font-size: 1.1rem;
  color: var(--text);
}

.tagline {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-menu a {
  color: var(--muted);
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--text);
}

.hamburger {
  display: none;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.btn-nav,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn-nav:hover {
  transform: translateY(-1px);
}

.btn-nav,
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9083ff);
  color: #fff;
  box-shadow: 0 16px 40px rgba(101, 95, 255, 0.24);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
}

.btn-large {
  min-height: 52px;
  padding: 0 22px;
}

.hero {
  padding: 5.2rem 0 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.4rem;
  align-items: center;
}

.hero-eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.section-tag-centered {
  margin: 0 auto 1rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
  max-width: 860px;
}

.hero-content p,
.section-subtitle,
.story-copy p,
.impact-card p,
.payment-note,
.faq-copy p,
.footer p,
.phone-header p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-points span,
.feature-item,
.info-panel,
.benefit-card,
.step-card,
.phone-details-card,
.payment-section,
.impact-card,
.stat-card,
.faq-item,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .hero-points span,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .info-panel,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .phone-details-card,
[data-theme="dark"] .payment-section,
[data-theme="dark"] .impact-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .contact-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.hero-points span {
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-main-image,
.hero-side-image {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
  inset: 48px 36px 48px 0;
}

.hero-side-image {
  width: 210px;
  height: 240px;
  right: 0;
  top: 0;
}

.hero-main-image img,
.hero-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  left: 24px;
  bottom: 0;
  width: min(320px, calc(100% - 24px));
  padding: 1.15rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 0.55rem;
}

.hero-floating-card span {
  color: var(--muted);
  line-height: 1.65;
}

section {
  padding: 2rem 0 4rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  text-align: center;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.story-shell {
  display: grid;
  gap: 1.2rem;
}

.device-drive-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.2rem;
  align-items: center;
}

.story-copy {
  max-width: 860px;
}

.story-copy h2 {
  text-align: left;
  margin-top: 1rem;
}

.story-grid,
.steps-grid,
.funding-notes,
.donation-grid,
.impact-grid,
.impact-stats,
.faq-shell,
.footer-container {
  display: grid;
  gap: 1rem;
}

.story-grid,
.steps-grid,
.impact-grid,
.impact-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.funding-notes,
.donation-grid,
.faq-shell,
.footer-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-card,
.step-card,
.info-panel,
.phone-details-card,
.contribution-card,
.payment-section,
.impact-card,
.stat-card,
.contact-box {
  border-radius: 26px;
  padding: 1.4rem;
}

.benefit-card h3,
.step-card h3,
.info-panel h3,
.payment-section h3,
.impact-title,
.faq-item summary {
  color: var(--text);
}

.contribution-options {
  display: grid;
  gap: 0.9rem;
}

.contribution-card {
  border-radius: 22px;
  padding: 1rem 1.1rem;
}

.contribution-card strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
}

.contribution-card span {
  color: var(--muted);
  line-height: 1.7;
}

.device-drive-copy {
  max-width: 540px;
}

.device-drive-copy h2 {
  text-align: left;
  margin-top: 1rem;
}

.device-drive-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.device-drive-points,
.device-drive-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.device-drive-points span,
.device-drive-notes div {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.device-drive-points span {
  padding: 0.8rem 1rem;
  color: #e4eeff;
  font-weight: 700;
}

.device-drive-notes div {
  padding: 0.95rem 1rem;
  color: var(--muted);
}

.device-drive-visual {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  min-height: 520px;
}

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

.device-drive-stamp {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(8, 13, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.device-drive-stamp strong {
  display: block;
  margin-bottom: 0.3rem;
}

.device-drive-stamp span {
  color: var(--muted);
  line-height: 1.65;
}

.benefit-card p,
.step-card p,
.info-panel li,
.setup-includes li,
.payment-section p,
.faq-item p,
.stat-label,
.info-row .label {
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #9083ff);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.features-highlight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.feature-item {
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.slider-container {
  margin-top: 1.2rem;
}

.slider-wrapper,
.selected-amount {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
}

.selected-amount {
  margin-top: 1rem;
}

.slider {
  width: 100%;
  accent-color: var(--accent-2);
}

.slider-labels,
.amount-display,
.upi-detail,
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-labels {
  margin-top: 0.8rem;
  color: var(--muted);
}

.amount-display .label,
.upi-detail .label {
  color: var(--muted);
}

.amount-display .value,
.upi-detail .value,
.info-row .value,
.stat-number {
  color: #fff;
  font-weight: 800;
}

.donation-grid {
  margin-top: 1rem;
}

.phone-header h3,
.payment-section h3 {
  margin-bottom: 0.5rem;
}

.phone-info,
.setup-includes,
.upi-box,
.contact-box,
.faq-list {
  display: grid;
  gap: 0.95rem;
}

.info-row,
.upi-detail {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.setup-includes h4 {
  font-family: "Sora", sans-serif;
  margin-bottom: 0.2rem;
}

.setup-includes ul,
.info-panel ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
}

.upi-box {
  margin-top: 1rem;
}

.upi-id {
  word-break: break-all;
}

.copy-btn {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.impact-title {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.faq-copy h2 {
  text-align: left;
  margin-top: 1rem;
}

.contact-box strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact-box a {
  color: #fff;
  font-weight: 700;
}

.faq-list {
  align-content: start;
}

.faq-item {
  border-radius: 22px;
  padding: 1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.85rem;
}

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

.final-cta .container {
  border-radius: 30px;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.final-cta p {
  color: var(--muted);
  max-width: 760px;
  margin: 0.8rem auto 0;
}

.final-actions {
  justify-content: center;
}

.footer {
  padding: 1rem 0 2rem;
}

.footer-container {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-section a {
  color: #fff;
}

.footer-bottom {
  width: min(1180px, calc(100vw - 32px));
  margin: 1rem auto 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-shell,
  .device-drive-shell,
  .funding-notes,
  .donation-grid,
  .faq-shell,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .steps-grid,
  .impact-grid,
  .impact-stats,
  .features-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .nav-container {
    min-height: 72px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    width: min(280px, calc(100vw - 32px));
    padding: 1rem;
    border-radius: 22px;
    background: rgba(8, 13, 24, 0.98);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    padding-top: 4.3rem;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-main-image {
    inset: 24px 0 72px 0;
  }

  .hero-side-image {
    display: none;
  }

  .hero-floating-card {
    left: 0;
    width: min(100%, 320px);
    padding: 1rem;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .final-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 0.55rem;
  }

  .hero-points span {
    width: 100%;
  }

  .story-grid,
  .steps-grid,
  .impact-grid,
  .impact-stats,
  .features-highlight {
    grid-template-columns: 1fr;
  }

  .device-drive-copy h2 {
    text-align: left;
  }

  .device-drive-points span,
  .device-drive-notes div {
    width: 100%;
  }

  .device-drive-visual {
    min-height: 360px;
  }

  .slider-labels,
  .amount-display,
  .upi-detail,
  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-full {
    width: 100%;
  }
}
