:root {
  /* webkiva Palette 1 Colors */
  --brand-dark: #0e1123;
  --brand-lime: #9eec00;
  --brand-light: #eef9e4;

  /* webkiva Palette Saturate Colors */
  /* --brand-dark: #03143e;
  --brand-lime: #52ea00;
  --brand-light: #e8f9ea; */

  /* UI Tones */
  --bg-main: #fcfcfd;
  --text-body: #475467;
  --border-light: rgba(14, 17, 35, 0.08);
  --shadow-card: 0 24px 48px -12px rgba(14, 17, 35, 0.08);
  --shadow-dropdown: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-main);
  color: var(--brand-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.lime-text {
  color: var(--brand-lime);
  font-family: "test", sans-serif;
}

.lime-text-two {
  background: linear-gradient(90deg, #51f0a8, var(--brand-lime));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-family: "test", sans-serif;
}

.mobi {
  display: none;
}

@media (max-width: 768px) {
  .mobi {
    display: block;
  }
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}

/* --- Enhanced Futuristic Light Background --- */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-main);
}

/* 1. Premium Noise Overlay */
.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* SVG Data URI for seamless film grain */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 5;
  pointer-events: none;
}

/* 2. Architectural Grid */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(14, 17, 35, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 17, 35, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  /* Fades the grid out at the edges for a central focus */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 80%
  );
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: 1;
}

/* 3. Ambient Orbs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: floatOrb 15s infinite alternate ease-in-out;
  z-index: 0;
}

.lime-blob {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: var(--brand-lime);
}
.ice-blob {
  bottom: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  background: #cbf0f8;
  animation-delay: -5s;
}
.purple-blob {
  top: 30%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: #e0e7ff;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, 80px) scale(1.15);
  }
}

/* 4. High-End Light Streaks */
.light-streak {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(176, 230, 7, 0.4),
    transparent
  );
  height: 1px;
  z-index: 2;
  filter: blur(1px);
}

.streak-1 {
  width: 70vw;
  top: 25%;
  left: -10%;
  transform: rotate(35deg);
  opacity: 0.7;
}

.streak-2 {
  width: 50vw;
  bottom: 30%;
  right: -10%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 17, 35, 0.1),
    transparent
  );
  transform: rotate(-20deg);
  height: 2px;
  filter: blur(2px);
}

/* 5. Floating Glassmorphic Shapes */
.glass-shape {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
  z-index: 3;
}

.glass-ring {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  top: -50px;
  right: 10%;
  /* Hollow out the center to make it a ring */
  -webkit-mask-image: radial-gradient(circle, transparent 60%, black 61%);
  mask-image: radial-gradient(circle, transparent 60%, black 61%);
  animation: slowSpin 30s infinite linear;
}

.glass-pill {
  width: 120px;
  height: 300px;
  border-radius: 100px;
  bottom: 10%;
  left: 5%;
  transform: rotate(45deg);
  animation: floatOrb 12s infinite alternate ease-in-out reverse;
}

.glass-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  top: 40%;
  right: 25%;
  background: linear-gradient(
    135deg,
    rgba(176, 230, 7, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  animation: floatOrb 18s infinite alternate ease-in-out;
}

@keyframes slowSpin {
  0% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --- Floating Pill Navbar & Dropdown --- */
.navbar {
  position: fixed;
  top: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 5%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  background: rgba(244, 249, 240, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--brand-light);
  border-radius: 100px;
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  height: 30px;
}

.logo img {
  max-height: 20px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
}

.nav-links a.dd-item {
  align-items: flex-start;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

/* 2x2 Dropdown Styling */
.has-dropdown {
  position: relative;
  padding: 1rem 0;
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 550px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dd-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  align-items: flex-start;
  transition: background 0.3s;
}
.dd-item:hover {
  background: rgba(14, 17, 35, 0.03);
}
.dd-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-dark);
  color: var(--brand-lime);
  /* background: rgba(176, 230, 7, 0.2); */
  /* color: var(--brand-dark); */
  border-radius: 10px;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.dd-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.2rem;
  line-height: 1;
}
.dd-text p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.2;
}

