/* ───────────────────────────────────────────
       DESIGN TOKENS
    ─────────────────────────────────────────── */
:root {
  --cream: #FAFAF7;
  --cream-mid: #F3F2EE;
  --cream-deep: #EAE9E3;
  --white: #FFFFFF;
  --ink: #1A1814;
  --ink-mid: #3D3A35;
  --ink-light: #6B6860;
  --ink-xs: #9C9990;
  --blue: #0176D3;
  --blue-mid: #1B96FF;
  --blue-light: #D4EAFF;
  --blue-glow: rgba(1, 118, 211, 0.10);
  --amber: #B45309;
  --amber-bg: #FEF3C7;
  --teal: #0E7490;
  --teal-bg: #CCFBF1;
  --violet: #6D28D9;
  --violet-bg: #EDE9FE;
  --rose: #BE185D;
  --rose-bg: #FCE7F3;
  --green: #166534;
  --green-bg: #DCFCE7;
  --border: #2db8e6;
  --border-md: rgba(26, 24, 20, 0.16);
  --shadow-sm: 0 1px 4px rgba(26, 24, 20, 0.06), 0 0 0 1px rgba(26, 24, 20, 0.04);
  --shadow-md: 0 4px 20px rgba(26, 24, 20, 0.08), 0 0 0 1px rgba(26, 24, 20, 0.05);
  --shadow-lg: 0 16px 48px rgba(26, 24, 20, 0.12), 0 0 0 1px rgba(26, 24, 20, 0.06);
  --shadow-xl: 0 32px 80px rgba(26, 24, 20, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: 0.28s;
  /* Fluid spacing */
  --space-xs: clamp(8px, 1.5vw, 12px);
  --space-sm: clamp(12px, 2vw, 18px);
  --space-md: clamp(18px, 3vw, 28px);
  --space-lg: clamp(20px, 5vw, 10px);
  --space-xl: clamp(40px, 7vw, 20px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 66px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
  text-align: center;
}

/* ───────────────────────────────────────────
       NAVIGATION
    ─────────────────────────────────────────── */
.redirect-icon svg {
  transition: 0.2s ease;
  cursor: pointer;
}

.redirect-icon:hover svg {
  transform: translate(2px, -2px);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t) var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(26, 24, 20, 0.07);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-logo em {
  color: var(--blue);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.2px;
  transition: color var(--t);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width var(--t) var(--ease);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
  transition: background var(--t), transform var(--t);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
  }
}

/* ───────────────────────────────────────────
       HERO
    ─────────────────────────────────────────── */
.hero {
  min-height: 8vh;
  display: flex;
  align-items: center;
  padding: calc(0px + var(--space-lg)) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(1, 118, 211, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(110, 40, 220, 0.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A1814' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
  animation: pulse-ring 1.8s ease infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: .3;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 100px;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-ring 1.6s ease infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero h1 .accent-line {
  display: block;
  background: linear-gradient(105deg, var(--blue) 0%, #00A9E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#dynamic-word {
  position: relative;
  display: inline;
}

#dynamic-word::after {
  content: '|';
  display: inline;
  color: var(--blue);
  font-weight: 300;
  animation: blinkCursor 0.7s infinite;
  margin-left: 2px;
}

@keyframes blinkCursor {
  0% {
    border-color: transparent;
  }

  50% {
    border-color: #0070d2;
  }

  100% {
    border-color: transparent;
  }
}

#static-suffix {
  display: inline;
  display: inline;
  color: var(--ink) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--ink) !important;
  background-clip: unset !important;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.fade-in.visible {
  opacity: 1;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--ink-light);
  line-height: 1.78;
  margin-bottom: 24px;
  font-weight: 400;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  justify-content: center;
}

.pill {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid #36c7f3;
  background: var(--cream);
  color: var(--ink-mid);
  font-size: 0.74rem;
  font-weight: 500;
  transition: border-color var(--t), background var(--t), color var(--t);
}

.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.pill.hi {
  border-color: rgba(1, 118, 211, 0.3);
  color: var(--blue);
  background: var(--blue-light);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: #00A1E0;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}

.btn-ink:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 118, 211, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-md);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color var(--t), background var(--t), transform var(--t);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-glow);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -1px;
}

