:root{
  --bg-900: #0f0f0f;
  --bg-800: #151515;
  --surface: #2a2a2a;
  --muted: #8a8a8a;
  --white: #ffffff;
  --accent: #bfc3c6; /* subtle silver */
  --container: 1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:linear-gradient(180deg,var(--bg-900),var(--bg-800));
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{width:90%;max-width:var(--container);margin:0 auto}

/* Header / Nav */
.site-header{position:fixed;left:0;right:0;top:0;z-index:50;background:rgba(15,15,15,0.55);backdrop-filter:blur(6px);box-shadow:0 1px 0 rgba(255,255,255,0.02)}
.nav-container{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.brand{display:flex;align-items:center;text-decoration:none}
.logo-img{height:36px;width:auto;display:block;filter:grayscale(100%) brightness(120%)}
.hero-logo, .footer-logo { filter:grayscale(100%) brightness(120%); }

/* CSS blending to reduce visible black background on JPG logos.
   This attempts to blend the black area into dark backgrounds when a transparent asset isn't available. */
.brand .logo-img, .hero-logo, .footer-logo {
  /* Stronger CSS technique: use mix-blend-mode with multiply and an overlay to reduce black edges */
  mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0));
  /* slightly reduce contrast so black areas blend more */
  filter: brightness(1.05) contrast(0.9);
  /* ensure logo sits on a dark container to mask borders */
  isolation: isolate;
}

/* Add a dark pseudo-layer behind logos to visually mask remaining black */
.brand .logo-img::before, .hero-logo::before, .footer-logo::before{
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(15,15,15,1), rgba(15,15,15,1));
  z-index: -1;
}

/* Fallback for browsers without mix-blend-mode support */
@supports not (mix-blend-mode: screen) {
  .brand .logo-img, .hero-logo, .footer-logo { filter: brightness(1.02) contrast(0.88); opacity:0.98 }
}
.nav{display:flex}
.nav-links{list-style:none;margin:0;padding:0;display:flex;gap:28px}
.nav-link{color:var(--white);text-decoration:none;font-weight:600;opacity:0.95}
.nav-link:hover{opacity:1}

.nav-toggle{display:none;background:none;border:0;flex-direction:column;gap:6px;padding:6px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--white);opacity:0.9}

/* Hero */
.section-hero{min-height:100vh;display:flex;align-items:center;padding-top:110px;padding-bottom:80px;position:relative;overflow:hidden}
.section-hero{
  /* Background image with dark overlay to maintain high contrast for text */
  background-image:linear-gradient(rgba(10,10,10,0.66), rgba(10,10,10,0.66)), url('assets/bg.jpg');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

.section-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  /* darken the hero background more for better text contrast */
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
  pointer-events: none;
}

.hero-brand{text-align:center;max-width:920px;position:relative;z-index:2}
.hero-logo{height:120px;width:auto;display:block;margin:0 auto 22px;filter:grayscale(100%) brightness(120%)}
.hero-title{font-size:64px;letter-spacing:2px;margin:6px 0;font-weight:800;color:var(--white);text-shadow:0 6px 24px rgba(0,0,0,0.6)}
.hero-sub{font-size:20px;margin:6px 0;color:rgba(255,255,255,0.9);font-weight:600}
.hero-desc{max-width:780px;margin:18px auto 28px;color:rgba(255,255,255,0.78);font-size:16px}
.hero-inner{display:flex;align-items:center;justify-content:center}
.hero-brand{text-align:center;max-width:920px}
.hero-logo{height:120px;width:auto;display:block;margin:0 auto 22px;filter:grayscale(100%) brightness(120%)}
.hero-title{font-size:64px;letter-spacing:2px;margin:6px 0;font-weight:800}
.hero-sub{font-size:20px;margin:6px 0;color:var(--accent);font-weight:600}
.hero-desc{max-width:780px;margin:18px auto 28px;color:var(--muted);font-size:16px}
.hero-ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:12px 22px;border-radius:8px;text-decoration:none;font-weight:700}
.btn-primary{background:var(--white);color:var(--bg-900)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,0,0,0.6)}
.btn-outline{border:1px solid rgba(255,255,255,0.14);color:var(--white);background:transparent}
.btn-outline:hover{background:rgba(255,255,255,0.02);transform:translateY(-2px)}

/* Sections */
.section{padding:70px 0}
.section-header{margin-bottom:28px;text-align:center}
.section-header h2{font-size:28px;margin:0;font-weight:700}
.muted{color:var(--muted);margin-top:8px}

.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:20px;border-radius:10px;border:1px solid rgba(255,255,255,0.03)}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted)}

.pack-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pack-card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:18px;border-radius:10px;border:1px solid rgba(255,255,255,0.03);min-height:140px;display:flex;flex-direction:column;justify-content:space-between}
.pack-card h4{margin:0 0 6px}
.pack-card p{margin:0;color:var(--muted)}
.label{display:inline-block;margin-top:12px;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,0.04);font-weight:600;font-size:12px}

.section-cta{background:linear-gradient(180deg, rgba(20,20,20,0.8), rgba(15,15,15,0.9));padding:60px 0}
.cta-inner{text-align:center}
.cta-title{font-size:28px;margin:0 0 18px}

.contact-form{max-width:720px;margin:0 auto}
.form-row{display:flex;flex-direction:column;margin-bottom:14px}
.form-row label{font-size:13px;margin-bottom:6px;color:var(--accent)}
.form-row input,.form-row textarea{background:var(--surface);border:1px solid rgba(255,255,255,0.04);color:var(--white);padding:12px;border-radius:8px}
.form-row input::placeholder,.form-row textarea::placeholder{color:rgba(255,255,255,0.35)}
.form-actions{text-align:right}

.site-footer{border-top:1px solid rgba(255,255,255,0.03);padding:28px 0;margin-top:40px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-logo{height:34px}
.footer-stmt{margin:6px 0 0;color:var(--muted)}

/* Reveal animations */
.section-reveal .reveal-card, .reveal-card{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal-card.visible{opacity:1;transform:none;transition-duration:900ms}

/* Entrance animations */
.hero-logo, .hero-title, .hero-sub, .hero-desc, .hero-ctas{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .9s cubic-bezier(.2,.9,.2,1), transform .9s cubic-bezier(.2,.9,.2,1);
}
.animate-in{opacity:1;transform:none}

/* Staggered reveal for scroll elements - uses --delay custom property */
.animate-up{opacity:1;transform:none;transition-delay:calc(var(--delay,0ms) + 180ms)}


/* Responsive */
@media (max-width:1000px){
  .about-grid{grid-template-columns:repeat(2,1fr)}
  .pack-grid{grid-template-columns:repeat(2,1fr)}
  .hero-title{font-size:48px}
  .hero-logo{height:96px}
}

@media (max-width:640px){
  .nav{display:none}
  .nav-toggle{display:flex}
  .nav.open{display:block;position:absolute;right:18px;top:64px;background:linear-gradient(180deg,rgba(20,20,20,0.95),rgba(15,15,15,0.95));padding:12px;border-radius:8px}
  .nav-links{flex-direction:column;gap:12px}
  .section-header h2{font-size:22px}
  .hero-title{font-size:36px}
  .about-grid{grid-template-columns:1fr}
  .pack-grid{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;align-items:flex-start}
}

/* Utility */
.hidden{display:none}