/* --- Mobile Navigation Overlay (Slide from Right) --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%; /* Starts hidden completely off-screen to the right */
  width: 100%;
  height: 100vh;
  background: rgba(252, 252, 253, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999; /* Below the toggle button */
  /* Premium Apple-style easing curve */
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.mobile-nav.active {
  right: 0; /* Slides in perfectly */
}

.mobile-nav a:not(.btn-primary) {
  font-size: 1.5rem;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.mobile-nav a:not(.btn-primary):hover {
  color: var(--brand-lime);
}

.mobile-toggle {
  display: none;
}

/* --- Animated Hamburger Toggle --- */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* CRITICAL: Keeps toggle clickable ABOVE the menu */
  }

  .mobile-toggle .line {
    width: 100%;
    height: 2px;
    background-color: var(--brand-dark);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: left center;
    display: block;
  }

  /* Hamburger Active State (Morphs into an X) */
  .mobile-toggle.active .line:nth-child(1) {
    transform: rotate(45deg);
    width: 105%;
  }

  .mobile-toggle.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px); /* Slides out smoothly */
  }

  .mobile-toggle.active .line:nth-child(3) {
    transform: rotate(-45deg);
    width: 105%;
  }
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(90deg, #006b68, var(--brand-dark));
  color: var(--brand-light);
  /* border: 1px solid var(--brand-dark); */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}
.btn-primary:hover {
  background: var(--brand-lime);
  color: var(--brand-dark);
  border-color: var(--brand-lime);
  box-shadow: 0 10px 20px rgba(176, 230, 7, 0.3);
}
.btn-primary i {
  color: var(--brand-lime);
}
.btn-primary:hover i {
  color: var(--brand-dark);
}
.btn-secondary {
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--brand-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- Hero Section --- */
.hero {
  padding: 9rem 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Animated Badge Carousel */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  min-height: 38px;
}

.badge-dark {
  background: var(--brand-dark);
  color: var(--brand-lime);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  margin-right: 0.8rem;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Strict height wrapper prevents half-cuts */
.badge-carousel-wrapper {
  overflow: hidden;
  height: 24px; /* Locked height */
  position: relative;
}

.badge-carousel {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.badge-slide {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-body);
  text-decoration: none;
  height: 24px; /* Must match wrapper exactly */
  line-height: 24px;
  white-space: nowrap;
  transition: color 0.3s;
}

.badge-slide:hover {
  color: var(--brand-dark);
}

/* Hero Typography */
.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.4;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

/* --- Hero Visuals Container --- */
.hero-visuals {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin-bottom: 4rem;
}

/* --- Highly Realistic Premium Phone Mockup --- */
.phone-mockup {
  position: relative;
  width: 340px;
  height: 680px;
  z-index: 2;
}

.phone-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--brand-dark); /* Dark mode screen */
  border-radius: 50px;
  border: 12px solid #1a1d2e; /* Sleek titanium border */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(14, 17, 35, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* PERFECT BOTTOM FADE: Fades the borders and screen seamlessly */
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgb(0, 0, 0) 70%, transparent 95%);
}

.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ios-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-light);
  z-index: 5;
}
.ios-status-bar .icons {
  display: flex;
  gap: 5px;
  font-size: 1rem;
}

/* Screen Content - Dark Mode SaaS Look */
.screen {
  padding: 2rem 1.5rem 6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--brand-light);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-pic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.header-text {
  flex: 1;
}
.header-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 2px;
}
.header-text h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.bell-icon {
  position: relative;
  font-size: 1.2rem;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.bell-icon .dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 6px;
  height: 6px;
  background: var(--brand-lime);
  border-radius: 50%;
}

.screen-balance-card {
  background: linear-gradient(145deg, #1f2235, #151826);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 24px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.screen-balance-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.card-bottom-stats {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.growth-tag {
  background: rgba(176, 230, 7, 0.15);
  color: var(--brand-lime);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.date-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.screen-activity h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.lime-bg {
  background: var(--brand-lime);
  color: var(--brand-dark);
}
.white-bg {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-light);
}
.activity-text {
  flex: 1;
}
.activity-text h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 2px;
}
.activity-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.activity-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-light);
}

/* --- Floating Side Cards --- */
.floating-card {
  position: absolute;
  background: var(--brand-light);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--brand-light);
  width: 280px;
  text-align: left;
}
.floating-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--brand-lime);
}
.floating-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.left-card {
  left: 0;
  top: 15%;
  z-index: 3;
}
.card-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.avatars {
  display: flex;
}
.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--brand-light);
  margin-left: -10px;
}
.avatars img:first-child {
  margin-left: 0;
}
.stat-info h4 {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 0.5;
  color: var(--brand-lime);
}
.stat-info span {
  font-size: 0.75rem;
  color: var(--text-body);
}