.stat .lbl {
  font-size: 0.74rem;
  color: var(--ink-xs);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.stat {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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


/* PROFILE CARD */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 2px solid var(--border);
  background-clip: padding-box;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 0 20px rgba(1, 118, 211, 0.15);
  }

  100% {
    box-shadow: 0 0 40px rgba(1, 118, 211, 0.35);
  }
}

.profile-card-header {
  padding: 10px 24px 10px;
  background: linear-gradient(155deg, #EFF6FF 0%, #F0FAFA 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.avatar {
  width: clamp(170px, 20vw, 260px);
  height: clamp(170px, 20vw, 260px);
  border-radius: 50%;
  overflow: hidden;
  margin: 10px auto 10px;
  box-shadow: 0 8px 24px rgba(1, 118, 211, 0.3);
  border: 3px solid rgba(1, 118, 211, 0.25);
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}

.profile-role {
  font-size: 0.8rem;
  color: var(--ink-light);
  font-weight: 500;
}

.profile-card-body {
  padding: 18px 20px 22px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-icon svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
}

.meta-text {
  font-size: 0.8rem;
  color: var(--ink-mid);
  font-weight: 500;
  word-break: break-all;
}

/* ───────────────────────────────────────────
       HERO RESPONSIVE
    ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr minmax(280px, 340px);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-inner>div:first-child {
    order: 2;
  }

  .hero-inner>div:last-child {
    order: 1;
    display: flex;
    justify-content: center;
  }

  .profile-card {
    max-width: 400px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn-ink,
  .btn-outline {
    justify-content: center;
    text-align: center;
  }

  .hero-eyebrow {
    display: none;
  }
}

/* ───────────────────────────────────────────
       SECTION COMMON
    ─────────────────────────────────────────── */
.section {
  padding: var(--space-xl) 0;
}

.section-label {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-sub {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: var(--ink-light);
  line-height: 1.72;
}

.section-centered {
  text-align: center;
  margin-bottom: 40px;
}

.section-centered .section-sub {

  margin: 0 auto;
}

.alt-bg {
  background: var(--cream-mid);
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px 0 0;
  text-align: center;
}

.divider-centered {
  margin: 14px auto 0;
}

/* ───────────────────────────────────────────
       SKILLS
    ─────────────────────────────────────────── */
.skills-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.skills-tabs {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 2px 16px rgba(26, 24, 20, 0.06);
  position: sticky;
  top: 80px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-align: left;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(1, 118, 211, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

.tab-btn:hover::before {
  opacity: 1;
}

.tab-btn:hover {
  background: var(--cream);
  color: var(--ink-mid);
  border-color: var(--border);
}

.tab-btn.active {
  background: linear-gradient(108deg, #EFF6FF 0%, #F0FAFE 100%);
  color: var(--blue);
  border-color: rgba(1, 118, 211, 0.25);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(1, 118, 211, 0.10);
}

.tab-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  transition: all 0.22s;
}

.tab-btn.active .tab-icon-wrap {
  background: var(--blue-light);
  border-color: rgba(1, 118, 211, 0.22);
}

.tab-label {
  flex: 1;
  line-height: 1.3;
  min-width: 0;
}

.tab-label .tab-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-label .tab-count {
  font-size: 0.67rem;
  color: var(--ink-xs);
  font-weight: 500;
  margin-top: 1px;
}

.tab-btn.active .tab-label .tab-count {
  color: rgba(1, 118, 211, 0.6);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.tab-btn.active .tab-dot {
  opacity: 1;
}

.skills-panels-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 2px 16px rgba(26, 24, 20, 0.06);
  min-height: 280px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.panel-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(1, 118, 211, 0.18);
  flex-shrink: 0;
}

.panel-header-text .panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
}

.panel-header-text .panel-desc {
  font-size: 0.76rem;
  color: var(--ink-xs);
  margin-top: 2px;
}

.skills-panel {
  display: none;
}

.skills-panel.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  animation: panelIn .22s var(--ease);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  cursor: default;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.skill-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-mid));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s var(--ease);
}

.skill-item:hover {
  border-color: rgba(1, 118, 211, 0.3);
  background: var(--white);
  box-shadow: 0 3px 14px rgba(1, 118, 211, 0.09);
  transform: translateX(3px);
}

