@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Light Mode Focus */
  --bg-color: #f7f9fc;
  --surface-color: rgba(255, 255, 255, 0.4);
  --surface-color-light: rgba(255, 255, 255, 0.8);
  --border-color: rgba(255, 255, 255, 0.6);
  --text-main: #1a1a24;
  --text-muted: #5a5a6a;

  /* Accents - Green Gradients matched to Logo */
  --accent: #00d394;
  --accent-glow: rgba(0, 211, 148, 0.25);
  --accent-secondary: #059669;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* Base Styles & Background Blobs */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Floating Blobs for Glassmorphism Context */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite alternate;
}

.blob-1 {
  background: var(--accent);
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.blob-2 {
  background: var(--accent-secondary);
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: -50px;
  animation-delay: -5s;
}

.blob-3 {
  background: #38bdf8;
  width: 250px;
  height: 250px;
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-30px, -50px) scale(0.9);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* =========================================================================
   Typography & Utilities
   ========================================================================= */

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.section {
  padding: 4rem 0;
  position: relative;
  z-index: 5;
}

/* Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 10px 20px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  border-color: #fff;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* =========================================================================
   Layout Components
   ========================================================================= */

/* Content Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition-normal);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background: #ffffff;
  padding: 0.8rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  background: transparent !important;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.1rem;
  letter-spacing: -0.05em;
  transition: var(--transition-normal);
}

.logo-null {
  color: var(--text-main);
}

.logo-bugs {
  font-weight: 300;
  color: var(--text-muted);
}

.logo-img {
  height: 28px;
  width: auto;
  margin-right: 0.4rem;
  transition: var(--transition-normal);
  border-radius: 0;
  background: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-main);
}

/* Nav CTA Button */
.btn-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 20px var(--accent-glow);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

.btn-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px var(--accent-glow);
  color: #fff;
}

/* Remove underline effect for the button */
.nav-links li:last-child .nav-link.btn-nav::after {
  display: none;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-main);
  background: none;
  border: none;
}

/* Glass Footer */
.footer {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.footer-contact a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-address-link {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.footer-address-link:hover {
  color: var(--accent);
  transform: scale(1.02);
}

/* Footer logo blends with glassmorphism background */
.footer-logo .logo-img {
  mix-blend-mode: multiply;
  background: transparent;
  opacity: 0.9;
}

/* =========================================================================
   Page Specific & Components
   ========================================================================= */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 2rem;
}

.hero-bg {
  /* Removed old radial gradient. Covered by background blobs globally. */
  display: none;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
}

.hero-graphic {
  position: relative;
}

.hero-graphic img {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 4px solid rgba(255, 255, 255, 0.8);
}

/* Glass Cards */
.card {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-normal);
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.card:hover {
  background: var(--surface-color-light);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

.card-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.1), rgba(5, 150, 105, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-2-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.service-media-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: block;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Inner Page Header */
.page-header {
  padding: 8.5rem 0 4rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: var(--transition-normal);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .grid-3,
  .grid-2-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: #fff;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Service Enhancement Pillars */
.pillar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--surface-color);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-normal);
}

.pillar-item:hover {
  background: var(--surface-color-light);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.pillar-item i {
  color: var(--accent);
  font-size: 1.4rem;
}



/* Tech Showcase Carousel */
.tech-slider {
  overflow: hidden;
  padding: 4rem 0;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  gap: 8rem;
  animation: scroll 40s linear infinite;
  align-items: center;
}

.tech-slider:hover .tech-track {
  animation-play-state: paused;
}

.tech-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 3rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
  flex-shrink: 0;
  width: 150px;
}

.tech-icon-box:hover {
  color: var(--accent);
  transform: translateY(-5px) scale(1.05);
}

.tech-icon-box span {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-150px * 7 - 5rem * 7));
  }

  /* Exactly half-way through the track */
}

/* Adjusted animation for duplicated content - simpler logic: translateX(-50%) */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .tech-track {
    gap: 3rem;
    animation-duration: 20s;
  }

  .tech-icon-box {
    font-size: 2.5rem;
    width: 120px;
  }
}