.right-card {
  right: 0;
  bottom: 30%;
  z-index: 1;
}
.stars {
  color: #10b981;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.right-card p {
  margin-bottom: 1.5rem;
}
.reviewer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
}

/* --- Trusted By Ticker --- */
.trusted-section {
  padding: 0 5% 3rem;
  text-align: center;
  /* border-bottom: 1px solid var(--border-light); */
}
.trusted-section p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.logo-ticker {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.ticker-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll 20s linear infinite;
}
.t-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-dark);
  opacity: 0.8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 2rem));
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .left-card {
    left: -5%;
  }
  .right-card {
    right: -5%;
  }
}
@media (max-width: 768px) {
  .nav-container {
    border: none !important;
    box-shadow: none !important;
    /* background: transparent; */
  }

  /* Give it a slight background only when scrolled */
  .navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-links,
  .nav-btn {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 4rem;
  }
  .hero-visuals {
    flex-direction: column;
    gap: 2rem;
    height: auto;
    perspective: none;
  }
  .phone-mockup {
    width: 300px;
    height: 600px;
    margin: 0 auto;
  }
  .floating-card {
    position: relative;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  .js-parallax-item {
    transform: none !important;
  }
}

/* --- Jaw-Dropping CTA Section --- */
.cta-section {
  position: relative;
  padding: 8rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(
    circle,
    rgba(176, 230, 7, 0.1) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Base Panel Setup */
.cta-glass-panel {
  position: relative;
  width: 100%;
  max-width: 850px;
  z-index: 2;
  border-radius: 34px;
}

/* 1. The Masked Spinning Border */
.animated-border {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: var(--brand-dark);
  overflow: hidden;
  z-index: -1;
}

.animated-border::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    var(--brand-lime) 100%
  );
  animation: spinBorder 4s linear infinite;
}

/* 2. The Outer Blurred Spinning Glow */
.animated-glow {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    var(--brand-lime) 100%
  );
  filter: blur(20px);
  z-index: -2;
  animation: spinBorder 4s linear infinite;
  opacity: 0.6;
}

@keyframes spinBorder {
  100% {
    transform: rotate(360deg);
  }
}

/* 3. The Dark Interior Container */
.cta-inner {
  position: relative;
  margin: 2px; /* This exposes exactly 2px of the spinning border behind it */
  background: radial-gradient(
    circle at top right,
    #1a1e36 0%,
    var(--brand-dark) 80%
  );
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  z-index: 1;
  /* Inner ambient glow */
  box-shadow: inset 0 0 40px rgba(176, 230, 7, 0.05);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-light);
  margin-bottom: 1.5rem;
}

.cta-inner h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--brand-light);
}

.text-glow {
  text-shadow: 0 0 24px rgba(176, 230, 7, 0.5);
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cta-btn {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Dark mode adjustment for the secondary button */
.dark-mode-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--brand-light) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--brand-lime) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.cta-disclaimer {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin: 0 !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 6rem 5%;
  }
  .cta-inner {
    padding: 3rem 1.5rem;
    margin: 1px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  .t-left,
  .t-right {
    display: none;
  }
}

/* --- Premium Footer --- */
.premium-footer {
  background: var(--bg-main);
  padding: 6rem 5% 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.brand-col p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

.footer-col a {
  display: block;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transition:
    color 0.3s,
    transform 0.3s;
}

.footer-col a:hover {
  color: var(--brand-lime);
  transform: translateX(5px);
}

.channel-col p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.mini-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 17, 35, 0.03);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  color: var(--brand-dark);
  font-weight: 600;
}

/* Responsive Footer & CTA */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Global Section & Accent Styles --- */
.section {
  padding: 4rem 5%;
  position: relative;
  z-index: 2;
}
.dark-section {
  background-color: var(--brand-dark);
  color: var(--brand-light);
}
.light-section {
  background-color: var(--bg-main);
}
.center {
  text-align: center;
}

.accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(176, 230, 7, 0.15);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  /* letter-spacing: -0.03rem; */
  letter-spacing: 3px;
}
.dark-accent {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-lime);
}
.section-header {
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}
.dark-header h2 {
  color: var(--brand-light);
}
.dark-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Services (Premium Brutalist Tall Cards) --- */
.section.services-section {
  padding-top: 0;
  border: none;
}

