:root {
  --logo-blue: #2090c8;
  --logo-cyan: #38c9ba;
  --logo-green: #54f9b3;
  --logo-lime: #b2e671;
  --logo-lime-dark: #7a9e46;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --bg-light: #f5f5f7;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
nav {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-img {
  height: 60px; /* Reduced base height */
  width: auto;
  object-fit: contain;
  display: block;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav ul a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-nav-accent {
  background: var(--logo-lime);
  color: #111 !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
}

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0 40px;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.highlight {
  color: var(--logo-cyan);
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-cyan));
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(32, 144, 200, 0.2);
}

.btn-secondary {
  color: var(--logo-blue);
  text-decoration: none;
  font-weight: 700;
}

.hero-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.hero-main-img {
  width: 100%;
  display: block;
}

/* --- Technical Grid --- */
.tech-grid {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tech-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--logo-blue);
}

/* --- Performance Stats --- */
.performance {
  padding: 80px 0;
  background: var(--white);
}

.stats-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.stat {
  text-align: center;
  flex: 1 1 200px;
}

.stat-number {
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--logo-blue);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.stat-label {
  font-weight: 800;
  color: var(--logo-lime-dark);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* --- Demo Section --- */
.demo-section {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: #000;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Team Section --- */
.team-section {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.team-photo-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 15px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.main-team-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.team-names-caption {
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Footer --- */
footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Mobile Specific Fixes --- */
@media (max-width: 768px) {
  nav .container {
    padding: 0 15px;
  }

  .nav-logo-img {
    height: 45px;
  }

  /* Stack nav links or hide them for a cleaner mobile look */
  nav ul {
    gap: 10px;
  }

  nav ul li:not(:last-child) {
    display: none; /* Hide non-essential links on tiny screens */
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .stat-number {
    font-size: 3.5rem;
  }
}
