/* ============================================================
   MW SYSTEMS – style.css
   Michał Wilmowicz | mwsystems.pl
   ============================================================ */

/* --- Reset & Custom Properties --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #0f1f3d;
  --navy-mid:    #1a3260;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --cream:       #faf9f6;
  --cream2:      #f3f1ec;
  --text:        #1a1a2e;
  --text-muted:  #6b7280;
  --border:      #e2ddd5;
  --white:       #ffffff;
  --error:       #e24b4a;
  --ease:        0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Scroll reveal --- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  transition: box-shadow var(--ease);
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(15, 31, 61, 0.09);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-svg { width: 36px; height: 36px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--ease), transform var(--ease);
}
.nav-cta:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 52%; height: 120%;
  background: var(--navy);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 42%; right: 9%;
  width: 160px; height: 160px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-ring 3s ease-in-out infinite;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
h1 em { font-style: italic; color: var(--gold); }

.typed-cursor {
  display: inline-block;
  width: 3px;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: middle;
  animation: cursor-blink 0.8s step-end infinite;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin: 1.5rem 0 2.5rem;
  max-width: 420px;
  line-height: 1.85;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
  transition: background var(--ease), transform var(--ease);
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  width: 100%;
  max-width: 320px;
  position: relative;
  animation: float 4s ease-in-out infinite;
}
.hero-card-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}
.hero-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--cream2);
}
.metric-row:last-child { border-bottom: none; }
.metric-label { font-size: 0.78rem; color: var(--text-muted); }
.metric-val   { font-size: 0.82rem; font-weight: 500; color: var(--navy); }
.metric-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 0.45rem;
  display: inline-block;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 4rem; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h2 em { font-style: italic; }
.section-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 1rem;
  max-width: 520px;
  line-height: 1.85;
}
.gold-line { width: 52px; height: 2px; background: var(--gold); margin: 1.25rem 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: default;
}
.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 31, 61, 0.08);
}
.service-card.featured  { border-color: var(--gold);  background: var(--navy); }
.service-card.featured2 { border-color: #3b5ea6; background: var(--navy-mid); }

.service-card.featured  .svc-icon { background: rgba(201, 168, 76, 0.15); }
.service-card.featured2 .svc-icon { background: rgba(59, 94, 166, 0.25); }

.service-card.featured  .svc-name,
.service-card.featured2 .svc-name { color: var(--white); }

.service-card.featured  .svc-desc,
.service-card.featured2 .svc-desc { color: rgba(255, 255, 255, 0.62); }

.service-card.featured  .svc-tag { background: rgba(201, 168, 76, 0.18); color: var(--gold-light); }
.service-card.featured2 .svc-tag { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85); }

.svc-icon {
  width: 44px; height: 44px;
  background: var(--cream2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.svc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.svc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--cream2);
  color: var(--navy);
  padding: 0.22rem 0.58rem;
  border-radius: 2px;
  text-transform: uppercase;
}
.featured-badge, .featured2-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.58rem;
  border-radius: 2px;
  color: var(--white);
}
.featured-badge  { background: var(--gold); }
.featured2-badge { background: #4a7fd4; }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-section { background: var(--navy); padding: 5rem 5%; }
.tech-inner   { max-width: 1200px; margin: 0 auto; }
.tech-header  { margin-bottom: 3rem; }
.tech-header h2    { color: var(--white); }
.tech-header h2 em { color: var(--gold); }
.tech-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  font-weight: 300;
  line-height: 1.8;
}
.tech-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.tech-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  transition: background var(--ease), border-color var(--ease);
}
.tech-group:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.3);
}
.tech-group-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.tech-list { display: flex; flex-direction: column; gap: 0.65rem; }
.tech-item { display: flex; align-items: center; justify-content: space-between; }
.tech-name { font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); }
.tech-badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  text-transform: uppercase;
}
.tb-core     { background: rgba(201, 168, 76, 0.2);  color: var(--gold-light); }
.tb-solid    { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.65); }
.tb-learning { background: rgba(74, 127, 212, 0.2);  color: #7aaee8; border: 1px solid rgba(74,127,212,0.3); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-box {
  background: var(--navy);
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.about-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid rgba(201, 168, 76, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}
.photo-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 90px; height: 90px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}
.about-accent-dot {
  position: absolute;
  top: 24px; left: -12px;
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
}
.about-content p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}
.value-item {
  padding: 1.1rem 1.25rem;
  background: var(--cream2);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  transition: transform var(--ease);
}
.value-item:hover { transform: translateX(3px); }
.value-icon  { font-size: 1rem; margin-bottom: 0.4rem; }
.value-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.value-val { font-size: 0.88rem; font-weight: 500; color: var(--navy); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--cream2); padding: 6rem 5%; }
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p {
  font-size: 0.97rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  margin: 1rem 0 2rem;
}
.contact-links { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all var(--ease);
}
.contact-link:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.cl-icon { width: 22px; text-align: center; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color var(--ease);
}
.form-input:focus,
.form-textarea:focus { border-color: var(--navy); }
.form-input.error,
.form-textarea.error { border-color: var(--error); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.9rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  transition: background var(--ease), transform var(--ease);
}
.form-submit:hover    { background: var(--navy-mid); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 60px; height: 60px;
  background: rgba(201, 168, 76, 0.12);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.45); padding: 2.5rem 5%; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-text span { color: var(--gold); }
footer p { font-size: 0.78rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(15, 31, 61, 0.2);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover   { background: var(--gold); }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(1.08); opacity: 0.8; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-photo-wrap { display: none; }
  .contact-inner    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .form-grid    { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .tech-groups  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tech-groups   { grid-template-columns: 1fr; }
  .about-values  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
#projekty {
  display: none;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.project-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 31, 61, 0.08);
}
.project-card--add {
  border-style: dashed;
  border-color: var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  cursor: default;
}
.project-card--add:hover {
  border-color: var(--gold);
  transform: none;
  box-shadow: none;
}
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-icon {
  font-size: 1.6rem;
}
.project-status {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.project-status--soon  { background: rgba(201,168,76,0.12); color: var(--gold); border: 1px solid rgba(201,168,76,0.35); }
.project-status--live  { background: rgba(92,184,92,0.12);  color: #4caf50;    border: 1px solid rgba(92,184,92,0.35); }
.project-status--wip   { background: rgba(74,127,212,0.12); color: #4a7fd4;    border: 1px solid rgba(74,127,212,0.35); }

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--cream2);
  color: var(--navy);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}
.project-footer { margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.project-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--ease);
}
.project-link:hover           { color: var(--gold); }
.project-link--disabled       { color: var(--text-muted); cursor: default; font-size: 0.78rem; }
.project-add-inner            { text-align: center; }
.project-add-icon             { font-size: 2rem; color: var(--border); margin-bottom: 0.5rem; }
.project-add-label            { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); }
.project-add-sub              { font-size: 0.75rem; color: var(--border); margin-top: 0.25rem; }

/* ============================================================
   HERO TERMINAL WIDGET
   ============================================================ */