/* Development Process Layout */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
  background: #ffffff;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 211, 148, 0.15);
  border-color: var(--accent);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-glow);
  z-index: 0;
  line-height: 1;
  opacity: 0.6;
}

.process-card h3,
.process-card p,
.process-card i {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    /* Normal order on mobile */
  }
}

/* Testimonials Section Styles */
.testimonial-slider {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.testimonial-slider.is-looping {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  padding: 1rem 0;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (max-width: 1024px) {
  .testimonial-slider.is-looping {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    mask-image: none;
    -webkit-mask-image: none;
    overflow: hidden;
  }

  .testimonial-slider.is-looping .testimonial-track {
    gap: 4vw;
    padding-left: 10vw;
    padding-right: 10vw;
  }

  .testimonial-slider.is-looping .testimonial-card {
    flex: 0 0 80vw !important;
    height: 480px;
  }
}

.testimonial-slider.is-looping .testimonial-track {
  display: flex !important;
  width: max-content !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
}

.testimonial-slider.is-looping:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
  padding: 3.5rem 2.5rem 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: var(--transition-normal);
  margin-top: 1.5rem;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 211, 148, 0.08);
  border-color: rgba(0, 211, 148, 0.2);
}

.testimonial-slider.is-looping .testimonial-card {
  flex: 0 0 380px;
  height: 420px;
  flex-shrink: 0;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}


/* Consolidated above */

.quote-icon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 16px var(--accent-glow);
  border: 2px solid #fff;
  /* Added white border to help overlap look clean */
  z-index: 2;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  opacity: 0.9;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Color Grades for Avatars */
