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

:root {
  --bg-gradient: radial-gradient(circle at 0% 0%, #1d1b4c 0%, #020617 40%, #020617 60%, #000000 100%),
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.15), transparent 60%);
  --accent-gradient: linear-gradient(135deg, #2217f6, #6366f1, #fe168a, #f96e0a, #1ef46c);
  --btn-gradient-main: linear-gradient(120deg, #feef1c, #fb1b8b);
  --btn-gradient-main-hover: linear-gradient(300deg, #f1248b, #3026f1);
  --btn-gradient-secondary: linear-gradient(120deg, #00ff26, #09a8f8);
  --btn-gradient-secondary-hover: linear-gradient(300deg, #0019fb, #ff2200);
  --card-bg: rgba(2, 74, 242, 0.98);
  --card-border: rgb(138, 255, 4);
  --text-main: #00ddff;
  --text-muted: #d0fbfd;
  --accent: #0d4b9c;
  --accent-soft: rgba(255, 0, 0, 0.28);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.95);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --blur-strong: 26px;
  --transition-fast: 180ms ease-out;
  --transition-med: 260ms ease-out;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: var(--bg-gradient);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  position: relative;
  cursor: auto; /* keep default mouse arrow visible */
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(129, 140, 248, 0.8), transparent 60%);
  filter: blur(45px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -120px;
  left: -160px;
}

body::after {
  bottom: -160px;
  right: -200px;
  background: radial-gradient(circle at center, rgba(248, 113, 113, 0.85), transparent 60%);
}

.site-header {
  position: relative;
  isolation: isolate;
}

.navbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative; /* so mobile menu positions relative to navbar */
  z-index: 20;
}

.logo {
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00fff7;
  text-decoration: none;
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-inline: 4px;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-gradient);
  transform-origin: center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

.nav-links a:hover {
  color: #e5e7eb;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

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

.nav-profile {
  display: none;
  position: relative;
  align-items: center;
  gap: 8px;
}

.nav-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.7);
  cursor: pointer;
  border: 1.5px solid rgba(148, 163, 184, 0.7);
}

.nav-profile-chip {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
}

.nav-profile-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94)),
    radial-gradient(circle at 120% 0%, rgba(79, 70, 229, 0.4), transparent 55%),
    radial-gradient(circle at -20% 120%, rgba(236, 72, 153, 0.35), transparent 55%);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.98);
  min-width: 190px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--transition-med), transform var(--transition-med);
  z-index: 40;
}

.nav-profile.open .nav-profile-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-profile-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #ef4444, #facc15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #020617;
}

