:root {
  --bg-color: #030303;
  --bg-secondary: #0A0A0E;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-color: #00D1FF;
  --secondary-accent: #1ABC9C;
  --warm-accent: #FF8C00;
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animations and Utilities */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 3, 3, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
  transition: all 0.4s ease;
}

nav .logo {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

nav .logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a.nav-item {
  color: #a8b2c1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active-nav {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}
.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.active-nav::after {
  width: 100%;
}

.nav-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
  z-index: 105;
}

.mobile-menu-btn:hover {
  color: var(--accent-color);
}

/* Animated Contact Button */
.btn-nav-contact {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-nav-contact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--warm-accent), var(--secondary-accent), var(--accent-color));
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  animation: gradientFlow 3s linear infinite;
}

.btn-nav-contact:hover {
  background: rgba(0, 209, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

/* Language Swapper Flags */
.lang-pill {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 0.2rem;
  gap: 0.2rem;
  margin-right: 1.5rem;
}
.mobile-lang { display: none; }

.lang-btn {
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.lang-btn svg { width: 15px !important; height: 10px !important; transition: all 0.3s ease; }
.lang-btn.active { background: var(--accent-color); color: #000; box-shadow: 0 0 10px rgba(0, 209, 255, 0.2); }
.lang-btn:hover:not(.active) { color: #fff; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5% 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
  filter: saturate(1.2) contrast(1.1);
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(3,3,3,0.3) 0%, rgba(3,3,3,0.95) 100%);
  z-index: 1;
}

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

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffffff, #00D1FF, var(--secondary-accent), #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Animated Gradient Button */
.btn-primary {
  position: relative;
  display: inline-block;
  padding: 1rem 2.8rem;
  background: #030303;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  z-index: 1;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(60deg, var(--secondary-accent), var(--accent-color), var(--warm-accent), var(--secondary-accent));
  background-size: 300% 300%;
  border-radius: 52px;
  z-index: -1;
  animation: gradientFlow 4s ease infinite;
  transition: all 0.4s ease;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary:hover {
  transform: translateY(-3px);
  color: #fff;
  background: transparent;
  box-shadow: 0 10px 30px rgba(0, 209, 255, 0.4);
}

.btn-primary:hover::before {
  filter: blur(4px);
}

/* Sections Core */
section.content-section {
  padding: 8rem 5%;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 4rem;
  text-align: center;
  letter-spacing: -1px;
}

.section-title span,
h1 span, h2 span, h3 span, h4 span {
  background: linear-gradient(135deg, var(--accent-color), var(--warm-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Split Layout */
.split-layout {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.split-layout.reversed {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-text h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.split-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.text-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.5rem;
  display: inline-block;
  letter-spacing: 1px;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 100%; height: 1px;
  background: var(--accent-color);
  transition: opacity 0.3s ease;
}

.text-link:hover { color: #fff; }
.text-link:hover::after { background: #fff; }

.robust-list {
  list-style: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.robust-list li {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 24px;
}

.robust-list li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.robust-list li strong {
  color: #fff;
}

.split-image {
  flex: 1;
  position: relative;
  width: 100%;
}

.split-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid var(--card-border);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.split-image img:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,209,255,0.15);
  border-color: rgba(0,209,255,0.3);
}

/* Updated Stats & Numbers */
.floating-stats {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 209, 255, 0.3);
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  display: flex;
  gap: 3rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
  animation: float 6s infinite ease-in-out;
}

.stat { text-align: center; }
.stat h4 {
  font-size: 3rem; 
  background: linear-gradient(to right, var(--accent-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0rem; 
  display: inline-block;
  animation: statPulse 3s infinite alternate ease-in-out;
}
.stat-symbol {
  font-size: 1.5rem;
  vertical-align: top;
  color: var(--accent-color);
  font-weight: 700;
  margin-left: 2px;
}
.stat-label { 
  font-size: 0.8rem; 
  color: var(--text-muted); 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-weight: 600;
}

@keyframes statPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0,209,255,0.2)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(0,209,255,0.6)); }
}

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

/* Image HTML Overlay */
.image-overlay-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
  background: rgba(5,5,5,0.8);
  backdrop-filter: blur(10px);
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.image-overlay-text h5 {
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.image-overlay-text span {
  font-size: 0.75rem;
  color: var(--accent-color);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Ecosystem Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1300px;
  margin: 4rem auto 0;
}

.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent-color);
  fill: none;
  filter: drop-shadow(0 0 10px rgba(0,209,255,0.3));
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon svg {
  stroke: #fff;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.6));
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Additional Compliance Section */
.compliance-bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 4rem 5%;
  text-align: center;
}

.compliance-bar h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.compliance-bar p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.compliance-badges {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: nowrap;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.badge svg {
  width: 40px;
  height: 40px;
  stroke: var(--secondary-accent);
}

.badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a8b2c1;
  letter-spacing: 1px;
}

/* Contact Us Section - Upgraded Frame */
.contact-section {
  padding: 6rem 5%;
  background: var(--bg-color);
}
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  background: var(--card-bg);
  padding: 5rem;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
}

/* The Animated Gradient Border */
.contact-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--warm-accent), var(--secondary-accent), var(--accent-color));
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  animation: gradientFlow 5s linear infinite;
  pointer-events: none;
}

.contact-text {
  flex: 1;
}
.contact-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  color: #fff;
}
.contact-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.5px;
  margin-bottom: -0.2rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(5,5,5,0.8);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0,209,255,0.15);
  background: rgba(10,10,15,0.95);
}

