:root {
  --bg-dark: #0a0a0b;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --primary-color: #3b82f6;
  --accent-color: #60a5fa;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-hover: rgba(59, 130, 246, 0.1);
  --font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, #172033 0%, #0a0a0b 70%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.05em;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(10, 10, 11, 0.8), rgba(10, 10, 11, 0.9)), url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3rem;
  /* Added top margin as requested */
  border-bottom: 1px solid var(--glass-border);
  width: 100%;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.5);
  background: var(--accent-color);
  color: white;
}

/* Video Section */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--glass-border);
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  group: video;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

.video-wrapper:hover .video-thumbnail {
  opacity: 0.6;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid white;
  margin-left: 5px;
}

.video-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* Features/Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
  padding: 0 0.2em;
  border-radius: 4px;
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Contact Section */
.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
  color: var(--text-muted);
}

/* Animation Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .stats {
    gap: 3rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }
}