@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a0e27;
  --bg-darker: #05081a;
  --card-bg: rgba(15, 23, 42, 0.8);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --secondary: #06b6d4;
  --text-light: #e6eef8;
  --text-muted: rgba(230, 238, 248, 0.6);
  --accent-purple: linear-gradient(90deg, #7c3aed, #a78bfa);
  --accent-blue: linear-gradient(90deg, #0891b2, #06b6d4);
  --accent-combined: linear-gradient(90deg, #7c3aed, #06b6d4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; overflow: visible; }

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-img {
  width: 32px;
  height: auto;
  display: block;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .logo-img { width: 24px; }
  .logo-text { font-size: 16px; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-combined);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { 
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    display: none;
    flex-direction: column;
    background: rgba(10, 14, 39, 0.98);
    border: none;
    padding: 16px;
    gap: 12px;
    overflow-y: auto;
    z-index: 9998;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  }
  .nav-links.active { display: flex; }
}

/* Mobile adjustments: improve spacing, font sizes and single-column layout */
@media (max-width: 900px) {
  .hero { padding: 64px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-graphic { height: 240px; }
  .features { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 32px; }
  .hero-title { font-size: 26px; }
  .nav-links { gap: 12px; padding: 16px; }
}

/* Additional mobile fixes: make two-column sections single column, improve nav overlay */
@media (max-width: 900px) {
  .contact-content,
  .contact-info,
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .contact { padding: 48px 0; }
  .footer { padding: 40px 0 24px; }
}


/* Small screens: tighten spacing for roadmap and contact */
@media (max-width: 420px) {
  .roadmap-dot { width:44px; height:44px; font-size:18px; }
  .hero-title { font-size: 22px; }
  .hero-subtitle { font-size: 14px; }
  .container { padding: 0 12px; }
}

/* Additional mobile nav tweaks */
@media (max-width: 768px) {
  .nav-link { font-size: 16px; padding: 12px 0; }
  .logo-img { width: 28px; }
  .logo-text { font-size: 16px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-graphic { height: 220px; }
}

/* Reduce section spacing on mobile to eliminate excess gaps */
@media (max-width: 768px) {
  .features { padding: 40px 0; }
  .services { padding: 40px 0; }
  .industries { padding: 40px 0; }
  .solutions { padding: 40px 0; }
  .dashboard { padding: 40px 0; }
  .metrics { padding: 40px 0; }
  .testimonials { padding: 40px 0; }
  .about-us { padding: 40px 0; }
  .why-us { padding: 40px 0; }
  .roadmap { padding: 40px 0; }
  .faq { padding: 40px 0; }
  .pricing { padding: 40px 0; }
  
  .section-subtitle { margin-bottom: 40px; }
}

/* Prevent horizontal scrolling on small devices and ensure responsive media */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Ensure all sections have no height constraints */
section {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Ensure all grids expand to content */
[class*="grid"], [class*="Grid"] {
  overflow: visible !important;
  height: auto !important;
}

/* Mobile: prevent body scroll lock when menu is open - allow natural scrolling */
body.menu-open {
  overflow: auto;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent floating hero cards from forcing horizontal scroll */
.hero-graphic, .floating-card {
  max-width: 100%;
  box-sizing: border-box;
}
.floating-card { max-width: 90vw; }

/* Ensure top-level containers don't exceed viewport */
.container { overflow-x: hidden; overflow-y: visible; }


/* Buttons */
.btn-primary, .btn-secondary {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-combined);
  color: white;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--text-light) 0%, rgba(230, 238, 248, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-graphic {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  width: 200px;
  height: 140px;
  top: 0;
  right: 0;
  animation-delay: 0s;
}

.card-2 {
  width: 180px;
  height: 120px;
  bottom: 40px;
  right: 120px;
  animation-delay: 1s;
}

.card-3 {
  width: 160px;
  height: 100px;
  bottom: 80px;
  right: 20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* Features Section */
.features {
  padding: 120px 0;
  position: relative;
  overflow: visible;
  width: 100%;
}

.features::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--text-light) 0%, rgba(230, 238, 248, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  overflow: visible;
  width: 100%;
  grid-auto-rows: auto;
}

@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: 32px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: auto;
  min-height: auto;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.1));
  color: var(--secondary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Services Section */
.services {
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: var(--secondary);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15), 0 0 40px rgba(124, 58, 237, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-number {
  font-size: 24px;
  font-weight: 800;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-link {
  color: var(--secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.service-link:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

/* Industries Section */
.industries {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), transparent);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
}

.industry-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.industry-card:hover {
  border-color: var(--secondary);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.1);
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.industry-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.industry-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Solutions Section */
.solutions {
  padding: 120px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.solution-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.solution-item:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.12);
}

.solution-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.solution-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Dashboard Section */
.dashboard {
  padding: 120px 0;
  position: relative;
}

.dashboard-showcase {
  perspective: 1000px;
}

.dashboard-frame {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  font-weight: 600;
}

.dashboard-controls {
  display: flex;
  gap: 8px;
}

.control-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.chart-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.chart-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-display {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-change {
  font-size: 12px;
}

.metric-change.positive { color: #86efac; }

/* Metrics Section */
.metrics {
  padding: 120px 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.metric-box {
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.metric-box:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.15));
  transform: translateY(-4px);
}

.metric-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.metric-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.metric-box p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Testimonials Section */
.testimonials {
  padding: 120px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1200px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  padding: 32px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.testimonial-rating {
  font-size: 16px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-combined);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  width: 100%;
  overflow: visible;
}

.pricing-card {
  padding: 40px 32px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.1));
  border-color: var(--primary);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 0;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transform: translateY(-50%);
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.price {
  margin-bottom: 12px;
  font-size: 36px;
  font-weight: 800;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.currency { font-size: 20px; }
.period { font-size: 14px; color: var(--text-muted); }

.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.features-list li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* CTA Section */
.cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 20px;
  margin: 80px 0;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* Integrations Grid */
.integrations {
  padding: 120px 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.integration-category {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.integration-category:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.integration-category h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
}

.integration-category p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Case Studies */
.case-studies {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), transparent);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.case-study-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.case-study-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.case-study-badge {
  background: rgba(124, 58, 237, 0.2);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-study-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 8px;
  transform: translateX(4px);
}

/* Why Us Section */
.why-us {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.why-card {
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--secondary);
  transform: translateY(-8px);
}

.why-number {
  position: absolute;
  top: -16px;
  left: 40px;
  font-size: 48px;
  font-weight: 700;
  background: var(--accent-combined);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-card h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 18px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Roadmap Section */
.roadmap {
  padding: 80px 0;
}

.roadmap-container {
  max-width: 900px;
  margin: 24px auto 0;
  display: block;
  position: relative;
}

@media (min-width: 1025px) {
  .roadmap-container { margin-top: 40px; }
}

.roadmap-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2,6,23,0.35);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.roadmap-item + .roadmap-item { margin-top: 18px; }

/* Connector between items */
.roadmap-item::after {
  content: '';
  position: absolute;
  left: 36px;
  top: 100%;
  height: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
}
.roadmap-item:last-child::after { display: none; }

.roadmap-item:nth-child(1) { animation-delay: 0.1s; }
.roadmap-item:nth-child(2) { animation-delay: 0.2s; }
.roadmap-item:nth-child(3) { animation-delay: 0.3s; }
.roadmap-item:nth-child(4) { animation-delay: 0.4s; }
.roadmap-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.roadmap-dot {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 20px;
  margin: 0 8px 0 0;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.roadmap-dot:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
}

.roadmap-content {
  width: calc(100% - 72px);
}

.roadmap-content h4 {
  font-size: 20px;
  margin: 0 0 12px 0;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: -0.4px;
}

.roadmap-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.roadmap-status {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roadmap-note {
  text-align: center;
  margin-top: 80px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
}
/* Clean up: removed stray malformed block above */

@media (max-width: 768px) {
  .roadmap-container { max-width: 100%; margin: 32px 12px 0; }
  .roadmap-item { gap: 8px; padding: 16px 12px; }
  .roadmap-dot { margin-bottom: 12px; width:48px; height:48px; font-size:20px; }
  .roadmap-content { width: 100%; }
  .roadmap-content p { font-size: 15px; }
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), transparent);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: center;
}

.contact-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.contact-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-card p:first-of-type {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-desc {
  font-size: 12px !important;
  margin-top: 8px !important;
}

.btn-block {
  width: 100%;
  padding: 12px 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 16px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-grid a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-grid a:hover { color: var(--text-light); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
}

/* About Us Section */
.about-us {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), transparent);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-text h2 { margin-bottom: 24px; }

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.value-icon { font-size: 40px; margin-bottom: 12px; }

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.value-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* FAQ Section */
.faq {
  padding: 120px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.faq-item {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.5;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* Security Section */
.security {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), transparent);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.security-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.security-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.security-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Pricing Icons */
.pricing-icon {
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
  display: block;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* FAQ Collapsible */
.faq-item {
  padding: 0;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.faq-item summary {
  padding: 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  user-select: none;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary:hover {
  background: rgba(6, 182, 212, 0.05);
}

.faq-item[open] summary {
  background: rgba(6, 182, 212, 0.1);
  border-bottom: 1px solid var(--glass-border);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  padding: 0 24px 24px 24px;
  margin: 0;
}

/* Case Studies Grid - 2x2 responsive */
.case-studies-grid {
  display: grid;
  gap: 32px;
  margin-top: 60px;
}

@media (max-width: 1024px) {
  .case-studies-grid { grid-template-columns: 1fr !important; }
}

/* Contact Info Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-info { grid-template-columns: 1fr !important; }
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 200;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}
.back-to-top:hover { transform: translateY(-4px); }
@media (max-width: 480px) { .back-to-top { right: 12px; bottom: 20px; } }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1001;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  background: var(--bg-dark);
}

.modal-header h2 {
  margin: 0;
  color: var(--text-light);
  font-size: 24px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-light);
}

.modal-body {
  padding: 32px;
  color: var(--text-light);
}

.case-study-detail h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-light);
}


/* ===== DESKTOP OVERRIDES: Ensure NO internal scrollbars on laptop/desktop ===== */
@media (min-width: 769px) {
  /* Reduce gaps between sections on laptop - cut padding from 120px to 60px */
  .features, .services, .industries, .solutions, .dashboard, .metrics, .testimonials, .about-us, .why-us, .roadmap, .faq, .pricing, .case-studies, .integrations, .security {
    padding: 60px 0 !important;
  }

  /* Force all sections to have auto height, no max-height, no overflow constraints */
  section {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
  }

  /* Ensure all grids expand to full content */
  .features-grid, .testimonials-grid, .roadmap-container, .case-studies-grid, .industries-grid, .services-grid, .integrations-grid, .pricing-grid {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    grid-auto-rows: auto !important;
  }

  /* Cards should not be constrained by their container */
  .feature-card, .testimonial-card, .case-study-card, .industry-card, .service-card, .pricing-card, .integration-category {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* .container should expand to fit content */
  .container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  /* Prevent any accidental overflow on parent wrappers */
  .features, .testimonials, .roadmap, .case-studies, .industries, .services, .integrations, .pricing {
    overflow: visible !important;
    height: auto !important;
  }
}

/* Responsive - MOBILE OVERRIDES (max-width: 768px) */
@media (max-width: 768px) {
  /* ===== ENFORCE NO INTERNAL SCROLLBARS ON MOBILE ===== */
  /* Force all sections to have auto height, no max-height, no overflow constraints */
  section {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    padding: 24px 0 !important;
  }

  /* Ensure all grids expand to full content and don't trigger scrollbars */
  .features-grid, .testimonials-grid, .roadmap-container, .case-studies-grid, .industries-grid, .services-grid, .integrations-grid, .pricing-grid {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    grid-auto-rows: auto !important;
  }

  /* Cards should not be constrained by their container */
  .feature-card, .testimonial-card, .case-study-card, .industry-card, .service-card, .pricing-card, .integration-category {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 18px !important;
  }

  /* .container should expand to fit content */
  .container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  /* Prevent any accidental overflow on parent wrappers */
  .features, .testimonials, .roadmap, .case-studies, .industries, .services, .integrations, .pricing {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  /* Specific mobile layout fixes */
  .hero .container { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .nav-links { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-cta { flex-direction: column; }
  .pricing-card.featured { transform: scale(1); }
  .cta-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
  .contact-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { grid-template-columns: 1fr; }
  .roadmap-container::before { left: 12px; }
  .roadmap-item { padding-left: 12px; gap: 12px; }
  .roadmap-dot { position: static; left: auto; margin-right: 12px; width: 48px; height: 48px; }
  .roadmap-content { padding: 12px; }
  .section-subtitle { margin-bottom: 16px !important; }
  .section-title { font-size: 28px !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Prevent accidental horizontal overflow */
  html, body { overflow-x: hidden !important; }
  * { -webkit-overflow-scrolling: touch; }
}