/* Grid Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(26, 188, 156, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-img-wrapper {
  overflow: hidden;
  height: 280px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: grayscale(30%) contrast(1.1);
}

.card:hover .card-img {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1.1);
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Beautiful Footer Grid */
footer {
  border-top: 1px solid var(--card-border);
  padding: 5rem 5% 3rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.footer-main {
  display: flex;
  justify-content: center;
  gap: 8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col.brand p {
  color: var(--text-muted);
  max-width: 280px;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: var(--warm-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: #a8b2c1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Custom modal links styled as a */
.modal-trigger {
  cursor: pointer;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  padding: 0.8rem 1rem;
  color: #fff;
  border-radius: 4px 0 0 4px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--accent-color);
}

.newsletter-form button {
  background: linear-gradient(90deg, var(--secondary-accent), var(--warm-accent));
  color: #000;
  border: none;
  padding: 0 1.2rem;
  font-weight: 700;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

.newsletter-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* Modals & Cookie Banner */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  padding: 4rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-color);
}

.modal-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.5rem;
}

.modal-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.modal-text p {
  margin-bottom: 1.5rem;
}
.modal-text strong {
  color: #fff;
  font-size: 1.1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(0, 209, 255, 0.3);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  z-index: 2000;
  max-width: 420px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.cookie-svg-wrapper {
  flex-shrink: 0;
}

.cookie-icon {
  width: 55px;
  height: 55px;
  animation: cookieBounce 2.5s infinite ease-in-out;
  filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.5));
}

@keyframes cookieBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.5));}
  50% { transform: translateY(-8px) rotate(8deg); filter: drop-shadow(0 0 20px rgba(0, 209, 255, 0.8));}
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-btns {
  display: flex;
  gap: 0.8rem;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: opacity 0.3s;
}
.btn-small:hover { opacity: 0.8; }
.btn-accept {
  background: var(--accent-color);
  color: #000;
}
.btn-decline {
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
}


/* --- EXCEPTIONAL MOBILE RESPONSIVENESS --- */

