/* ════════════════════════════════════════════════════════════════════════
   EXPERIENCE PAGE
   ════════════════════════════════════════════════════════════════════════ */

.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blue-accent) 10%, var(--blue-accent) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 56px 1fr;
  margin-bottom: 2.5rem; align-items: start;
}
.timeline-item:nth-child(odd)  .timeline-card  { grid-column: 1; }
.timeline-item:nth-child(odd)  .timeline-dot   { grid-column: 2; }
.timeline-item:nth-child(odd)  .timeline-empty { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-card  { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot   { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-empty { grid-column: 1; }

.timeline-dot { display: flex; justify-content: center; padding-top: 1.6rem; }
.timeline-dot-inner {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--blue-accent); border: 2px solid var(--bg-0);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.28);
  flex-shrink: 0;
}
.timeline-card { padding: 1.65rem; margin: 0 1.25rem; }
.timeline-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.9rem; }
.company-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  background: rgba(0,180,216,0.14); color: var(--blue-accent); border: 1px solid rgba(0,180,216,0.2);
}
.company-icon.gold { background: rgba(233,196,106,0.14); color: var(--gold); border-color: rgba(233,196,106,0.2); }
.company-icon.teal { background: rgba(6,214,160,0.12); color: var(--teal); border-color: rgba(6,214,160,0.2); }
.tcm { display: flex; flex-direction: column; gap: 0.12rem; }
.tcm h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 400; color: var(--text-1); }
.tcm .role { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.5px; color: var(--blue-accent); }
.tcm .dates { font-family: var(--font-mono); font-size: 0.64rem; color: var(--text-3); letter-spacing: 0.4px; margin-top: 0.1rem; }
.timeline-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 0.9rem; }
.timeline-card li { font-size: 0.87rem; color: var(--text-2); line-height: 1.55; padding-left: 1rem; position: relative; }
.timeline-card li::before { content: '—'; position: absolute; left: 0; color: var(--blue-accent); font-size: 0.7rem; top: 0.15rem; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 0.38rem; }

.edu-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.75rem; }
.edu-card  { padding: 1.65rem; }
.edu-card h3   { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-1); margin-bottom: 0.2rem; }
.edu-card .degree { font-size: 0.87rem; color: var(--blue-accent); margin-bottom: 0.45rem; }
.edu-card .dates  { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-3); margin-bottom: 0.7rem; }
.edu-card p    { font-size: 0.85rem; color: var(--text-2); line-height: 1.62; }

.cert-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.cert-item { padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.cert-icon { font-size: 1.4rem; flex-shrink: 0; width: 34px; text-align: center; }
.cert-item h4  { font-size: 0.9rem; color: var(--text-1); margin-bottom: 0.18rem; }
.cert-item p   { font-size: 0.75rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.3px; }

/* ════════════════════════════════════════════════════════════════════════
   VENTURES PAGE
   ════════════════════════════════════════════════════════════════════════ */

.ventures-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.venture-card {
  padding: 2rem;
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.venture-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; }
.venture-icon {
  width: 52px; height: 52px; border-radius: var(--r); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.venture-badge {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 20px;
}
.badge-startup  { background: rgba(233,196,106,0.1); color: var(--gold);         border: 1px solid rgba(233,196,106,0.25); }
.badge-project  { background: rgba(6,214,160,0.1);   color: var(--teal);         border: 1px solid rgba(6,214,160,0.25); }
.badge-research { background: rgba(0,180,216,0.1);   color: var(--blue-accent);  border: 1px solid rgba(0,180,216,0.25); }
.badge-volunteer{ background: rgba(233,196,106,0.08);color: var(--gold-dim);     border: 1px solid rgba(233,196,106,0.18);}

.venture-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: var(--text-1); margin-bottom: 0.2rem; }
.venture-url { font-family: var(--font-mono); font-size: 0.68rem; color: var(--blue-accent); text-decoration: none; letter-spacing: 0.5px; display: inline-block; margin-bottom: 0.65rem; }
.venture-url:hover { color: var(--teal); }
.venture-card > p { font-size: 0.89rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1.2rem; }

.venture-metrics { display: flex; gap: 1.5rem; margin-bottom: 1.2rem; padding: 0.85rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vm-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-1); line-height: 1; }
.vm-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); margin-top: 0.12rem; }

.venture-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vtags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* Research spans full width */
.research-card { grid-column: 1 / -1; }
.research-body { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.research-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; min-width: 200px; }
.rm-box {
  padding: 1rem; text-align: center; border-radius: var(--r-sm);
  background: rgba(0,180,216,0.05); border: 1px solid var(--border);
}
.rm-val { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); display: block; margin-bottom: 0.15rem; }
.rm-lbl { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); }

