/* Cyberpunk dark neon style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700;800&display=swap');

:root{
  --bg:#070717;
  --panel:#0b0b1a;
  --neon-main:#00bfff;
  --neon-accent:#d84cff;
  --neon-pink:#ff2fe6;
  --muted:#9a9ac1;
  --glass: rgba(255,255,255,0.04);
  --radius:14px;
}

*{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:
    radial-gradient(1200px 600px at 10% 10%, rgba(13,7,40,0.6), transparent 10%),
    radial-gradient(800px 400px at 90% 80%, rgba(20,7,60,0.5), transparent 10%),
    var(--bg);
  color:#e6e6ff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding-bottom:60px;
}

/* Page container */
.container{
  max-width:1150px;
  margin:0px auto;
  padding:32px;
}

/* Header / nav */
.header{
  position:fixed;
  left:0; right:0;
  top:0;
  z-index:60;
  display:flex;
  justify-content:center;
  pointer-events:none;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:12px;
  backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,0.03);
  box-shadow: 0 6px 30px rgba(7,6,20,0.6);
}
.header-inner{
  width:100%;
  max-width:1200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:auto;
  padding:10px 20px;
}

/* logo area */
.logo{
  display:flex; align-items:center;
  gap:14px;
}
.logo img{height:48px; width:auto; display:block; filter: drop-shadow(0 8px 18px rgba(0,191,255,0.06));}
.brand{
  display:flex; flex-direction:column; line-height:1;
}
.brand .title{font-weight:800; letter-spacing:1px; font-size:14px; color:var(--neon-main); text-shadow:0 6px 18px rgba(0,191,255,0.08)}
.brand .sub{font-size:11px; color:var(--muted)}

/* nav links */
.nav{
  display:flex; gap:18px; align-items:center;
}
.nav a{
  color:var(--muted); text-decoration:none; font-weight:600; font-size:14px; padding:8px 10px; border-radius:8px;
  position:relative;
}
.nav a.active, .nav a:hover{
  color: #eaf2ff;
}
.nav a::after{
  content:""; height:2px; width:0; background:linear-gradient(90deg,var(--neon-main),var(--neon-accent)); position:absolute; left:12px; bottom:6px; transition:width .28s ease;
}
.nav a:hover::after{ width: calc(100% - 24px); }

/* lang switch */
.lang-switch{display:flex; gap:8px; align-items:center}
.lang-btn{
  padding:6px 8px; border-radius:8px; font-size:13px; cursor:pointer; color:var(--muted); border:1px solid rgba(255,255,255,0.03);
  background:transparent;
}
.lang-btn.active{ color: #fff; box-shadow:0 6px 18px rgba(216,76,255,0.08); border:1px solid rgba(216,76,255,0.16);}

/* Hero */
.hero{
  margin-top:80px;
  display:grid;
  grid-template-columns:1fr 420px;
  gap:30px;
  align-items:center;
}
.hero .left{
}
.h-title{
  font-size:44px; line-height:1.02; margin:0 0 14px; font-weight:800;
  text-shadow: 0 6px 30px rgba(216,76,255,0.06);
}
.h-sub{color:var(--muted); margin-bottom:20px; font-size:16px}

/* CTA */
.cta{
  display:flex; gap:12px; align-items:center;
}
.btn{
  padding:12px 18px; border-radius:12px; font-weight:700; font-size:14px; cursor:pointer;
  background:linear-gradient(90deg,var(--neon-main),var(--neon-accent)); color:#06060b; border:none; box-shadow:0 12px 40px rgba(0,191,255,0.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn.ghost{
  background:transparent; color:var(--neon-main); border:1px solid rgba(0,191,255,0.14);
}
.btn:hover{ transform:translateY(-4px); }

/* right neon card */
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:16px; padding:20px; border:1px solid rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 20px 50px rgba(7,6,20,0.5);
  position:relative; overflow:hidden;
}
.neon-line{ position:absolute; left:-40%; top:0; width:180%; height:3px; background:linear-gradient(90deg,var(--neon-main),var(--neon-accent)); opacity:0.08; transform:skewX(-15deg); }

/* sections */
.section{ margin-top:56px; padding:28px; border-radius:14px; background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent); border:1px solid rgba(255,255,255,0.02); }
.section h3{ margin:0 0 12px; font-size:20px; color:var(--neon-accent) }

/* cards grid */
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px;}
.card{
  padding:18px; border-radius:12px; background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border:1px solid rgba(255,255,255,0.02);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 18px 60px rgba(11,10,30,0.6); }
.card h4{ margin:0 0 8px; color:var(--neon-main) }
.card p{ color:var(--muted); font-size:14px; margin:0 }

/* footer */
.footer{
  margin-top:60px; padding:20px; display:flex; justify-content:space-between; align-items:center; color:var(--muted);
  font-size:13px;
}

/* responsive */
@media (max-width:650px){
  .hero{ grid-template-columns:1fr; gap:18px; margin-top:90px; }
  .grid{ grid-template-columns:repeat(1,1fr) }
  .container{ padding:18px }
  .header-inner{ padding:10px 12px; justify-content: space-between; }
  
  /* Mobile drawer menu */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    background: var(--panel);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1001; /* Above overlay */
    gap: 0;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    text-align: left;
  }
  
  .nav a:last-child {
    border-bottom: none;
  }
  
  .lang-switch {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: var(--neon-main);
    background: transparent;
    border: none;
    padding: 5px;
    z-index: 1002; /* Above nav */
  }
  
  /* Hide hamburger when menu is open */
  .nav.active ~ .menu-toggle {
    display: none !important;
  }
  
  /* Overlay when menu is open */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 59; /* Lower than nav but above content */
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  /* Footer mobile layout */
  .footer {
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 10px;
    text-align: center;
  }

  .footer div{
    text-align: center;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width:650px) {
  .menu-toggle {
    display: block;
  }
}
