@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* --- PALETTE --- */
  --bg-deep: #020f0a;      
  --bg-panel: #061c15;     
  --surface: #ffffff;      
  
  --gold: #d4af37;         
  --gold-dim: #8a701e;     
  --mist: #e0e7e4;         
  --text-muted: #8c9e9a;   

  --border: 1px solid rgba(255, 255, 255, 0.08);
  --border-gold: 1px solid rgba(212, 175, 55, 0.3);
  
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");

  --font-head: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;
  
  --max: 1280px;
  --pad: clamp(20px, 5vw, 60px);
}

/* --- RESET --- */
* { box-sizing: border-box; outline: none; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--mist);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

body::before {
  content: ""; position: fixed; inset: 0;
  background-image: var(--noise);
  pointer-events: none; z-index: 9000;
  opacity: 0.07;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--surface); margin: 0; font-weight: 400; }
p { margin: 0 0 24px; color: var(--text-muted); max-width: 60ch; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { 
    max-width: var(--max); 
    margin: 0 auto; 
    padding: 0 var(--pad); 
    position: relative; 
    z-index: 2; 
    width: 100%;
}
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }

.label-mono {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  font-weight: 600;
}
.label-mono::before { content: ""; width: 20px; height: 1px; background: var(--gold); display: inline-block; }

.display-text {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  background: linear-gradient(to bottom right, #fff, #a8b3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-wrap: break-word;
}

/* --- GLASS CARDS --- */
.glass-panel {
  background: rgba(6, 28, 21, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border);
  padding: clamp(24px, 5vw, 40px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.glass-panel:hover {
  border: var(--border-gold);
  transform: translateY(-5px);
  background: rgba(6, 28, 21, 0.7);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 90px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background: rgba(2, 15, 10, 0.85);
  backdrop-filter: blur(10px);
  width: 100%;
}
.nav-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand-text { font-family: var(--font-head); font-size: 18px; color: var(--surface); letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 40px; }
.nav-links a { 
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500;
  color: rgba(255,255,255,0.6); position: relative;
}
.nav-links a:hover { color: var(--gold); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 36px;
  background: var(--gold); color: #020f0a;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700;
  border: none; cursor: pointer; transition: 0.3s ease;
  white-space: nowrap;
}
.btn:hover { background: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--surface);
  padding: 18px 36px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* --- GRIDS --- */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* --- FOOTER --- */
.footer { border-top: var(--border); padding: 100px 0 0; background: #010a07; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 80px; align-items: start; }
.footer h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 24px; }
.footer a { display: block; color: rgba(255,255,255,0.5); margin-bottom: 12px; font-size: 14px; }
.footer a:hover { color: var(--surface); }

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 11px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 20px;
}

/* --- SCROLL TO TOP BUTTON (Floating Left) --- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Floating on LEFT */
    width: 50px;
    height: 50px;
    background: var(--bg-panel);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
#scrollTopBtn.visible { opacity: 1; visibility: visible; }
#scrollTopBtn:hover { background: var(--gold); color: #000; transform: translateY(-5px); }

/* --- MOBILE & RESPONSIVE --- */
.mobile-toggle { display: none; background: none; border: none; color: white; cursor: pointer; padding: 0; }
.mobile-menu {
    position: fixed; inset: 0; background: var(--bg-deep); z-index: 998;
    padding: 100px 40px; display: none; flex-direction: column; gap: 30px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-family: var(--font-head); font-size: 32px; color: var(--surface); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Footer Mobile Stacking */
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 15px; }
  .footer-bottom > div { justify-self: center; }
  
  .container { padding: 0 24px; }
  
  .hero-grid div[style*="display: flex"] {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
  }
  .btn, .btn-outline { width: 100%; }
}