.nav-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-profile-info span {
  font-size: 0.75rem;
  line-height: 1.1;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav-toggle {
  display: none;
}

.btn {
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  padding: 9px 18px;
  font-size: 0.9rem;
  background-image: var(--btn-gradient-secondary);
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

.btn.primary {
  border: 2px solid rgb(34, 0, 255);
  background-image: var(--btn-gradient-main);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.65);
}

.btn.ghost {
  border: 2px solid rgb(34, 0, 255);
  background-image: var(--btn-gradient-secondary);
  background-size: 200% 200%;
}

.btn.small {
  border: 2px solid rgb(34, 0, 255);
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn.google {
  border: 2px solid rgb(34, 0, 255);
  background-image: var(--btn-gradient-secondary);
}

.btn:hover {
  border: 1.5px solid rgb(34, 255, 0);
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
  background-image: linear-gradient(300deg, #f96b06, #0044ff);
}

.btn.primary:hover {
  border: 1.5px solid rgb(34, 255, 0);
  background-image: var(--btn-gradient-main-hover);
}

.btn.google:hover {
  border: 1.5px solid rgb(34, 255, 0);
  background-image: linear-gradient(300deg, #f96b06, #0044ff);
}

#nav-login-btn,
.nav-actions .btn.small {
  border: 1.5px solid rgb(34, 0, 255);
  background-image: linear-gradient(120deg, #feef1c, #fb1b8b);
  color: #000000;
}

#nav-login-btn:hover,
.nav-actions .btn.small:hover {
  border: 1.5px solid rgb(0, 255, 0);
  background-image: linear-gradient(135deg, #00e0ff, #0044ff);
  color: #ff2525;
}

.hero {
  max-width: 1120px;
  margin: 12px auto 32px;
  padding: 32px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  box-shadow: 0 0px 30px rgb(228, 253, 38);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255, 6, 6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.15rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.dev-card {
  border: 1.5px solid rgb(255, 238, 0);
  position: relative;
  padding: 22px 20px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7));
  box-shadow: 0 10px 60px rgb(18, 255, 223);
  overflow: hidden;
}

.dev-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: conic-gradient(from 220deg, rgb(0, 255, 217), transparent 40%, rgba(255, 0, 38, 0.5), transparent 70%);
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.dev-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
}

.dev-card > * {
  position: relative;
  z-index: 1;
}

.dev-avatar {
  width: 60px;
  height: 40px;
  border: 1.5px solid rgb(34, 0, 255);
  border-radius: 10px;
  background: radial-gradient(circle at top left, #ef2e2e 35%, #f2ff3b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.dev-card h2 {
  margin-top: 16px;
  font-size: 1.2rem;
}

.dev-card p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dev-stack {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-stack li {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgb(255, 0, 0);
  font-size: 0.8rem;
}

.floating {
  transform: translateY(0);
  animation: float-soft 3s ease-in-out infinite;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0px) translateZ(0);
  }
  50% {
    transform: translateY(-10px) translateZ(0);
  }
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

.section-header h2 {
  font-size: 1.4rem;
}

.section-header p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cards-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  background: rgba(15, 23, 42, 0.86);
  border: 1.5px solid rgb(21, 255, 0);
  box-shadow: 0 16px 40px rgb(244, 14, 14);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.card:hover {
  transform: translateY(-4px) translateZ(0) scale(1.01);
  border-color: rgb(25, 0, 255);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 1);
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list {
  margin-top: 12px;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.tools-header-row {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tools-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tools-grid.empty-state {
  place-items: center;
}

.empty-message {
  box-shadow: 0 0px 40px rgb(0, 255, 229);
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 2px dashed rgb(255, 0, 0);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
}

.about-text p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border-radius: 20px;
  padding: 6px 10px;
  border: 1px solid rgb(255, 0, 0);
  background-color: rgba(71, 228, 252, 0.08);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-main);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.2;
  min-width: 140px;
  text-align: center;
}

.contact-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1.5px solid rgb(21, 255, 0);
  padding: 16px 16px 18px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0px 40px rgb(244, 14, 14);
}

.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.form-field {
  flex: 1;
}

.form-field.full {
  flex-basis: 100%;
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgb(68, 255, 0);
  background: rgba(15, 23, 42, 0.9);
  padding: 7px 10px;
  color: #b7dcde;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input:focus,
textarea:focus {
  border-color: rgb(255, 0, 0);
  box-shadow: 0 0 0 1px rgba(88, 91, 118, 0.7);
  background: rgba(0, 0, 0, 0.935);
}

textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 6px;
}

.form-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.login-panel {
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    radial-gradient(circle at 120% 0%, rgba(79, 70, 229, 0.6), transparent 60%),
    radial-gradient(circle at -20% 120%, rgba(236, 72, 153, 0.55), transparent 60%);
  border: 1px solid rgb(0, 255, 26);
  box-shadow: 0 0px 50px rgb(255, 0, 0);
}

.login-panel h3 {
  font-size: 1.05rem;
}

.login-panel p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.login-meta {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-main);
}

.login-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.google-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: conic-gradient(from 180deg, #0062ff, #04ff47, #ffbf00, #ff1f0b, #6366f1);
}

.google-icon.small {
  width: 11px;
  height: 11px;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto 16px;
  padding: 0 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer p {
  padding-top: 12px;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
}

.cursor-blob {
  display: none;
}

.cursor {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: radial-gradient(circle at center,
    rgb(255, 255, 11),   /* soft yellow center */
    transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(0);
  z-index: 9999;
}

@media (max-width: 880px) {
  .navbar {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94)),
      radial-gradient(circle at 120% 0%, rgba(79, 70, 229, 0.4), transparent 55%),
      radial-gradient(circle at -20% 120%, rgba(236, 72, 153, 0.35), transparent 55%);
    border: 1px solid rgba(148, 163, 184, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.98);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
    z-index: 30; /* above hero text */
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-actions {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 8px;
  }

  .about-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 16px;
  }

  .badge {
    font-size: 0.7rem;
  }

  .card,
  .contact-form,
  .login-panel {
    padding: 14px 12px 16px;
  }
}


/* Mobile nav auth buttons */
.nav-mobile-auth{display:none; gap:10px; width:100%; padding-top:8px; margin-top:6px; border-top:1px solid rgba(148,163,184,0.35);}
.nav-mobile-auth .btn{width:100%; justify-content:center;}

@media (max-width: 900px){
  .nav-mobile-auth{display:flex; flex-direction:column;}
  /* Keep header actions compact; auth buttons live inside slider */
  #nav-login-btn{display:none !important;}
  .nav-actions .btn.small{display:none !important;}
}
