:root {
  --primary: #1E3A8A;
  --primary-light: #3B82F6;
  --secondary: #0F172A;
  --bg-dark: #020617;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;

  --accent-green: #22C55E;
  --accent-yellow: #EAB308;
  --accent-red: #EF4444;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
  --shadow-glow-green: 0 0 40px rgba(34, 197, 94, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.logo {
  font-family: var(--font-heading);
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 48px;
  max-width: 600px;
  margin-inline: auto;
}

.section-subtitle.left {
  margin-inline: 0;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--bg-dark);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.4) 0%, rgba(2, 6, 23, 0) 70%);
  z-index: -1;
}

.network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

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

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93C5FD;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 40px;
  max-width: 500px;
}

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

.stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--white);
}

.stat-item span {
  font-size: 0.875rem;
  color: #64748B;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.pulse-glow {
  box-shadow: var(--shadow-glow);
  animation: pulse 4s infinite alternate;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
  }

  100% {
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.5);
  }
}

.image-wrapper {
  position: relative;
  padding: 16px;
  border-radius: 32px;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.floating-ui {
  position: absolute;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.floating-ui .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.green {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.float-1 {
  top: 10%;
  left: -20px;
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  bottom: 20%;
  right: -20px;
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--bg-dark);
}

.bg-blue {
  background: #60A5FA;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.bg-purple {
  background: #A78BFA;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.bg-green {
  background: #34D399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.bg-yellow {
  background: #FACC15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: #94A3B8;
  font-size: 0.95rem;
}

/* How It Works */
.bg-light {
  background-color: var(--white);
  color: var(--bg-dark);
}

.bg-light .section-subtitle {
  color: #64748B;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.steps-list li {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--bg-light);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.steps-list h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.steps-list p {
  color: #475569;
}

/* Rewards Section */
.rewards {
  background: var(--bg-dark);
}

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

.reward-card {
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.reward-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.reward-points {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.reward-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.reward-card p {
  color: #94A3B8;
  font-size: 0.95rem;
}

.conversion-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(2, 6, 23, 0));
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 40px;
  border-radius: 24px;
}

.conversion-box h3 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.conversion-box p {
  color: #94A3B8;
  font-size: 1.125rem;
}

/* App Mockup UI */
.glow-green {
  box-shadow: var(--shadow-glow-green);
}

.app-mockup {
  background: var(--bg-light);
  border-radius: 32px;
  border: 8px solid var(--secondary);
  overflow: hidden;
  max-width: 350px;
  margin: 0 auto;
}

.mockup-header {
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.mockup-body {
  padding: 20px;
}

.mockup-search {
  background: var(--white);
  padding: 16px;
  border-radius: 50px;
  color: #94A3B8;
  font-size: 0.875rem;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
}

.mockup-card {
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  margin-bottom: 16px;
}

.mc-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mc-top span {
  font-weight: 600;
  color: var(--secondary);
}

.mc-top strong {
  font-size: 1.25rem;
  color: var(--secondary);
}

.mc-status {
  display: inline-block;
  padding: 4px 10px;
  background: #DCFCE7;
  color: #166534;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mockup-card.stale {
  border-color: #FECACA;
}

.mockup-card.stale .stale-text {
  background: #FEE2E2;
  color: #991B1B;
  margin-bottom: 12px;
  display: block;
  width: fit-content;
}

.mockup-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
}

/* CTA Box */
.cta-box {
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: #CBD5E1;
  font-size: 1.125rem;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand p {
  color: #64748B;
  margin-top: 12px;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  color: #475569;
  font-size: 0.875rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}