@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

:root {
  --black: #050608;
  --dark: #0a0c10;
  --darker: #070810;
  --card-bg: #0d1018;
  --border: rgba(255,255,255,0.07);
  --blue: #1a8cff;
  --blue-bright: #4da8ff;
  --blue-dim: #0d5fa3;
  --blue-glow: rgba(26,140,255,0.15);
  --white: #ffffff;
  --off-white: #c8d4e8;
  --muted: #7a8aa0;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-cond: 'Outfit', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
  transition: background-color 0.4s ease, color 0.4s ease;

  /* Deterrent: Prevent text selection across the site */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Deterrent: Prevent images from being dragged to the desktop/folders */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Re-enable selection for inputs, textareas, and select boxes so the contact form works */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* === PAGES === */
.page { display: none; min-height: 100vh; opacity: 0; }
.page.active { 
  display: block; 
  animation: pageFadeIn 0.5s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === NAV === */
nav {
  position: fixed; 
  top: 1.5rem; 
  left: 1.5rem;
  right: 1.5rem;
  max-width: 1100px;
  width: auto;
  margin: 0 auto;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 2rem;
  height: 70px;
  transition: var(--transition-smooth);
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 24, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: -1;
  transition: var(--transition-smooth);
}

/* Desktop Nav Items Wrapper */
.nav-items-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 3rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links li a {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none; background: none; padding: 0;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--blue-bright); }

.nav-cta {
  display: block; /* Ensure CTA is block on desktop */
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.nav-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }
.nav-cta:active { transform: scale(0.96); }

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--off-white);
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-right: 0.5rem;
  z-index: 1001;
}

.theme-toggle:hover {
  color: var(--blue);
  transform: rotate(15deg) scale(1.1);
}

/* Light Mode Overrides */
body.light-mode {
  --black: #f8f9fa;
  --dark: #ffffff;
  --darker: #f1f3f5;
  --card-bg: #ffffff;
  --border: rgba(0,0,0,0.08);
  --white: #0a0c10;
  --off-white: #212529;
  --muted: #6c757d;
  --blue-glow: rgba(26,140,255,0.08);
}

body.light-mode nav::before {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body.light-mode .hero-bg {
  filter: brightness(1.2) contrast(0.8);
  opacity: 0.2;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; /* Hidden by default on desktop */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--off-white);
  cursor: pointer;
  z-index: 1001; /* Ensure it's above the mobile menu */
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}

 .hero-bg {
   position: absolute; inset: 0;
   background:
     url('https://zipline.tmdevelopments.uk/u/ZAA5wF.png') center/cover no-repeat,
     radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,140,255,0.08) 0%, transparent 65%),
     radial-gradient(ellipse 40% 40% at 20% 70%, rgba(26,140,255,0.05) 0%, transparent 60%),
     linear-gradient(180deg, rgba(5,6,8,0.4) 0%, rgba(5,6,8,0.85) 60%, var(--black) 100%);
   opacity: 0.5;
 }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,140,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,140,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 0 80px rgba(26,140,255,0.2);
  margin-bottom: 0.3em;
}
.hero-title .blue { color: var(--blue); }

.hero-subtitle {
  font-family: var(--font-cond);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--off-white);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  cursor: pointer;
    transition: var(--transition-smooth);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
  .btn-primary:active { transform: scale(0.96); }

.btn-outline {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  cursor: pointer;
    transition: var(--transition-smooth);
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-bright); }
  .btn-outline:active { transform: scale(0.96); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.65rem; letter-spacing: 0.25em; color: var(--muted); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}

/* === SECTION === */
section {
  padding: 6rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-full {
  padding: 6rem 4rem;
  width: 100%;
}

.label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem;
}
.label::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
}
.section-title .blue { color: var(--blue); }

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--off-white);
  max-width: 680px;
}

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 4rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

/* === ABOUT CARD SECTIONS === */
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  margin: 2.5rem auto;
  padding: 5rem 4rem;
  max-width: 1300px;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.about-card:hover {
  border-color: rgba(26, 140, 255, 0.3);
}

/* === SOCIALS PAGE === */
.socials-hero {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 12rem 4rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.socials-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(26,140,255,0.06) 0%, transparent 70%);
}

