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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #1a1a24;
  --surface3: #22222f;
  --border: #2a2a3a;
  --border2: #38384a;
  --accent: #00d3f3;
  --accent2: #33e5ff;
  --accent-glow: rgba(0,211,243,0.18);
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --text: #e8e8f0;
  --text2: #9090a8;
  --text3: #5a5a72;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Syne', sans-serif;
  --radius: 10px;
}

html, body { 
  height: 100%; 
  background: var(--bg); 
  color: var(--text); 
  font-family: var(--sans);
}

body { margin: 0; }

/* ---- HEADER ---- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.header-logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 18px var(--accent2); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent2);
}

/* ---- CONTENT ---- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00d9ff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 60px;
  line-height: 1.6;
}

.section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent2);
}

.section-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
}

.section-content p {
  margin-bottom: 16px;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.code-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 13px;
  overflow-x: auto;
  margin: 20px 0;
  color: var(--accent2);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.tech-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.tech-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.tech-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 8px;
}

.tech-desc {
  font-size: 13px;
  color: var(--text3);
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
}

.list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ---- CTA SECTION ---- */
.cta {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-top: 80px;
}

.cta-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #00d9ff, var(--accent));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---- FOOTER ---- */
.footer {
  padding: 8px 40px;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 22px;
  }

  .container {
    padding: 40px 20px;
  }
}

/* ---- GLASSMORPHISM SECTION ---- */
.glass-section {
  position: relative;
  padding: 15px 40px;
  background: linear-gradient(135deg, rgba(0,211,243,0.05) 0%, rgba(51,229,255,0.03) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0 40px 0;
}

.glass-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(17, 17, 24, 0.4);
  border: 1.5px solid rgba(0, 211, 243, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 8px 32px rgba(0, 211, 243, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.glass-header {
  text-align: center;
  margin-bottom: 16px;
}

.glass-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-subtitle {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

.glass-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(0,211,243,0.15) 0%, rgba(51,229,255,0.1) 100%);
  border: 1.5px solid rgba(0, 211, 243, 0.3);
  color: var(--accent);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.glass-btn:hover {
  background: linear-gradient(135deg, rgba(0,211,243,0.25) 0%, rgba(51,229,255,0.2) 100%);
  border-color: rgba(0, 211, 243, 0.5);
  box-shadow: 
    0 0 20px rgba(0, 211, 243, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.glass-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 16px;
  display: inline-block;
}

.btn-text {
  font-weight: 600;
}

.github-btn {
  background: linear-gradient(135deg, rgba(0,211,243,0.2) 0%, rgba(51,229,255,0.15) 100%);
  border-color: rgba(0, 211, 243, 0.4);
}

.github-btn:hover {
  background: linear-gradient(135deg, rgba(0,211,243,0.3) 0%, rgba(51,229,255,0.25) 100%);
  box-shadow: 
    0 0 25px rgba(0, 211, 243, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.share-btn {
  background: linear-gradient(135deg, rgba(51,229,255,0.15) 0%, rgba(0,211,243,0.1) 100%);
  border-color: rgba(51, 229, 255, 0.3);
  color: var(--accent2);
}

.share-btn:hover {
  background: linear-gradient(135deg, rgba(51,229,255,0.25) 0%, rgba(0,211,243,0.2) 100%);
  border-color: rgba(51, 229, 255, 0.5);
  box-shadow: 
    0 0 25px rgba(51, 229, 255, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .glass-section {
    padding: 40px 20px;
  }

  .glass-container {
    padding: 24px;
  }

  .glass-title {
    font-size: 22px;
  }

  .glass-subtitle {
    font-size: 13px;
  }

  .glass-actions {
    flex-direction: column;
  }

  .glass-btn {
    width: 100%;
    justify-content: center;
  }
}
