/* ============================================================
   GLOBAL STYLES — Portfolio
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* html {
  scroll-behavior: smooth;
} */

*, html {
    scroll-behavior: smooth !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── CSS VARIABLES ── */
:root {
  /* colors */
  --c1: #ff6b35;
  --c2: #f7c59f;
  --c3: #4ecdc4;
  --c4: #45b7d1;
  --c5: #96e6a1;
  --c6: #d4a5ff;

  /* backgrounds */
  --bg:   #0d0d0f;
  --bg2:  #141418;
  --bg3:  #1c1c22;

  /* text */
  --text:   #f0ede8;
  --muted:  #7a7a8a;

  /* borders */
  --border: rgba(255,255,255,0.07);

  /* gradients */
  --grad1: linear-gradient(135deg, #ff6b35, #f7c59f);
  --grad2: linear-gradient(135deg, #4ecdc4, #45b7d1);
  --grad3: linear-gradient(135deg, #96e6a1, #4ecdc4);
  --grad4: linear-gradient(135deg, #d4a5ff, #ff6b35);

  /* typography */
  --font-display: 'Clash Display', sans-serif;
  --font-ui:      'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* misc */
  --border-radius: 20px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13,13,15,0.7);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  background: var(--grad1);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-outline {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

/* ── SECTION COMMON ── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--c1);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: rgba(240,237,232,0.6);
  max-width: 480px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

/* ── GRADIENT TEXT ── */
.grad-text-1 {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-2 {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.orb1 { width: 600px; height: 600px; background: rgba(255,107,53,0.15); top: -100px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: rgba(78,205,196,0.1); bottom: -50px; left: 10%; }
.orb3 { width: 300px; height: 300px; background: rgba(212,165,255,0.08); top: 40%; left: 40%; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c3);
  background: rgba(78,205,196,0.1);
  border: 1px solid rgba(78,205,196,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c3);
  display: inline-block;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-name-grad {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-bio {
  font-size: 1.1rem;
  color: rgba(240,237,232,0.7);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.3s ease both;
  text-align: center;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.6s 0.8s ease both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ── ABOUT ── */
#about {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.avatar-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--grad1);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

/* buttons below the photo */
.avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.avatar-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.avatar-btn:hover { transform: translateY(-2px); }

.avatar-btn--primary {
  background: var(--grad1);
  color: #fff;
  border: none;
}
.avatar-btn--primary:hover { opacity: 0.85; }

.avatar-btn--secondary {
  background: rgba(69,183,209,0.12);
  color: var(--c4);
  border: 1px solid rgba(69,183,209,0.25);
}
.avatar-btn--secondary:hover {
  background: rgba(69,183,209,0.2);
  border-color: rgba(69,183,209,0.45);
}

.avatar-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.avatar-btn--ghost:hover { border-color: rgba(255,255,255,0.25); }

.about-text .section-title { margin-bottom: 1.2rem; }

.about-text p {
  color: rgba(240,237,232,0.7);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.85;
}

.about-facts {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fact-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.fact-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-ui);
  letter-spacing: 0.05em;
}

/* ── PROJECTS ── */
#projects { background: var(--bg); }

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

.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.project-header {
  padding: 2rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.project-header-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  transition: opacity 0.3s;
}
.project-card:hover .project-header-bg { opacity: 0.2; }

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.project-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  position: relative;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
}

.project-body {
  padding: 0 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-desc {
  font-size: 0.9rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.03em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.project-card:hover .project-link { gap: 0.8rem; }
.project-link-arrow { font-size: 1rem; transition: transform 0.2s; }
.project-card:hover .project-link-arrow { transform: translateX(4px); }

/* ── SKILLS ── */
#skills {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.skill-category {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.skill-category:hover { border-color: rgba(255,255,255,0.15); }

.skill-cat-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}

.skill-cat-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(240,237,232,0.7);
}

.skill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CONTACT ── */
#contact { background: var(--bg); }

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

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.contact-link:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateX(6px);
  background: var(--bg3);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-link-info { flex: 1; }

.contact-link-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-link-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
}

.contact-link-arrow {
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 0.2s, color 0.2s;
}
.contact-link:hover .contact-link-arrow { transform: translateX(4px); color: var(--text); }

.contact-cta {
  padding: 3rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15), transparent 70%);
  top: -60px; right: -60px;
  pointer-events: none;
}

.contact-cta-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.contact-cta-title span {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta p {
  font-size: 0.95rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-ui);
}

.footer-aws {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-ui);
}

.aws-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,153,0,0.1);
  border: 1px solid rgba(255,153,0,0.2);
  color: #ff9900;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: var(--font-ui);
}

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero { padding: 7rem 1.5rem 4rem; }
  .section-inner { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   MEADOWS PAGE STYLES
   ============================================================ */

/* ── MEADOWS NAV BACK LINK ── */
.nav-back {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

/* ── MEADOWS HERO ── */
#meadows-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.meadows-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.meadows-orb-1 { width: 600px; height: 600px; background: rgba(150,230,161,0.12); top: -100px; left: 50%; transform: translateX(-50%); }
.meadows-orb-2 { width: 350px; height: 350px; background: rgba(78,205,196,0.08); bottom: 0; left: 5%; }
.meadows-orb-3 { width: 300px; height: 300px; background: rgba(69,183,209,0.07); bottom: 0; right: 5%; }

.meadows-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c5);
  background: rgba(150,230,161,0.1);
  border: 1px solid rgba(150,230,161,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.meadows-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c5);
  display: inline-block;
}

.meadows-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.meadows-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.meadows-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.meadows-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* ── MEADOWS SECTION HEADER ── */
.meadows-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.meadows-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c5);
  background: rgba(150,230,161,0.08);
  border: 1px solid rgba(150,230,161,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.meadows-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(150,230,161,0.2), transparent);
}

