/* =====================================================
   MOHIT AGGARWAL — PORTFOLIO STYLES
   Modern · Minimalistic · Light Theme
   ===================================================== */

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

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

:root {
  --bg:          #ffffff;
  --bg-soft:     #f7f8fc;
  --bg-tint:     #eef0fb;
  --border:      #e2e8f0;
  --border-soft: #f0f2f8;

  --primary:     #5b5ef4;
  --primary-dark:#4346d4;
  --primary-pale: rgba(91,94,244,0.08);

  --sky:         #0ea5e9;
  --amber:       #f59e0b;
  --green:       #10b981;
  --rose:        #f43f5e;

  --text:        #1a1a2e;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --white:       #ffffff;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 16px rgba(0,0,0,.07);
  --shadow-md:   0 8px 30px rgba(0,0,0,.09);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.10);

  --transition:  all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  z-index: 200;
  transition: width .1s linear;
}

/* ── Header / Nav ── */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 var(--border-soft);
  transition: box-shadow .3s;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .25s;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-size: .85rem !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(91,94,244,.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91,94,244,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-tint);
  color: var(--text);
}

.btn-sm {
  padding: 7px 16px;
  font-size: .82rem;
}

/* ── Section Shared ── */
section { padding: 80px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── Hero ── */
.hero {
  padding: 140px 0 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(91,94,244,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(14,165,233,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}

.hero-meta-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center -9%;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-avatar-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pale), var(--bg-tint));
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.hero-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hero-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ── About ── */
.about { background: var(--bg-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: .97rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}

.stat-desc {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Card Base ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(91,94,244,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── Writing & Publications ── */
.writing { background: var(--bg); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.pub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  opacity: 0;
  transition: opacity .25s;
}

.pub-card:hover {
  border-color: rgba(91,94,244,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pub-card:hover::before { opacity: 1; }

.pub-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pub-platform i { font-size: .9rem; }

.pub-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.badge-new     { background: #fef3c7; color: #92400e; }
.badge-free    { background: #d1fae5; color: #065f46; }
.badge-series  { background: var(--primary-pale); color: var(--primary); }
.badge-case    { background: #fce7f3; color: #9d174d; }
.badge-ai      { background: #ede9fe; color: #5b21b6; }

.pub-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.pub-desc {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}

/* Publications Hub Cards */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hub-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.hub-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.hub-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.hub-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.hub-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hub-link-text {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

/* ── GitHub Projects ── */
.projects { background: var(--bg-soft); }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(91,94,244,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.project-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Key Products ── */
.key-products { background: var(--bg); }

/* Legacy grid kept for fallback */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* New row-based products list */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.product-row:hover {
  border-color: rgba(91,94,244,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-row-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.product-row-body {
  flex: 1;
  min-width: 0;
}

.product-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-row-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.product-row-company {
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

.product-row-desc {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.product-row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-row-stat {
  font-size: .8rem;
  color: var(--text-light);
  white-space: nowrap;
}

.product-row-stat strong {
  color: var(--primary);
  font-weight: 700;
}

.product-badge {
  background: var(--bg-tint);
  color: var(--primary);
  border: 1px solid rgba(91,94,244,.15);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-link {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(91,94,244,.2);
  border-radius: 6px;
  transition: var(--transition);
}

.product-link:hover { background: var(--primary-pale); }

/* ── Timeline ── */
.timeline { background: var(--bg-soft); }

.timeline-list {
  position: relative;
  padding-left: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--bg-soft);
}

.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.timeline-company {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.timeline-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.timeline-expandable {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s ease;
}

.timeline-expandable.open { max-height: 800px; }

.timeline-toggle {
  text-align: center;
  padding-top: 8px;
}

.timeline-toggle-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 24px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.timeline-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.timeline-toggle-btn i { transition: transform .3s; }
.timeline-toggle-btn.open i { transform: rotate(180deg); }

/* ── Skills ── */
.skills { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.skill-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.skill-group-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-tag {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Beyond PM / Hobbies ── */
.beyond { background: var(--bg-soft); }

/* New highlight cards */
.beyond-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.beyond-highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.beyond-highlight-card:hover {
  border-color: rgba(91,94,244,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.beyond-hl-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.beyond-hl-content { flex: 1; }

.beyond-hl-stat {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 4px;
}

.beyond-hl-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.beyond-hl-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Legacy highlight classes kept for safety */
.highlights-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.highlight-emoji { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.hobby-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: var(--transition);
}

.hobby-card:hover {
  border-color: rgba(91,94,244,.25);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.hobby-fa-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1;
}

.hobby-icon { font-size: 1.8rem; margin-bottom: 8px; }
.hobby-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.hobby-note { font-size: .72rem; color: var(--text-light); margin-top: 3px; }

/* ── Collaborate CTA ── */
.collaborate {
  background: linear-gradient(135deg, var(--primary) 0%, #4f52d8 100%);
  padding: 80px 0;
}

.collaborate-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.collaborate-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.collaborate-desc {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.collaborate-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.collaborate-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.collab-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .82rem;
}

/* ── Contact ── */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .95rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-value {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.social-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .95rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-right h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-right p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Footer ── */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: .82rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 8px;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .hub-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .highlights-row { grid-template-columns: 1fr; }
  .beyond-highlights { grid-template-columns: 1fr; }
  .hobbies-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 110px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
  .pub-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-row-top { flex-direction: column; gap: 8px; }
  .hobbies-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .collaborate-buttons { flex-direction: column; align-items: center; }
}
