/* Custom Premium Dark-Mode CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* Variables */
:root {
  --bg-primary: #090b0d;
  --bg-secondary: #13171c;
  --bg-tertiary: #1b2128;
  --text-primary: #f8f9fa;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --brand-primary: #ff3366;
  --brand-primary-hover: #ff5e82;
  --brand-secondary: #9b5de5;
  --border-color: #2d3748;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --focus-outline: 2px solid #ff3366;
}

/* Base Styles & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Accessibility: Skip Link & Focus styles */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 5px 0;
  transition: var(--transition-smooth);
}

.skip-link:focus {
  top: 0;
  outline: none;
}

*:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 4px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(9, 11, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-svg {
  display: block;
  max-height: 50px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

.cta-header-btn {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--brand-primary);
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1;
}

.cta-header-btn:hover {
  background-color: transparent;
  color: var(--brand-primary);
  text-decoration: none;
}

/* Mobile Menu Button */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Main Content Wrappers */
main {
  margin-top: var(--header-height);
}

.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
}

/* Landing Page Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(9, 11, 13, 0.6) 0%, rgba(9, 11, 13, 0.95) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: inline-block;
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 15px 35px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
  transition: var(--transition-smooth);
}

.hero-cta:hover {
  background-color: transparent;
  color: var(--brand-primary);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.6);
  transform: translateY(-2px);
}

/* Compact Intro for Informational Pages */
.compact-intro {
  background-color: var(--bg-secondary);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.compact-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.compact-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.compact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Grid & Layout Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
}

/* Form Styles */
.form-container {
  max-width: 500px;
  margin: 40px auto 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.form-submit-btn {
  width: 100%;
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

/* Bullet Lists & Steps */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 20px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

/* Supporting Images */
.supporting-images-section {
  margin: 50px 0;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16/10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: grayscale(20%);
}

.gallery-item:hover .gallery-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(9, 11, 13, 0.9), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 20px 40px;
  margin-top: 80px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about {
  padding-right: 40px;
}

.footer-logo {
  max-height: 45px;
  margin-bottom: 20px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile Menu Slide Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 11, 13, 0.98);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
  left: 0;
}

.close-menu-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-nav-link:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-about {
    padding-right: 0;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 1180px) {
  .nav-desktop {
    gap: 14px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .cta-header-btn {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}
