/* Angela Liang Labs — Portfolio */
:root {
  --bg: #0d0f14;
  --bg-elevated: #14171f;
  --surface: #1a1e28;
  --surface-hover: #222830;
  --accent: #6ee7de;
  --accent-2: #f0abfc;
  --accent-muted: rgba(110, 231, 222, 0.15);
  --text: #e8eaef;
  --text-muted: #8b92a3;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 6px;
  opacity: 0.95;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  hyphens: none;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), #5dd9d0);
  color: #032726;
  border: none;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Apps section */
.apps {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.apps h2,
.collaborations h2,
.about h2,
.contact h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--text);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.app-card:hover {
  border-color: rgba(110, 231, 222, 0.3);
}

.app-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-muted) 100%);
  border-color: rgba(110, 231, 222, 0.25);
}

.app-card-featured:hover {
  border-color: rgba(110, 231, 222, 0.5);
}

.app-card-coming {
  opacity: 0.85;
}

.app-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.app-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  width: fit-content;
}

.app-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.app-status-live {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.app-status-coming {
  background: rgba(251, 191, 36, 0.2);
  color: #facc15;
}

.app-status-testing {
  background: rgba(147, 197, 253, 0.2);
  color: #93c5fd;
}

.app-status-prototype {
  background: rgba(192, 132, 252, 0.2);
  color: #c084fc;
}

.app-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.app-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.app-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.app-link:hover {
  color: var(--accent-2);
}

.app-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 6px;
  width: fit-content;
}

/* Collaborations & Venture Projects */
.collaborations {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  border-top: 1px solid var(--border);
}

.collaborations-header {
  margin-bottom: 32px;
}

.collaborations-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 8px 0 0;
  line-height: 1.6;
  max-width: 640px;
}

.venture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.venture-card {
  position: relative;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(30, 28, 45, 0.95) 100%);
  border: 1px solid rgba(240, 171, 252, 0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.venture-card:hover {
  border-color: rgba(240, 171, 252, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.venture-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-2), #a78bfa);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.venture-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 28px 32px;
}

.venture-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  padding: 4px 10px;
  background: rgba(240, 171, 252, 0.12);
  border-radius: 6px;
  width: fit-content;
}

.venture-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 4px 0 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

.venture-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: -4px 0 0;
  font-weight: 500;
}

.venture-desc {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.venture-note {
  font-size: 0.8rem !important;
  color: var(--text-muted);
  opacity: 0.85;
  font-style: italic;
  margin-top: 4px;
}

.btn-venture {
  margin-top: 8px;
  width: fit-content;
  background: linear-gradient(90deg, var(--accent-2), #c084fc);
  color: #1a0a1f;
  border: none;
}

.btn-venture:hover {
  opacity: 0.95;
  box-shadow: 0 2px 12px rgba(240, 171, 252, 0.3);
}

/* About */
.about {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.about p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.about p + p {
  margin-top: 16px;
}

.about-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.about-link:hover {
  color: var(--accent-2);
}

/* Contact */
.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.contact-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--accent-2);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (min-width: 640px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-card-featured {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