.skill-item:hover::after {
  transform: scaleY(1);
}

.skill-emoji {
  font-size: 1rem;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.skill-text {
  font-size: 0.82rem;
  color: var(--ink-mid);
  font-weight: 500;
  line-height: 1.3;
}

/* Skills responsive */
@media (max-width: 1024px) {
  .skills-layout {
    grid-template-columns: 1fr;
  }

  .skills-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }

  .tab-label .tab-count {
    display: none;
  }

  .tab-dot {
    display: none;
  }
}

@media (max-width: 560px) {
  .skills-tabs {
    gap: 6px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .tab-btn {
    padding: 8px 12px;
    border-radius: 100px;
    gap: 6px;
    background: var(--white);
    border-color: var(--border);
    flex: 0 0 auto;
  }

  .skills-panel.active {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
       EXPERIENCE
    ─────────────────────────────────────────── */
.exp-section {
  max-width: 100%;
  padding: var(--space-xl) 0;
  background: var(--white);
}

.exp-section .container {
  max-width: 1360px;
}

.exp-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--blue-light);
  border: 1px solid rgba(1, 118, 211, 0.2);
  margin-top: 20px;
  margin-bottom: clamp(32px, 5vw, 6px);
  flex-wrap: wrap;
}

.exp-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
}

.exp-summary-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .25;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .25;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.exp-summary-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  flex: 1;
}

.exp-summary-text strong {
  font-weight: 800;
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
}

.exp-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 24px;
  padding-bottom: 40px;
  position: relative;
}

.exp-card:last-child {
  padding-bottom: 0;
}

.exp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  position: relative;
  z-index: 2;
}

.exp-node-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.3rem;
}

.exp-card:hover .exp-node-ring {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(1, 118, 211, 0.12), var(--shadow-md);
}

.exp-body {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 32px) clamp(14px, 2.5vw, 24px);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.exp-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), #00C6FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  border-radius: 20px 20px 0 0;
}

.exp-card:hover .exp-body {
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 118, 211, 0.2);
  transform: translateX(4px);
}

.exp-card:hover .exp-body::before {
  transform: scaleX(1);
}

.exp-body::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 24px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 10px solid var(--border);
  transition: border-right-color 0.3s;
}

.exp-card:hover .exp-body::after {
  border-right-color: rgba(1, 118, 211, 0.2);
}

.exp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.exp-card-header-left {
  flex: 1;
  min-width: 0;
}

.exp-role {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.exp-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exp-company-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
}

.exp-company-sep {
  color: var(--ink-xs);
  font-size: 0.75rem;
}

.exp-location {
  font-size: 0.76rem;
  color: var(--ink-xs);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.exp-location svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.exp-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.exp-date-badge.current {
  background: var(--green-bg);
  border-color: rgba(22, 101, 52, 0.2);
  color: var(--green);
}

.date-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  animation: pulse 1.8s ease infinite;
  flex-shrink: 0;
}

.exp-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-mid);
  transition: background 0.2s, border-color 0.2s;
}

.exp-card:hover .metric-chip {
  background: var(--white);
  border-color: var(--border-md);
}

.metric-chip .metric-icon {
  font-size: 0.82rem;
}

.metric-chip .metric-val {
  color: var(--blue);
  font-weight: 800;
}

.exp-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.exp-bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.exp-bullet {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s, transform 0.2s;
  cursor: default;
}

.exp-bullet:hover {
  background: var(--white);
  border-color: rgba(1, 118, 211, 0.18);
  transform: translateX(3px);
  box-shadow: 0 2px 12px rgba(1, 118, 211, 0.07);
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s, transform 0.2s;
}

.exp-bullet:hover .bullet-icon {
  background: var(--blue);
  color: #fff;
  transform: scale(1.1);
}

.bullet-text {
  font-size: 0.84rem;
  color: var(--ink-light);
  line-height: 1.65;
  flex: 1;
}

.bullet-text strong {
  color: var(--ink-mid);
  font-weight: 700;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.exp-tag {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid rgba(1, 118, 211, 0.18);
  transition: background 0.2s, color 0.2s;
}

.exp-card:hover .exp-tag {
  background: rgba(1, 118, 211, 0.12);
}

.timeline-gap {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 24px;
  height: 40px;
  align-items: center;
}

.gap-line-col {
  display: flex;
  justify-content: center;
}

.gap-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
}