/* Research card component */
.rc-title  { font-size: 1.35rem; }
.rc-meta   { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); margin-top: 0.25rem; letter-spacing: 0.5px; }
.rc-desc   { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.25rem; }
.rc-badge-wrap { display: inline-block; margin-bottom: 0.6rem; }

/* ════════════════════════════════════════════════════════════════════════
   APPS PAGE
   ════════════════════════════════════════════════════════════════════════ */

.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.app-card  { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.app-icon  { font-size: 2rem; }
.app-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--text-1); }
.app-card p  { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; flex: 1; }
.app-badge   { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 20px; background: rgba(6,214,160,0.1); color: var(--teal); border: 1px solid rgba(6,214,160,0.22); display: inline-block; }
.app-badge.soon { background: rgba(233,196,106,0.1); color: var(--gold); border-color: rgba(233,196,106,0.22); }

/* Trip cards grid */
.trips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.trip-card  {
  display: block; text-decoration: none; color: inherit;
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
  aspect-ratio: 4/3;
}
.trip-card:hover { border-color: var(--border-h); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trip-cover { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.6) saturate(0.75); transition: filter 0.4s; }
.trip-card:hover .trip-cover { filter: brightness(0.75) saturate(0.9); }
.trip-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(5,14,27,0.95) 0%, transparent 100%);
}
.trip-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--text-1); margin-bottom: 0.2rem; }
.trip-info p  { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); }
.trip-badge   {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 0.22rem 0.65rem; border-radius: 20px;
  background: rgba(233,196,106,0.2); color: var(--gold); border: 1px solid rgba(233,196,106,0.35);
  backdrop-filter: blur(6px);
}

/* ════════════════════════════════════════════════════════════════════════
   SIGN IN PAGE
   ════════════════════════════════════════════════════════════════════════ */

.signin-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; position: relative; z-index: 1; padding: 2rem;
}
.signin-card { width: 100%; max-width: 420px; padding: 3rem; text-align: center; }
.signin-logo {
  width: 60px; height: 60px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--gold);
  margin: 0 auto 1.75rem;
}
.signin-card h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--text-1); margin-bottom: 0.5rem; }
.signin-card > p { font-size: 0.9rem; color: var(--text-3); margin-bottom: 2rem; }
.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.9rem 1.5rem; background: #fff; color: #3c4043;
  border-radius: var(--r-sm); text-decoration: none;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-bottom: 1.5rem;
}
.google-btn:hover { background: #f8f8f8; box-shadow: 0 4px 20px rgba(0,0,0,0.35); transform: translateY(-2px); }
.google-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.signin-divider { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.25rem; }
.signin-note { font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.5rem; }
.signin-secure { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-4); margin-top: 1.5rem; }

/* ════════════════════════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════════════════════════ */

.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 1; position: relative; text-align: center; }
.num-404 { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 300; line-height: 1; color: var(--blue-deep); margin-bottom: 1rem; }
.not-found-label  { justify-content: center; display: flex; margin-bottom: 1rem; }
.not-found-text   { color: var(--text-2); font-size: 1rem; max-width: 380px; margin: 0 auto 2rem; line-height: 1.7; text-align: center; }
.not-found-cta    { display: flex; justify-content: center; gap: 1rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .timeline::before { left: 22px; }
  .timeline-item { grid-template-columns: 44px 1fr; }
  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(odd)  .timeline-card { grid-column: 2; grid-row: 1; margin: 0; }
  .timeline-item:nth-child(even) .timeline-dot,
  .timeline-item:nth-child(odd)  .timeline-dot  { grid-column: 1; }
  .timeline-empty { display: none; }
  .edu-grid { grid-template-columns: 1fr; }
  .research-card { grid-column: span 1; }
  .research-body { grid-template-columns: 1fr; }
  .research-metrics { grid-template-columns: repeat(4, 1fr); }
  .trip-card { -webkit-tap-highlight-color: rgba(0,180,216,0.15); }
  .tl-tags   { gap: 0.3rem; }
  .venture-card h3 { font-size: 1.3rem; }
  .vm-value  { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .ventures-grid { grid-template-columns: 1fr; }
  .research-metrics { grid-template-columns: 1fr 1fr; }
  .signin-card { padding: 2rem 1.5rem; }
  .timeline-card { padding: 1.25rem; }
  .venture-card  { padding: 1.5rem; }
}
