/* ===== VARIABLES ===== */
:root {
  --color-bg: #0a0f1e;
  --color-bg-alt: #111827;
  --color-surface: #1a2332;
  --color-red: #dc2626;
  --color-red-hover: #ef4444;
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-border: #334155;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}

.section-heading.center {
  text-align: center;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--color-red);
  margin: 16px 0 32px;
}

.accent-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../media/000080530011.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.75) 0%,
    rgba(10, 15, 30, 0.6) 50%,
    rgba(10, 15, 30, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-subtitle-top {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-red);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.hero-date {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}

.btn-outline:hover {
  background: var(--color-red);
  color: #fff;
}

.scroll-indicator {
  margin-top: 48px;
  color: var(--color-text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== MISSION ===== */
.mission {
  background: var(--color-bg);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.partner-callout {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.partner-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-red);
  transition: color 0.2s;
}

.partner-link:hover {
  color: var(--color-red-hover);
}

.mission-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== MIDRT ===== */
.midrt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.midrt-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.midrt-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.midrt-logo-wrap {
  margin-bottom: 24px;
}

.midrt-logo {
  max-width: 280px;
  margin: 0 auto;
}

.midrt-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.midrt-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.midrt .btn {
  margin-top: 16px;
}

/* ===== EVENTS ===== */
.events {
  background: var(--color-bg-alt);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.event-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.event-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.event-card:hover .event-card-bg {
  transform: scale(1.05);
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 15, 30, 0.95) 0%,
    rgba(10, 15, 30, 0.7) 40%,
    rgba(10, 15, 30, 0.3) 100%
  );
}

.event-card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.event-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-red);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 12px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.event-schedule {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-red);
}

/* ===== SCHEDULE ===== */
.schedule {
  overflow: hidden;
}

.schedule-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.schedule-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.88);
}

.schedule .container {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  margin-top: 24px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-red);
  z-index: 1;
}

.timeline-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.timeline-day {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.timeline-day span {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 8px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  position: relative;
  padding-left: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.timeline-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
}

/* ===== VIDEOS ===== */
.videos {
  background: var(--color-bg);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 49px,
      rgba(51, 65, 81, 0.15) 49px,
      rgba(51, 65, 81, 0.15) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 49px,
      rgba(51, 65, 81, 0.15) 49px,
      rgba(51, 65, 81, 0.15) 50px
    );
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== VENDORS ===== */
.vendors {
  background: var(--color-bg);
}

.vendors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vendors-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.vendor-cta {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}

.vendor-cta p {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.vendor-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vendor-feature {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-red);
}

.vendor-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vendor-feature p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.vendors-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ===== C-UAS ===== */
.cuas {
  background: var(--color-bg-alt);
}

.cuas-text > p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cuas-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.cuas-detail {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-red);
}

.cuas-detail h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cuas-detail p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cuas .vendor-cta {
  max-width: 500px;
  margin: 0 auto;
}

/* ===== SPONSORSHIP ===== */
.sponsors {
  background: var(--color-bg);
}

.sponsors-intro {
  color: var(--color-text-muted);
  font-size: 1rem;
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px;
}

.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.sponsor-tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.tier-header {
  padding: 20px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.tier-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tier-gold .tier-header {
  background: linear-gradient(135deg, #b8860b, #daa520);
  color: #0a0f1e;
}

.tier-silver .tier-header {
  background: linear-gradient(135deg, #6b7280, #9ca3af);
  color: #0a0f1e;
}

.tier-tactical .tier-header {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #f1f5f9;
}

.tier-bronze .tier-header {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #f1f5f9;
}

.sponsor-tier ul {
  padding: 24px;
  list-style: none;
  flex: 1;
}

.sponsor-tier li {
  position: relative;
  padding-left: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.sponsor-tier li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
}

.sponsor-why {
  margin-bottom: 40px;
}

.sponsor-why > h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 24px;
}

.sponsor-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sponsor-why-item {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-red);
}

.sponsor-why-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sponsor-why-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.sponsors .vendor-cta {
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .sponsor-tiers {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .sponsor-tiers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sponsor-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== REQUIREMENTS ===== */
.requirements {
  background: var(--color-bg-alt);
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.req-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.req-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-red);
  color: var(--color-red);
}

.req-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.req-item p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.download-cta {
  margin-top: 48px;
  text-align: center;
  padding: 40px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.download-cta p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.download-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-alt);
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-content {
  text-align: center;
  padding-bottom: 48px;
}

.footer-location {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-email {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-red);
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--color-red-hover);
}

.footer-divider {
  color: var(--color-border);
}

.footer-partner {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
}

.footer-partner:hover {
  color: var(--color-red);
}

.footer-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .cuas-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: transform 0.3s;
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    background-attachment: scroll;
  }

  .countdown {
    gap: 16px;
  }

  .countdown-value {
    font-size: 1.8rem;
  }

  /* Grids */
  .mission-grid,
  .events-grid,
  .videos-grid,
  .vendors-grid,
  .requirements-grid,
  .cuas-details-grid {
    grid-template-columns: 1fr;
  }

  .mission-image img,
  .vendors-image img {
    height: 260px;
  }

  .event-card {
    min-height: 320px;
  }

  /* Schedule */
  .schedule-bg {
    background-attachment: scroll;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-divider {
    display: none;
  }

  /* Disable horizontal AOS animations on mobile to prevent overflow */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    opacity: 0;
    transform: none !important;
    transition-property: opacity !important;
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: none !important;
  }
}