/* ── VIDEO SECTION ── */
#meadows-video {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(150,230,161,0.15);
  box-shadow: 0 0 60px rgba(150,230,161,0.06), 0 32px 80px rgba(0,0,0,0.5);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ── SCREENSHOTS ── */
#meadows-screenshots { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--bg3);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  border-color: rgba(150,230,161,0.3);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150,230,161,0.08);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c5);
  background: rgba(13,13,15,0.7);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(150,230,161,0.2);
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(150,230,161,0.2);
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: border-color 0.2s;
}
.lightbox-close:hover { border-color: rgba(255,255,255,0.3); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: border-color 0.2s;
}
.lightbox-nav:hover { border-color: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── FEATURES ── */
#meadows-features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(150,230,161,0.2);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.75;
}

/* ── TECH STACK ── */
#meadows-tech { background: var(--bg); }

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

.tech-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.tech-card:hover { border-color: rgba(150,230,161,0.2); }

.tech-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c5);
  margin-bottom: 0.5rem;
}

.tech-desc {
  font-size: 0.82rem;
  color: rgba(240,237,232,0.55);
  line-height: 1.65;
}

/* ── DOWNLOAD ── */
#meadows-download {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.download-box {
  background: var(--bg3);
  border: 1px solid rgba(150,230,161,0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150,230,161,0.07), transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.download-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.download-desc {
  font-size: 1rem;
  color: rgba(240,237,232,0.6);
  margin-bottom: 2rem;
  line-height: 1.75;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.dl-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.dl-info-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dl-info-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* ── MEADOWS FOOTER ── */
.meadows-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.meadows-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── MEADOWS RESPONSIVE ── */
@media (max-width: 768px) {
  #meadows-hero { padding: 7rem 1.5rem 4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }
  .features-grid { grid-template-columns: 1fr; }
  .download-box { padding: 2.5rem 1.5rem; }
  .download-info { gap: 1.5rem; }
  .meadows-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   INSIGHT PAGE STYLES
   ============================================================ */

/* Hero accent — uses --c6 (purple) + --c4 (blue) palette */
#insight-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.insight-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.insight-orb-1 { width: 600px; height: 600px; background: rgba(212,165,255,0.1); top: -100px; left: 50%; transform: translateX(-50%); }
.insight-orb-2 { width: 350px; height: 350px; background: rgba(69,183,209,0.08); bottom: 0; left: 5%; }
.insight-orb-3 { width: 300px; height: 300px; background: rgba(255,107,53,0.06); bottom: 0; right: 5%; }

.insight-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c6);
  background: rgba(212,165,255,0.1);
  border: 1px solid rgba(212,165,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.insight-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c6);
  display: inline-block;
}

