/* ============================================================
   JANE-CC.AU PORTFOLIO — DESIGN SYSTEM
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --bg-primary:    #020817;
  --bg-surface:    #0f172a;
  --bg-elevated:   #1e293b;
  --bg-card:       rgba(15, 23, 42, 0.8);

  --accent-teal:   #00d4b4;
  --accent-teal-dim: rgba(0, 212, 180, 0.15);
  --accent-blue:   #3b82f6;
  --accent-gold:   #f59e0b;
  --accent-purple: #a855f7;

  --text-primary:  #f1f5f9;
  --text-secondary:#cbd5e1;
  --text-muted:    #64748b;

  --border:        rgba(0, 212, 180, 0.12);
  --border-hover:  rgba(0, 212, 180, 0.35);
  --glow-sm:       0 0 12px rgba(0, 212, 180, 0.25);
  --glow-md:       0 0 24px rgba(0, 212, 180, 0.35);
  --glow-lg:       0 0 48px rgba(0, 212, 180, 0.2);

  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --section-pad:   120px;
  --nav-height:    70px;
}

/* Light mode overrides */
[data-theme="light"] {
  --bg-primary:    #f8fafc;
  --bg-surface:    #ffffff;
  --bg-elevated:   #f1f5f9;
  --bg-card:       rgba(255, 255, 255, 0.9);

  --text-primary:  #0f172a;
  --text-secondary:#334155;
  --text-muted:    #94a3b8;

  --border:        rgba(0, 150, 130, 0.15);
  --border-hover:  rgba(0, 150, 130, 0.4);
  --glow-sm:       0 0 12px rgba(0, 150, 130, 0.15);
  --glow-md:       0 0 24px rgba(0, 150, 130, 0.2);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { color: var(--accent-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-primary); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-teal-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-teal); }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); }

.mono { font-family: var(--font-mono); }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text { color: var(--accent-gold); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Section ── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent-teal);
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  color: #020817;
  box-shadow: var(--glow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-md);
  color: #020817;
}
.btn-outline {
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent-teal);
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--accent-teal);
  padding: 8px 0;
  font-size: 0.9rem;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,212,180,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }

/* ── Tags / Chips ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
  border: 1px solid rgba(0,212,180,0.2);
  white-space: nowrap;
  transition: all var(--transition);
}
.tag:hover {
  background: rgba(0,212,180,0.25);
  border-color: var(--accent-teal);
}
.tag-blue {
  background: rgba(59,130,246,0.12);
  color: var(--accent-blue);
  border-color: rgba(59,130,246,0.2);
}
.tag-gold {
  background: rgba(245,158,11,0.12);
  color: var(--accent-gold);
  border-color: rgba(245,158,11,0.2);
}
.tag-purple {
  background: rgba(168,85,247,0.12);
  color: var(--accent-purple);
  border-color: rgba(168,85,247,0.2);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(2, 8, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(248, 250, 252, 0.85);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__logo span { color: var(--accent-teal); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-teal);
  transition: width var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--accent-teal);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: transparent;
}
.theme-toggle:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  background: transparent;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--accent-teal); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-teal-dim);
  border: 1px solid rgba(0,212,180,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-teal);
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease both;
}
.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse 2s infinite;
}
.hero__greeting {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  animation: fadeInDown 0.7s ease both;
}
.hero__name {
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease both;
}
.hero__name .first { color: var(--text-primary); }
.hero__name .nick {
  color: var(--accent-teal);
  text-shadow: 0 0 40px rgba(0,212,180,0.4);
}
.hero__role-line {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeInDown 0.9s ease both;
}
.hero__role-prefix { color: var(--text-muted); }
#typewriter {
  color: var(--accent-teal);
  font-family: var(--font-display);
  font-weight: 600;
  min-width: 280px;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent-teal);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
.hero__desc {
  max-width: 540px;
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.8;
  animation: fadeInDown 1s ease both;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 1.1s ease both;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  z-index: 1;
  animation: fadeInUp 1.5s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── ABOUT ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__story p {
  margin-bottom: 16px;
  line-height: 1.85;
}
.about__story p:last-child { margin-bottom: 0; }
.about__highlight {
  border-left: 2px solid var(--accent-teal);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: italic;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  padding: 28px 24px;
  text-align: center;
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── SKILLS ── */
.skills__tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 40px;
  width: fit-content;
}
.skills__tab {
  padding: 10px 24px;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: var(--font-display);
}
.skills__tab.active {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  color: #020817;
  box-shadow: var(--glow-sm);
}
.skills__tab:hover:not(.active) { color: var(--accent-teal); }
.skills__panel { display: none; }
.skills__panel.active { display: block; }
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.skill-item {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition);
}
.skill-item:hover {
  transform: translateX(4px);
}
.skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-teal);
}
.skill-dot.blue { background: var(--accent-blue); box-shadow: 0 0 8px var(--accent-blue); }
.skill-dot.gold { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); }
.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.skills__category-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 28px 0 16px;
}

