:root{
  --bg:#050816;
  --bg-dark:#02010b;
  --accent:#29b6f6;
  --text:#f5f5f5;
  --muted:#9ca3af;
  --card:#0b1020;
  --radius:18px;
  --max:1120px;
}

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

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:radial-gradient(circle at top,#151b38,#02010b 60%,#000);
  color:var(--text);
  line-height:1.6;
}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100; /* Ensure it stays above hero content */
  
  /* Glass Effect */
  background: rgba(5, 8, 22, 0.7); /* Deep dark, matching your --bg */
  backdrop-filter: blur(12px);      /* Strong blur for legibility */
  -webkit-backdrop-filter: blur(12px);
  
  /* Very subtle separation line */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max);
  margin: auto;
  padding: 14px 18px; /* Slightly more vertical breathing room */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo: Clean and Technical */
.logo {
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff; /* White logo looks more premium */
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 1;
  text-decoration: none;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent); /* Cyan dot */
  box-shadow: 0 0 8px var(--accent); /* Subtle glow */
}

/* Menu: Minimalist text links */
.menu {
  display: flex;
  gap: 24px; /* More spacing for minimalism */
  font-size: 0.9rem;
  align-items: center;
}

/* Hide menu on very small screens if needed, 
   but for now we keep your desktop layout */

.menu a {
  color: rgba(255, 255, 255, 0.6); /* Muted by default */
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s ease;
  position: relative;
}

/* Hover: Brighten up */
.menu a:hover {
  color: #fff;
  text-decoration: none;
}

/* Active State: White text + subtle indicator */
.menu a.active {
  color: #fff;
  font-weight: 500;
}

/* Optional: Minimalist 'active' dot below the link */
.menu a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.8;
}

/* Language Switcher: Text only, no buttons */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
  padding-left: 20px;
}

.lang-btn {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.4); /* Very subtle inactive state */
  padding: 4px 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  color: var(--accent); /* Highlight active lang with Cyan */
  font-weight: 600;
}

/* ===== LAYOUT ===== */
.container{
  max-width:var(--max);
  margin:70px auto;
  padding:0 18px;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:20px;
  border:1px solid rgba(120,144,156,.4);
  margin-top:18px;
}

h1{
  font-size:clamp(2.2rem,3.5vw,3rem);
  margin-bottom:12px;
}
h2{
  font-size:1.15rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin:24px 0 10px;
}

footer {
  border-top: 1px solid rgba(84, 110, 122, .6);
  background: var(--bg-dark);
  padding: 24px 18px;
  color: #94a3b8;
  font-size: .85rem;
  /* Centering Logic */
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* Space between text and icons */
}

/* ===== LANGUAGE ===== */
.lang{display:none}
.lang.active{display:block}

/* ===== BUTTONS (global) ===== */

/* 1. Base Button (Default is "Glass/Secondary" Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Ensures text is centered */
  gap: 10px;
  padding: 12px 20px;      /* Slightly larger touch area */
  
  /* Glass Effect */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Hover State for Base Button */
.btn:hover {
  background: rgba(255, 255, 255, 0.15); /* Brighter glass */
  border-color: var(--accent);            /* Cyan border on hover */
  text-decoration: none;
  transform: translateY(-2px);            /* Slight lift */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Active/Click State */
.btn:active {
  transform: translateY(0);
}

/* Focus State for Accessibility */
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* 2. Primary Button Modifier (High Contrast / Outline) */
/* Use class="btn primary" for main actions like 'Contact' */
.btn.primary {
  background: transparent;
  border: 1px solid var(--text); /* Solid white border */
  color: var(--text);
}

.btn.primary:hover {
  background: var(--text);       /* Fills with white */
  color: var(--bg-dark);         /* Text turns dark */
  border-color: var(--text);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Glow effect */
}

/* Icon styling */
.btn .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

/* Animate icon on hover */
.btn:hover .icon {
  transform: scale(1.1);
  opacity: 1;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Reset for actual <button> tags to inherit styles */
button.btn {
  font-family: inherit;
  font-size: inherit;
}


/* ... Your existing Nav CSS ... */

/* --- ADD THIS FOR MOBILE RESPONSIVENESS --- */

/* 1. Hamburger Button (Hidden by default on Desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

/* 2. Utility to hide extra links on desktop if you want */
.mobile-only-links {
  display: none; 
}

/* 3. MOBILE MEDIA QUERY */
@media (max-width: 900px) { /* Trigger breakpoint */

  /* Show the Hamburger */
  .menu-toggle {
    display: block;
    order: 2; /* Place it nicely */
  }

  /* Keep Lang switch visible, maybe move it */
  .lang-switch {
    margin-left: auto; /* Push to right */
    margin-right: 16px;
    padding-left: 0;
    border-left: none;
    order: 1;
  }

  /* THE MENU (Hidden state) */
  .menu {
    position: absolute;
    top: 100%; /* Push it exactly below the navbar */
    left: 0;
    width: 100%;
    
    /* Glass style matching the nav */
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    
    /* Layout */
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    
    /* Hide it nicely */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
  }

  /* THE MENU (Open state) */
  .menu.open {
    max-height: 400px; /* Big enough to fit all links */
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  /* Mobile Link Styling */
  .menu a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    border-left: 3px solid transparent; /* Marker for active */
  }

  .menu a:hover {
    background: rgba(255,255,255,0.05);
  }

  .menu a.active {
    background: rgba(41, 182, 246, 0.1); /* Subtle accent bg */
    border-left-color: var(--accent);
    color: #fff;
  }
  
  /* Remove the dot indicator from desktop style */
  .menu a.active::after {
    display: none;
  }

  /* Show imprint/privacy in mobile menu for convenience */
  .mobile-only-links {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-only-links a {
    font-size: 0.85rem;
    color: var(--muted);
  }
}