.insight-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.insight-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c4);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.insight-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.insight-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Section header — purple accent */
.insight-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.insight-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c6);
  background: rgba(212,165,255,0.08);
  border: 1px solid rgba(212,165,255,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.insight-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212,165,255,0.2), transparent);
}

/* Video section */
#insight-video {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Screenshots */
#insight-screenshots { background: var(--bg); }

/* Features */
#insight-features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Tech */
#insight-tech { background: var(--bg); }

/* Download */
#insight-download {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.insight-download-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Insight tech card accent */
#insight-tech .tech-name { color: var(--c6); }
#insight-tech .tech-card:hover { border-color: rgba(212,165,255,0.2); }

/* Insight feature card accent */
#insight-features .feature-card:hover { border-color: rgba(212,165,255,0.2); }

/* Insight gallery accent */
#insight-screenshots .gallery-item:hover { border-color: rgba(212,165,255,0.3); }
#insight-screenshots .gallery-overlay { background: rgba(212,165,255,0.06); }
#insight-screenshots .gallery-overlay span {
  color: var(--c6);
  border-color: rgba(212,165,255,0.2);
}

/* Insight download box accent */
#insight-download .download-box {
  border-color: rgba(212,165,255,0.15);
}
#insight-download .download-box::before {
  background: radial-gradient(circle, rgba(212,165,255,0.07), transparent 70%);
}

/* Insight footer */
.insight-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.insight-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Insight responsive */
@media (max-width: 768px) {
  #insight-hero { padding: 7rem 1.5rem 4rem; }
  .insight-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   CHASE HORIZON PAGE STYLES
   ============================================================ */

#chase-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.chase-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.chase-orb-1 { width: 600px; height: 600px; background: rgba(255,107,53,0.12); top: -100px; left: 50%; transform: translateX(-50%); }
.chase-orb-2 { width: 350px; height: 350px; background: rgba(247,197,159,0.07); bottom: 0; left: 5%; }
.chase-orb-3 { width: 300px; height: 300px; background: rgba(69,183,209,0.07); bottom: 0; right: 5%; }

.chase-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c1);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.chase-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c1);
  display: inline-block;
}

.chase-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.chase-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c2);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.chase-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.chase-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Section header */
.chase-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.chase-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c1);
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.chase-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,107,53,0.2), transparent);
}

/* Sections */
#chase-video {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#chase-screenshots { background: var(--bg); }

#chase-features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#chase-tech { background: var(--bg); }

#chase-controls {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#chase-download {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

/* Controls grid */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.control-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.control-card:hover {
  border-color: rgba(255,107,53,0.25);
  transform: translateY(-3px);
}

.control-key {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.control-action {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Chase download accent */
.chase-download-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

#chase-download .download-box { border-color: rgba(255,107,53,0.15); }
#chase-download .download-box::before {
  background: radial-gradient(circle, rgba(255,107,53,0.08), transparent 70%);
}

/* Chase gallery accent */
#chase-screenshots .gallery-item:hover { border-color: rgba(255,107,53,0.3); }
#chase-screenshots .gallery-overlay { background: rgba(255,107,53,0.06); }
#chase-screenshots .gallery-overlay span {
  color: var(--c1);
  border-color: rgba(255,107,53,0.2);
}

/* Chase feature/tech card accent */
#chase-features .feature-card:hover { border-color: rgba(255,107,53,0.2); }
#chase-tech .tech-name { color: var(--c1); }
#chase-tech .tech-card:hover { border-color: rgba(255,107,53,0.2); }

/* Chase footer */
.chase-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.chase-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Chase responsive */
@media (max-width: 768px) {
  #chase-hero { padding: 7rem 1.5rem 4rem; }
  .controls-grid { grid-template-columns: repeat(3, 1fr); }
  .chase-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   EDUCATION TIMELINE
   ============================================================ */

#education {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* wrapper that holds the vertical line + all entries */
.edu-timeline {
  position: relative;
  margin-top: 3.5rem;
  padding-bottom: 1rem;
}

/* the vertical centre line */
.edu-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--border) 8%, var(--border) 92%, transparent);
}

