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

:root {
  /* Brand Colors */
  --color-brand-dark: #0F172A; /* Slate 900 */
  --color-brand-black: #020617; /* Slate 950 */
  --color-brand-accent: #DC2626; /* Red 600 */
  --color-brand-accent-hover: #B91C1C; /* Red 700 */
  --color-brand-gray: #334155; /* Slate 700 */
  --color-text-main: #F8FAFC; /* Slate 50 */
  --color-text-muted: #94A3B8; /* Slate 400 */
  --color-bg-light: #F1F5F9; /* Slate 100 */

  /* Spacing */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;     /* 16px */
  --spacing-md: 2rem;     /* 32px */
  --spacing-lg: 4rem;     /* 64px */
  --spacing-xl: 8rem;     /* 128px */
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
  --radius-sm: 2px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-brand-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: white; /* Default head color in dark mode */
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-brand-accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-brand-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(220, 38, 38, 0.5);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255,255,255,0.3);
  color: white;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255,255,255,0.1);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

/* In-line style overrides from HTML migration to CSS classes */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-dark { color: var(--color-brand-dark) !important; }
.text-gray { color: var(--color-brand-gray) !important; }
.text-accent { color: var(--color-brand-accent) !important; }
.bg-light { background-color: var(--color-bg-light) !important; }
.bg-white { background-color: white !important; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-200 { transition-delay: 0.2s; }
.delay-400 { transition-delay: 0.4s; }

/* Components */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.logo span { color: var(--color-brand-accent); }

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

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

.nav-links a:hover, .nav-links a.active {
  color: white;
}

.btn-nav-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-brand-dark);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-menu a {
    font-size: 1.2rem;
    color: white;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Numbers Section */
.stats-bar {
  background: var(--color-brand-black);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-brand-accent);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* Responsive Media Queries */
@media (max-width: 968px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Reverse order for visual flow if needed (e.g. image on top) */
    .grid-2.reverse-mobile div:nth-child(2) {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    /* Form styling adjustment */
    form input, form textarea {
        font-size: 1rem; /* Prevent zoom on iOS */
    }
}