/* ── PROJECTS PREVIEW ── */
.projects-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.project-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.project-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-teal-dim);
  border: 1px solid rgba(0,212,180,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.project-card__links {
  display: flex;
  gap: 8px;
}
.project-link {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.project-link:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}
.project-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.project-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.project-card__type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── EXPERIENCE ── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-teal), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  border: 2px solid var(--bg-primary);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.timeline-company {
  color: var(--accent-blue);
  font-size: 0.92rem;
  font-weight: 500;
}
.timeline-location {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.timeline-desc li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.timeline-desc li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-size: 0.7rem;
  top: 3px;
}

/* ── ACHIEVEMENTS ── */
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.achievement-card {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.achievement-card:hover { transform: translateY(-4px); }
.achievement-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.achievement-icon.gold-bg {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
}
.achievement-icon.teal-bg {
  background: var(--accent-teal-dim);
  border: 1px solid rgba(0,212,180,0.2);
}
.achievement-icon.blue-bg {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
}
.achievement-icon.purple-bg {
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.2);
}
.achievement-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.achievement-card__sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 16px; }
.contact__info p { margin-bottom: 32px; }
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.contact__link:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
  transform: translateX(4px);
}
.contact__link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-teal);
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,212,180,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-status {
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(0,212,180,0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0,212,180,0.2);
}
.form-status.error {
  display: block;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.2);
}

/* ── FOOTER ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer__text span { color: var(--accent-teal); }

/* ── TERMINAL ── */
.terminal-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  color: var(--accent-teal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--glow-sm);
  transition: all var(--transition);
}
.terminal-btn:hover {
  background: var(--accent-teal-dim);
  box-shadow: var(--glow-md);
  transform: scale(1.05);
}
.terminal-btn-label { font-size: 0.55rem; color: var(--text-muted); }
.terminal-window {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 520px;
  max-width: calc(100vw - 40px);
  max-height: 380px;
  background: rgba(2, 8, 23, 0.97);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-lg), 0 25px 50px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  z-index: 901;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.terminal-window.open { display: flex; }
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  user-select: none;
  cursor: move;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-dot.red:hover { filter: brightness(1.2); cursor: pointer; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.terminal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
}
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--border-hover); }
.terminal-line { margin-bottom: 2px; }
.terminal-line.output { color: var(--text-secondary); padding-left: 12px; }
.terminal-line.success { color: var(--accent-teal); padding-left: 12px; }
.terminal-line.error { color: #ef4444; padding-left: 12px; }
.terminal-line.gold { color: var(--accent-gold); padding-left: 12px; }
.terminal-prompt { color: var(--accent-teal); }
.terminal-prompt-user { color: var(--accent-blue); }
.terminal-prompt-sep { color: var(--text-muted); }
.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid var(--border);
}
.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  caret-color: var(--accent-teal);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 60px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .achievements__grid { grid-template-columns: 1fr; }
  .terminal-window { width: calc(100vw - 40px); right: 20px; bottom: 90px; }
  .terminal-btn { right: 20px; bottom: 20px; }
}

/* ── EVENT PHOTO CARD ── */
.event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s ease;
}
.event-card:hover .event-card__img {
  transform: scale(1.03);
}
.event-card__body {
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.event-card__text { flex: 1; }
.event-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.event-card__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.event-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 24px 20px;
}
/* Wide hackathon banner card spanning 2 cols */
.event-card--wide {
  grid-column: span 2;
}
.event-card--wide .event-card__img {
  height: 400px;
}
@media (max-width: 640px) {
  .event-card--wide { grid-column: span 1; }
}

/* CyberCon photo strip */
.cybercon-strip {
  display: flex;
  height: 260px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  gap: 2px;
}
.cybercon-strip img {
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cybercon-strip:hover img {
  transform: scale(1.03);
}


/* ── SECTION DIVIDER ── */
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-teal), transparent);
  margin-top: 16px;
  margin-bottom: 48px;
}

/* ── IMAGE SLIDER ── */
.img-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #000;
  height: 280px;
}
.img-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.img-slider__slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
  display: block;
}
.img-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
  padding-bottom: 2px;
}
.img-slider__btn:hover {
  background: rgba(0, 212, 180, 0.35);
  border-color: var(--accent-teal);
}
.img-slider__btn--prev { left: 12px; }
.img-slider__btn--next { right: 12px; }
.img-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.img-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.img-slider__dot.active {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  transform: scale(1.3);
}