.hero-terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 10px;
  width: 100%;
  max-width: 340px;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: float 4s ease-in-out infinite;
}
.ht-header {
  background: #161b22;
  border-bottom: 1px solid #30363d;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ht-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.ht-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #8b949e;
  letter-spacing: 0.04em;
  font-family: 'DM Sans', sans-serif;
}
.ht-body {
  padding: 1rem 1.1rem;
  min-height: 130px;
}
.ht-line-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.ht-prompt { color: var(--gold); font-size: 0.88rem; }
.ht-cmd    { color: #e6edf3; font-size: 0.82rem; }
.ht-tcursor {
  color: var(--gold);
  font-size: 0.82rem;
  animation: cursor-blink 0.8s step-end infinite;
}
.ht-output { font-size: 0.78rem; line-height: 1.7; }
.ht-output .ht-key   { color: #79c0ff; }
.ht-output .ht-val   { color: #a5d6ff; }
.ht-output .ht-str   { color: #a8daab; }
.ht-output .ht-num   { color: var(--gold-light); }
.ht-output .ht-dim   { color: #8b949e; }
.ht-output .ht-ok    { color: #5cb85c; }
.ht-output .ht-warn  { color: var(--gold); }
.ht-footer {
  background: #161b22;
  border-top: 1px solid #30363d;
  padding: 0.45rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ht-clock { font-size: 0.7rem; color: #8b949e; letter-spacing: 0.06em; }
.ht-loc   { font-size: 0.7rem; color: #8b949e; }