.socials-section {
  max-width: 900px; margin: 0 auto; padding: 4rem;
}

.socials-group-title {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.socials-group-title::before {
  content: '';
  display: block; width: 20px; height: 1px; background: var(--blue);
}

.social-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
  color: inherit;
  cursor: pointer;
}
.social-row:hover .social-row-name { color: var(--blue-bright); }
.social-row:hover .social-row-arrow { transform: translateX(4px); color: var(--blue); }

.social-row-left { display: flex; align-items: center; gap: 1.2rem; }

.social-icon {
  width: 42px; height: 42px;
  background: rgba(26,140,255,0.08);
  border: 1px solid rgba(26,140,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.social-row-name {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}

.social-row-handle {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.social-row-arrow {
  color: var(--muted);
  transition: all 0.2s;
  font-size: 1.1rem;
}

.socials-group { margin-bottom: 3rem; }

/* === CONTACT PAGE === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  align-items: start;
}

.login-wrapper {
  max-width: 500px;
  margin: 0 auto;
  padding: 4rem;
}

.contact-info-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-label {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--off-white);
  font-weight: 300;
}
.contact-info-value a {
  color: var(--blue);
  text-decoration: none;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2.5rem;
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--blue), transparent);
}

.form-row { margin-bottom: 1.5rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue);
  background: rgba(26,140,255,0.04);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}

input[type="file"].form-input {
  padding: 0.65rem 1rem;
}
input[type="file"]::file-selector-button {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  margin-right: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
input[type="file"]::file-selector-button:hover {
  background: rgba(26,140,255,0.1);
  border-color: var(--blue);
}
.form-select option { background: var(--dark); }

.form-submit {
  width: 100%;
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 1.1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--blue-bright); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.success-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.success-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.success-text {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 11rem 4rem 4rem;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(26,140,255,0.05) 0%, transparent 60%);
}
.page-hero-inner {
  max-width: 1300px; margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.page-hero-title .blue { color: var(--blue); }
.page-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 500px;
}

/* === FOOTER === */
footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 4rem;
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--blue); }
.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
  white-space: nowrap;
}
.footer-social-links { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.footer-social:hover { border-color: var(--blue); color: var(--blue); }

.footer-col-title {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.footer-links { list-style: none; display: flex; flex-direction: row; gap: 1rem; flex-wrap: wrap; }
.footer-links li {
  padding: 0;
  border-bottom: none;
}
.footer-links li a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links li a:hover { color: var(--off-white); }

.footer-bottom {
  max-width: 1300px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.05em;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--blue); }

/* === LOADING SCREEN === */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
  transition: opacity 0.8s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }

.loader-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.2em;
  color: var(--white);
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-title span { color: var(--blue); }

