/* ============================================
   NEXATECH SOLUTIONS — style.css
   Light Theme | Global Stylesheet | All Pages
   Responsive: 320px → 2560px+
============================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS VARIABLES — LIGHT THEME ---------- */
:root {
  /* Backgrounds */
  --bg-dark:         #f0f4ff;
  --bg-card:         #ffffff;
  --bg-section:      #e8eef8;

  /* Brand Colors */
  --accent-cyan:     #00cfff;
  --accent-purple:   #8b35f7;
  --accent-teal:     #00bcd4;
  --gradient:        linear-gradient(135deg, #00cfff 0%, #8b35f7 100%);
  --gradient-hover:  linear-gradient(135deg, #8b35f7 0%, #00cfff 100%);

  /* Text */
  --text-white:      #0d1b2e;
  --text-light:      #1e3a5f;
  --text-muted:      #5a7a9a;

  /* Glass & Borders */
  --border-color:    rgba(0, 207, 255, 0.2);
  --glass-bg:        rgba(255, 255, 255, 0.75);
  --glass-border:    rgba(0, 150, 200, 0.15);

  /* Shadows */
  --shadow-cyan:     0 4px 30px rgba(0, 207, 255, 0.18);
  --shadow-purple:   0 4px 30px rgba(139, 53, 247, 0.14);
  --shadow-card:     0 4px 24px rgba(13, 27, 46, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(13, 27, 46, 0.14);

  /* Base */
  --font:            'Poppins', sans-serif;
  --transition:      all 0.3s ease;
  --radius:          12px;
  --radius-lg:       20px;
  --container:       1200px;
  --nav-height:      80px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section { padding: 90px 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-section); }
::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--accent-cyan);
  color: #ffffff;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 207, 255, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  box-shadow: 0 8px 30px rgba(139, 53, 247, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-purple);
  border: 2px solid var(--accent-purple);
}

.btn-outline:hover {
  background: var(--accent-purple);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--text-white);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.btn-white:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================
   BADGES
============================================ */
.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(0,207,255,0.12), rgba(139,53,247,0.1));
  border: 1px solid rgba(0, 207, 255, 0.3);
  color: #0099cc;
  margin-bottom: 16px;
}

/* ============================================
   SECTION HEADINGS
============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-white);
}

.section-header h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: rgba(240, 244, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 150, 200, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 150, 200, 0.15);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(13, 27, 46, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  white-space: nowrap;
}

.nav-logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-purple);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  border-radius: 8px;
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(240, 244, 255, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
  padding: 8px 20px;
}

.mobile-nav a:hover { color: var(--accent-purple); }

/* ============================================
   HERO SECTION
============================================ */
.hero {
    margin-top: 70px;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(240, 244, 255, 0.92) 0%,
    rgba(232, 238, 248, 0.82) 50%,
    rgba(139, 53, 247, 0.08) 100%
  );
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-orb-1 {
  width: clamp(200px, 40vw, 500px);
  height: clamp(200px, 40vw, 500px);
  background: radial-gradient(circle, rgba(0, 207, 255, 0.18), transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: clamp(160px, 35vw, 400px);
  height: clamp(160px, 35vw, 400px);
  background: radial-gradient(circle, rgba(139, 53, 247, 0.12), transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--text-white);
}

.hero-content h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-stat { display: flex; flex-direction: column; }

.hero-stat strong {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Right Image */
.hero-image { position: relative; }

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card-hover);
}

.hero-image-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card-hover);
}

.hero-image-badge .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-image-badge p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-image-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-white);
}

/* ============================================
   TRUSTED BAR
============================================ */
.trusted-bar {
  padding: 36px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-card);
  overflow: hidden;
}

.trusted-bar p {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trusted-logos span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: default;
}

.trusted-logos span:hover {
  color: var(--accent-purple);
  opacity: 1;
}

/* ============================================
   SERVICES CARDS
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(0, 207, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0, 207, 255, 0.25);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-white);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .card-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-card .card-link:hover { gap: 10px; }

/* Service card with image */
.service-card.with-image { padding: 0; overflow: hidden; }

