@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --dark: #111827;
  --darker: #0f172a;
  --light: #f3f4f6;
  --gray: #6b7280;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: white;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s;
}

.nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
}

@media (min-width: 768px) {
  .nav-content {
    justify-content: space-between;
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  border: 4px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: white;
}

.logo-text .font-light {
  font-weight: 300;
}

.logo-text .accent {
  color: var(--primary);
  margin: 0 0.25rem;
}

.logo-text .font-extralight {
  font-weight: 200;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
  }

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

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 1rem 4rem;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

.hero-content .accent-text {
  display: block;
  color: var(--primary);
  margin-top: 0.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

/* Stats Grid */
.stats-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
}

.stat-card i {
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.stat-card .stat {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-card .stat-text {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Services Section */
.services {
  background-color: var(--dark);
  padding: 2rem 0 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: rgba(31, 41, 55, 0.5);
  padding: 2rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  background-color: rgba(55, 65, 81, 0.5);
}

.service-card i {
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.service-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 1rem;
}

/* About Section */
.about {
  background-color: var(--darker);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  margin-top: -3rem;
}

.about .section-header {
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: left;
  letter-spacing: -0.02em;
}

.about-text p:last-child {
  background: linear-gradient(90deg, #f3f4f6 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-container {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  padding: 1rem;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 0.5rem;
  max-width: 28rem;
  margin: 2rem auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
}

.modal-close:hover {
  color: #374151;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.modal-body h2 {
  color: #111827;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.modal-body p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.modal-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.modal-body a:hover {
  color: var(--primary-hover);
}

/* Footer */
.footer {
  background-color: var(--darker);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo .logo-text {
  font-size: 1.25rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* Legal Pages */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: white;
}

.legal-content {
  background-color: rgba(31, 41, 55, 0.5);
  padding: 2rem;
  border-radius: 0.75rem;
  color: #d1d5db;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}