/* ===== CSS Variables ===== */
:root {
  --primary: #00bcd4;
  --primary-dark: #0097a7;
  --secondary: #00acc1;
  --accent: #26c6da;
  --success: #10b981;
  --warning: #f59e0b;
  --dark: #1a1a2e;
  --dark-light: #2d3748;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;

  --gradient-primary: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  --gradient-secondary: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
  --gradient-success: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
  --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(0, 188, 212, 0.2);

  --font-primary: "Inter", sans-serif;
  --font-display: "Outfit", sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #000000; /* Default black for TikTok */
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition);
}

/* TikTok - Black background */
.social-icon[aria-label="TikTok"] {
  background: #000000;
}

.social-icon[aria-label="TikTok"]:hover {
  background: #010101;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Instagram - Original gradient */
.social-icon[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon[aria-label="Instagram"]:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px rgba(188, 24, 136, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  justify-content: center; /* Center content vertically */
  position: relative;
  overflow: hidden;
  padding-top: 100px; /* Increased top padding */
  padding-bottom: 2rem; /* Add bottom padding */
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("img/fondo_civitanos.jpg");
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}

/* Overlay gradient - white fade from left to right */
.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.7) 40%,
    rgba(255, 255, 255, 0.95) 70%,
    rgba(255, 255, 255, 1) 100%
  );
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
  z-index: 2; /* Above the overlay */
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.1) 0%,
    rgba(0, 151, 167, 0.1) 100%
  );
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(38, 198, 218, 0.1) 0%,
    rgba(0, 172, 193, 0.1) 100%
  );
  bottom: -150px;
  left: -100px;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.1) 0%,
    rgba(0, 188, 212, 0.1) 100%
  );
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 30px);
  }
}

.hero-container {
  position: relative;
  z-index: 3; /* Above overlay and orbs */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px; /* Limit text width for better readability */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: none; /* Hide old stats container */
}

/* New Bottom Stats Bar */
.hero-bottom-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  position: relative;
  z-index: 10;
}

.stat-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.stat-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary); /* Cyan background */
  border-radius: 10px; /* Rounded square */
  font-size: 1.2rem;
  color: white; /* White icon */
}

.stat-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.hero-visual-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%; /* Ensure it takes full width of its grid cell */
  max-width: 600px; /* Limit width to prevent stretching */
  justify-self: center; /* Center in its grid cell */
}

.hero-visual-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.visual-card {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px; /* Slightly more rounded */
  padding: 1.5rem; /* Reduced padding */
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px; /* Reduced height */
  aspect-ratio: 1 / 1; /* Force square aspect ratio */
}

/* Remove the rule that made the first card full width */
/* .visual-card:first-child { grid-column: 1 / -1; } REMOVED */

.card-float {
  animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.card-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.visual-card:hover .card-glow {
  opacity: 0.05;
}

.visual-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* Specific Green Icon for Circular Economy - BIGGER */
.visual-icon.icon-green {
  color: #00a651; /* Darker green matching image */
  font-size: 4rem; /* Much bigger icon */
  margin-bottom: 0.5rem;
}

.visual-icon.icon-green i {
  background: none;
  -webkit-text-fill-color: #00a651;
}

.visual-card h3 {
  font-size: 1.1rem; /* Slightly smaller title */
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.visual-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.scroll-indicator {
  display: none; /* Hide scroll indicator as it overlaps with stats bar */
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray);
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--gray);
  border-radius: 15px;
  margin: 0 auto 0.5rem;
  position: relative;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--gray);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Problem Section ===== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.problem-card {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.problem-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  border-radius: 15px;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.problem-list {
  list-style: none;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.problem-list i {
  color: var(--secondary);
}

.problem-impact {
  margin-top: 1.5rem;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.impact-bar {
  height: 100%;
  width: var(--width);
  background: var(--gradient-secondary);
  border-radius: 10px;
  animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
  from {
    width: 0;
  }
}

/* ===== Solution Section ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-card {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.solution-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  font-family: var(--font-display);
}

.solution-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-success);
  border-radius: 18px;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.solution-icon.icon-green {
  background: linear-gradient(135deg, #00a651 0%, #00853f 100%);
  color: white;
}

.solution-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--success);
}

.solution-cta {
  margin-top: 1.5rem;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-tech span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 188, 212, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
}

.scalability-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
  margin-top: 1.5rem;
}

.chart-bar {
  flex: 1;
  height: var(--height);
  background: var(--gradient-primary);
  border-radius: 5px;
  animation: growBar 1s ease-out;
}

@keyframes growBar {
  from {
    height: 0;
  }
}

/* ===== Tech Flow Horizontal (Sistema Tokenómico) ===== */
.tech-flow-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card-horizontal {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.tech-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 12px;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.5rem;
}

.marketplace-icon {
  background: var(--gradient-primary);
}

.tech-card-horizontal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tech-list li i {
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ===== Tecnología Clave Section ===== */
.tech-key-section {
  margin-top: 5rem;
  padding-top: 3rem;
}

.tech-key-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--font-display);
}

.tech-key-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.tech-key-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.tech-key-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tech-key-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.15);
  border-radius: 16px;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.tech-key-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.tech-key-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* ===== Integration Section - Enhanced ===== */
.integration-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.integration-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 188, 212, 0.3) 50%,
    transparent 100%
  );
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.integration-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.integration-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.integration-image {
  position: relative;
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.1) 0%,
    rgba(0, 151, 167, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.integration-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%2300BCD4" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 50px 50px;
}