.services-tall-grid {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-tall-grid {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Base Card Setup */
.premium-service-card {
  position: relative;
  height: 550px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  /* The ambient base glow */
  box-shadow: 0 20px 40px rgba(14, 17, 35, 0.08);
}

/* Hover Physics & Intense Glows */
.premium-service-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px rgba(14, 17, 35, 0.15),
    0 15px 40px var(--theme-glow);
}

.premium-service-card:hover .card-bg {
  transform: scale(1.08);
}

/* Dynamic Themes */
.theme-lime {
  --theme-color: var(--brand-lime);
  --theme-text: var(--brand-dark);
  --theme-glow: rgba(176, 230, 7, 0.4);
}
.theme-indigo {
  --theme-color: #6366f1;
  --theme-text: var(--brand-light);
  --theme-glow: rgba(99, 102, 241, 0.4);
}
.theme-coral {
  --theme-color: #f43f5e;
  --theme-text: var(--brand-light);
  --theme-glow: rgba(244, 63, 94, 0.4);
}
.theme-dark {
  --theme-color: var(--brand-dark);
  --theme-text: var(--brand-light);
  --theme-glow: rgba(14, 17, 35, 0.5);
}

/* Background Image */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  z-index: 1;
  transition: transform 0.7s ease;
}

/* Background Image */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.7s ease;
}

/* The Fixed Magic Gradient Overlay */
.card-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    var(--theme-color) 0%,
    var(--theme-color) 40%,
    /* Keeps top 40% solid for text/icons */ transparent 65%,
    /* Fades to 100% transparent to REVEAL the image */ rgba(14, 17, 35, 0.85)
      100% /* Soft dark bottom so the white link is readable */
  );
}

/* Content Container */
.card-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--theme-text);
}

