/* ============================================
   EZEEPAYS — Design System & Styles
   ============================================ */

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

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors */
  --clr-bg-dark: #050d1a;
  --clr-bg-section: #0a1628;
  --clr-bg-card: rgba(15, 30, 60, 0.6);
  --clr-bg-card-hover: rgba(20, 40, 80, 0.8);
  --clr-primary: #2563eb;
  --clr-primary-light: #3b82f6;
  --clr-accent: #06b6d4;
  --clr-accent-light: #22d3ee;
  --clr-success: #10b981;
  --clr-warning: #f59e0b;

  /* Text */
  --clr-text: #e2e8f0;
  --clr-text-muted: #94a3b8;
  --clr-text-dim: #64748b;
  --clr-white: #ffffff;

  /* Borders */
  --clr-border: rgba(99, 139, 230, 0.15);
  --clr-border-hover: rgba(99, 139, 230, 0.35);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb, #06b6d4);
  --gradient-hero: linear-gradient(135deg, #050d1a 0%, #0a1e3d 40%, #0f2952 70%, #0a1628 100%);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.05));
  --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.4));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(6, 182, 212, 0.2);

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

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-primary-light);
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-accent-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid var(--clr-border-hover);
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delay utilities */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-white);
  z-index: 1001;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clr-white);
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  background: var(--gradient-primary);
  color: var(--clr-white) !important;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Animated background elements */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-bg-orb:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--clr-primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-bg-orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: var(--clr-accent);
  bottom: -50px;
  left: -80px;
  animation-delay: -3s;
}

.hero-bg-orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: #7c3aed;
  top: 50%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-accent-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats-mini {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 1s both;
}

.hero-stats-mini .stat-item {
  text-align: left;
}

.hero-stats-mini .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats-mini .stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  font-weight: 500;
}

/* Hero Visual / Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.5s both;
}

.hero-phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a2a4a, #0f1e38);
  border-radius: 40px;
  border: 3px solid rgba(37, 99, 235, 0.3);
  padding: 12px;
  position: relative;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f2341, #0a1628);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 20px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #050d1a;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.phone-app-logo {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-white);
  font-family: var(--font-heading);
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}

.phone-balance {
  text-align: center;
  margin-bottom: 24px;
}

.phone-balance-label {
  font-size: 0.7rem;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phone-balance-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
}

.phone-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.phone-service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.phone-service-icon:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.phone-service-icon .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.phone-service-icon span {
  font-size: 0.6rem;
  color: var(--clr-text-muted);
  text-align: center;
}

/* Floating cards around phone */
.float-card {
  position: absolute;
  background: rgba(15, 30, 60, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}

.float-card:nth-child(2) {
  top: 15%;
  right: -10%;
  animation-delay: -1s;
}

.float-card:nth-child(3) {
  bottom: 20%;
  left: -15%;
  animation-delay: -2.5s;
}

.float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.float-card .fc-text .fc-title {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.float-card .fc-text .fc-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   STATS / TRUST BAR SECTION
   ============================================ */
.stats-section {
  padding: 60px 0;
  background: var(--clr-bg-section);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--gradient-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-padding);
  background: var(--clr-bg-dark);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.04);
  top: -150px;
  right: -150px;
  filter: blur(60px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0f2341 0%, #162d52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-inner {
  padding: 40px;
  text-align: center;
}

.about-image-inner .about-img-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.about-image-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-image-inner p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* Experience badge */
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  border: 4px solid var(--clr-bg-dark);
}

.about-experience-badge .exp-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
}

.about-experience-badge .exp-text {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-content .section-title {
  margin-bottom: 16px;
  text-align: left;
}

.about-content .about-text {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--clr-text);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.about-feature-item:hover {
  border-color: var(--clr-border-hover);
  background: var(--clr-bg-card-hover);
}

.about-feature-item .feature-check {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-success);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--section-padding);
  background: var(--clr-bg-section);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  padding: 40px 32px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  background: var(--clr-bg-card-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  position: relative;
}

.service-icon.mobile-bg {
  background: rgba(37, 99, 235, 0.12);
}

.service-icon.dth-bg {
  background: rgba(6, 182, 212, 0.12);
}

.service-icon.bill-bg {
  background: rgba(16, 185, 129, 0.12);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.service-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.service-card .service-link:hover {
  gap: 12px;
  color: var(--clr-accent-light);
}

/* ============================================
   FEATURES SECTION (Everything in Your Pocket)
   ============================================ */
.features-section {
  padding: var(--section-padding);
  background: var(--clr-bg-dark);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card .f-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============================================
   PAYMENT INFO SECTION
   ============================================ */
.payment-section {
  padding: var(--section-padding);
  background: var(--clr-bg-section);
  position: relative;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.payment-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.payment-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.payment-card .pay-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.payment-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.payment-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--clr-bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--clr-border-hover);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-glow);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
  filter: blur(30px);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--section-padding);
  background: var(--clr-bg-section);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-form {
  padding: 40px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-dim);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateX(6px);
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--clr-primary-light);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--clr-accent-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 24px;
  background: #030a14;
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--clr-border);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--clr-primary-light);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-text-muted);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--clr-white);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--clr-text-dim);
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: var(--clr-text-dim);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--clr-primary-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-mini {
    justify-content: center;
  }

  .hero-stats-mini .stat-item {
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-content .section-title {
    text-align: center;
  }

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

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 40px;
    border-left: 1px solid var(--clr-border);
    transition: right var(--transition-slow);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-stats-mini {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .contact-form {
    padding: 28px;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   LOADING / PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  color: var(--clr-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.6);
}