.service-card.with-image .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card.with-image:hover .card-img { transform: scale(1.04); }
.service-card.with-image .card-body { padding: 26px; }

/* ============================================
   WHY NEXATECH SECTION
============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card-hover);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature-item { display: flex; gap: 18px; align-items: flex-start; }

.why-feature-item .why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 207, 255, 0.2);
}

.why-feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-white);
}

.why-feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   STATS COUNTER SECTION
============================================ */
.stats-section {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 207, 255, 0.04) 0%,
    rgba(139, 53, 247, 0.04) 100%
  );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 38px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.stat-item:hover {
  border-color: rgba(0, 207, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   PRICING CARDS
============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: linear-gradient(160deg,
    rgba(0, 207, 255, 0.06),
    rgba(139, 53, 247, 0.06)
  );
  border-color: rgba(0, 207, 255, 0.35);
  transform: scale(1.04);
  box-shadow: var(--shadow-cyan), var(--shadow-card-hover);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 44px;
  transform: rotate(45deg);
}

.pricing-card:hover:not(.featured) {
  border-color: rgba(0, 207, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.plan-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-price {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.plan-price sub {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  vertical-align: baseline;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--glass-border);
  line-height: 1.7;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.plan-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
  color: white;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
  border-color: rgba(139, 53, 247, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-white);
}

.testimonial-author span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 46, 0.88),
    rgba(139, 53, 247, 0.72)
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Force white text inside CTA (dark overlay) */
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #ffffff;
}

.cta-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 34px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================
   PAGE HERO (Inner Pages)
============================================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(240, 244, 255, 0.88),
    rgba(240, 244, 255, 0.97)
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-white);
}

.page-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}



.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  border: 1px solid var(--glass-border);
  width: 100%;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(139, 53, 247, 0.3);
}

.about-image-badge strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: white;
  line-height: 1;
}

.about-image-badge span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.9);
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
  color: var(--text-white);
}

.about-text h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-feature .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.team-card:hover {
  border-color: rgba(0, 207, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.team-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover img { transform: scale(1.04); }
.team-card-body { padding: 18px; }

.team-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-white);
}

.team-card span {
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-weight: 600;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 46px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.contact-info-card:hover {
  border-color: rgba(0, 207, 255, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-white);
}

.contact-info-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.form-group { margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 17px;
  background: var(--bg-section);
  border: 1px solid rgba(0, 150, 200, 0.2);
  border-radius: var(--radius);
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.1);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ============================================
   FAQ ACCORDION
============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item.open {
  border-color: rgba(0, 207, 255, 0.3);
  box-shadow: var(--shadow-cyan);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-white);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}

.faq-question .faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  background: var(--gradient);
  border-color: transparent;
  transform: rotate(45deg);
  color: white;
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-answer.open {
  max-height: 240px;
  padding: 0 22px 20px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: #0d1b2e;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 0 0;
}

