:root {
  --primary: #111827;
  /* Gray 900 - Dark text */
  --secondary: #4b5563;
  /* Gray 600 - Muted text */
  --accent: #d946ef;
  /* Fuchsia 500 - Keep for small pops */
  --bg-main: #f3f4f6;
  /* Gray 100 - Light background */
  --card-bg: #ffffff;
  --font-main: 'Outfit', sans-serif;
  --radius-pill: 9999px;
  --radius-lg: 2rem;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--primary);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary);
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  text-transform: uppercase;
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  line-height: 0.9;
  margin-bottom: 2rem;
  position: relative;
}

/* Overlay text effect */
.hero-title span {
  display: block;
  color: var(--primary);
  /* Fallback */
  -webkit-text-stroke: 0px;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px white;
  /* For dark bg images if needed, but here we want contrast */
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  color: white;
  line-height: 0.85;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.2s forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-left {
  padding-right: 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.hero-headline {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* Pill Images */
.pill-container {
  border-radius: 10rem;
  /* Huge radius for pill shape */
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.hero-center-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 10rem;
  transition: transform 0.5s ease;
}

.pill-container:hover .hero-center-img {
  transform: scale(1.05);
}

.hero-right-card {
  background: white;
  /* Reference has a card on the right */
  border-radius: 10rem;
  padding: 4rem 2rem;
  text-align: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.hero-right-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-right-card p {
  color: var(--secondary);
  margin-bottom: 2rem;
}

.circle-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
}

/* Section 2: Detailed Info */
.info-section {
  padding: 6rem 5%;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.info-img-pill {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 10rem 10rem 0 0;
  /* Arch shape */
}

.info-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.info-content p {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--primary);
}

.stat-item span {
  color: var(--secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Models Grid (Redesigned) */
.models-section {
  padding: 6rem 5%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.model-card {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.model-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.model-img-placeholder {
  height: 300px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #9ca3af;
  transition: background 0.3s;
}

.model-card:hover .model-img-placeholder {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.model-info {
  padding: 1.5rem;
  text-align: center;
}

.model-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.platform-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.platform-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--secondary);
  transition: all 0.2s;
}

.platform-icon:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 5% 4rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-pill);
  background: #f9fafb;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

textarea.form-control {
  border-radius: 1.5rem;
  min-height: 150px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

/* About Page */
.about-hero {
  padding: 8rem 5% 4rem;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  padding-bottom: 6rem;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    padding-right: 0;
    order: 2;
  }

  .hero-center-img {
    height: 400px;
    order: 1;
  }

  .hero-right-card {
    display: none;
    /* Hide on mobile to save space or stack it */
  }

  .hero-buttons {
    justify-content: center;
  }

  .info-grid,
  .contact-container,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    /* Add mobile menu logic back if needed */
  }

  .hamburger {
    display: block;
  }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
    height: 500px;
    background: #f3f4f6;
    position: relative;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Hidden by default, shown if src exists */
}

.modal-img-wrapper img.active {
    display: block;
}

.modal-info-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-info-content p {
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-platforms {
    display: flex;
    gap: 1rem;
}

.modal-platforms .platform-icon {
    width: 48px;
    height: 48px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-img-wrapper {
        height: 300px;
    }

    .modal-info-content {
        padding: 2rem;
    }

    .modal-info-content h2 {
        font-size: 2rem;
    }
}
