/* 1. GLOBAL STYLES & NEW FONTS */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap");

:root {
  --bg-black: #05070a;
  --charcoal: #0d1117;
  --text-main: #ffffff;

  /* The New Aggressive Warm Palette */
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --accent-yellow: #eab308;
  --accent-purple: #a855f7;

  /* Reusable fiery gradient */
  --gradient-fiery: linear-gradient(
    90deg,
    var(--accent-yellow),
    var(--accent-orange),
    var(--accent-red)
  );

  /* Bold Background Gradient for Service Cards */
  --gradient-bold: linear-gradient(
    135deg,
    var(--accent-red),
    var(--accent-orange),
    var(--accent-purple)
  );
}

body {
  margin: 0;
  padding: 0;
  font-family: "Rajdhani", sans-serif;
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 18px;
  /* Accommodate the fixed header */
  padding-top: 80px;
}

html {
  scroll-behavior: smooth;
}

/* Gradient Text Highlight */
.highlight-text {
  background: var(--gradient-fiery);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 2. HEADER & NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 6%;
}

.nav-logo {
  max-height: 65px;
  width: auto;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent-orange);
}

.nav-cta {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange) !important;
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
}

.nav-cta:hover {
  background: var(--accent-orange);
  color: var(--bg-black) !important;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

/* 3. REUSABLE COMPONENTS */
.badge {
  font-family: "Share Tech Mono", monospace;
  color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.section-header {
  text-align: left;
  padding: 0 6%;
  margin-bottom: 20px;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 6vw, 60px);
  letter-spacing: 2px;
  margin: 0;
}

h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
}

/* 4. HERO SECTION */
.hero {
  position: relative;
  min-height: calc(90vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-color: var(--bg-black);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.4;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.hero-glow-1 {
  top: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-red), transparent 70%);
}

.hero-glow-2 {
  bottom: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple), transparent 70%);
  animation-delay: 3s;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(60px, 10vw, 110px);
  line-height: 0.95;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content p {
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 1.25rem;
  font-weight: 500;
}

/* HERO BUTTONS */
.btn-primary-pill.fiery-btn {
  background: var(--gradient-fiery);
  color: var(--bg-black);
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.btn-primary-pill.fiery-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5);
}

.btn-secondary-pill.outline-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 40px;
  border-radius: 50px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}

.btn-secondary-pill.outline-btn:hover {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
}

/* 5. ABOUT SECTION */
.about {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.08) 0%,
    var(--bg-black) 50%
  );
  padding: 120px 0;
  border-top: 1px solid #161b22;
}

.about-container {
  padding: 0 6%;
  display: flex;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
}
.about-text {
  flex: 1.2;
  min-width: 320px;
}

.core-tech-tags span {
  font-family: "Share Tech Mono", monospace;
  border: 1px solid #161b22;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 16px;
  border-radius: 12px;
  margin-right: 8px;
  font-size: 13px;
  color: #8892b0;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.core-tech-tags span:hover {
  border-color: var(--accent-purple);
  color: var(--text-main);
}
.about-visual-card {
  flex: 1;
  min-width: 320px;
}

.status-box {
  background: var(--charcoal);
  border: 1px solid #161b22;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.status-box h4 {
  font-family: "Bebas Neue", sans-serif;
  margin-top: 0;
  color: var(--text-main);
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.status-item {
  background: #161b22;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
}
.red {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}
.orange {
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
}
.yellow {
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow);
}
.purple {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

/* 6. SERVICES SECTION */
.services {
  padding: 100px 0;
  background-color: var(--charcoal);
  border-top: 1px solid #161b22;
  border-bottom: 1px solid #161b22;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1300px;
  margin: 40px auto 0 auto;
  gap: 25px;
  padding: 0 6%;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Replaced basic style with bold gradient card styling */
.gradient-card {
  background: var(--gradient-bold);
  color: #ffffff;
  padding: 45px 35px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s;
}

.gradient-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(249, 115, 22, 0.3);
}

.gradient-card h3 {
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gradient-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.gradient-card .card-tag {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: "Share Tech Mono", monospace;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* 7. SECURE WEB SOLUTIONS (GLASSMORPHISM) */
.web-solutions {
  padding: 120px 0;
  background-color: var(--bg-black);
}

.web-container {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 6%;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.web-content {
  flex: 1.2;
  min-width: 320px;
}

.web-desc {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.web-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.web-features li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  color: #8892b0;
  font-size: 16px;
  line-height: 1.6;
}
.web-features strong {
  color: #ffffff;
}

.feat-icon {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web-pricing-glass {
  flex: 1;
  min-width: 350px;
  position: relative;
}

.glass-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    var(--accent-orange),
    var(--accent-purple),
    transparent 60%
  );
  filter: blur(80px);
  opacity: 0.25;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.glass-panel {
  position: relative;
  z-index: 1;
  background: rgba(13, 17, 23, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.pricing-tier {
  background: rgba(5, 7, 10, 0.7);
  border: 1px solid #161b22;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.premium-tier {
  border-color: var(--accent-orange);
  position: relative;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-fiery);
  color: var(--bg-black);
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tier-header h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  margin: 0;
  letter-spacing: 1px;
  color: #ffffff;
}
.tier-header .price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  color: #ffffff;
}
.pricing-tier p {
  color: #8892b0;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.full-width-btn {
  width: 100%;
  margin-top: 15px;
  padding: 20px;
  font-size: 18px;
}

/* Premium Pricing Card Feature List */
.premium-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-features-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.premium-features-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-orange);
  font-size: 14px;
}

/* 3-Column Pricing Grid Layout */
.web-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 60px auto 0 auto;
  padding: 0 6%;
  position: relative;
}

/* Card Flexbox Setup for Bottom Alignment */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.premium-features-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* The glowing orange star for the lists */
.premium-features-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-orange);
  font-size: 14px;
}