.gap-label {
  font-size: 0.72rem;
  color: var(--ink-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gap-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--border-md);
}

/* Experience responsive */
@media (max-width: 640px) {
  .timeline::before {
    left: 18px;
  }

  .exp-card,
  .timeline-gap {
    grid-template-columns: 42px 1fr;
    gap: 0 14px;
  }

  .exp-node-ring {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .exp-body {
    padding: 16px 16px 14px;
  }

  .exp-body::after {
    display: none;
  }

  .exp-card:hover .exp-body {
    transform: none;
  }

  .exp-card-header {
    flex-direction: column;
    gap: 8px;
  }

  .exp-metrics {
    gap: 6px;
  }
}

/* BLOG TEASER */
.blog-teaser-wrap {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 50%, #F0FAFA 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(1, 118, 211, 0.15);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(1, 118, 211, 0.08);
}

.blog-teaser-deco1 {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 118, 211, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.blog-teaser-deco2 {
  position: absolute;
  bottom: -40px;
  left: 30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 224, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.blog-teaser-left {
  position: relative;
  z-index: 1;
}

.blog-teaser-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.blog-stats-row {
  display: inline-flex;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(1, 118, 211, 0.07);
  margin-top: 28px;
}

.blog-stat-cell {
  padding: 14px 24px;
  text-align: center;
  border-right: 1px solid rgba(1, 118, 211, 0.12);
}

.blog-stat-cell:last-child {
  border-right: none;
}

.blog-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.blog-stat-lbl {
  font-size: 0.7rem;
  color: var(--ink-xs);
  margin-top: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.blog-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--ink-mid);
  font-weight: 600;
}

.blog-no-login {
  font-size: 0.72rem;
  color: var(--ink-xs);
  font-weight: 500;
}

@media (max-width: 768px) {
  .blog-teaser-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blog-teaser-right {
    align-items: flex-start;
  }

  .blog-stats-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .blog-stat-cell {
    padding: 12px 18px;
  }
}

/* ───────────────────────────────────────────
       PROJECTS
    ─────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.proj-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}

.proj-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), #00C6FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 1;
}

.proj-card:hover {
  box-shadow: 0 20px 60px rgba(26, 24, 20, 0.11);
  border-color: rgba(1, 118, 211, 0.22);
  transform: translateY(-5px);
}

.proj-card:hover::before {
  transform: scaleX(1);
}

.proj-card-top {
  padding: 20px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.proj-body {
  padding: 12px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.proj-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  transition: color 0.2s;
}

.proj-card:hover .proj-title {
  color: var(--blue);
}

.proj-desc {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 12px;
  flex: 1;
}

.challenge-row {
  margin-bottom: 10px;
}

.challenge-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-xs);
  margin-bottom: 3px;
}

.challenge-text {
  font-size: 0.78rem;
  color: var(--ink-light);
  font-style: italic;
  line-height: 1.55;
}

.outcome-row {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--green-bg);
  border-left: 3px solid #4ADE80;
  font-size: 0.77rem;
  color: var(--green);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: background 0.2s, border-left-color 0.2s;
}

.proj-card:hover .outcome-row {
  background: #bbf7d0;
  border-left-color: #16a34a;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tech-tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--ink-mid);
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.proj-card:hover .tech-tag {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(1, 118, 211, 0.22);
}

.proj-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--cream-deep);
  line-height: 1;
  transition: color 0.3s;
}

.proj-card:hover .proj-num {
  color: var(--blue-light);
}

/* ───────────────────────────────────────────
       CERTIFICATIONS
    ─────────────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

@media (max-width: 420px) {
  .certs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px) clamp(12px, 2vw, 20px);
  text-align: center;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}

.cert-card img {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  object-fit: contain;
  margin: 0 auto 12px;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #00A9E0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.cert-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.cert-sub {
  font-size: 0.74rem;
  color: var(--ink-xs);
  font-weight: 500;
  margin-bottom: 10px;
}

.cert-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--green-bg);
  border: 1px solid #A7F3D0;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
}

/* ───────────────────────────────────────────
       CONTACT
    ─────────────────────────────────────────── */
.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch;
  text-align: left;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.contact-intro {
  font-size: 0.93rem;
  color: var(--ink-light);
  line-height: 1.78;
  margin-bottom: 28px;
}

.channels {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all 0.25s var(--ease);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.channel-link::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}

.channel-link:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.channel-link.ch-email::before {
  background: linear-gradient(105deg, rgba(234, 67, 53, 0.04), transparent);
}

.channel-link.ch-email:hover {
  border: 3.5px solid rgba(234, 67, 53, 0.35);
}

.channel-link.ch-whatsapp::before {
  background: linear-gradient(105deg, rgba(37, 211, 102, 0.05), transparent);
}

.channel-link.ch-whatsapp:hover {
  border: 3.5px solid rgba(37, 211, 102, 0.35);
}

.channel-link.ch-linkedin::before {
  background: linear-gradient(105deg, rgba(10, 102, 194, 0.05), transparent);
}

.channel-link.ch-linkedin:hover {
  border: 3.5px solid rgba(10, 102, 194, 0.35);
}

.channel-link.ch-github::before {
  background: linear-gradient(105deg, rgba(36, 41, 47, 0.05), transparent);
}

.channel-link.ch-github:hover {
  border: 3.5px solid rgba(36, 41, 47, 0.35);
}

.channel-link:hover::before {
  opacity: 1;
}

.ch-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.channel-link:hover .ch-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.ch-icon.email-icon {
  background: linear-gradient(135deg, #EA4335, #FBBC04);
}

.ch-icon.whatsapp-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.ch-icon.linkedin-icon {
  background: linear-gradient(135deg, #0A66C2, #0077B5);
}

.ch-icon.github-icon {
  background: linear-gradient(135deg, #24292F, #57606A);
}

.ch-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
  flex-shrink: 0;
}

.ch-body {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.ch-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-xs);
  display: block;
  margin-bottom: 2px;
}

.ch-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ch-arrow {
  color: #13b4ea;
  font-size: 1rem;
  transition: transform 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}

.channel-link:hover .ch-arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* Contact form */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid #00A1E0;
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  flex-wrap: 1;
}

.form-row2 {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row2 {
    grid-template-columns: 1fr;
  }
}

.fg {
  margin-bottom: 14px;
}

.fg label {
  display: block;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--ink-mid);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.fg input,
.fg textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.87rem;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--ink-xs);
}

