:root {
  --primary: #00c896;
  --primary-hover: #00e6ad;
  --primary-glow: rgba(0, 200, 150, 0.15);
  --secondary: #6366f1;
  --bg-dark: #06080f;
  --bg-surface: #0c0f1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-main: #e8eaf0;
  --text-muted: #7a8299;
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --gradient-text: linear-gradient(135deg, #00c896 0%, #6366f1 50%, #a78bfa 100%);
  --gradient-btn: linear-gradient(135deg, #00c896, #00a87d);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 200, 150, 0.06), transparent 40%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-12 { margin-top: 3rem; }
.w-full { width: 100%; }
.p-0 { padding: 0 !important; }
.overflow-hidden { overflow: hidden; }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  border: none;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 200, 150, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 150, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 200, 150, 0.05);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 200, 150, 0.15));
  transition: all 0.3s ease;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(0, 200, 150, 0.3));
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-btn);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.2rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(6, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.4s ease-in-out;
}

.mobile-menu.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-link {
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-link:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Dark overlay on the video for better text readability */
.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 15, 0.5) 0%,
    rgba(6, 8, 15, 0.3) 40%,
    rgba(6, 8, 15, 0.5) 100%
  );
  pointer-events: none;
}

#scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.7) brightness(0.8);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(0, 200, 150, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 200, 150, 0.15);
  font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4.2rem;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.1;
}

.hero-title span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Common Section Styles */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 600px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Solutions */
.solutions .glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.solutions .glass-card > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 200, 150, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-list li i {
  color: var(--primary);
  font-size: 0.85rem;
}

.card-image-wrapper {
  margin: -32px -32px 24px -32px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  height: 180px;
  position: relative;
}

.card-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
  z-index: 1;
}

.card-embedded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: saturate(0.5) brightness(0.7);
}

.glass-card:hover .card-embedded-image {
  transform: scale(1.08);
  opacity: 0.85;
  filter: saturate(0.8) brightness(0.85);
}

/* Visual Divider */
.visual-divider {
  position: relative;
  padding: 140px 24px;
  text-align: center;
  overflow: hidden;
}

.visual-overlay {
  display: none;
}

.visual-content h2 {
  font-size: 3.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.visual-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

/* Process Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, var(--primary), rgba(99, 102, 241, 0.3), transparent);
}

.timeline-item {
  display: flex;
  gap: 30px;
  position: relative;
}

.timeline-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.15);
}

.timeline-content h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial-card {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(0, 200, 150, 0.08);
  width: 60px;
  height: 60px;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  color: var(--text-main);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-color: var(--bg-surface);
  border: 2px solid var(--glass-border);
}

.avatar-1 { background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80'); }
.avatar-2 { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80'); }

.testimonial-author h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-weight: 500;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 400;
}

/* Contact Section */
.contact-wrapper {
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 200, 150, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 500;
}

.info-item p, .info-item a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-item a:hover {
  color: var(--primary);
}

/* Form */
.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(122, 130, 153, 0.5);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 200, 150, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.08);
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 200, 150, 0.15));
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(0, 200, 150, 0.3));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.text-muted {
  color: var(--text-muted);
}

.mt-4 {
  margin-top: 1rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Ambient glow effect on sections */
.solutions::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.process::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  
  .section { padding: 80px 0; }
  .section-header h2 { font-size: 2rem; }
  .section-header { margin-bottom: 48px; }
  
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  
  .visual-content h2 { font-size: 2.2rem; }
  
  .timeline::before { left: 24px; }
  .timeline-item { flex-direction: column; gap: 15px; padding-left: 70px; }
  .timeline-dot { position: absolute; left: 0; top: 0; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
