@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/cal-sans');

:root {
  --bg-color: #121212;
  --bg-secondary: #1a1a1a;
  --accent-primary: #e11d48;
  --accent-secondary: #be123c;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --transition-bezier: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  max-width: 100vw;
}

body {
  overflow-x: clip;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(225, 29, 72, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .cal-sans {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  --transition-bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  from { --gradient-angle: 0deg; }
  to { --gradient-angle: 360deg; }
}

/* Animations */
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-right {
  from { width: 0; opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--transition-bezier);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Global Section Titles (PHANTOM style) */
.section-title, h1.cal-sans, h2.cal-sans {
  font-family: 'Archivo', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to bottom, #ffffff 40%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  margin-bottom: 1.5rem;
}

.section-title span, h1.cal-sans span, h2.cal-sans span {
  background: linear-gradient(to bottom, #ff4d6d 40%, #9f1239 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 90px);
}

.services-sticky h2, .portfolio-header h2, .testimonials h2, .advantages h2, .chart-container h2 {
  font-size: clamp(32px, 5vw, 70px);
  text-align: center;
}

.testimonials h2 {
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -200px;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e11d48, #ffffff);
  box-shadow: 0 0 15px #e11d48;
  animation: header-beam 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes header-beam {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 200px)); }
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.logo-box a {
  display: flex;
  height: 100%;
  align-items: center;
}

.logo-box img {
  height: 100%;
  max-height: 60px;
  object-fit: contain;
}

.desktop-nav {
  display: block;
}

.mobile-nav {
  display: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s var(--transition-bezier);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Removed Status Indicator */

.btn-quote {
  position: relative;
  background: #000;
  color: white;
  padding: 12px 32px;
  border-radius: 100px;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s var(--transition-bezier);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1;
}

.btn-quote:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.4);
}

.btn-content {
  position: relative;
  z-index: 10;
}

.btn-beam {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 100px;
  background: conic-gradient(
    from var(--gradient-angle),
    transparent 0%,
    #e11d48 40%,
    #ff4d6d 50%,
    transparent 60%,
    transparent 100%
  );
  animation: border-spin 2s linear infinite;
}

.btn-bg {
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: #000;
  border-radius: 100px;
}

.btn-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-quote:hover::after {
  opacity: 1;
}

.btn-content {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-quote .secondary-text {
  font-size: 10px;
  opacity: 0.8;
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 4rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  padding-right: 5%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
              linear-gradient(to right, rgba(18, 18, 18, 0.98) 0%, rgba(18, 18, 18, 0.7) 60%, rgba(18, 18, 18, 0.4) 100%),
              linear-gradient(to top, var(--bg-color) 0%, transparent 30%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 90px);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}

.hero h1 span {
  color: var(--accent-primary);
  display: inline-block;
  background: linear-gradient(135deg, #ff4d6d 0%, #be123c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 22px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-color);
  margin-left: -15px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof span {
  font-size: 14px;
  color: var(--text-secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s var(--transition-bezier);
  margin-bottom: 6rem; /* Increased spacing to separate from trust bar */
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.3s var(--transition-bezier);
}

.btn-primary:hover svg {
  transform: translate(4px, -4px);
}

/* Trust Bar */
.trust-bar {
  height: 120px;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-color);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 2rem;
  border-right: 1px solid var(--border-glass);
  position: relative;
  cursor: pointer;
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 40px;
  height: 40px;
  color: #6b7280;
  transition: color 0.3s var(--transition-bezier);
}

.trust-item:hover .trust-icon {
  color: var(--accent-primary);
}

.trust-text h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 12px;
  color: var(--text-secondary);
}

.trust-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-bezier);
  z-index: 10;
  text-align: center;
}

.trust-item:hover .trust-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Services Grid */
.services {
  padding: 6rem 5% 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  align-items: center;
}

.services-sticky {
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-sticky h2 {
  font-size: clamp(48px, 6vw, 80px);
  margin-bottom: 1.5rem;
}

.services-sticky p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-sticky h2 span {
  color: var(--accent-primary);
}

.services-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Bento Grid Services */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.bento-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--transition-bezier);
  padding: 2.5rem 2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.bento-card h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: all 0.3s var(--transition-bezier);
}

.bento-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
  animation: icon-float 3s ease-in-out infinite;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.bento-card:hover {
  border-color: rgba(225, 29, 72, 0.3);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    var(--spotlight-radius, 300px) circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(225, 29, 72, 0.1),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-card:hover .spotlight-overlay {
  opacity: 1;
}

.border-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    var(--spotlight-radius, 300px) circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(225, 29, 72, 0.6),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.bento-card:hover .border-glow {
  opacity: 1;
}

.bento-card .service-header, 
.bento-card .service-icon-box,
.bento-card p,
.bento-card details {
  position: relative;
  z-index: 10;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 1);
  box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
}

.service-card {
  display: none; /* Hide old cards */
}


.service-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

details {
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
  overflow: hidden;
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s var(--transition-bezier);
}

summary:hover {
  color: var(--accent-primary);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.4s var(--transition-bezier);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-bezier), opacity 0.5s var(--transition-bezier);
  opacity: 0;
  padding-top: 0;
}