.fg input:focus,
.fg textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.12);
}

.fg textarea {
  height: 150px;
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #00A1E0;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 118, 211, 0.25);
}

/* ───────────────────────────────────────────
       FOOTER
    ─────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: clamp(36px, 6vw, 2px) 0 10px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-logo em {
  color: var(--blue-mid);
  font-style: normal;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-icon-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--t);
}

.footer-icon-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(1, 118, 211, 0.35);
}

.footer-icon-link svg {
  width: 16px;
  height: 16px;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--white);
  text-align: center;
  line-height: 1.7;
}

/* ───────────────────────────────────────────
       ANIMATIONS
    ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.in {
  opacity: 1;
  transform: none;
}

.fade-up:nth-child(2) {
  transition-delay: 0.07s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.14s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.21s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.28s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.35s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ───────────────────────────────────────────
       TOUCH IMPROVEMENTS
    ─────────────────────────────────────────── */
@media (hover: none) {

  /* Remove hover states on touch devices that would persist */
  .channel-link:hover {
    transform: none;
  }

  .proj-card:hover {
    transform: none;
  }

  .cert-card:hover {
    transform: none;
  }

  .exp-card:hover .exp-body {
    transform: none;
  }

  /* Larger tap targets */
  .tab-btn {
    min-height: 44px;
  }

  .btn-ink,
  .btn-outline {
    min-height: 48px;
  }

  .btn-submit {
    min-height: 50px;
  }
}

/* Print styles */
@media print {

  .nav,
  .hero-btns {
    display: none !important;
  }

  body {
    padding-top: 0;
  }
}

/* ───────────────────────────────────────────
       CERTIFICATION CELEBRATION OVERLAY
    ─────────────────────────────────────────── */

