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

:root {
  --background: hsl(202, 85%, 14%);
  --foreground: hsl(0, 0%, 98%);
  --primary: hsl(31, 77%, 53%);
  --primary-hover: hsl(31, 77%, 45%);
  --border: hsl(202, 50%, 22%);
  --muted: hsl(202, 20%, 75%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo img {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .navbar-logo img {
    height: 68px;
  }
}

.navbar-links {
  display: none;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

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

.navbar-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

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

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

.mobile-menu-btn {
  display: flex;
  background: transparent;
  border: none;
  color: white;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 56, 89, 0.98);
  backdrop-filter: blur(20px);
  z-index: 40;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-menu .btn {
  width: 80%;
  max-width: 300px;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: block; }
  .mobile-menu-btn { display: none; }
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-carousel {
    aspect-ratio: 21/9;
  }
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.indicator {
  width: 3rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
}

.indicator-progress {
  height: 100%;
  width: 0;
  background: white;
  transition: width 0.1s linear;
}

/* Category Section */
.category-section {
  padding: 6rem 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.category-grid {
  display: grid;
  gap: 2rem;
}

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

.category-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  text-decoration: none;
  color: white;
  display: block;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-icon svg {
  width: 2rem;
  height: 2rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Feature Sections */
.feature-section {
  padding: 5rem 0;
}

.feature-section.alt-bg {
  background: rgba(0, 0, 0, 0.1);
}

.feature-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-content { flex-direction: row; }
  .feature-content.reversed { flex-direction: row-reverse; }
}

.feature-text {
  flex: 1;
}

.feature-subtitle {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .feature-title { font-size: 3rem; }
}

.feature-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
}

.feature-image {
  flex: 1;
  width: 100%;
}

.feature-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.feature-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Mobile/Desktop image switching */
.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }
}

/* Contact Form */
.contact-section {
  padding: 6rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.contact-form-wrapper {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .contact-form-wrapper { padding: 3rem; }
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  color: white;
}

input, select, textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  height: 3rem;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

textarea {
  min-height: 150px;
  resize: none;
  height: auto;
}

select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

select option {
  background: var(--background);
  color: white;
}

.submit-btn {
  width: 100%;
  height: 3.5rem;
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-logo img {
  height: 6.5rem;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 4.375rem;
  }
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  margin-top: 1.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

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

.legal-page section {
  margin-bottom: 2.5rem;
}

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

.legal-page h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  color: white;
}

.legal-page p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.legal-page li {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

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

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

.navbar-scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
}