details[open] .details-content {
  max-height: 200px;
  opacity: 1;
  padding-top: 1rem;
}

.service-card.featured .details-content {
  color: rgba(255, 255, 255, 0.9);
}

/* Advantages Section */
.advantages {
  padding: 10rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.adv-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 3rem;
  transition: all 0.4s var(--transition-bezier);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.adv-card:hover {
  background: rgba(225, 29, 72, 0.03);
  border-color: rgba(225, 29, 72, 0.2);
  transform: translateY(-10px);
}

.adv-icon-box {
  width: 50px;
  height: 50px;
  color: var(--accent-primary);
}

.adv-card h3 {
  font-size: 24px;
  color: white;
}

.adv-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.adv-line-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  width: fit-content;
  margin-top: auto;
}

.featured-adv {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, transparent 100%);
  border-color: rgba(225, 29, 72, 0.3);
}

@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials {
  padding: 10rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials h2 {
  font-size: clamp(40px, 5vw, 70px);
  text-align: center;
  margin-bottom: 6rem;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.testimonials-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Alpha mask for the edges */
  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);
}

.testimonials-marquee-content {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.testimonials-marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1rem)); } /* Half of the total width including gap */
}

.testi-card {
  background: var(--bg-secondary);
  border-radius: 2.5rem;
  padding: 3rem;
  border: 1px solid var(--border-glass);
  width: 400px; /* Fixed width for consistent marquee */
  flex-shrink: 0;
}

.stars {
  color: var(--accent-primary);
  font-size: 24px;
  margin-bottom: 1.5rem;
}

.testi-quote {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s var(--transition-bezier);
}

.testi-card:hover .user-avatar {
  filter: grayscale(0%);
}

.user-info h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.user-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Final CTA */
.final-cta {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Final CTA with CSS Glowing Border */
.final-cta {
  padding: 15rem 5%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.electric-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 32px;
  padding: 6rem 4rem;
  z-index: 2;
  text-align: center;
}

.electric-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 3px; /* border width */
  background: conic-gradient(from var(--gradient-angle), transparent 25%, var(--accent-primary), var(--accent-secondary), transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 4s linear infinite;
  opacity: 0.8;
  filter: drop-shadow(0 0 15px rgba(225, 29, 72, 0.4));
}

.electric-content {
  position: relative;
  z-index: 5;
}

.electric-content h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.electric-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
}

@media (max-width: 768px) {
  .ticker-section {
    padding: 6rem 0;
  }
}

.cta-container {
  background: url('../img/cta_bg_diesel_1777316679773.png') center/cover;
  border-radius: 3.5rem;
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.9) 0%, rgba(190, 18, 60, 0.95) 100%);
  z-index: 1;
}

.cta-container * {
  position: relative;
  z-index: 2;
}