#cert-celebration-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.cert-celebrate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82) translateY(20px);
  transition: opacity 0.45s cubic-bezier(.34, 1.56, .64, 1), transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}

.cert-celebrate-modal.show {
  pointer-events: all;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.cert-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.cert-modal-inner {
  background: #FFFFFF;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 48px);
  max-width: 520px;
  width: 92vw;
  text-align: center;
  position: relative;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.3), 0 0 0 1.5px rgba(1, 118, 211, 0.2);
  overflow: hidden;
}

.cert-modal-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0176D3, #00C6FF, #A855F7, #EC4899, #0176D3);
  background-size: 300% 100%;
  animation: gradShift 2.5s linear infinite;
}

@keyframes gradShift {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 300% 0;
  }
}

.cert-modal-deco {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 118, 211, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cert-modal-deco2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cert-modal-emoji {
  font-size: 3.8rem;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  animation: bounceIn 0.7s cubic-bezier(.34, 1.56, .64, 1) 0.2s both;
  position: relative;
  z-index: 1;
}

@keyframes bounceIn {
  from {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.cert-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  background: #D4EAFF;
  color: #0176D3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cert-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #1A1814;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cert-modal-sub {
  font-size: 0.88rem;
  color: #6B6860;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Cert image in modal */
.cert-modal-img-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.cert-modal-img-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #F3F2EE;
  border: 1.5px solid rgba(1, 118, 211, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: popIn 0.4s cubic-bezier(.34, 1.56, .64, 1) both;
  box-shadow: 0 4px 14px rgba(1, 118, 211, 0.12);
}

.cert-modal-img-wrap:nth-child(1) {
  animation-delay: 0.3s;
}

.cert-modal-img-wrap:nth-child(2) {
  animation-delay: 0.42s;
}

.cert-modal-img-wrap:nth-child(3) {
  animation-delay: 0.54s;
}

.cert-modal-img-wrap:nth-child(4) {
  animation-delay: 0.66s;
}

@keyframes popIn {
  from {
    transform: scale(0.3) rotate(-10deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.cert-modal-img-wrap img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cert-modal-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #F3F2EE;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(1, 118, 211, 0.12);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cert-modal-stat {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid rgba(1, 118, 211, 0.12);
}

.cert-modal-stat:last-child {
  border-right: none;
}

.cert-modal-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #0176D3;
  line-height: 1;
}

.cert-modal-stat-lbl {
  font-size: 0.65rem;
  color: #9C9990;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 3px;
}

.cert-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0176D3, #00A9E0);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(1, 118, 211, 0.3);
}

.cert-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(1, 118, 211, 0.4);
}

/* Floating stars in modal */
.cert-modal-stars span {
  position: absolute;
  animation: starFloat 3.5s ease-in-out infinite;
  opacity: 0;
  font-size: 1rem;
  pointer-events: none;
}

.cert-modal-stars span:nth-child(1) {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.cert-modal-stars span:nth-child(2) {
  top: 16%;
  right: 9%;
  animation-delay: 0.5s;
}

.cert-modal-stars span:nth-child(3) {
  bottom: 22%;
  left: 10%;
  animation-delay: 1s;
}

.cert-modal-stars span:nth-child(4) {
  bottom: 18%;
  right: 7%;
  animation-delay: 1.5s;
}

.cert-modal-stars span:nth-child(5) {
  top: 45%;
  right: 4%;
  animation-delay: 0.8s;
}

.cert-modal-stars span:nth-child(6) {
  top: 38%;
  left: 3%;
  animation-delay: 1.3s;
}

@keyframes starFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-28px) scale(1.3) rotate(25deg);
  }
}


/* ───────────────────────────────────────────
       CERT CARD HOVER / TAP-HOLD DETAIL OVERLAY
    ─────────────────────────────────────────── */

.cert-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.cert-detail-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, #0055A4 0%, #0176D3 50%, #00A9E0 100%);
  color: #fff;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  opacity: 0;
  transform: scale(0.96) rotateY(8deg);
  transform-origin: center;
  transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1), transform 0.3s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  z-index: 10;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 30px rgba(0, 80, 180, 0.2);
}

.cert-detail-overlay::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.cert-detail-overlay::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

@media (hover: hover) {
  .cert-card:hover .cert-detail-overlay {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    pointer-events: all;
  }

  .cert-card:hover {
    transform: translateY(-4px);
  }
}