/* ── ENTRY ROW ── */
.edu-entry {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 4rem;
  position: relative;
}

/* left-side entry: card | node | date */
.edu-entry--left .edu-card  { grid-column: 1; grid-row: 1; justify-self: end;   padding-right: 2rem; }
.edu-entry--left .edu-node  { grid-column: 2; grid-row: 1; justify-self: center; }
.edu-entry--left .edu-date  { grid-column: 3; grid-row: 1; justify-self: start;  padding-left: 2rem; }

/* right-side entry: date | node | card */
.edu-entry--right .edu-date  { grid-column: 1; grid-row: 1; justify-self: end;   padding-right: 2rem; text-align: right; }
.edu-entry--right .edu-node  { grid-column: 2; grid-row: 1; justify-self: center; }
.edu-entry--right .edu-card  { grid-column: 3; grid-row: 1; justify-self: start;  padding-left: 2rem; }

/* ── NODE ── */
.edu-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad1);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.edu-node-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ── DATE LABEL ── */
.edu-date {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

/* ── CARD ── */
.edu-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 420px;
  transition: border-color 0.2s, transform 0.2s;
}
.edu-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.edu-school {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c1);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.edu-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.edu-highlights li {
  font-size: 0.875rem;
  color: rgba(240,237,232,0.65);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}
.edu-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c1);
  opacity: 0.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .edu-line { left: 24px; }

  .edu-entry {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    margin-bottom: 2.5rem;
  }

  /* both entry types collapse to: node (col1) | card (col2), date below node */
  .edu-entry--left .edu-node,
  .edu-entry--right .edu-node  { grid-column: 1; grid-row: 1; justify-self: center; }

  .edu-entry--left .edu-card,
  .edu-entry--right .edu-card  { grid-column: 2; grid-row: 1; justify-self: start; padding: 0; max-width: 100%; }

  .edu-entry--left .edu-date,
  .edu-entry--right .edu-date  { grid-column: 2; grid-row: 2; justify-self: start; padding: 0; text-align: left; }

  .edu-node { width: 48px; height: 48px; }
  .edu-node-inner { font-size: 1.1rem; }
}

/* ============================================================
   WORK EXPERIENCE
   ============================================================ */

#experience {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.exp-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

/* ── LEFT LIST ── */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exp-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.exp-list-item:hover {
  background: var(--bg3);
  border-color: var(--border);
}
.exp-list-item.active {
  background: var(--bg3);
  border-color: rgba(255,107,53,0.25);
}

.exp-list-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: border-color 0.2s;
  overflow: hidden;
}
.exp-list-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}
.exp-list-item.active .exp-list-icon {
  border-color: rgba(255,107,53,0.3);
  background: rgba(255,107,53,0.08);
}

.exp-list-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.exp-list-item.active .exp-list-title {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exp-list-company {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── RIGHT DETAIL PANEL ── */
.exp-detail {
  position: relative;
}

.exp-panel {
  display: none;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  animation: fadeUp 0.3s ease both;
}
.exp-panel.active { display: block; }

.exp-panel-role {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.exp-panel-company {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c1);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.exp-panel-date {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.exp-panel-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exp-panel-bullets li {
  font-size: 0.925rem;
  color: rgba(240,237,232,0.7);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}
.exp-panel-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c1);
  opacity: 0.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .exp-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .exp-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .exp-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 1rem;
    min-width: 140px;
    gap: 0.5rem;
  }

  .exp-panel { padding: 1.75rem 1.25rem; }
  .exp-panel-role { font-size: 1.25rem; }
}

/* ============================================================
   SPORTIFY PAGE STYLES
   ============================================================ */

#sportify-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.sportify-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.sportify-orb-1 { width: 600px; height: 600px; background: rgba(69,183,209,0.12); top: -100px; left: 50%; transform: translateX(-50%); }
.sportify-orb-2 { width: 350px; height: 350px; background: rgba(150,230,161,0.08); bottom: 0; left: 5%; }
.sportify-orb-3 { width: 300px; height: 300px; background: rgba(78,205,196,0.07); bottom: 0; right: 5%; }

.sportify-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c4);
  background: rgba(69,183,209,0.1);
  border: 1px solid rgba(69,183,209,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.sportify-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c4);
  display: inline-block;
}

