:root {
  --bg: #0a0a0a;
  --bg-elevated: rgba(20, 20, 20, 0.85);
  --bg-elevated-soft: rgba(20, 20, 20, 0.6);
  --surface: rgba(15, 15, 15, 0.95);
  --surface-soft: rgba(15, 15, 15, 0.85);
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent: #00d4ff;
  --accent-soft: rgba(0, 212, 255, 0.12);
  --accent-strong: #00b8d4;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --nav-height: 72px;
}

body.light-mode {
  --bg: #f3f4f6;
  --bg-elevated: rgba(255, 255, 255, 0.9);
  --bg-elevated-soft: rgba(255, 255, 255, 0.8);
  --surface: rgba(249, 250, 251, 0.96);
  --surface-soft: rgba(243, 244, 246, 0.96);
  --text: #111827;
  --muted: #6b7280;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-strong: #1d4ed8;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.light-mode {
  background: #f5f3e8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  flex: 1;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 96px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

.glass-blur {
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-blur:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  margin: 16px auto 0;
  width: min(1200px, 100% - 48px);
  background: var(--bg-elevated);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: radial-gradient(circle at 10% 0, var(--accent-strong), transparent 55%),
    radial-gradient(circle at 90% 100%, #4f46e5, transparent 60%), rgba(15, 23, 42, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.logo-text {
  font-weight: 600;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 50;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
  font-weight: 500;
  font-size: 13px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

body[data-page="profile"] .nav a[href="profile.html"],
body[data-page="goals"] .nav a[href="goals.html"],
body[data-page="projects"] .nav a[href="projects.html"],
body[data-page="skills"] .nav a[href="skills.html"],
body[data-page="contact"] .nav a[href="contact.html"] {
  color: var(--accent);
}

body[data-page="profile"] .nav a[href="profile.html"]::after,
body[data-page="goals"] .nav a[href="goals.html"]::after,
body[data-page="projects"] .nav a[href="projects.html"]::after,
body[data-page="skills"] .nav a[href="skills.html"]::after,
body[data-page="contact"] .nav a[href="contact.html"]::after {
  transform: scaleX(1);
}

.theme-toggle {
  border-radius: 999px;
  width: 46px;
  height: 26px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.55), transparent 55%),
    rgba(15, 23, 42, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
  cursor: pointer;
  color: #f9fafb;
  font-size: 12px;
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  opacity: 0.4;
  transform: scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

body.dark-mode .theme-icon-moon,
body.light-mode .theme-icon-sun {
  opacity: 1;
  transform: scale(1);
  background: var(--accent-soft);
}

.hero {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 280px;
  padding-block: 38px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-family: "Gilroy", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(48px, 10vw, 80px);
  line-height: 0.92;
  margin: 0 0 32px 0;
  text-transform: uppercase;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.hero-title .hero-accent {
  letter-spacing: 0;
}

.hero-accent {
  color: var(--accent-strong);
}

.hero-subtitle {
  margin: 0 0 24px 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 16px;
}

.accent {
  color: var(--accent-strong);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease,
    color 0.16s ease;
}

.btn.primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
  background: var(--accent-strong);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--muted);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.btn.full-width {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  font-size: 11px;
}

.pill-outline {
  background: transparent;
}

.hero-showcase {
  flex: 1 1 260px;
  padding: 18px;
  max-width: 420px;
  margin-left: auto;
}

.hero-window {
  border-radius: calc(var(--radius-lg) - 8px);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.22), transparent 60%), var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.hero-window-header {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red {
  background: #fb7185;
}

.dot.yellow {
  background: #facc15;
}

.dot.green {
  background: #4ade80;
}

.hero-window-title {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
}

.hero-window-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}

.hero-stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-stat .value {
  display: block;
  margin-top: 4px;
}

.section {
  padding-block: 64px;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-family: "Gilroy", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 52px);
  margin: 0 0 16px 0;
  letter-spacing: -0.06em;
  font-weight: 700;
  line-height: 1.1;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 15px;
}

.card {
  padding: 28px 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.card-title {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.card-body {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.card-body.small {
  font-size: 14px;
}

.profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  flex: 1;
}

.profile-grid .card {
  flex: 1 1 260px;
}

.profile-layout {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.profile-photo-section {
  flex: 0 0 280px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.profile-photo-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo-wrapper {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.2), transparent 60%), var(--surface);
  margin-bottom: 12px;
  position: relative;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.profile-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.profile-photo-wrapper:hover .profile-photo {
  opacity: 0.15;
}

.profile-photo-follow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 18px;
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
  mix-blend-mode: normal;
  z-index: 10;
  left: 0;
  top: 0;
}

.profile-photo-follow:hover {
  background: var(--accent-strong);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.profile-photo-wrapper.hovering-photo .profile-photo-follow {
  opacity: 1;
}

.profile-photo-wrapper.hovering-photo .profile-photo {
  opacity: 0.15;
}

.cursor-dot {
  transition: opacity 0.2s ease;
}

.profile-photo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.profile-photo-caption {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  font-size: 15px;
  color: var(--muted);
}

.profile-list li + li {
  margin-top: 6px;
}

.goals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.goals-grid .card {
  flex: 1 1 260px;
}

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, var(--accent-soft), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.quote-mark {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent-strong);
  position: relative;
  z-index: 1;
}

.quote-text {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.quote-attribution {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.projects-bento {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  flex: 1 1 280px;
}

.project-card:nth-child(3) {
  flex-basis: 100%;
}

.project-card-accent {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.08));
}

.project-media {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.25), transparent 60%), var(--surface);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.placeholder-label {
  font-size: 13px;
  color: var(--muted);
}

.project-content {
  font-size: 14px;
}

.project-title {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.project-description {
  margin: 0 0 8px 0;
  color: var(--muted);
}

.project-tech {
  margin: 0 0 10px 0;
  font-size: 13px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-link {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.project-link:hover {
  background: var(--surface-soft);
  color: var(--text);
  transform: translateY(-1px);
}

.project-link.primary-link {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.skills-grid .card {
  flex: 1 1 260px;
}

.skill {
  margin-top: 10px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.skill-bar {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.8);
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
  animation: grow-skill 1.4s ease-out forwards;
  animation-delay: 0.15s;
}

@keyframes grow-skill {
  from {
    width: 0;
  }
  to {
    width: var(--skill-level);
  }
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-grid .card {
  flex: 1 1 260px;
}

form {
  margin-top: 6px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
}

.field label {
  color: var(--muted);
}

.field input,
.field textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: var(--surface);
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
}

.field-error input,
.field-error textarea {
  border-color: #f97373;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.contact-info {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: 14px;
}

.contact-pill-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 100;
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3);
}

@media (max-width: 768px) {
  .cursor-dot {
    display: none;
  }
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
  padding-block: 16px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

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

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
  }

  .hero-showcase {
    order: -1;
    margin-left: 0;
    align-self: stretch;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 45;
  }

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

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
  }

  .site-header {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
  }

  .header-inner {
    padding-inline: 16px;
    gap: 12px;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hero {
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    padding-block: 24px;
  }

  .hero-showcase {
    order: -1;
    margin-left: 0;
    align-self: stretch;
    max-width: 100%;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .profile-layout {
    flex-direction: column;
    gap: 24px;
  }

  .profile-photo-section {
    flex: 0 0 auto;
    justify-content: center;
  }

  .profile-photo-card {
    max-width: 100%;
  }

  .profile-photo-wrapper {
    max-width: 200px;
    margin: 0 auto 12px;
  }

  .profile-grid {
    flex-direction: column;
  }

  .profile-grid .card {
    flex: 1 1 auto;
  }

  .goals-grid,
  .skills-grid,
  .contact-grid,
  .projects-bento {
    flex-direction: column;
  }

  .goals-grid .card,
  .skills-grid .card,
  .contact-grid .card {
    flex: 1 1 auto;
  }

  .project-card {
    flex: 1 1 auto;
  }

  .section {
    padding-block: 32px;
  }

  .section-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .container {
    width: 100%;
    padding-inline: 16px;
  }

  .page {
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-inline: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .section-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .card {
    padding: 16px;
  }

  .profile-photo-wrapper {
    max-width: 280px;
    margin: 0 auto 12px;
  }
}
.ceo{
  color: var(--accent);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}