/* Premium Floating App Icon */
.app-icon {
  width: 54px;
  height: 54px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Icon Drop Shadows mapping to themes */
.shadow-lime {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.shadow-indigo {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.shadow-coral {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.shadow-dark {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Typography */
.card-content h3 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.card-content p {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 90%;
}

/* The "Learn More" Link */
.card-link {
  margin-top: auto; /* Forces it to the very bottom */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: gap 0.3s;
  /* Adds a tiny drop shadow so it reads well over complex images */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-link i {
  font-size: 1.2rem;
}

.premium-service-card:hover .card-link {
  gap: 0.8rem; /* Creates an arrow-sliding effect on hover */
}
/* --- Overlapping Why Us Section --- */
.why-us-split-section {
  padding: 0 5% 8rem;
  /* background: var(--bg-main); */
  position: relative;
  z-index: 2;
}

/* The massive dark block at the top */
.wu-dark-panel {
  position: relative;
  background: var(--brand-dark);
  border-radius: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 6rem 2rem 14rem; /* Huge bottom padding to let cards overlap */
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(14, 17, 35, 0.1);
}

.relative-z {
  position: relative;
  z-index: 10;
}

/* --- High-Intensity Why Us Glows --- */
.wu-glow-center {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px; /* Expanded size */
  /* Brighter, multi-layered gradient */
  background: radial-gradient(
    ellipse,
    rgba(176, 230, 7, 0.35) 0%,
    rgba(176, 230, 7, 0.1) 40%,
    transparent 70%
  );
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.trailing-rings {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.t-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  /* Added base box-shadow for emission */
  box-shadow:
    0 0 30px rgba(176, 230, 7, 0.05),
    inset 0 0 30px rgba(176, 230, 7, 0.05);
}

/* Graded intensity for concentric rings */
.ring-1 {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(176, 230, 7, 0.2);
  box-shadow:
    0 0 40px rgba(176, 230, 7, 0.15),
    inset 0 0 40px rgba(176, 230, 7, 0.1);
}
.ring-2 {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(176, 230, 7, 0.2);
}
.ring-3 {
  width: 750px;
  height: 750px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.ring-4 {
  width: 1050px;
  height: 1050px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

/* Intense Text Glow */
.text-glow {
  text-shadow: 0 0 24px rgba(176, 230, 7, 0.5);
}

/* Overlapping Grid Layout */
.wu-overlapping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: -10rem auto 0; /* The negative margin pulls it UP into the dark area */
  position: relative;
  z-index: 20;
  padding: 0 1rem;
}

/* Premium White Cards with Glows */
.wu-card {
  background: var(--brand-light);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  /* border: 1px solid var(--border-light); */
  height: 480px;
}

.wu-card.one {
  padding: 2rem 2rem 0 2rem;
}

.wu-card.two {
  padding: 0 2rem 2rem 2rem;
  background: rgba(176, 230, 7, 1);
}

/* Premium Hover Glow Effect */
.wu-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 0 30px rgba(176, 230, 7, 0.15);
  border-color: rgba(176, 230, 7, 0.4);
}

.wu-card-text {
  text-align: center;
}
.wu-card-text h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.wu-card-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.wu-card-img.one {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-radius: 16px 16px 0 0;
  /* border: 1px solid var(--border-light); */
  /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); */
}

.wu-card-img.two {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 16px 16px;
  /* border: 1px solid var(--border-light); */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .wu-dark-panel {
    border-radius: 24px;
    padding: 5rem 2rem 10rem;
  }
  .wu-overlapping-grid {
    margin-top: -6rem;
  }
  .wu-card {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .wu-dark-panel {
    padding: 4rem 1.5rem 12rem;
  }
  .wu-overlapping-grid {
    margin-top: -12rem;
    grid-template-columns: 1fr;
  }
  .wu-card {
    height: 400px;
  }
  .trailing-rings {
    opacity: 0.5;
  }
}
/* --- Design Philosophy (Interactive Split) --- */
.philosophy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.p-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--brand-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.p-item.active {
  background: var(--brand-dark);
  color: var(--brand-light);
  border-color: var(--brand-dark);
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(14, 17, 35, 0.1);
}
.p-icon {
  font-size: 1.5rem;
  color: var(--text-body);
  transition: color 0.3s;
}
.p-item.active .p-icon {
  color: var(--brand-lime);
}
.p-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  transition: color 0.3s;
}

.philosophy-detail-card {
  background: var(--brand-light);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.philosophy-detail-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: opacity 0.3s;
}
.p-card-content {
  padding: 2.5rem;
}
.p-card-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.p-card-content p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.p-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.p-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Portfolio --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.port-card {
  background: var(--brand-light);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.4s;
}
.port-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.port-top {
  padding: 2.5rem 2rem;
}
.port-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.p-tag {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.dark-tag {
  background: var(--brand-dark);
  color: var(--brand-light);
}
.lime-tag {
  background: var(--brand-lime);
  color: var(--brand-dark);
}
.light-tag {
  background: #f4f5f7;
  color: var(--brand-dark);
}
.port-top h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.port-top p {
  color: var(--text-body);
}
.port-img {
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  margin: 0 1rem 1rem;
}

/* --- Testimonials --- */
.testimonial-section {
  background-color: #0b0d1a;
  color: var(--brand-light);
}
.test-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quote-block {
  position: relative;
  padding: 3rem;
  margin-bottom: 4rem;
}
.giant-quote {
  position: absolute;
  font-family: "test", sans-serif;
  font-size: 12rem;
  color: rgba(176, 230, 7, 0.1);
  line-height: 1;
  user-select: none;
}
.left-quote {
  top: -2rem;
  left: -2rem;
}
.right-quote {
  bottom: -6rem;
  right: -2rem;
  transform: rotate(180deg);
}
.quote-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}
.quote-author h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.quote-author span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.test-partners {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}
.test-partners p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.partner-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logos span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Premium Testimonials Background --- */
.testimonial-section {
  background-color: var(--brand-dark);
  color: var(--brand-light);
  position: relative;
  overflow: hidden;
}

.test-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(176, 230, 7, 0.12) 0%,
    transparent 60%
  );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.test-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  /* Fades the grid beautifully at the edges */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 90%
  );
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.test-streak {
  position: absolute;
  top: 25%;
  right: -15%;
  width: 70vw;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(176, 230, 7, 0.6),
    transparent
  );
  transform: rotate(-15deg);
  filter: blur(3px);
  z-index: 1;
}

/* Make the giant quotes pop against the dark background */
.giant-quote {
  position: absolute;
  font-family: "test", sans-serif;
  font-size: 12rem;
  color: rgba(176, 230, 7, 0.2); /* Increased opacity */
  text-shadow: 0 0 40px rgba(176, 230, 7, 0.15); /* Added glow */
  line-height: 1;
  user-select: none;
  z-index: 0;
}

/* --- Dark Footer Overrides --- */
.dark-footer {
  background-color: var(--brand-dark);
  color: rgba(255, 255, 255, 0.6);
  border-top: none;
}
.dark-footer h4,
.dark-footer .location {
  color: var(--brand-light);
}
.dark-footer a {
  color: rgba(255, 255, 255, 0.6);
}
.dark-footer a:hover {
  color: var(--brand-lime);
}
.dark-footer .location {
  background: rgba(255, 255, 255, 0.05);
}
.dark-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .philosophy-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .quote-content p {
    font-size: 1.2rem;
  }
  .giant-quote {
    font-size: 8rem;
  }
  .partner-logos {
    gap: 1.5rem;
  }
  .partner-logos span {
    font-size: 1.2rem;
  }
}

/* ========================================================
   DARK PREMIUM HERO SECTION (HARD STOP OVERLAP)
   ======================================================== */

.dark-hero {
  position: relative;
  /* Massive padding at the bottom allows the phone to hang past the dark background */
  padding-bottom: 0;
}

/* Top Fading Image Layer */
.hero-top-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Takes up roughly the top half */
  /* Epic dark tech/cityscape placeholder */
  background-image: url("bg.webp");
  background-size: cover;
  background-position: center top;
  /* Fades out perfectly so it only covers the top 25-30% visually */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  z-index: 0;
  opacity: 0.35; /* Blends gorgeously into the dark theme */
}

@media (max-width: 768px) {
  .hero-top-image {
    background-position: 20% bottom;
  }
}

/* 1. Base Canvas - HARD STOP midway through the visuals */
.dh-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* This calculation ensures the dark background cuts off horizontally */
  /* exactly in the middle of the overlapping phone/cards */
  height: calc(100% - 12rem);
  background: var(--brand-dark);
  z-index: -1;
  /* A tiny hard shadow line to make the transition dramatic */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 2. Architectural Tech Grid (Matches the hard stop) */
.dh-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 400px);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(
    ellipse at center top,
    black 30%,
    transparent 90%
  );
  mask-image: radial-gradient(
    ellipse at center top,
    black 30%,
    transparent 90%
  );
  z-index: 0;
}

