@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
  --bg-color: #05050a;
  --text-color: #ffffff;
  --text-muted: #a0a0b5;
  --primary: #8a2be2;
  --secondary: #ff007f;
  --accent: #00f0ff;
  --success: #00d084;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease;
}

nav.scrolled {
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 50px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

/* Buttons */
.btn-neon {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-neon:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6), inset 0 0 10px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(255, 0, 127, 0.5);
  color: white;
}

/* Hero Section (Video Background) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -2;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5,5,10,0.8) 0%, rgba(5,5,10,1) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #a0a0b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Video Gallery */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9/16;
  background: #111;
  border: 1px solid var(--glass-border);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.video-card:hover video {
  opacity: 1;
}

.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  transition: transform 0.3s;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary);
  border-color: var(--primary);
}

.video-card h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-size: 1rem;
}

/* Interactive Demo */
.demo-container {
  display: flex;
  gap: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
}

.demo-controls {
  flex: 1;
}

.demo-step {
  margin-bottom: 25px;
}

.demo-step h4 {
  margin-bottom: 10px;
  color: var(--accent);
}

.demo-options {
  display: flex;
  gap: 10px;
}

.demo-option {
  padding: 10px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.demo-option.active, .demo-option:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.demo-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 400px;
}

.demo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.demo-overlay-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: cover;
  transition: all 0.3s;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.comparison-table th, .comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table .highlight {
  background: rgba(138, 43, 226, 0.1);
  color: var(--accent);
  font-weight: bold;
}

/* ROI Simulator */
.roi-calculator {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.slider-container {
  margin-bottom: 30px;
  text-align: left;
}

.slider-container label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
}

input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.1);
  height: 8px;
  border-radius: 4px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent);
}

.roi-result {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  padding: 30px;
  border-radius: 20px;
  margin-top: 30px;
}

.roi-result h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.roi-result .total {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
}

/* Tour Tabs */
.tour-container {
  display: flex;
  gap: 30px;
}

.tour-tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-tab {
  padding: 15px 20px;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: white;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.tour-tab.active, .tour-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.tour-content {
  flex: 2;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.tour-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.tour-img.active {
  display: block;
}

/* Visual Flow */
.flow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.flow-icon {
  width: 70px;
  height: 70px;
  background: var(--glass-bg);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.5rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 200px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(180deg, transparent, rgba(138, 43, 226, 0.2));
  border-top: 1px solid var(--glass-border);
}

.cta-buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Co-branding Badge & Ecosystem Styles */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.logo-sub {
  font-size: 0.7rem;
  opacity: 0.8;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: -5px;
  display: block;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.ecosystem-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.ecosystem-card {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.ecosystem-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #a0a0b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ecosystem-card h3 span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ecosystem-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .demo-container, .tour-container { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); margin: 10px 0; }
  .flow-container { flex-direction: column; }
  .tour-content { aspect-ratio: 16/9; width: 100%; }
  .ecosystem-container { flex-direction: column; }
  .ecosystem-card { padding: 25px; }
}
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  nav { padding: 15px 20px; }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent);
  }

  .logo { font-size: 1.4rem; }
  .hero { padding: 100px 15px 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 60px 15px; }
  .section-header h2 { font-size: 1.8rem; }
  
  /* Flex/Grid Fixes */
  .demo-container { padding: 20px; flex-direction: column; }
  .demo-options { flex-wrap: wrap; }
  .demo-option { flex: 1 1 45%; text-align: center; }
  .tour-container { flex-direction: column; }
  .tour-content { aspect-ratio: 16/9; width: 100%; }
  
  .roi-calculator { padding: 20px !important; }
  .roi-result .total { font-size: 2.2rem; }
  
  /* Buttons styling override to make sure inline styles don't break them */
  .btn-primary, .btn-neon { 
    padding: 12px 20px !important; 
    font-size: 1rem !important; 
    width: 100% !important; 
    text-align: center; 
    justify-content: center; 
  }
  .hero-buttons { flex-direction: column; width: 100%; }
  .cta-buttons-container { flex-direction: column; width: 100%; }
  
  /* Table */
  .glass-table-container { overflow-x: auto; width: 100%; }
  .comparison-table th, .comparison-table td { padding: 10px; font-size: 0.85rem; white-space: nowrap; }
  
  .faq-question { padding: 15px; font-size: 0.95rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 28px; bottom: 20px; right: 20px; }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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