.cert-card.tapped .cert-detail-overlay {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  pointer-events: all;
}

.cert-detail-icon {
  font-size: 1.7rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.cert-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.cert-detail-issuer {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  position: relative;
  z-index: 1;
}

.cert-detail-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.52;
  position: relative;
  z-index: 1;
}

.cert-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.cert-detail-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}

.cert-detail-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.48);
  font-size: 0.64rem;
  font-weight: 700;
  color: #86EFAC;
  position: relative;
  z-index: 1;
}

/* Mobile tap hint */
.cert-mobile-hint {
  display: none;
  font-size: 0.62rem;
  color: #9C9990;
  text-align: center;
  margin-top: 5px;
  font-weight: 500;
}

@media (hover: none) {
  .cert-mobile-hint {
    display: block;
  }
}

.float-popup {
  position: fixed;
  z-index: 8888;
  max-width: 500px;
  width: calc(100vw - 40px);
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 0 0 1.5px rgba(1, 118, 211, 0.15);
  padding: 18px 20px 16px;
  transform: translateY(30px) scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), opacity 0.35s ease;
  pointer-events: none;
  overflow: hidden;
}

.float-popup.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Gradient top bar */
.float-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.float-popup-commerce::before {
  background: linear-gradient(90deg, #0176D3, #00C6FF, #A855F7);
}

.float-popup-project::before {
  background: linear-gradient(90deg, #F97316, #EC4899, #F59E0B);
}

/* Subtle bg deco */
.float-popup::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.06;
}

.float-popup-commerce::after {
  background: #0176D3;
}

.float-popup-project::after {
  background: #F97316;
}

.float-popup-emoji {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.float-popup-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.float-popup-commerce .float-popup-eyebrow {
  color: #0176D3;
}

.float-popup-project .float-popup-eyebrow {
  color: #F97316;
}

.float-popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1A1814;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.float-popup-desc {
  font-size: 0.76rem;
  color: #6B6860;
  line-height: 1.55;
  margin-bottom: 14px;
}

.float-popup-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.float-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.float-popup-commerce .float-popup-cta.primary {
  background: linear-gradient(135deg, #0176D3, #00A9E0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 118, 211, 0.3);
}

.float-popup-project .float-popup-cta.primary {
  background: linear-gradient(135deg, #F97316, #F59E0B);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.float-popup-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.float-popup-cta.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--blue);
  font-size: 0.72rem;
}

.float-popup-cta.secondary:hover {
  background: #F3F2EE;
  color: #6B6860;
}

/* Close X button */
.float-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F3F2EE;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #9C9990;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  font-family: sans-serif;
  z-index: 1;
}

.float-popup-close:hover {
  background: #E5E4E0;
  color: #3D3A35;
}

/* Positioning helpers — assigned by JS */
.float-popup.pos-bottom-left {
  bottom: 24px;
  left: 24px;
}

.float-popup.pos-bottom-right {
  bottom: 24px;
  right: 24px;
}

.float-popup.pos-top-right {
  top: 90px;
  right: 24px;
}

.float-popup.pos-top-left {
  top: 90px;
  left: 24px;
}

@media (max-width: 480px) {
  .float-popup {
    max-width: calc(100vw - 32px);
    left: 16px !important;
    right: 16px !important;
    width: auto;
  }

  .float-popup-title {
    font-size: 1rem;
  }

  .float-popup.pos-bottom-left,
  .float-popup.pos-bottom-right {
    bottom: 16px;
  }

  .float-popup.pos-top-left,
  .float-popup.pos-top-right {
    top: 80px;
  }
}

/* ───────────────────────────────────────────
   SKILLS CLOUD CELEBRATION MODAL
─────────────────────────────────────────── */
.cloud-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 28, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9994;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cloud-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.cloud-celebrate-modal {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 20px; */
  padding: 24px 20px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82) translateY(32px);
  transition: opacity 0.55s cubic-bezier(.34, 1.56, .64, 1),
    transform 0.55s cubic-bezier(.34, 1.56, .64, 1);
}

.cloud-celebrate-modal.show {
  pointer-events: all;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cloud-modal-inner {
  background: #FFFFFF;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 40px) clamp(24px, 4vw, 36px);
  max-width: 900px;
  width: 100%;
  margin-top: 200px;
  margin-bottom: 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(1, 118, 211, 0.18),
    0 8px 32px rgba(1, 118, 211, 0.10),
    0 40px 100px rgba(8, 12, 28, 0.20),
    0 0 0 1.5px rgba(1, 118, 211, 0.12);
  max-height: calc(100vh - 48px);
}

.cloud-modal-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 118, 211, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cloud-modal-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cloud-modal-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(90deg, #0176D3, #00C6FF, #A855F7, #EC4899, #F59E0B, #0176D3);
  background-size: 300% 100%;
  animation: gradShift 3s linear infinite;
}

/* Floating ambient orbs */
.cloud-modal-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: cloudOrbFloat 6s ease-in-out infinite;
}

.cloud-modal-orb-1 {
  width: 90px;
  height: 90px;
  top: 12%;
  left: -24px;
  background: radial-gradient(circle, rgba(1, 118, 211, 0.12), transparent 70%);
}

.cloud-modal-orb-2 {
  width: 70px;
  height: 70px;
  top: 8%;
  right: -18px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10), transparent 70%);
  animation-delay: -2s;
}