.integration-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.integration-card:hover .integration-image img {
  transform: scale(1.05);
}

.integration-image-placeholder {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  z-index: 1;
}

.integration-content {
  padding: 2rem;
}

.integration-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 16px;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

.integration-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.integration-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.card-preview {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.05) 0%,
    rgba(0, 151, 167, 0.05) 100%
  );
  border-radius: 12px;
  position: relative;
}

.virtual-card {
  background: var(--gradient-primary);
  border-radius: 16px;
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.virtual-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.card-number {
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.global-map,
.cashback-indicator {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.05) 0%,
    rgba(0, 151, 167, 0.05) 100%
  );
  border-radius: 12px;
  margin-top: 1.5rem;
}

.global-map i {
  font-size: 3rem;
  color: var(--primary);
}

.cashback-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.cashback-label {
  display: block;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ===== Roadmap Section - Enhanced ===== */
.roadmap-section {
  background: var(--white);
  position: relative;
}

/* Roadmap Context Section */
.roadmap-context {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.context-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.context-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.context-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.context-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.context-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.15);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.context-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.context-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Roadmap Timeline */
.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-badge {
  min-width: 100px;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.timeline-card {
  flex: 1;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.timeline-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.timeline-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  position: relative;
  line-height: 1.6;
}

.timeline-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Old roadmap styles - keeping for backwards compatibility */
.roadmap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    rgba(0, 188, 212, 0.2) 100%
  );
  transform: translateX(-50%);
}

.roadmap-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.roadmap-item:nth-child(even) .roadmap-content {
  grid-column: 1;
  text-align: right;
}

.roadmap-item:nth-child(even) .roadmap-marker {
  grid-column: 2;
}

.roadmap-item:nth-child(odd) .roadmap-content {
  grid-column: 3;
  text-align: left;
}

.roadmap-item:nth-child(odd) .roadmap-marker {
  grid-column: 2;
}

.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.marker-dot {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.2);
  transition: var(--transition);
}

.roadmap-item:hover .marker-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(0, 188, 212, 0.3);
}

.marker-line {
  width: 3px;
  flex: 1;
  background: transparent;
}

.roadmap-content {
  background: var(--white);
  border: 2px solid rgba(0, 188, 212, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.roadmap-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid rgba(0, 188, 212, 0.2);
  transform: translateY(-50%) rotate(45deg);
}

.roadmap-item:nth-child(even) .roadmap-content::before {
  right: -11px;
  border-left: none;
  border-bottom: none;
}

.roadmap-item:nth-child(odd) .roadmap-content::before {
  left: -11px;
  border-right: none;
  border-top: none;
}

.roadmap-content:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.roadmap-phase {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.roadmap-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.roadmap-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.roadmap-progress {
  margin-top: 1.5rem;
  height: 8px;
  background: rgba(0, 188, 212, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: var(--progress);
  background: var(--gradient-primary);
  border-radius: 10px;
  position: relative;
  animation: fillProgress 1.5s ease-out;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes fillProgress {
  from {
    width: 0;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===== Impact Section - Enhanced ===== */
.impact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 188, 212, 0.05) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.impact-card {
  background: var(--white);
  border: 2px solid rgba(0, 188, 212, 0.2);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.impact-percentage {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  line-height: 1;
}

.impact-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.impact-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.impact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.1) 0%,
    rgba(0, 151, 167, 0.1) 100%
  );
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.impact-card:hover .impact-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(360deg) scale(1.1);
}

/* Image Overlay Effects */
.image-stack {
  position: relative;
  height: 300px;
  margin: 2rem 0;
}

.image-stack img {
  position: absolute;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.image-stack img:first-child {
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
  z-index: 2;
}

.image-stack img:last-child {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 1;
  opacity: 0.9;
}

.image-stack:hover img:first-child {
  transform: translate(-10px, -10px) scale(1.05);
}

.image-stack:hover img:last-child {
  transform: translate(10px, 10px) scale(1.05);
}

/* ===== Technology Section - Enhanced ===== */
.tech-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.tech-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 188, 212, 0.3) 50%,
    transparent 100%
  );
}

.tech-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.tech-step {
  background: var(--white);
  border: 2px solid rgba(0, 188, 212, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tech-step:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.tech-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.3);
}

.tech-step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.tech-step ul {
  list-style: none;
  padding: 0;
}

.tech-step ul li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-step ul li:last-child {
  border-bottom: none;
}

.tech-step ul li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 188, 212, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -3rem;
  width: 3rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    rgba(0, 188, 212, 0.3) 100%
  );
  transform: translateY(-50%);
}