.sportify-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.sportify-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.sportify-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 600px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.sportify-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Section header */
.sportify-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.sportify-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c4);
  background: rgba(69,183,209,0.08);
  border: 1px solid rgba(69,183,209,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.sportify-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(69,183,209,0.2), transparent);
}

/* Sections */
#sportify-video {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#sportify-screenshots { background: var(--bg); }

#sportify-features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#sportify-tech { background: var(--bg); }

#sportify-github {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

/* Sportify gallery — portrait screenshots, different grid */
#sportify-screenshots .gallery-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

#sportify-screenshots .gallery-item {
  aspect-ratio: 9/16;
}

#sportify-screenshots .gallery-item:first-child {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 9/16;
}

#sportify-screenshots .gallery-item:hover { border-color: rgba(69,183,209,0.3); }
#sportify-screenshots .gallery-overlay { background: rgba(69,183,209,0.06); }
#sportify-screenshots .gallery-overlay span {
  color: var(--c4);
  border-color: rgba(69,183,209,0.2);
}

/* Sportify feature/tech accents */
#sportify-features .feature-card:hover { border-color: rgba(69,183,209,0.2); }
#sportify-tech .tech-name { color: var(--c4); }
#sportify-tech .tech-card:hover { border-color: rgba(69,183,209,0.2); }

/* GitHub CTA box */
.sportify-github-box {
  background: var(--bg3);
  border: 1px solid rgba(69,183,209,0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sportify-github-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69,183,209,0.07), transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.sportify-github-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.sportify-github-desc {
  font-size: 1rem;
  color: rgba(240,237,232,0.6);
  margin-bottom: 2rem;
  line-height: 1.75;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Sportify footer */
.sportify-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.sportify-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sportify responsive */
@media (max-width: 768px) {
  #sportify-hero { padding: 7rem 1.5rem 4rem; }
  #sportify-screenshots .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .sportify-github-box { padding: 2.5rem 1.5rem; }
  .sportify-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   SKILLS — HEX GRID
   ============================================================ */

#skills {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* group = one category row */
.hex-group {
  margin-top: 3rem;
}

.hex-group-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hex-group-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}

/* row of hexagons */
.hex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* single hex item — wrapper for shape + tooltip */
.hex-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* the hexagon itself using clip-path */
.hex-shape {
  width: 88px;
  height: 100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(255,107,53,0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

/* gradient border effect via pseudo-element */
.hex-item::before {
  content: '';
  position: absolute;
  width: 92px;
  height: 104px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--grad1);
  opacity: 0.15;
  transition: opacity 0.2s;
  z-index: 0;
  top: -2px;
}

.hex-item:hover::before { opacity: 0.5; }
.hex-item:hover .hex-shape {
  transform: translateY(-4px);
  background: rgba(255,107,53,0.14);
}

.hex-shape img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* tooltip */
.hex-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 10;
}

.hex-item:hover .hex-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* responsive */
@media (max-width: 768px) {
  .hex-grid { gap: 0.6rem; }
  .hex-shape { width: 72px; height: 82px; }
  .hex-item::before { width: 76px; height: 86px; }
  .hex-shape img { width: 44px; height: 44px; }
}

/* ============================================================
   LIBRARY PAGE STYLES
   ============================================================ */

#library-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.library-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.library-orb-1 { width: 600px; height: 600px; background: rgba(150,230,161,0.1); top: -100px; left: 50%; transform: translateX(-50%); }
.library-orb-2 { width: 350px; height: 350px; background: rgba(69,183,209,0.07); bottom: 0; left: 5%; }
.library-orb-3 { width: 300px; height: 300px; background: rgba(96,230,161,0.06); bottom: 0; right: 5%; }

.library-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c5);
  background: rgba(150,230,161,0.1);
  border: 1px solid rgba(150,230,161,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.library-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c5);
  display: inline-block;
}