.loader-bar-wrap {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.08);
}
.loader-bar {
  height: 100%;
  background: var(--blue);
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar {
  0% { width: 0; } 100% { width: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; } 50% { opacity: 1; }
}

.loader-text {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-in-2 { animation-delay: 0.15s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.45s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

/* === SHOP PAGE === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 140, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.product-price {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-bright);
}

/* === ASSETS DASHBOARD PAGE === */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.asset-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.asset-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 140, 255, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.asset-image-wrap {
  width: 100%;
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.asset-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.asset-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.asset-btn {
  margin-top: auto;
  text-align: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.75rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  nav { 
    width: auto;
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem; 
    padding: 0 1.2rem;
    height: 60px;
  }
  .nav-items-wrapper { margin-left: 0; }

  /* The nav-links and nav-cta are now children of nav-items-wrapper,
     which is hidden by default on mobile. */
  .menu-toggle { display: flex; } /* Show hamburger menu */

  .nav-items-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000; /* Solid black background for full screen */
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center items vertically for easier selection */
    padding: 0;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000; /* Match or exceed nav z-index */
    overflow-y: auto; /* Allow scrolling if many items */
    display: flex; /* Always flex on mobile, but hidden by transform/opacity/visibility */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Hidden by default */
  }

  .nav-items-wrapper.active {
    transform: translateX(0); /* Slide in */
    visibility: visible; /* Show when active */
    opacity: 1; /* Show when active */
  }

  .nav-items-wrapper .nav-links {
    display: flex; /* Ensure it's flex within the wrapper */
    flex-direction: column;
    gap: 1.2rem; /* Reduced gap to ensure the full list fits on one screen */
    width: 100%;
    text-align: center;
    margin-bottom: 0; 
    padding-top: 0; /* Space from top of mobile menu */
  }
  .nav-items-wrapper .nav-links li a {
    padding: 0.8rem 0;
    width: 100%;
    font-size: 1.5rem; /* Reduced size to prevent vertical overflow on smaller devices */
    letter-spacing: 0.2em;
  }
  .nav-items-wrapper .nav-links li {
    width: 100%;
    display: block; /* Ensure each list item takes full width */
    margin-bottom: 1.5rem; /* Space between links */
  }
  .nav-items-wrapper .nav-cta {
    display: block; /* Show Get In Touch on mobile for easier navigation */
    width: calc(100% - 4rem); /* Adjust width with padding */
    max-width: 300px; /* Limit width */
    padding: 1rem 0;
    text-align: center;
  }

  section, .section-full, .stats-bar, .divider, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1.5rem; }
  .login-wrapper { padding: 2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .socials-section { padding: 2rem 1.5rem; }
  
  /* Mobile tweaks for rounded cards */
  .about-card {
    margin: 1.5rem 1rem;
    padding: 3.5rem 1.5rem;
    border-radius: 32px;
  }

  .admin-card {
    padding: 1.5rem !important;
  }
}

/* === COOKIE BANNER REDESIGN === */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: auto;
  min-width: 500px;
  max-width: calc(100% - 2rem);
  background: rgba(13, 16, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 10000;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.cookie-banner.active { transform: translateX(-50%) translateY(0); }

.cookie-text {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  color: var(--off-white);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-banner .btn-primary {
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.cookie-banner .btn-outline {
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  border-color: rgba(255,255,255,0.1);
}

body.light-mode .cookie-banner {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 1.5rem;
    border-radius: 24px;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    min-width: 0;
    width: calc(100% - 2rem);
    text-align: center;
  }
  .cookie-text { white-space: normal; line-height: 1.4; font-size: 0.8rem; }
  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .cookie-actions button { width: 100%; }
}

/* === ADMIN MANAGEMENT AREA === */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  min-width: 0;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table th {
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}

.admin-table td {
  font-size: 0.9rem;
  color: var(--off-white);
}

.admin-table tr:last-child td { border-bottom: none; }

.btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.btn-danger { background: rgba(220, 50, 50, 0.1); color: #ff7070; border: 1px solid rgba(220, 50, 50, 0.3); }
.btn-danger:hover { background: rgba(220, 50, 50, 0.2); border-color: rgba(220, 50, 50, 0.5); }

/* Checkbox styles for Role Options */
.perm-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--blue);
  cursor: pointer;
}

/* === CUSTOM ICON DROPDOWN === */
.icon-dropdown-wrapper {
  position: relative;
  width: 100%;
}
.icon-dropdown-header {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  cursor: text;
  transition: border-color 0.2s;
}
.icon-dropdown-header:focus-within {
  border-color: var(--blue);
  background: rgba(26,140,255,0.04);
}
.icon-dropdown-header input {
  border: none;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0;
  outline: none;
  flex: 1;
  width: 100%;
}
.icon-dropdown-header input::placeholder {
  color: rgba(255,255,255,0.2);
}
.icon-dropdown-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.icon-dropdown-list.show {
  display: block;
}
.icon-dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: var(--off-white);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.icon-dropdown-item:hover {
  background: rgba(26,140,255,0.1);
  color: var(--white);
}
.icon-dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--blue);
}

/* === ACTION DROPDOWN === */
.action-dropdown {
  position: relative;
  display: inline-block;
}
.action-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 140px;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}
.action-dropdown-menu.show { display: block; }
.action-dropdown-item {
  display: block; width: 100%; text-align: left; padding: 0.75rem 1rem;
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--off-white); font-size: 0.75rem; font-family: var(--font-cond);
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.action-dropdown-item:last-child { border-bottom: none; }
.action-dropdown-item:hover {
  background: rgba(26,140,255,0.1); color: var(--white);
}
.action-dropdown-item.danger:hover {
  background: rgba(220, 50, 50, 0.1); color: #ff7070;
}