:root {
  --bg: #0f172a;
  --panel: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #22d3ee;
  --primary-dark: #06b6d4;
  --ok: #34d399;
  --warn: #fbbf24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1e293b, var(--bg));
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(156, 163, 175, 0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(34, 211, 238, 0.18);
}

main {
  flex: 1;
}

.hero {
  padding: 4rem 0 2rem;
}

.badge {
  display: inline-block;
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
  border: 1px solid rgba(34, 211, 238, 0.45);
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin: 0.85rem 0;
}

.hero p {
  color: var(--muted);
  max-width: 60ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.card {
  background: linear-gradient(180deg, #1f2937, #111827);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 1rem;
  padding: 1.15rem;
}

.card h2 {
  margin-top: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.mock-links {
  margin-bottom: 3.25rem;
}

.button-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  background: var(--primary);
  color: #06202a;
  text-decoration: none;
  font-weight: 700;
  padding: 0.68rem 1rem;
  border-radius: 0.7rem;
  transition: transform 0.15s, background-color 0.2s;
  border: 0;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.4rem;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.panel {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 1rem;
  padding: 1.15rem;
  margin-bottom: 1rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(156, 163, 175, 0.2);
}


@media (max-width: 768px) {
  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table th,
  .table td {
    white-space: nowrap;
  }
}

.status {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.status.ok {
  color: #052e1f;
  background: var(--ok);
}

.status.warn {
  color: #422006;
  background: var(--warn);
}

.helper-text {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.warning-text {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 0.65rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(156, 163, 175, 0.2);
  padding: 1rem 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.8rem;
  }

  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 500;
}

input {
  width: 100%;
  padding: 0.6rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(156, 163, 175, 0.35);
  background: #0b1220;
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.product-card {
  background: linear-gradient(180deg, #1f2937, #111827);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 1rem;
  padding: 1rem;
}

.product-card h3 {
  margin: 0.5rem 0;
}

.product-emoji {
  font-size: 2rem;
}

.product-price {
  color: #fff !important;
  font-weight: 700;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.button {
  border: 0;
  cursor: pointer;
  display: inline-block;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  width: min(760px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #111827;
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: 1rem;
  padding: 1rem;
}

.hidden {
  display: none;
}

.muted-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.button-secondary {
  background: rgba(156, 163, 175, 0.22);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(156, 163, 175, 0.35);
}

.floating-cart {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 20;
  background: var(--primary);
  color: #06202a;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}


.modal-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 30;
}

.modal-card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #0b1220;
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: 1rem;
  padding: 1rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.resume {
  padding: 2.5rem 0 3rem;
}

.resume-header {
  padding-bottom: 1.4rem;
  border-bottom: 2px solid rgba(156, 163, 175, 0.35);
}

.resume-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.resume-location {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.resume-links {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.resume-links a {
  color: #a5f3fc;
  text-decoration: none;
}

.resume-links a:hover {
  text-decoration: underline;
}

.resume-section {
  padding: 1.35rem 0;
  border-bottom: 2px solid rgba(156, 163, 175, 0.35);
}

.resume-section:last-child {
  border-bottom: none;
}

.resume-section h2 {
  margin: 0 0 0.9rem;
  font-size: 1.7rem;
}

.resume-section p,
.resume-section li {
  color: var(--text);
  line-height: 1.55;
}

.skills-list,
.languages-list,
.resume-section ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.experience-item + .experience-item,
.education-item + .education-item {
  margin-top: 1.1rem;
}

.experience-item h3,
.education-item h3 {
  margin: 0;
  font-size: 1.24rem;
}

.experience-meta {
  margin: 0.35rem 0 0.65rem;
  color: var(--muted);
}
