@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Light mode colors */
  --primary: #f97316;
  --primary-light: #fdba74;
  --primary-dark: #c2410c;
  --secondary: #ea580c;
  --accent: #d97706;
  --accent-hover: #b45309;
  --bg-main: #fffdfa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-main: #1c1917;
  --text-muted: #78716c;
  --text-light: #fffdfa;
  --border-color: rgba(254, 215, 170, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(249, 115, 22, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(249, 115, 22, 0.05), 0 4px 6px -4px rgba(249, 115, 22, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(249, 115, 22, 0.05), 0 8px 10px -6px rgba(249, 115, 22, 0.05);
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,0.05) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,0.05) 0, transparent 50%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--secondary); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800; /* Extra bold for Gen Z */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); }



.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.4);
}

.btn-outline {
  background-color: rgba(255,255,255,0.5);
  border: 2px solid var(--primary);
  color: var(--primary);
  backdrop-filter: blur(10px);
}

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

.btn-block { width: 100%; }

/* Cards (Glassmorphism & Bento) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }
.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: rgba(255,255,255,0.8);
  transition: var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Header/Navbar */
.navbar {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.navbar-brand { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); }
.navbar-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-muted); font-weight: 600; }
.nav-link:hover { color: var(--primary); }

/* Hero Section */
.hero {
  padding: 4rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.hero-content {
  max-width: 650px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card.wide { grid-column: span 2; }
.stat-card.wide .stat-number { font-size: 3rem; background: linear-gradient(135deg, var(--accent), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}


.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(248,250,252,0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 2.5rem; font-weight: 500; }
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Feature Bento Grid */
section[id] {
  scroll-margin-top: 100px; /* Offset for sticky navbar */
}
.features { padding: 4rem 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.bento-item {
  padding: 2.5rem;
  border-radius: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.bento-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-item h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.bento-item p { color: var(--text-muted); font-weight: 500; }

.bento-wide { grid-column: span 2; }

/* Pricing Section */
.pricing { padding: 4rem 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 4rem; max-width: 900px; margin-left: auto; margin-right: auto;
}
.pricing-card { position: relative; border-radius: 2rem; }
.pricing-card.popular { border: 2px solid var(--primary); transform: scale(1.05); background: linear-gradient(to bottom right, #ffffff, #f1f5f9); }
.pricing-badge {
  position: absolute; top: -15px; right: 2rem;
  background: linear-gradient(135deg, var(--accent), #f472b6);
  color: white; padding: 0.5rem 1.5rem; border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 800; box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}
.price { font-size: 3.5rem; font-weight: 800; margin: 1.5rem 0; letter-spacing: -2px; }
.price span { font-size: 1.25rem; color: var(--text-muted); font-weight: 600; letter-spacing: normal; }
.pricing-features li { margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.feature-check { color: var(--primary); font-size: 1.25rem; }

/* Top Up Card */
.topup-card {
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 2px dashed rgba(16, 185, 129, 0.5); /* Emerald border */
  background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(241, 253, 244, 0.9));
}
.topup-info { flex: 1; }
.topup-price { text-align: right; min-width: 250px; }


/* Footer */
.footer {
  background: #0f172a;
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer h3, .footer h4 { color: white; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-weight: 500; }

/* Utilities */
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 2rem; }

@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .pricing-card.popular { transform: scale(1); }
}
/* Quick Action and Toggle for Navbar */
.mobile-quick-action {
  display: none;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { margin: 0 auto; text-align: center; }
  .hero h1 { font-size: 2.75rem; }
  
  .navbar-toggle {
    display: flex;
  }
  .mobile-quick-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 0.75rem;
  }
  .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 49;
  }
  .navbar-nav.active {
    display: flex;
  }
  .navbar-nav li {
    width: 100%;
    text-align: center;
  }
  .navbar-nav li .btn {
    width: 100%;
    margin: 0 !important;
  }
  .navbar-nav .nav-link {
    display: block;
    padding: 0.5rem 0;
  }

  .topup-card { flex-direction: column; text-align: center; }
  .topup-price { text-align: center; width: 100%; }
}