.library-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.library-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.library-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 600px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.library-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Section header */
.library-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.library-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c5);
  background: rgba(150,230,161,0.08);
  border: 1px solid rgba(150,230,161,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.library-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(150,230,161,0.2), transparent);
}

/* Sections */
#library-overview {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#library-features { background: var(--bg); }

#library-tech {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#library-github {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Overview two-column */
.library-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.library-overview-text p {
  font-size: 0.95rem;
  color: rgba(240,237,232,0.7);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

/* Roles pill list */
.library-roles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.library-role-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.library-role-card:hover { border-color: rgba(150,230,161,0.2); }

.library-role-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c5);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.library-role-desc {
  font-size: 0.85rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.65;
}

/* Features */
#library-features .features-grid { grid-template-columns: repeat(3, 1fr); }
#library-features .feature-card:hover { border-color: rgba(150,230,161,0.2); }

/* Tech */
#library-tech .tech-name { color: var(--c5); }
#library-tech .tech-card:hover { border-color: rgba(150,230,161,0.2); }

/* GitHub CTA */
.library-github-box {
  background: var(--bg3);
  border: 1px solid rgba(150,230,161,0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.library-github-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150,230,161,0.07), transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.library-github-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.library-github-desc {
  font-size: 1rem;
  color: rgba(240,237,232,0.6);
  margin-bottom: 2rem;
  line-height: 1.75;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.library-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.library-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  #library-hero { padding: 7rem 1.5rem 4rem; }
  .library-overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  #library-features .features-grid { grid-template-columns: 1fr; }
  .library-github-box { padding: 2.5rem 1.5rem; }
  .library-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   INKCAPTURE PAGE STYLES
   ============================================================ */

#inkcapture-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.inkcapture-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.inkcapture-orb-1 { width: 600px; height: 600px; background: rgba(212,165,255,0.1); top: -100px; left: 50%; transform: translateX(-50%); }
.inkcapture-orb-2 { width: 350px; height: 350px; background: rgba(69,183,209,0.07); bottom: 0; left: 5%; }
.inkcapture-orb-3 { width: 300px; height: 300px; background: rgba(255,107,53,0.06); bottom: 0; right: 5%; }

.inkcapture-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c6);
  background: rgba(212,165,255,0.1);
  border: 1px solid rgba(212,165,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.inkcapture-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c6);
  display: inline-block;
}

.inkcapture-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--grad4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.inkcapture-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c4);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.inkcapture-hero-desc {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.65);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.inkcapture-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

.inkcapture-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.inkcapture-section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c6);
  background: rgba(212,165,255,0.08);
  border: 1px solid rgba(212,165,255,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.inkcapture-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212,165,255,0.2), transparent);
}

#inkcapture-overview {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#inkcapture-features { background: var(--bg); }

#inkcapture-tech {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#inkcapture-github {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

#inkcapture-features .feature-card:hover { border-color: rgba(212,165,255,0.2); }
#inkcapture-tech .tech-name { color: var(--c6); }
#inkcapture-tech .tech-card:hover { border-color: rgba(212,165,255,0.2); }

.inkcapture-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(212,165,255,0.06);
  border: 1px solid rgba(212,165,255,0.15);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.inkcapture-notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.inkcapture-notice-text {
  font-size: 0.875rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.7;
}

.inkcapture-github-box {
  background: var(--bg3);
  border: 1px solid rgba(212,165,255,0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inkcapture-github-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,255,0.07), transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.inkcapture-github-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: var(--grad4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.inkcapture-github-desc {
  font-size: 1rem;
  color: rgba(240,237,232,0.6);
  margin-bottom: 2rem;
  line-height: 1.75;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.inkcapture-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.inkcapture-footer-copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  #inkcapture-hero { padding: 7rem 1.5rem 4rem; }
  #inkcapture-features .features-grid { grid-template-columns: 1fr; }
  .inkcapture-github-box { padding: 2.5rem 1.5rem; }
  .inkcapture-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

/* ── BUTTON & CONTACT INLINE ICONS ── */
.btn-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.contact-icon-img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