@media (max-width: 1024px) {
  .split-layout, .split-layout.reversed { gap: 3rem; }
  .floating-stats { gap: 1.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-container { padding: 4rem; gap: 3rem;}
}

@media (max-width: 868px) {
  /* Headings & Padding Resets */
  .hero { padding: 7rem 5% 4rem; }
  .hero h1 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 1.5rem;}
  .hero p { font-size: 1.05rem; }
  section.content-section { padding: 4.5rem 5%; }
  .section-title { font-size: 2.3rem; margin-bottom: 2.5rem; }
  
  /* Upgraded Beautiful Mobile Menu Overlay */
  .mobile-menu-btn { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    gap: 2.5rem;
    border-bottom: none;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 104;
  }
  .nav-links.active-mobile {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a.nav-item {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  
  /* Show interior contact link and hide the exterior button */
  .mobile-contact-btn { 
    display: inline-flex !important; 
    font-size: 1.2rem; 
    padding: 0.8rem 2.5rem; 
    margin: 1rem auto 0;
  }
  .desktop-contact-btn { display: none !important; }
  .desktop-lang { display: none !important; }
  .mobile-lang { display: flex !important; margin-right: 0; margin-top: 2rem; justify-content: center; }
  
  /* Layout Shifts */
  .split-layout, .split-layout.reversed { flex-direction: column; gap: 2rem; }
  .split-text { text-align: center; }
  .split-text h2 { font-size: 2.2rem; }
  .robust-list li { text-align: left; }
  
  .floating-stats { 
    position: relative; 
    bottom: 0; left: 0; 
    margin: -30px auto 0; 
    justify-content: center; 
    z-index: 10;
    width: 90%;
    gap: 2rem;
  }
  
  .image-overlay-text { 
    bottom: 0; 
    left: 0; 
    width: 100%;
    border-left: none;
    border-bottom: 4px solid var(--accent-color);
    border-radius: 0 0 6px 6px;
    padding: 1.2rem; 
    text-align: center;
  }
  
  /* Compliance Badges - Forces 3 icons in one line */
  .compliance-badges { 
    flex-wrap: nowrap; 
    gap: 1rem; 
    justify-content: space-between; 
    max-width: 450px; 
    margin: 0 auto; 
  }
  .badge svg { width: 30px; height: 30px; }
  .badge span { font-size: 0.75rem; }
  
  /* Grids to 1 column */
  .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  
  /* Footer Reorganization */
  .footer-main { 
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 2.5rem; 
    text-align: center; 
  }
  /* Brand spans full width */
  .footer-col.brand { grid-column: 1 / 3; }
  .footer-col.brand p { margin: 1rem auto; }
  /* Navigate and Legal side-by-side */
  .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-col:nth-child(3) { grid-column: 2 / 3; }
  /* Newsletter spans full width underneath them (Removed) */
  
  /* Cleaned up newsletter styles since module is removed */
  
  /* Contact Form Adjustments */
  .contact-container { flex-direction: column; padding: 2.5rem; gap: 2.5rem; border-radius: 12px; }
  .contact-container::before { border-radius: 12px; }
  .contact-text h2 { font-size: 2.2rem; }
  
  /* Modal & Banner Adjustments */
  .modal-content { padding: 2.5rem 1.5rem; width: 95%; max-height: 90vh; }
  .modal-title { font-size: 1.8rem; }
  .cookie-banner {
    bottom: 15px; right: 15px; left: 15px;
    width: auto;
    max-width: none;
  }
  .cookie-banner-content { flex-direction: column; text-align: center; gap: 1rem; }
  .cookie-btns { justify-content: center; width: 100%; }
  .btn-small { width: 45%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.6rem; }
  .floating-stats { flex-direction: column; gap: 1.5rem; padding: 1.2rem; }
  .stat h4 { font-size: 2.5rem; }
  .contact-container { padding: 2rem 1.5rem; }
  
  /* Badges shrink slightly to fit small screens */
  .compliance-badges { gap: 0.5rem; }
  .badge svg { width: 24px; height: 24px; }
  .badge span { font-size: 0.65rem; }
  
  /* Newsletter removed */
}

/* -------------------------------------
   JVE ECOM CHATBOT SYSTEM
-------------------------------------- */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: var(--font-primary);
}

.chatbot-trigger {
  width: 60px;
  height: 60px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(0, 209, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 209, 255, 0.3);
  transition: all 0.3s ease;
  animation: triggerPulse 3s infinite alternate;
}
@keyframes triggerPulse {
  0% { box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 10px rgba(0, 209, 255, 0.2); }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 25px rgba(0, 209, 255, 0.5); }
}
.chatbot-trigger:hover {
  transform: scale(1.08);
  border-color: #00D1FF;
}
.chatbot-trigger svg {
  width: 30px;
  height: 30px;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 50px rgba(0,0,0,0.95), 0 0 30px rgba(0, 209, 255, 0.15);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
.chatbot-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  padding: 15px 20px;
  background: rgba(3, 3, 3, 0.8);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--accent-color);
  background: #000;
  padding: 4px;
}
.bot-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
.chatbot-close {
  background: none;
  border: none;
  color: #a8b2c1;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
  padding: 0;
}
.chatbot-close:hover {
  color: #fff;
}

.chatbot-body {
  padding: 20px;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.chatbot-body::-webkit-scrollbar {
  width: 6px;
}
.chatbot-body::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 4px;
}

.chat-message {
  display: flex;
  width: 100%;
  flex-shrink: 0;
}
.chat-message.bot-msg {
  justify-content: flex-start;
}
.chat-message.human-msg {
  justify-content: flex-end;
}
.msg-content {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e2e8f0;
}
.bot-msg .msg-content {
  background: rgba(255,255,255,0.05);
  border-bottom-left-radius: 0;
}
.human-msg .msg-content {
  background: linear-gradient(135deg, rgba(0, 209, 255,0.1) 0%, rgba(26, 188, 156,0.1) 100%);
  border: 1px solid rgba(0, 209, 255, 0.2);
  border-bottom-right-radius: 0;
  color: #00D1FF;
}

.chat-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 5px;
  transition: all 0.3s ease;
}
.chat-menu.compact {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.chat-menu.compact .chat-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  flex: 1 1 auto;
  justify-content: center;
  gap: 6px;
}
.chat-menu.compact .chat-btn-icon {
  width: 14px;
  height: 14px;
}
.chat-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-btn-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-btn:hover {
  background: rgba(0, 209, 255, 0.08);
  border-color: #00D1FF;
  transform: translateX(6px);
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

.text-grad {
  background: linear-gradient(135deg, #00D1FF 0%, #1ABC9C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.chat-answers {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-back {
  background: none;
  border: none;
  color: #a8b2c1;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  font-family: var(--font-primary);
  width: max-content;
}
.chat-back:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .chatbot-container {
    bottom: 16px;
    right: 16px;
  }
  .chatbot-trigger {
    width: 48px;
    height: 48px;
  }
  .chatbot-trigger svg {
    width: 22px;
    height: 22px;
  }
  .chatbot-window {
    position: fixed;
    width: calc(100vw - 32px);
    left: 16px;
    right: 16px;
    bottom: 76px;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
  }
  .chatbot-header {
    padding: 12px 16px;
  }
  .bot-avatar {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    padding: 3px;
  }
  .chatbot-body {
    height: auto;
    max-height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
    padding: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .chat-btn, .msg-content, .bot-name {
    font-size: 0.85rem;
  }
  .chat-menu.compact .chat-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .chat-menu.compact .chat-btn-icon {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    max-width: 12px;
    max-height: 12px;
  }
}