.full-width-btn {
  width: 100%;
  margin-top: auto;
  padding: 18px 20px;
  font-size: 18px;
  display: block;
  box-sizing: border-box;
  text-align: center;
}

/* Fix Custom Project Banner Overlap */
.custom-project-banner {
  margin-top: 140px !important;
}

/* Media Queries for the 3-Column Grid */
@media (max-width: 1024px) {
  .web-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .web-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* 8. PRODUCTS SECTION (With Glowing Orbs) */
.products {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background-color: var(--charcoal);
  border-top: 1px solid #161b22;
  border-bottom: 1px solid #161b22;
}

/* The Glowing Orbs */
.product-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.35;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.product-glow-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-red), transparent 70%);
}

.product-glow-2 {
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-purple), transparent 70%);
  animation-delay: 2s;
}

/* Ensure text and cards sit above the glowing orbs */
.products .section-header,
.products .product-grid {
  position: relative;
  z-index: 1;
}

.product-grid {
  margin-top: 40px;
  padding: 0 6%;
}

.product-card {
  border-bottom: 1px solid #161b22;
  padding: 40px 0;
  transition: 0.3s;
}

.product-card:hover {
  padding-left: 10px;
  border-bottom: 1px solid var(--accent-purple);
}

.product-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.product-card p {
  color: #8892b0;
}

/* 9. R&D LABS SECTION */
.rnd-labs {
  padding: 100px 0 120px 0;
  background-color: var(--bg-black);
}

.rnd-badge {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.carousel-container {
  padding: 20px 6%;
}
.rnd-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rnd-carousel::-webkit-scrollbar {
  display: none;
}

.rnd-card {
  flex: 0 0 350px;
  background: var(--charcoal);
  border: 1px solid #161b22;
  border-radius: 24px;
  padding: 40px 30px;
  scroll-snap-align: start;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rnd-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}
.rnd-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.rnd-card h3 {
  color: #ffffff;
  margin-bottom: 15px;
}
.rnd-card p {
  color: #8892b0;
  font-size: 16px;
  line-height: 1.6;
}

/* 10. DIFFERENTIATORS SECTION */
.differentiators {
  position: relative;
  padding: 120px 0;
  background-color: var(--charcoal);
  border-top: 1px solid #161b22;
  border-bottom: 1px solid #161b22;
  overflow: hidden;
}

.diff-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.12),
    transparent 60%
  );
  filter: blur(80px);
  z-index: 0;
}

.diff-grid-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 6%;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  border-left: 1px solid #161b22;
  border-top: 1px solid #161b22;
}
.diff-item {
  border-right: 1px solid #161b22;
  border-bottom: 1px solid #161b22;
  padding: 60px 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: background-color 0.3s;
}
.diff-item:hover {
  background-color: rgba(249, 115, 22, 0.02);
}

