:root {
  /* Color Palette */
  --bg-primary: transparent;
  --bg-secondary: rgba(0, 0, 0, 0.15);
  --bg-light: rgba(255, 255, 255, 0.05);
  --bg-white: #FFFFFF;
  --accent-orange: #EA580C;
  --accent-amber: #F59E0B;
  --safety-yellow: #FACC15;
  --text-heading: #FAFAFA;
  --text-body: #CBD5E1;
  --text-muted: #888888;
  --text-dark: #FFFFFF;

  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-amber) 100%);
  --gradient-overlay: linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.8) 100%);

  /* Typography */
  --font-heading: 'Inter', 'SF Pro Display', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max-width: 1280px;
  --nav-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #0a0a0c;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at center, rgba(30, 30, 35, 0.4) 0%, rgba(10, 10, 12, 0.9) 100%), url('../assets/images/dark_bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-body);
  line-height: 1.6;
  cursor: none;
  /* For custom cursor */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
  /* Custom cursor handles this */
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   GLOBAL INTERACTIVE ELEMENTS
   ========================================= */

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--bg-primary);
  opacity: 1;
}

@media (max-width: 768px), (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

.custom-cursor.hovering-link {
  width: 40px;
  height: 40px;
  background-color: rgba(234, 88, 12, 0.2);
  border-color: rgba(234, 88, 12, 0.5);
}

.custom-cursor.hovering-image {
  width: 60px;
  height: 60px;
  background-color: var(--accent-orange);
  border: none;
  color: #fff;
}

.custom-cursor.hovering-image::after {
  content: "VIEW";
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-orange);
  z-index: 100001;
  transition: width 0.1s;
}

/* Scroll Reveal Elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Base Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--text-heading);
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.6);
  background: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-heading);
  border-radius: 50px;
  padding: 14px 38px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-orange);
  color: var(--text-heading);
}

/* Link underline effects */
.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--accent-orange);
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.hover-underline:hover::after,
.hover-underline.active::after {
  width: 100%;
}

.hover-underline.active {
  color: var(--accent-orange) !important;
}

/* =========================================
   NAVIGATION BAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: translateY(-8px);
}

.navbar .logo img:hover {
  transform: translateY(-8px) scale(1.05);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

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

.footer .logo img {
  height: 120px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  line-height: 1;
}

.nav-links a:hover {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: none;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn span {
  width: 28px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--accent-orange);
}

.brand-col p {
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-info svg {
  stroke: var(--accent-orange);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* =========================================
   RESPONSIVE DESIGN (GLOBAL)
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #0f1419;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
  }

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

  .logo img {
    height: 45px;
    transform: none;
  }

  .brand-title {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}