/* 3. Intense Ambient Multi-Glows */
.dh-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.glow-lime {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(176, 230, 7, 0.2) 0%,
    transparent 60%
  );
  margin-left: -200px; /* Pulls it slightly left */
}

.glow-cyan {
  width: 700px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 201, 255, 0.15) 0%,
    transparent 60%
  );
  margin-left: 200px; /* Pulls it slightly right */
}

.relative-z {
  position: relative;
  z-index: 10;
}

/* --- Hero Content Dark Overrides --- */
.dark-hero .dh-title {
  color: var(--brand-light);
}
.dark-hero .dh-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.dark-hero .text-glow {
  text-shadow: 0 0 30px rgba(176, 230, 7, 0.6);
}

/* Main CTA geometry; shared colours live in assets/main.css. */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: all 0.4s ease;
}

@media (max-width: 768px) {
  .btn-gradient,
  .dh-btn-secondary {
    justify-content: center;
    width: 60vw;
    align-self: center;
  }
}

.btn-gradient:hover {
  transform: translateY(-2px);
}

/* Secondary Button Overrides */
.dark-hero .dh-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand-light);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark-hero .dh-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-lime);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Badge Overrides */
.dark-hero .dh-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--brand-light);
}
.dark-hero .dh-badge-dark {
  background: var(--brand-lime);
  color: var(--brand-dark);
}
.dark-hero .dh-badge-slide {
  color: rgba(255, 255, 255, 0.8);
}
.dark-hero .dh-badge-slide:hover {
  color: var(--brand-lime);
}

/* --- Brighter, Visible Visual Elements --- */
/* By lightening the glass and removing thick shadows, these elements pop brilliantly over the dark/light divide */

.dark-hero .dh-bright-card {
  background: rgba(255, 255, 255, 0.08); /* Brighter, whiter glass */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--brand-dark); /* Keeps text legible if it hangs over light bg */
  /* Light shadow so it floats cleanly on both dark and light backdrops */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Ensure text inside the cards adapts to being over the light background */
.dark-hero .dh-bright-card h3 {
  color: var(--brand-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.dark-hero .dh-bright-card p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.dark-hero .dh-card-bottom {
  border-color: rgba(255, 255, 255, 0.2);
}
.dark-hero .dh-stat-lbl {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.dark-hero .dh-reviewer {
  color: var(--brand-lime);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.dark-hero .dh-avatars img {
  border-color: rgba(255, 255, 255, 0.2);
}

/* The Phone Frame: Highly visible, sleek metal/glass styling */
.dark-hero .dh-bright-phone {
  background: var(--brand-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 0 80px rgba(0, 201, 255, 0.1); /* Subtle cyan/lime ambient glow to match the button */
  /* Remove the bottom fade out so the phone is fully, sharply visible crossing the line */
  -webkit-mask-image: none;
  mask-image: none;
}