.diff-icon {
  font-size: 32px;
  background: var(--gradient-fiery);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.diff-item h3 {
  margin: 0;
  color: #ffffff;
}
.diff-item p {
  color: #8892b0;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* 11. CONTACT CTA SECTION  */
.contact-cta {
  padding: 120px 6%;
  background: radial-gradient(
    ellipse at bottom,
    rgba(249, 115, 22, 0.1) 0%,
    var(--bg-black) 70%
  );
}

.cta-card.split-layout {
  background: var(--charcoal);
  border: 1px solid #161b22;
  border-radius: 40px;
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.cta-content {
  flex: 1.2;
}

.cta-content p {
  color: #8892b0;
  font-size: 18px;
  max-width: 500px;
}

.cta-info-block {
  flex: 1;
  background: rgba(5, 7, 10, 0.5);
  border: 1px solid #161b22;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
}

.info-item strong {
  display: block;
  font-family: "Share Tech Mono", monospace;
  color: var(--accent-orange);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.info-item p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cta-card.split-layout {
    flex-direction: column;
    padding: 50px 30px;
  }
}

/* Social Media Icons */
.social-links-container {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

/* 12. MODAL & QUESTIONNAIRE STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--charcoal);
  border: 1px solid #161b22;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 30px;
  color: #8892b0;
  cursor: pointer;
  transition: 0.3s;
}
.close-modal:hover {
  color: var(--accent-red);
}

/* Modal Typography */
.modal-eyebrow {
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 10px;
}
.modal-title {
  font-size: 42px;
  margin-bottom: 15px;
}
.modal-desc {
  color: #8892b0;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Progress Bar */
.progress-wrap {
  margin-bottom: 40px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  color: #8892b0;
  margin-bottom: 10px;
}
.progress-bar {
  height: 4px;
  background: #161b22;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-fiery);
  width: 0%;
  transition: width 0.4s ease;
}

/* Question Sections */
.q-section-card {
  background: var(--bg-black);
  border: 1px solid #161b22;
  border-left: 3px solid var(--accent-orange);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
}
.q-section-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #161b22;
}
.q-section-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  color: var(--accent-orange);
}
.q-section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Form Fields */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 20px;
}
.field-label {
  display: block;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  color: #8892b0;
  margin-bottom: 8px;
}
.req {
  color: var(--accent-red);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid #161b22;
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  transition: 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

select {
  cursor: pointer;
}

select option {
  background: var(--bg-black);
  color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-orange);
  outline: none;
}

/* Option Chips */
.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-item {
  background: var(--charcoal);
  border: 1px solid #161b22;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  color: #8892b0;
  transition: 0.2s;
  user-select: none;
}

.option-item:hover {
  border-color: var(--accent-orange);
  color: #ffffff;
}
.option-item input {
  display: none;
}
.option-item.selected {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Asset Table */
.asset-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.asset-table th {
  text-align: left;
  padding: 10px;
  color: #8892b0;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  border-bottom: 1px solid #161b22;
}
.asset-table td {
  padding: 10px;
  border-bottom: 1px solid #161b22;
}
.row-num {
  color: var(--accent-orange);
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
}
.row-label {
  font-size: 16px;
  color: #ffffff;
}

/* Submit Area */
.submit-section {
  text-align: center;
  padding: 40px 0 20px 0;
}
.submit-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.submit-note {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  color: #8892b0;
  margin-top: 15px;
  letter-spacing: 1px;
}
.field-error {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  color: var(--accent-red);
  margin-top: 5px;
  display: none;
}

/* Success Screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
}
.success-contact {
  font-family: "Share Tech Mono", monospace;
  color: #8892b0;
  font-size: 14px;
  margin-top: 30px;
}

/* MEDIA QUERIES */

/* --- TABLET (1024px and below) --- */
@media (max-width: 1024px) {
  .about,
  .products,
  .differentiators,
  .contact-cta,
  .web-solutions {
    padding: 80px 0;
  }
  .rnd-labs {
    padding: 80px 0 100px 0;
  }

  /* Reduce gaps in flex containers */
  .about-container,
  .web-container {
    gap: 40px;
  }

  /* Force Differentiators to 2 columns */
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- MOBILE PORTRAIT (768px and below) --- */
@media (max-width: 768px) {
  /* Further reduce section padding for mobile */
  .about,
  .products,
  .differentiators,
  .contact-cta,
  .web-solutions {
    padding: 60px 0;
  }

  /* Hero Section Adjustments */
  .hero-content p {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  .cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .btn-secondary-pill.outline-btn {
    margin-left: 0; /* Remove left margin since they are stacked now */
  }

  /* Modal & Questionnaire Adjustments */
  .modal-content {
    padding: 30px 20px;
  }
  .modal-title {
    font-size: 32px;
  }
  .field-row {
    grid-template-columns: 1fr; /* Stack form fields on mobile */
    gap: 0;
  }
  .q-section-card {
    padding: 20px;
  }

  /* Web Solutions Glass Panel */
  .web-pricing-glass,
  .about-text,
  .about-visual-card {
    min-width: 100%; /* Prevent horizontal scrolling */
  }
  .glass-panel {
    padding: 25px 20px;
  }

  /* Force Differentiators to 1 column */
  .diff-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: none;
  }
  .diff-item {
    padding: 40px 25px;
    border-left: 1px solid #161b22;
    border-top: 1px solid #161b22;
  }

  /* R&D Labs Card smaller width for mobile swiping */
  .rnd-card {
    flex: 0 0 280px;
    padding: 30px 20px;
  }

  /* Universal Headers */
  h2 {
    font-size: clamp(34px, 8vw, 45px);
  }
}

/* --- SMALL MOBILE (480px and below) --- */
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  /* Make buttons full width */
  .btn-primary-pill.fiery-btn,
  .btn-secondary-pill.outline-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
  }

  /* Adjust cards */
  .services-grid {
    padding: 0 4%;
  }
  .service-card {
    padding: 35px 25px;
  }

  /* Pricing adjustments */
  .pricing-tier {
    padding: 20px 15px;
  }
  .tier-header h4 {
    font-size: 22px;
  }
  .tier-header .price {
    font-size: 26px;
  }
  .premium-features-list li {
    font-size: 14px;
  }
}
