@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Bebas+Neue&family=Rajdhani:wght@300;400;600;700&display=swap');

:root {
  --cyan: #00f5ff;
  --magenta: #ff006e;
  --yellow: #ffbe0b;
  --dark: #030508;
  --dark2: #0a0d14;
  --dark3: #111520;
  --text: #c8d6e5;
  --mono: 'Share Tech Mono', monospace;
  --display: 'Bebas Neue', cursive;
  --body: 'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); font-family: var(--body); font-size: 16px; overflow-x: hidden; cursor: none; }

body::before {
  content: ''; position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,245,255,0.012) 2px, rgba(0,245,255,0.012) 4px);
  pointer-events: none; z-index: 9000;
}

.cursor { position: fixed; width: 10px; height: 10px; background: var(--cyan); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--cyan); transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s; }
.cursor-ring { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(0,245,255,0.5); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, border-color 0.2s; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 22px 48px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(3,5,8,0.97), transparent); border-bottom: 1px solid rgba(0,245,255,0.07); backdrop-filter: blur(10px); }
.nav-logo { font-family: var(--display); font-size: 26px; color: var(--cyan); letter-spacing: 5px; text-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0,245,255,0.3); text-decoration: none; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--mono); font-size: 11px; color: var(--text); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; transition: all 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transition: width 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

/* HAMBURGER */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; width: 32px; height: 32px; padding: 4px; z-index: 1100; }
.nav-toggle span { display: block; width: 100%; height: 1px; background: var(--cyan); transition: all 0.3s; box-shadow: 0 0 6px var(--cyan); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* BUTTONS */
.btn-primary { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--dark); background: var(--cyan); border: none; padding: 16px 36px; text-decoration: none; transition: all 0.3s; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); box-shadow: 0 0 20px rgba(0,245,255,0.4); display: inline-block; }
.btn-primary:hover { background: #fff; box-shadow: 0 0 40px rgba(0,245,255,0.8); transform: translateY(-2px); }
.btn-secondary { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); background: transparent; border: 1px solid rgba(0,245,255,0.4); padding: 16px 36px; text-decoration: none; transition: all 0.3s; display: inline-block; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.btn-secondary:hover { background: rgba(0,245,255,0.08); border-color: var(--cyan); transform: translateY(-2px); }

/* SECTIONS */
section { padding: 100px 48px; position: relative; }
.section-header { display: flex; align-items: center; gap: 20px; margin-bottom: 64px; }
.section-tag { font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 3px; text-transform: uppercase; opacity: 0.7; }
.section-title { font-family: var(--display); font-size: clamp(48px, 6vw, 80px); color: #fff; letter-spacing: 3px; line-height: 1; }
.section-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(0,245,255,0.3), transparent); }

/* GLITCH */
.glitch { position: relative; display: block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; font-family: var(--display); }
.glitch::before { color: var(--magenta); animation: glitch1 4s infinite; clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
.glitch::after { color: var(--cyan); animation: glitch2 4s infinite; clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
@keyframes glitch1 { 0%,88%,100% { transform: translate(0); opacity: 0; } 90% { transform: translate(-4px, 2px); opacity: 0.9; } 92% { transform: translate(4px, -2px); opacity: 0.9; } 94% { transform: translate(-2px, 1px); opacity: 0.9; } 96% { transform: translate(0); opacity: 0; } }
@keyframes glitch2 { 0%,88%,100% { transform: translate(0); opacity: 0; } 91% { transform: translate(4px, 2px); opacity: 0.9; } 93% { transform: translate(-4px, -2px); opacity: 0.9; } 95% { transform: translate(2px, 0); opacity: 0.9; } 97% { transform: translate(0); opacity: 0; } }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

footer { background: var(--dark); border-top: 1px solid rgba(0,245,255,0.07); padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: var(--display); font-size: 20px; color: var(--cyan); letter-spacing: 4px; opacity: 0.6; }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--text); opacity: 0.3; letter-spacing: 1px; }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(3,5,8,0.98);
    backdrop-filter: blur(20px);
    padding: 100px 32px 48px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0,245,255,0.1);
    z-index: 1050;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid rgba(0,245,255,0.07); }
  .nav-links a { display: block; padding: 18px 0; font-size: 13px; opacity: 0.7; letter-spacing: 3px; }
  .nav-links a:hover { opacity: 1; }

  section { padding: 70px 24px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
}