.avatar-1 {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.avatar-2 {
  background: linear-gradient(135deg, #a855f7, #6366f1);
}

.avatar-3 {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

.avatar-4 {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.user-info h4 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: #ffb800;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* =========================================================================
   Responsive Media Queries
   ========================================================================= */

@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
    order: 1;
  }

  .hero-graphic {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .user-info h4 {
    margin-bottom: 0.1rem;
    font-size: 1.1rem;
  }

  .user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .rating {
    display: flex;
    gap: 0.2rem;
    color: #ffb800;
    font-size: 1rem;

  }

  @media (max-width: 768px) {

    /* Typography Scale */
    h1 {
      font-size: 2.5rem;
    }

    h2 {
      font-size: 2rem;
    }

    .section {
      padding: 2.5rem 0 !important;
    }

    .section-header {
      margin-bottom: 2rem !important;
    }

    .hero p {
      margin-bottom: 1.5rem !important;
    }

    /* Minimized Mobile Navbar */
    .navbar {
      padding: 0.8rem 0 !important;
    }

    .logo-img {
      height: 30px !important;
    }

    .hero {
      padding-top: 6rem !important;
      padding-bottom: 4rem !important;
    }

    .badge {
      font-size: 0.8rem;
      padding: 0.4rem 1rem;
    }

    /* Mobile Navbar Menu */
    .mobile-toggle {
      display: block;
      z-index: 1001;
    }

    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100vh;
      background: #fff;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2.5rem;
      transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      padding: 2rem;
    }

    .nav-links.active {
      right: 0;
    }

    .nav-link {
      font-size: 1.2rem;
    }

    /* Grid Resets */
    .grid-3,
    .grid-4,
    .grid-2-cards,
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .grid-2 {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .footer-col {
      text-align: center;
    }

    .footer-contact a {
      justify-content: center;
    }

    /* Testimonial styles updated in main section */

    .testimonial-text {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 2.2rem;
    }

    .container {
      padding: 0 1.5rem;
    }

    .btn {
      width: 100%;
    }

    .hero-actions {
      flex-direction: column;
    }
  }

  /* Fix for footer logo blend */
  .footer-logo img.logo-img {
    mix-blend-mode: multiply !important;
    filter: brightness(1.05);
    opacity: 0.9;
    background: transparent !important;
  }
}

/* Pricing Page Specific Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  text-align: center;
  padding: 3rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 211, 148, 0.15);
  background: var(--surface-color-light);
  transform: scale(1.05);
  transform-origin: bottom center;
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
  transform-origin: bottom center;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-top: 1.5rem;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.setup-fee {
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.renew-info {
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  color: var(--accent-secondary);
  margin-bottom: 0.2rem;
}

.free-badge {
  background: rgba(0, 211, 148, 0.15);
  color: var(--accent-secondary);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: auto;
}

.custom-tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
  border-bottom: 1.5px dashed var(--text-muted);
  line-height: 1.4;
  transition: border-bottom-color 0.3s ease;
}

.custom-tooltip:hover,
.custom-tooltip:focus {
  border-bottom-color: var(--accent);
  outline: none;
}

.custom-tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  max-width: 280px;
  white-space: normal;
  background-color: var(--text-main);
  color: #ffffff;
  text-align: left;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  left: -15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  margin-top: 5px;
  transition: opacity 0.3s ease, margin-top 0.3s ease;
  pointer-events: none;
  letter-spacing: 0.3px;
}

.custom-tooltip .tooltip-text::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50px;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--text-main) transparent;
}

.custom-tooltip:hover .tooltip-text,
.custom-tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
  margin-top: 0;
}

.custom-tooltip:active .tooltip-text {
  opacity: 0.8;
  transition: opacity 0.1s ease;
}

.features-list {
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.features-list i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 0.1rem;
}

.plan-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-highlight {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.faq-container {
  margin-top: 3rem;
  text-align: left;
}

.faq-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 211, 148, 0.1) 100%);
  box-shadow: 0 4px 15px rgba(0, 211, 148, 0.05);
  transform: scale(1.01);
}

.faq-item[open] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(0, 211, 148, 0.15) 100%);
  border-color: var(--accent);
}

.section-header h2 .text-gradient {
  background-size: 200% auto;
  transition: background-position 0.5s ease-in-out;
}

.section-header h2:hover .text-gradient {
  background-position: right center;
}

summary.faq-question {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-main);
  list-style: none;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

summary.faq-question i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item[open] summary.faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.header-features {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.header-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
  padding: 0.4rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-feature:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(0, 211, 148, 0.15) 100%);
  border-color: var(--accent);
  box-shadow: 0 6px 15px rgba(0, 211, 148, 0.08);
  transform: translateY(-2px);
}

.header-feature:hover i {
  color: var(--accent);
}

.header-feature:active {
  opacity: 0.5;
  transform: translateY(0);
}

.header-feature i {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.feature-highlight {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 3rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .renew-info {
    font-size: 0.8rem;
  }

  .setup-fee {
    font-size: 0.75rem;
  }
}

.enterprise-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(0, 211, 148, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.enterprise-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 211, 148, 0.08);
}

.enterprise-content {
  flex: 1;
}

.enterprise-content h2 {
  margin: 0.5rem 0 1rem;
}

@media (max-width: 768px) {
  .enterprise-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
}

/* =========================================================================
   404 Page Styles
   ========================================================================= */

.error-page {
  padding: 10rem 0 6rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 40px var(--accent-glow));
}

.error-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.error-description {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .error-page {
    padding: 8rem 0 4rem;
  }
}

/* =========================================================================
   Team Section Styles
   ========================================================================= */
/* Update team grid for equal height and layout */
.team-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-grid .card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-member-img {
  width: 100%; 
  aspect-ratio: 1; 
  border-radius: var(--radius-md); 
  margin: 0 auto 1.5rem; 
  overflow: hidden; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.1));
}

.card:hover .team-member-img {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.team-member-img img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 0;
}

.team-role {
  color: var(--accent); 
  font-weight: 600; 
  margin-bottom: 1rem;
}

.team-socials {
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  margin-top: auto;
  padding-top: 1rem;
}

.team-socials a {
  color: var(--text-muted); 
  font-size: 1.2rem; 
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-color);
}

.team-socials a:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--accent-glow);
}