.cta-container h2 {
  font-size: clamp(48px, 6vw, 100px);
  margin-bottom: 4rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-container h2 span {
  color: rgba(0, 0, 0, 0.4);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn-black {
  background: black;
  color: white;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s var(--transition-bezier);
}

.btn-white {
  background: white;
  color: black;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s var(--transition-bezier);
}

.btn-black:hover,  .btn-white:hover {
    transform: translateY(-2px);
  }

  /* Remap Chart */
  .remap-chart-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .chart-container {
    background: #0d0d0d;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2.5rem;
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
  }

  .chart-container h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
  }

  .chart-container p {
    color: var(--text-secondary);
    margin-bottom: 5rem;
    font-size: 18px;
  }

  .dyno-chart-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .dyno-chart {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(225, 29, 72, 0.1));
  }

  .chart-grid line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
  }

  .axis-label {
    fill: #71717a;
    font-size: 14px;
    font-weight: 500;
  }

  .curve {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dyno-chart.active .curve {
    stroke-dashoffset: 0;
  }

  .curve-cv {
    stroke-width: 4;
  }

  .curve-torque {
    stroke-width: 2.5;
    stroke-dasharray: 2000, 2000; /* Re-apply dasharray if torque needs special dashing in JS */
  }

  .curve-original.curve-cv {
    stroke: #3f3f46;
    transition-delay: 0.2s;
  }

  .curve-original.curve-torque {
    stroke: #27272a;
    stroke-dasharray: 6,4;
    transition-delay: 0.5s;
  }

  .curve-remap.curve-cv {
    stroke: #e11d48;
    filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.8));
    transition-delay: 1.8s;
  }

  .curve-remap.curve-torque {
    stroke: #ff4d6d;
    stroke-dasharray: 6,4;
    filter: drop-shadow(0 0 8px rgba(225, 29, 72, 0.5));
    transition-delay: 2.2s;
  }

  .chart-data-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .data-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    transition: all 0.3s ease;
  }

  .data-badge:hover {
    background: rgba(225, 29, 72, 0.05);
    border-color: rgba(225, 29, 72, 0.2);
    transform: translateY(-5px);
  }

  .data-badge .label {
    font-size: 12px;
    text-transform: uppercase;
    color: #71717a;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .data-badge .value {
    font-size: 28px;
    font-weight: 800;
    color: white;
    font-family: 'Archivo', sans-serif;
  }

  .chart-legend text {
    font-family: 'Poppins', sans-serif;
  }

  /* Footer */
  footer {
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-glass);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .trust-item {
    padding: 2rem;
    border-bottom: 1px solid var(--border-glass);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .services-container {
    grid-template-columns: 1fr;
  }
  .services-sticky {
    position: relative;
    top: 0;
    margin-bottom: 3rem;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .header-utils {
    gap: 0.8rem;
  }

  .whatsapp-icon {
    display: block;
    color: #22c55e;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4));
  }

  .btn-quote {
    padding: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-quote .btn-content {
    display: none;
  }
  
  .btn-quote .whatsapp-icon {
    display: block !important;
    margin: 0;
  }

  .status-text {
    display: none;
  }
  .compare-card {
    min-width: 100%;
  }
  .cta-buttons {
    flex-direction: column;
  }

  .chart-container {
    padding: 3rem 1.5rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    height: auto;
  }

  .trust-item {
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 70px;
  }

  .hero h1 {
    font-size: 28px !important;
  }

  .hero h1 span {
    font-size: 24px !important;
  }

  .header {
    padding: 0 15px;
  }

  .logo-box {
    height: 44px;
  }

  .trust-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
  }

  .trust-icon {
    width: 32px;
    height: 32px;
  }

  .trust-text {
    text-align: left;
  }

  .trust-text h4 {
    font-size: 14px;
  }

  .services-sticky h2 {
    font-size: 28px;
  }

  .final-cta h2 {
    font-size: 24px !important;
    line-height: 1.2;
    word-break: break-word;
  }

  .electric-container {
    padding: 3rem 1.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Chart Responsiveness */
  .chart-container {
    padding: 2.5rem 1rem;
    margin: 0 10px;
    border-radius: 1.5rem;
  }

  .chart-container h2 {
    font-size: 22px;
  }

  .chart-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .chart-container p {
    font-size: 13px;
    margin-bottom: 2rem;
  }

  .chart-data-badges {
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr;
  }

  .data-badge {
    padding: 1rem;
    min-width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .data-badge .value {
    font-size: 18px;
  }

  .chart-legend {
    display: none;
  }

  .footer-badges {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
  
  .developer-signature {
    min-width: 100%;
    padding: 0.8rem 1rem;
    font-size: 9px;
    text-align: center;
  }
  
  .developer-signature .dev-text {
    display: block;
    width: 100%;
  }
}

/* Mobile Drawer System */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s;
}

.drawer-overlay.active {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.drawer-overlay.active .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: relative;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 1);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 3rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-logo {
  height: 32px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  flex: 1;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.nav-group {
  margin-bottom: 2.5rem;
}

.nav-group-title {
  padding: 0 1rem;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 0.5rem;
}

.drawer-item svg {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.drawer-item span {
  font-size: 16px;
}

.drawer-item:hover, .drawer-item.active {
  background: rgba(225, 29, 72, 0.1);
  color: white;
}

.drawer-item:hover svg {
  color: var(--accent-primary);
}

.drawer-item.highlight {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), transparent);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.drawer-item.highlight svg {
  color: #22c55e;
}

.drawer-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

.version {
  font-size: 10px;
  font-weight: 700;
  color: rgba(225, 29, 72, 0.4);
}

@media (max-width: 350px) {
  .logo-box {
    height: 38px;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  border-radius: 24px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 10px;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.input-group input, .input-group select, .input-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-family: 'Archivo', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.input-group textarea {
  resize: vertical;
  min-height: 80px;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--accent-primary);
}

.input-group select option {
  background: #1a1a1a;
  color: white;
}

/* Developer Signature Glitch Style */
.developer-signature {
  position: relative;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  min-width: 220px;
}

#glitch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

.dev-text {
  position: relative;
  z-index: 2;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.dev-text a {
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.3s;
}

.dev-text a:hover {
  color: var(--accent-primary);
}
/* Professional Footer Styling */
.footer {
  position: relative;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8rem 5% 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 5rem;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e11d48, #ffffff);
  box-shadow: 0 0 15px #e11d48;
  animation: header-beam 6s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 6rem;
}

.footer-col {
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.05), transparent);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 55px;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 2.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.footer-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-family: 'Archivo', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.social-links-footer {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s;
}

.social-icon:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
}

.footer-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}



.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.divider-dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 6rem 5% 3rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-col:not(:last-child)::after {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom-left, .footer-bottom-center, .footer-bottom-right {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .footer-bottom-right {
    gap: 2rem;
  }
}