.step-connector::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--primary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.tech-step:last-child .step-connector {
  display: none;
}

.tech-stack {
  margin-top: 4rem;
}

.tech-stack h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3rem;
  font-family: var(--font-display);
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tech-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.1) 0%,
    rgba(0, 151, 167, 0.1) 100%
  );
  border-radius: 16px;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.tech-card:hover .tech-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.tech-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.tech-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.tech-card p:last-child {
  margin-bottom: 0;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* ===== Contact Section ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-tagline {
  font-size: 1.25rem;
  color: var(--gray);
  margin: 1.5rem 0 2rem;
  font-style: italic;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.method-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 15px;
  font-size: 1.75rem;
}

.method-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}

.contact-form-wrapper {
  background: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
}

.whatsapp-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  color: white;
}

.social-icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000; /* Default black for TikTok */
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

/* TikTok - Black background */
.social-icon-circle[aria-label="TikTok"] {
  background: #000000;
}

.social-icon-circle[aria-label="TikTok"]:hover {
  background: #010101;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Instagram - Original gradient */
.social-icon-circle[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-circle[aria-label="Instagram"]:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 20px rgba(188, 24, 136, 0.4);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--gray-light);
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
}

/* ===== Floating Buttons ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 6rem; /* Positioned above WhatsApp button */
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    bottom: 5.5rem;
    right: 1.5rem;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle span {
    background: var(--text-primary);
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .tech-flow {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tech-flow-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-key-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-connector {
    display: none;
  }

  .contact-container,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Roadmap Responsive */
  .context-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-context {
    padding: 2rem;
  }

  .roadmap-timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column !important;
    gap: 1rem;
    padding-left: 3rem;
  }

  .timeline-badge {
    align-self: flex-start;
    margin-left: -3rem;
  }

  /* Fix Integration Section Responsive */
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Fix Header Responsive */
  .nav-actions .btn-whatsapp span {
    display: none;
  }

  .nav-actions .btn-whatsapp {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
  }

  .nav-actions .social-icon {
    display: flex; /* Show social icons */
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .nav-actions {
    gap: 0.5rem; /* Reduce gap between icons */
  }

  .menu-toggle {
    margin-left: 0.5rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .logo img {
    height: 40px;
  }

  /* Fix Features Grid Responsive */
  .features-grid {
    grid-template-columns: 1fr !important; /* Force single column */
    padding: 0 1rem;
  }

  /* Fix Impact Section Responsive */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-stack {
    display: none; /* Hide complex image stack on mobile or simplify it */
  }

  .impact-section .container > div:last-child {
    grid-template-columns: 1fr !important; /* Stack text below impact cards */
    margin-top: 3rem !important;
    gap: 2rem !important;
  }

  /* Fix Hero Visual Responsive */
  .hero-visual {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    gap: 1.25rem;
  }

  .visual-card:first-child {
    grid-column: auto; /* Reset column span */
  }

  /* Enhanced Mobile Styling for Visual Cards */
  .visual-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 188, 212, 0.15);
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    min-height: 160px;
    position: relative;
    overflow: hidden;
  }

  /* Gradient overlay effect on hover/active */
  .visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
  }

  /* Different accent colors for each card */
  .visual-card:nth-child(1)::before {
    background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  }

  .visual-card:nth-child(2)::before {
    background: linear-gradient(90deg, #00a651 0%, #00853f 100%);
  }

  .visual-card:nth-child(3)::before {
    background: linear-gradient(90deg, #26c6da 0%, #00acc1 100%);
  }

  .visual-card:nth-child(4)::before {
    background: linear-gradient(90deg, #00e5ff 0%, #00bcd4 100%);
  }

  /* Enhanced icon styling for mobile */
  .visual-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 188, 212, 0.2));
  }

  .visual-icon.icon-green {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 166, 81, 0.3));
  }

  /* Enhanced text styling */
  .visual-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }

  .visual-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* Add subtle background pattern */
  .visual-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  /* General Container Padding */
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  /* Hero Bottom Stats Responsive */
  .hero-bottom-stats {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
  }

  .stat-item {
    width: 100%;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 15px;
  }
}
