/* ============================================================
   Tails & Toys project page
   Brand colour: #0ea5e9 (portfolio blue)
   ============================================================ */

:root {
  --brand:     #0ea5e9;
  --brand-lt:  #e0f2fe;
  --brand-glow:rgba(14,165,233,0.18);
}

body {
  background: #f8fafc;
  color: #334155;
  padding: 0;
  max-width: none;
}

/* Hero */
.project-hero {
  min-height: 68vh;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  background-image:
    linear-gradient(135deg, var(--dark), var(--dark-2)),
    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: auto, 42px 42px, 42px 42px;
  color: white;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
}

.project-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.back-link {
  display: inline-block;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  transition: color 0.3s;
}
.back-link:hover { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.8rem;
}

.project-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.project-subtitle {
  font-size: 1.2rem;
  color: #7dd3fc;
  margin-bottom: 2.5rem;
}

.project-meta {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.meta-value { font-size: 1rem; font-weight: 500; color: white; }

.project-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.brand-btn {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 20px var(--brand-glow);
}
.brand-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--brand-glow);
}

.outline-btn {
  background: rgba(255,255,255,0.07);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.outline-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

/* Preview */
.project-preview {
  padding: 70px 5%;
  background: #0a1220;
}

.preview-inner { max-width: 1100px; margin: 0 auto; }

.browser-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.browser-bar {
  background: #1e2a3a;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.browser-url { margin-left: 12px; font-size: 0.8rem; color: #64748b; font-family: monospace; }

.browser-screen { background: #fff; max-height: 520px; overflow: hidden; }
.browser-screen img { width: 100%; display: block; object-fit: cover; object-position: top; }

/* Body */
.project-body { padding: 90px 5%; background: white; }
.body-inner { max-width: 1100px; margin: 0 auto; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.overview-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}
.overview-text h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 40px; height: 4px;
  border-radius: 4px;
  background: var(--brand);
}
.overview-text p {
  color: #475569;
  line-height: 1.8;
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.feature-list {
  background: var(--brand-lt);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  border-top: 3px solid var(--brand);
}
.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.4rem;
}
.feature-list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  color: #334155; font-size: 0.97rem; font-weight: 500;
}
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(14,165,233,0.15);
  color: var(--brand);
}
.wip-icon { background: rgba(251,146,60,0.12); color: var(--accent); }
.wip-label { color: var(--accent); font-weight: 600; font-size: 0.85rem; }

@media (max-width: 768px) {
  .overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-meta  { gap: 1.8rem; }
}