.cloud-modal-orb-3 {
  width: 50px;
  height: 50px;
  bottom: 22%;
  right: 18px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08), transparent 70%);
  animation-delay: -4s;
}

@keyframes cloudOrbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.08);
  }
}

/* Header */
.cloud-modal-header {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.cloud-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: #1A1814;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin-bottom: 10px;
}

.cloud-modal-title .accent {
  background: linear-gradient(105deg, #0176D3 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cloud-modal-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0176D3, #00C6FF);
  border-radius: 2px;
  margin: 14px auto 16px;
}

.cloud-modal-sub {
  font-size: 0.84rem;
  color: #6B6860;
  line-height: 1.72;
  max-width: 380px;
  margin: 0 auto;
}

/* Cloud chips */
.cloud-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}


.cloud-chip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #FAFAF7, #F3F2EE);
  border: 1.5px solid rgba(26, 24, 20, 0.08);
  cursor: default;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.82);
  animation: chipRise 0.55s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.25s);
  transition: transform 0.28s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow 0.28s ease, border-color 0.28s ease,
    background 0.28s ease;
}

@keyframes chipRise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Glass shine overlay */
.cloud-chip-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

/* Coloured accent bottom line */
.cloud-chip-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: 0 0 18px 18px;
  background: var(--chip-color, #0176D3);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.cloud-chip-item:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 36px rgba(1, 118, 211, 0.16), 0 4px 12px rgba(1, 118, 211, 0.10);
  border-color: rgba(1, 118, 211, 0.28);
  background: linear-gradient(145deg, #FFFFFF, #F0F7FF);
}

.cloud-chip-item:hover::after {
  transform: scaleX(1);
}

.cloud-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.28s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.28s ease;
}

.cloud-chip-item:hover .cloud-chip-icon {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cloud-chip-name {
  font-size: 0.60rem;
  font-weight: 700;
  color: #3D3A35;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
}

/* Stats */
.cloud-modal-stats {
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FAFE 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(1, 118, 211, 0.14);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(1, 118, 211, 0.07);
}

.cloud-modal-stat {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  border-right: 1px solid rgba(1, 118, 211, 0.12);
}

.cloud-modal-stat:last-child {
  border-right: none;
}

.cloud-modal-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0176D3, #00A9E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: statPop 0.6s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--s, 0) * 0.10s + 0.65s);
}

@keyframes statPop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cloud-modal-stat-lbl {
  font-size: 0.62rem;
  color: #9C9990;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* CTA button */
.cloud-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0176D3 0%, #00A9E0 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(1, 118, 211, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.2s ease;
  letter-spacing: 0.3px;
}

.cloud-modal-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.cloud-modal-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(1, 118, 211, 0.40);
}

.cloud-modal-cta:hover::before {
  opacity: 1;
}

.cloud-modal-cta .cta-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.cloud-modal-cta:hover .cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 380px) {
  .cloud-chips-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cloud-chip-item:nth-child(7) {
    grid-column: auto;
  }
}