/* ==========================================================================
   Portfolio 4: Neo-Brutalist & Cyber Startup (Youth Hacker / Linear Taste)
   Aesthetic: 3px-4px Hard Black Borders, 6px Offset Hard Shadows, Electric Neon
   Colors (Yellow, Pink, Lime, Cyan), Terminal Box Simulation, Monospace Code,
   Sticker Badges, High Information Density.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;900&family=JetBrains+Mono:wght@400;600;800&display=swap');

:root {
  --yellow: #ffde59;
  --pink: #ff3366;
  --cyan: #00f0ff;
  --lime: #39ff14;
  --purple: #b5179e;
  --orange: #ff6b35;
  --bg-page: #fbf9f1;
  --black: #0a0a0a;
  --white: #ffffff;
  --border: 3.5px solid #0a0a0a;
  --shadow-hard: 6px 6px 0px #0a0a0a;
  --shadow-sm: 3px 3px 0px #0a0a0a;
  --shadow-hover: 1px 1px 0px #0a0a0a;
}

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

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.15;
}

p, li, td {
  font-size: 1rem;
}

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

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Marquee Warning Banner */
.brutal-ticker {
  background: var(--black);
  color: var(--yellow);
  padding: 0.6rem 0;
  border-bottom: var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.9rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: brutalMarquee 25s linear infinite;
}

@keyframes brutalMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Brutalist Header */
.brutal-header {
  background: var(--yellow);
  border-bottom: var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.brutal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brutal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: var(--border);
  padding: 0.4rem 1rem;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1deg);
}

.brutal-brand .brand-tag {
  background: var(--pink);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-weight: 900;
  font-size: 0.75rem;
  border: 2px solid #000;
}

.brutal-brand h2 {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.btn-brutal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: var(--border);
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.1s ease;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-brutal:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hover);
}

.btn-brutal.cyan { background: var(--cyan); }
.btn-brutal.pink { background: var(--pink); color: #fff; }
.btn-brutal.lime { background: var(--lime); }
.btn-brutal.yellow { background: var(--yellow); }
.btn-brutal.black { background: var(--black); color: var(--yellow); }

/* Stickers */
.sticker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}

.sticker.pink { background: var(--pink); color: #fff; }
.sticker.lime { background: var(--lime); color: #000; }
.sticker.cyan { background: var(--cyan); color: #000; }
.sticker.yellow { background: var(--yellow); color: #000; }

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 4rem;
  background: radial-gradient(#d1d5db 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 3.6rem;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-left h1 span.highlight {
  background: var(--lime);
  padding: 0 0.4rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  display: inline-block;
  transform: rotate(1deg);
}

.hero-manifesto-box {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Quick Metrics Row */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric-brutal {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  text-align: center;
}

.metric-brutal .num {
  font-size: 2rem;
  font-weight: 900;
  display: block;
}

.metric-brutal .lbl {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hero Right: Candidate Profile & Terminal */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.candidate-photo-frame {
  background: var(--cyan);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  padding: 1rem;
  position: relative;
}

.candidate-photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: var(--border);
  display: block;
  background: #eee;
}

.photo-caption {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  font-size: 0.95rem;
}

/* Simulated CLI Terminal */
.terminal-window {
  background: #0d1117;
  color: #39ff14;
  border: var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: 4px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}

.terminal-bar {
  background: #21262d;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #30363d;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #000;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  color: #8b949e;
  font-size: 0.75rem;
  margin-left: auto;
}

.terminal-content {
  padding: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.t-prompt { color: var(--pink); font-weight: 800; }
.t-cmd { color: var(--yellow); }
.t-out { color: #e6edf3; }
.t-val { color: var(--lime); font-weight: 700; }

/* Generic Section Styles */
.section {
  padding: 4.5rem 0;
  border-bottom: var(--border);
}

.section-title-wrap {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title-wrap h2 {
  font-size: 2.8rem;
}

.section-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 600px;
}

/* Brutalist Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

/* Neo Cards */
.neo-card {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  padding: 2rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.neo-card:hover {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-sm);
}

.neo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--black);
  color: var(--yellow);
  padding: 0.2rem 0.6rem;
  border: 2px solid #000;
}

.neo-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.neo-card p {
  color: #333;
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li i {
  color: var(--pink);
}

/* Civic Bug Tracker / Interactive Issue Reporter */
.tracker-board {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  overflow-x: auto;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
}

.tracker-table th {
  background: var(--black);
  color: var(--white);
  padding: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.tracker-table td {
  padding: 1rem;
  border-bottom: 2px solid #000;
  font-size: 0.9rem;
}

.tracker-table tr:hover {
  background: #fdf2f8;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-weight: 800;
  font-size: 0.78rem;
  border: 1.5px solid #000;
}
.status-badge.resolved { background: var(--lime); color: #000; }
.status-badge.in-progress { background: var(--yellow); color: #000; }
.status-badge.review { background: var(--cyan); color: #000; }

/* Budget Matrix Table */
.budget-box {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  padding: 2rem;
}

.budget-bar-item {
  margin-bottom: 1.5rem;
}

.budget-info {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.bar-outer {
  height: 28px;
  background: #e5e7eb;
  border: 2px solid #000;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-right: 2px solid #000;
}

/* Townhall Schedule & Form */
.form-brutal {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.input-brutal {
  width: 100%;
  padding: 0.85rem 1rem;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  outline: none;
}

.input-brutal:focus {
  background: #fffbeb;
  box-shadow: 4px 4px 0 var(--pink);
}

/* FAQ Accordion */
.faq-box {
  border: var(--border);
  box-shadow: var(--shadow-hard);
  background: var(--white);
  margin-bottom: 1.25rem;
}

.faq-q {
  padding: 1.25rem 1.5rem;
  font-weight: 900;
  font-size: 1.15rem;
  cursor: pointer;
  background: var(--yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.faq-a {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Footer */
.brutal-footer {
  background: var(--black);
  color: var(--white);
  border-top: var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--yellow);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-col p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: #e5e7eb;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--lime);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 700;
}

.mobile-toggle-brutal {
  display: none;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  color: #000;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.1s;
}

.mobile-toggle-brutal:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hover);
  background: var(--pink);
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left h1 { font-size: 2.8rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-toggle-brutal { display: flex; }

  .brutal-nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-page);
    border: var(--border);
    box-shadow: var(--shadow-hard);
    padding: 1.5rem;
    flex-direction: column;
    z-index: 1000;
    gap: 0.85rem;
    margin-top: 0.5rem;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-left h1 { font-size: 2.2rem; }
  .metrics-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