/* Override text inside footer to be light */
.footer .nav-logo-text { color: #ffffff; }
.footer .footer-brand p { color: rgba(255,255,255,0.55); }
.footer .footer-col h4 { color: #ffffff; }
.footer .footer-col ul li a { color: rgba(255,255,255,0.5); }
.footer .footer-col ul li a:hover { color: var(--accent-cyan); }
.footer .footer-bottom p { color: rgba(255,255,255,0.4); }
.footer .footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer .footer-bottom-links a:hover { color: var(--accent-cyan); }
.footer .newsletter-form input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: #ffffff;
}
.footer .newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer .social-link {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
  background: var(--gradient) !important;
  border-color: transparent !important;
  color: white !important;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.footer-col ul li a:hover { padding-left: 4px; }

/* Newsletter */
.newsletter-form { display: flex; gap: 8px; margin-top: 8px; }

.newsletter-form input {
  flex: 1;
  padding: 11px 15px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.83rem;
  outline: none;
  min-width: 0;
  transition: var(--transition);
  border: 1px solid;
}

.newsletter-form button {
  padding: 11px 16px;
  border-radius: 50px;
  background: var(--gradient);
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.newsletter-form button:hover { transform: scale(1.06); }

/* Footer Bottom */
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8rem; transition: var(--transition); }

/* ============================================
   UTILITY CLASSES
============================================ */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.mb-0         { margin-bottom: 0; }
.mt-40        { margin-top: 40px; }
.w-full       { width: 100%; }

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE — 4K / LARGE (min 1600px)
============================================ */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
  body  { font-size: 17px; }
}

@media (min-width: 2000px) {
  :root { --container: 1600px; }
  body  { font-size: 18px; }
}

/* ============================================
   RESPONSIVE — LAPTOP (max 1280px)
============================================ */
@media (max-width: 1280px) {
  .nav-links        { gap: 22px; }
  .footer-grid      { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
  .team-grid        { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ============================================
   RESPONSIVE — TABLET LANDSCAPE (max 1024px)
============================================ */
@media (max-width: 1024px) {
  section { padding: 70px 0; }

  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }

  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .about-image       { display: none; }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid      { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr 1fr; }
  .why-grid          { grid-template-columns: 1fr; gap: 36px; }
  .why-image         { display: none; }
}

/* ============================================
   RESPONSIVE — TABLET PORTRAIT (max 768px)
============================================ */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container { padding: 0 18px; }

  .section-header { margin-bottom: 40px; }
  .page-hero { padding: 130px 0 60px; }

  .services-grid     { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-features    { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }

  .form-row              { grid-template-columns: 1fr; }
  .contact-form-wrapper  { padding: 26px 18px; }
  .cta-section           { padding: 70px 0; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links { justify-content: center; }
  .hero-stats          { gap: 20px; }
  .pricing-card.featured { transform: scale(1); }

  .why-features  { gap: 20px; }
  .why-feature-item { gap: 14px; }
  .why-feature-item .why-icon { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 600px)
============================================ */
@media (max-width: 600px) {
  .btn { padding: 12px 26px; font-size: 0.9rem; }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-btns .btn    { width: 100%; max-width: 300px; }
  .cta-buttons       { flex-direction: column; align-items: center; }
  .cta-buttons .btn  { width: 100%; max-width: 300px; }

  .team-grid         { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input  { border-radius: var(--radius); }
  .newsletter-form button { border-radius: var(--radius); padding: 12px; width: 100%; }

  .why-feature-item { flex-direction: column; gap: 10px; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
============================================ */
@media (max-width: 480px) {
  :root { --nav-height: 70px; }

  .container      { padding: 0 14px; }
  .nav-logo img   { width: 36px; height: 36px; }
  .nav-logo-text  { font-size: 1.1rem; }

  .stats-grid     { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item      { padding: 26px 14px; }

  .trusted-logos  { gap: 16px; }
  .trusted-logos span { font-size: 0.82rem; }

  .hero-stats     { gap: 16px; }
  .hero-stat strong { font-size: 1.3rem; }

  .badge          { font-size: 0.72rem; padding: 5px 14px; }
  .section-header { margin-bottom: 30px; }
  .page-hero      { padding: 110px 0 50px; }

  .contact-form-wrapper { padding: 20px 14px; }
  .team-grid      { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card img  { height: 160px; }

  .faq-question   { font-size: 0.88rem; padding: 16px; }
  .faq-answer     { font-size: 0.84rem; }

  .footer         { padding: 50px 0 0; }
  .footer-grid    { gap: 22px; }
  .pricing-card   { padding: 28px 20px; }
}

/* ============================================
   RESPONSIVE — EXTRA SMALL (max 360px)
============================================ */
@media (max-width: 360px) {
  html { font-size: 14px; }

  .container        { padding: 0 12px; }
  .btn              { padding: 11px 20px; font-size: 0.85rem; }
  .nav-logo-text    { display: none; }
  .hero-stats       { gap: 12px; }
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .team-grid        { grid-template-columns: 1fr 1fr; }
  .testimonial-card { padding: 22px 16px; }
  .service-card     { padding: 24px 16px; }
}