:root{
  --blue: #007AFF;
  --blue-gradient: linear-gradient(135deg, #007AFF 0%, #0056D6 100%);
  --dark: #000000;
  --darker: #000000;
  --card: rgba(255,255,255,0.02);
  --glass: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #F5F5F7;
  --muted: #86868B;
  --light: #F5F5F7;
  --light-text: #1D1D1F;
  --accent: #30D158;
  --radius: 18px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-light: 0 2px 10px rgba(0,0,0,0.15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--dark); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Source Sans 3", "Inter", system-ui, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3 { 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Source Sans 3", "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-weight: 700; }
.display { font-weight: 800; letter-spacing: -0.03em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
/* Sticky Header */
.header-wrap{
  position: sticky; top: 8px; z-index: 999;
  padding: 0 20px; margin-top: 8px;
}
header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  backdrop-filter: saturate(180%) blur(20px);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
header.scrolled{
  background: rgba(0,0,0,0.9);
  border-color: rgba(255,255,255,0.1);
}
.brand{ 
  font-weight: 700; 
  font-size: 20px;
  letter-spacing: -0.01em; 
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s ease;
  cursor: pointer;
}
.brand:hover .brand-logo {
  transform: scale(1.05);
}
.brand-logo {
  width: 96px;
  height: auto;
  transition: transform .2s ease;
}
.brand-text {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav a{ 
  margin-left: 24px; 
  color: var(--text); 
  opacity: 0.8; 
  font-weight: 500;
  transition: opacity .2s ease;
  font-size: 15px;
}
nav a:hover{ opacity: 1; }
/* Hero */
.hero{ padding: 60px 0 80px; position: relative; }
.hero h1{ 
  font-size: clamp(36px, 5vw, 72px); 
  margin: 0 0 24px; 
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero .subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero p{ 
  color: var(--muted); 
  font-size: clamp(17px, 2.2vw, 21px); 
  margin: 0 auto 40px; 
  max-width: 800px;
  font-weight: 400;
  line-height: 1.4;
}
.btn-row{ margin: 24px 0 60px; display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 16px 32px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--blue-gradient);
  color: #fff; font-weight: 600;
  font-size: 16px;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-shadow: var(--shadow-light);
}
.btn:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}
.btn.outline{ 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
}
.btn.outline:hover{
  background: rgba(255,255,255,0.15);
  box-shadow: var(--shadow);
}
.hero-media{ position: relative; margin-top: 40px; }
.hero video{
  width: 100%; height: 65vh; min-height: 400px; max-height: 700px; object-fit: cover;
  border-radius: var(--radius);
  display:block;
  box-shadow: var(--shadow);
}
.hero .overlay{
  position:absolute; inset:0; border-radius: var(--radius);
  background: radial-gradient(1400px 700px at 50% 0%, rgba(0,122,255,0.15), transparent 70%);
  pointer-events:none;
}
/* Blocks */
section{ padding: 60px 0; }
.block{ 
  padding: 48px 32px; 
  border-radius: var(--radius);
  transition: all .3s ease;
}
.block.white{ 
  background: var(--light); 
  color: var(--light-text);
  box-shadow: var(--shadow-light);
}
.block.white h3 { color: var(--light-text); }
.block.white p{ color: #515154; }
.block.glass{ 
  background: rgba(0,0,0,0.4); 
  border: 1px solid rgba(255,255,255,0.06); 
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.block.card{ 
  background: rgba(255,255,255,0.02); 
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}
.block.card:hover{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.section-title{ 
  text-align:center; 
  margin: 0 0 16px; 
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub{ 
  text-align:center; 
  color: var(--muted); 
  margin: 0 0 24px; 
  font-size: clamp(17px, 2vw, 21px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
/* Grid */
.grid{ display:grid; gap: 16px; }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid.cols-2, .grid.cols-3, .grid.cols-4{ grid-template-columns: 1fr; }
}
@media (min-width: 901px){
  .grid.cols-2.services{ grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2.services .block:nth-child(5), 
  .grid.cols-2.services .block:nth-child(6) {
    grid-column: span 1;
  }
}
/* Icon box */
.icon-box{ display:flex; gap:20px; align-items:flex-start; }
.icon{
  width:56px; height:56px; border-radius:16px;
  display:grid; place-items:center; 
  background: var(--blue-gradient);
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: var(--shadow-light);
}
.icon + .ib-content h3{ 
  margin: 0 0 12px; 
  font-size: 22px; 
  font-weight: 600;
  letter-spacing: -0.01em;
}
.icon + .ib-content p{ 
  margin: 0; 
  color: var(--muted); 
  line-height: 1.5;
  font-size: 16px;
}
/* Form */
.form{ max-width: 900px; margin: 0 auto; }
.form .row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:12px; }
.form input, .form textarea{
  width: 100%; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,.04); 
  border: 1px solid rgba(255,255,255,.08); 
  color: var(--text);
  outline: none;
  font-family: inherit;
  font-size: 16px;
  transition: all .2s ease;
}
.form input:focus, .form textarea:focus{
  border-color: var(--blue);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}
.form input::placeholder, .form textarea::placeholder{
  color: var(--muted);
}
.form textarea{ min-height: 120px; resize: vertical; }
@media (max-width: 600px){
  .form .row{ grid-template-columns: 1fr; }
}
.center{ text-align:center; }
footer{ 
  background: var(--darker); 
  color: var(--muted); 
  border-top: 1px solid rgba(255,255,255,0.05);
}
/* Utilities */
.mt-8{ margin-top:8px; } 
.mt-12{ margin-top:12px; } 
.mt-16{ margin-top:16px; }
.mt-24{ margin-top:24px; }
.mb-0{ margin-bottom:0; } 
.mb-8{ margin-bottom:8px; } 
.mb-16{ margin-bottom:16px; }
.anchor{ scroll-margin-top: 100px; }

/* Logo styling */
.footer-logo {
  width: 84px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Solution images */
.solution-image {
  width: 310px;
  height: 310px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.solution-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

/* Technology logos carousel */
.tech-carousel {
  width: 100%;
  overflow: hidden;
  margin: 20px 0;
  padding: 40px 0;
  position: relative;
  min-height: 140px;
}

.tech-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-logos-carousel {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  position: relative;
}

.tech-logo-svg {
  height: 60px;
  width: auto;
  min-width: 140px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  opacity: 0.7;
  display: inline-block;
  position: relative;
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
}

.tech-logo-svg:nth-child(1) { animation-delay: 0s; }
.tech-logo-svg:nth-child(2) { animation-delay: 1s; }
.tech-logo-svg:nth-child(3) { animation-delay: 2s; }
.tech-logo-svg:nth-child(4) { animation-delay: 0.5s; }
.tech-logo-svg:nth-child(5) { animation-delay: 1.5s; }
.tech-logo-svg:nth-child(6) { animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% { 
    transform: translateY(-8px) rotate(1deg); 
  }
  50% { 
    transform: translateY(-4px) rotate(-1deg); 
  }
  75% { 
    transform: translateY(-12px) rotate(0.5deg); 
  }
}

.tech-logo-svg:hover {
  opacity: 1;
  transform: scale(1.1) translateY(-5px);
  animation-play-state: paused;
}

.tech-section {
  margin-bottom: 40px;
  text-align: center;
}

.tech-section:last-child {
  margin-bottom: 0;
}

.tech-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  text-align: center;
  opacity: 0.9;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .tech-carousel {
    margin: 15px 0;
    padding: 20px 0;
    min-height: 80px;
  }
  
  .tech-logos-carousel {
    gap: 25px;
    padding: 15px;
  }
  
  .tech-logo-svg {
    height: 50px;
    min-width: 120px;
  }
  
  @keyframes float {
    0%, 100% { 
      transform: translateY(0px); 
    }
    50% { 
      transform: translateY(-6px); 
    }
  }
  
  .tech-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .tech-section {
    margin-bottom: 30px;
  }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero{ padding: 40px 0 60px; }
  .hero h1{ font-size: clamp(32px, 8vw, 48px); }
  .hero .subtitle{ font-size: clamp(18px, 4vw, 24px); }
  .hero p{ font-size: clamp(16px, 3vw, 18px); }
  .section-title{ font-size: clamp(24px, 6vw, 36px); }
  .section-sub{ font-size: clamp(16px, 3vw, 18px); }
  .block{ padding: 32px 20px; }
  .icon-box{ flex-direction: column; text-align: center; }
  .icon{ margin: 0 auto 16px; }
  nav{ display: none; } /* Hide nav on mobile, add hamburger menu in production */
  .brand{ font-size: 14px; }
  .brand-logo{ width: 72px; }
  .brand-text{ display: none; } /* Hide full text on mobile */
  .header-wrap{ padding: 0 12px; }
  header{ padding: 12px 20px; }
}
