@font-face {
  font-family: "Satoshi";
  src: url("Satoshi-Variable.woff2") format("woff2"),
    url("Satoshi-Variable.woff") format("woff"),
    url("Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Satoshi";
  src: url("Satoshi-VariableItalic.woff2") format("woff2"),
    url("Satoshi-VariableItalic.woff") format("woff"),
    url("Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}

:root {
  --bg: #0d1118;
  --panel: #1b1f2a;
  --panel-2: #232734;
  --panel-3: #2b3140;
  --text: #eef2f7;
  --muted: #97a3b7;
  --accent: #50c2ff;
  --accent-2: #4ee7c1;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.35);
  --bg-gradient: conic-gradient(
      from 140deg at 15% 20%,
      rgba(80, 194, 255, 0.2),
      transparent 40%
    ),
    radial-gradient(circle at 80% 10%, rgba(78, 231, 193, 0.18), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(122, 109, 255, 0.18), transparent 45%);
  --glass: rgba(255, 255, 255, 0.03);
  --icon-fill: #e7edf7;
}

.theme-light {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-2: #eef1f6;
  --panel-3: #e1e6ee;
  --text: #1d2533;
  --muted: #4a5568;
  --accent: #0c7bdc;
  --accent-2: #0da18c;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: rgba(15, 23, 42, 0.1);
  --bg-gradient: linear-gradient(135deg, rgba(12, 123, 220, 0.12), transparent 40%),
    radial-gradient(circle at 75% 10%, rgba(13, 161, 140, 0.12), transparent 45%),
    radial-gradient(circle at 25% 80%, rgba(20, 72, 161, 0.12), transparent 50%);
  --glass: rgba(255, 255, 255, 0.7);
  --icon-fill: #1d2533;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Satoshi", system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient), var(--bg);
  color: var(--text);
}

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

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

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--icon-fill);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vscode-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vscode-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 40%
    ),
    linear-gradient(60deg, rgba(255, 255, 255, 0.04), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.traffic {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.title {
  font-weight: 600;
  font-size: 0.95rem;
}

.titlebar-nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.titlebar-nav a {
  transition: color 0.3s ease;
}

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

.titlebar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #07121c;
  box-shadow: 0 10px 20px rgba(79, 193, 255, 0.2);
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: var(--border);
  background: var(--glass);
  color: var(--text);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.workspace {
  display: grid;
  grid-template-columns: 64px 260px 1fr;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.activitybar {
  background: var(--panel-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 14px;
}

.activity-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  transition: background 0.3s ease, transform 0.3s ease;
}

.activity-icon svg {
  width: 24px;
  height: 24px;
}

.activity-icon:hover {
  background: rgba(79, 193, 255, 0.12);
  transform: translateY(-2px);
}

.sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-header {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filetree {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filetree-title {
  font-weight: 700;
  font-size: 0.85rem;
}

.file {
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}

.file:hover {
  background: rgba(79, 193, 255, 0.08);
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78, 231, 193, 0.15);
  color: var(--accent-2);
  font-weight: 600;
}

.editor {
  position: relative;
  padding: 32px 40px 80px;
  overflow-y: auto;
}

.editor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}

.tabbar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tab {
  padding: 8px 16px;
  border-radius: 10px 10px 0 0;
  background: var(--panel-3);
  color: var(--muted);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-bottom: none;
}

.tab.active {
  color: var(--text);
  background: var(--panel-2);
}

.panel {
  position: relative;
  z-index: 1;
  background: rgba(27, 31, 42, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 26px;
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(14px);
}

.theme-light .panel {
  background: rgba(255, 255, 255, 0.9);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title h2 {
  font-size: 1.4rem;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
  margin: 14px 0 16px;
}

.kicker {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-card {
  background: var(--panel-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
}

.hero-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 193, 255, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-icons {
  display: flex;
  gap: 12px;
}

.icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(79, 193, 255, 0.12);
}

.copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.project-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.project-card {
  min-width: 280px;
  max-width: 320px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(79, 193, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(79, 193, 255, 0.2);
}

.pj-img {
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dt {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.scroll-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.scroll-btn {
  background: var(--panel-3);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(79, 193, 255, 0.12);
}

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

.edu-card {
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.edu-card a {
  color: var(--accent);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.marketing-card {
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: grid;
  gap: 10px;
  min-height: 260px;
}

.content-links {
  display: grid;
  gap: 8px;
}

.content-links a {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(79, 193, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
  font-size: 0.92rem;
}

.content-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 193, 255, 0.4);
}

.skill-card {
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px;
  display: grid;
  gap: 10px;
  align-items: start;
}

.skill-card img {
  width: 40px;
  height: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
}

.contact-card {
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(79, 193, 255, 0.1);
  border: 1px solid rgba(79, 193, 255, 0.2);
}

.social-links svg {
  width: 28px;
  height: 28px;
  fill: var(--icon-fill);
  stroke: none;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  gap: 16px;
}

.terminal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-3);
  font-size: 0.8rem;
  min-width: 180px;
}

.terminal-search .prompt {
  color: var(--accent);
}

.terminal-search input {
  background: transparent;
  border: none;
  color: var(--text);
  outline: none;
  width: 100%;
  font-size: 0.8rem;
}

.search-hit {
  border-radius: 6px;
  background: rgba(80, 194, 255, 0.2);
  padding: 2px 4px;
}

.mobile-dock {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  animation: heroIntro 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .titlebar-nav {
    display: none;
  }

  .workspace {
    grid-template-columns: 60px 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  .titlebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .titlebar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .activitybar {
    display: none;
  }

  .editor {
    padding: 24px;
  }

  .panel {
    padding: 20px;
  }

  .hero {
    gap: 20px;
  }

  .project-grid {
    flex-direction: column;
    overflow: visible;
  }

  .project-card {
    max-width: none;
  }

  .scroll-controls {
    display: none;
  }

  .mobile-dock {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 10px 12px;
    position: sticky;
    bottom: 12px;
    margin: 0 16px 16px;
    border-radius: 999px;
    background: rgba(27, 31, 42, 0.85);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .mobile-dock a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
  }

  .mobile-dock svg {
    width: 22px;
    height: 22px;
  }
}
