/* ═══════════════════════════════════════════════════
   DR.SYSTEM — MOSAAB HARFOUSH PORTFOLIO
   Premium Dark Portfolio CSS
═══════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --bg-0: #03080F;
  --bg-1: #060E1A;
  --bg-2: #0A1628;
  --bg-3: #0D1E35;
  --bg-card: #0B1929;
  --bg-elevated: #0F2240;

  --blue: #00C8F0;
  --blue-bright: #00E5FF;
  --blue-dim: rgba(0, 200, 240, 0.12);
  --blue-border: rgba(0, 200, 240, 0.22);
  --blue-glow: rgba(0, 200, 240, 0.35);

  --purple: #6C3FD4;
  --purple-dim: rgba(108, 63, 212, 0.15);

  --gold: #F0A500;
  --gold-dim: rgba(240, 165, 0, 0.15);

  --white: #FFFFFF;
  --text-1: #E8EEF8;
  --text-2: #8899BB;
  --text-3: #4A5A7A;
  --border: rgba(255,255,255,0.06);

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

  --font-en: 'Space Grotesk', sans-serif;
  --font-ar: 'Noto Kufi Arabic', sans-serif;

  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-ar);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection {
  background: var(--blue-dim);
  color: var(--blue-bright);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION BASE ── */
.section { padding: 100px 0; }

.section__header { text-align: center; margin-bottom: 64px; }

.section__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-border);
  background: var(--blue-dim);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section__sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.text--accent { color: var(--blue); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--bg-0);
  box-shadow: 0 0 30px rgba(0, 200, 240, 0.3);
}
.btn--primary:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 50px rgba(0, 200, 240, 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--blue-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  background: var(--blue-dim);
}

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: var(--transition);
}
.tag:hover {
  border-color: var(--blue-border);
  color: var(--blue);
  background: var(--blue-dim);
}

/* ── PILL ── */
.pill {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-2);
}

/* ── LOGO ── */
.logo-dr {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--blue);
}
.logo-sys {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(3, 8, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 22px;
  letter-spacing: -0.5px;
  z-index: 10;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav__link--cta {
  background: var(--blue-dim);
  color: var(--blue) !important;
  border: 1px solid var(--blue-border);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--blue) !important;
  color: var(--bg-0) !important;
  border-color: var(--blue) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 120px;
  overflow: hidden;
  background: var(--bg-0);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,240,0.04) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(108,63,212,0.06) 0%, transparent 60%),
              linear-gradient(180deg, transparent 60%, var(--bg-0) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 18px;
  letter-spacing: 0.5px;
}

.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34,197,94,0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 16px rgba(34,197,94,0.8); }
}

.hero__name {
  font-family: var(--font-en);
  font-size: clamp(36px, 7vw, 82px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
}

.hero__brand-wrap {
  font-family: var(--font-en);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-top: -8px;
}
.hero__brand-dr { color: var(--blue); }
.hero__brand-sys { color: rgba(255,255,255,0.5); }

.hero__tagline {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__tagline-ar { font-weight: 500; color: var(--text-1); }
.hero__tagline-div {
  color: var(--blue-border);
  font-family: var(--font-en);
}
.hero__tagline-en {
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0.5px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text-3);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Stats strip */
.hero__stats-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  flex-wrap: wrap;
}

.hero__strip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 32px;
}

.hero__strip-stat strong {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.hero__strip-stat span {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__strip-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
.about {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

/* LEFT — photo + timeline */
.about__left { position: relative; }

.about__photo-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 40px;
}

.about__photo {
  position: relative;
  z-index: 3;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--blue-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  box-shadow: 0 0 40px rgba(0, 200, 240, 0.15);
}

.about__photo-initials {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -1px;
}

.about__photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--blue-border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.about__photo-ring--outer {
  width: 196px; height: 196px;
  animation: ring-rotate 12s linear infinite;
  border-style: dashed;
  border-color: rgba(0,200,240,0.2);
}
.about__photo-ring--inner {
  width: 178px; height: 178px;
  border-color: rgba(0,200,240,0.1);
}

@keyframes ring-rotate {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

.about__photo-badge {
  position: absolute;
  bottom: 16px; right: 8px;
  z-index: 4;
  background: var(--blue);
  color: var(--bg-0);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0,200,240,0.4);
}

/* Timeline */
.about__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 16px;
  border-right: 2px solid var(--border);
}

.timeline__item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--text-3);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  right: -21px;
}

.timeline__dot--active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(0,200,240,0.5);
}

.timeline__line {
  position: absolute;
  right: -17px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline__year {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.timeline__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}

.timeline__item--active .timeline__role { color: var(--blue); }

.timeline__co {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-3);
}

/* RIGHT — text */
.about__right { padding-top: 8px; }

.about__p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about__p strong { color: var(--text-1); font-weight: 600; }

.about__quote {
  border-right: 3px solid var(--blue);
  padding: 14px 20px;
  background: var(--blue-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.about__quote blockquote {
  font-size: 15px;
  color: var(--text-1);
  font-style: italic;
  line-height: 1.7;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats {
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}

.stats__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  letter-spacing: 10px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stats__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
}

.stats__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue-dim) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.stats__card:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,200,240,0.08);
}
.stats__card:hover::before { opacity: 1; }

.stats__card-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,240,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats__icon-wrap {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--blue);
  opacity: 0.7;
}
.stats__icon-wrap svg { width: 100%; height: 100%; }

.stats__number-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.stats__num {
  font-family: var(--font-en);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
}

.stats__label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════ */
.projects {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.project {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: var(--transition);
}

.project:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,200,240,0.06);
}
.project:hover::after { opacity: 1; }

.project--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(15,34,64,0.8) 100%);
  border-color: var(--blue-border);
  padding: 40px;
}
.project--featured::after { opacity: 0.6; }

.project__num {
  font-family: var(--font-en);
  font-size: 60px;
  font-weight: 800;
  color: rgba(0,200,240,0.06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -3px;
  pointer-events: none;
  user-select: none;
}

.project--featured .project__num { font-size: 80px; }

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

.project__cat {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.project__title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.project__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.project__chips span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: var(--blue);
}

.project__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}

.project__metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: rgba(0,200,240,0.04);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.project__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project__metric strong {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.project__metric span {
  font-size: 12px;
  color: var(--text-3);
}

.project__tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project__tech-row span {
  font-family: var(--font-en);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════ */
.skills { background: var(--bg-0); }

.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.skills__col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.skills__col--full {
  grid-column: span 2;
}

.skills__col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Skill bars */
.skill { margin-bottom: 18px; }
.skill:last-child { margin-bottom: 0; }

.skill__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-1);
  font-weight: 500;
}

.skill__level {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.skill__level--expert { background: rgba(0,200,240,0.15); color: var(--blue); }
.skill__level--adv { background: rgba(108,63,212,0.15); color: #A78BFA; }
.skill__level--prof { background: rgba(240,165,0,0.12); color: var(--gold); }

.skill__track {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 99px;
  overflow: hidden;
}

.skill__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0,200,240,0.4);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar {
  padding: 24px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.pillar:hover {
  border-color: var(--blue-border);
  background: var(--blue-dim);
  transform: translateY(-3px);
}

.pillar__icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  color: var(--blue);
}
.pillar__icon svg { width: 100%; height: 100%; }

.pillar h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact__sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 40px;
}

.contact__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: right;
}

.clink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.clink:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.clink--wa:hover { border-color: rgba(37,211,102,0.4); box-shadow: 0 16px 40px rgba(37,211,102,0.1); }
.clink--li:hover { border-color: rgba(10,102,194,0.5); box-shadow: 0 16px 40px rgba(10,102,194,0.15); }
.clink--gh:hover { border-color: rgba(255,255,255,0.2); }
.clink--ig:hover { border-color: rgba(228,64,95,0.4); box-shadow: 0 16px 40px rgba(228,64,95,0.1); }

.clink__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.clink__icon svg { width: 22px; height: 22px; }

.clink--wa .clink__icon { background: rgba(37,211,102,0.12); color: #25D366; }
.clink--li .clink__icon { background: rgba(10,102,194,0.12); color: #0A66C2; }
.clink--gh .clink__icon { background: rgba(255,255,255,0.06); color: var(--text-1); }
.clink--ig .clink__icon { background: rgba(228,64,95,0.1); color: #E4405F; }

.clink__body { display: flex; flex-direction: column; gap: 2px; }
.clink__body strong { font-size: 15px; font-weight: 600; color: var(--white); }
.clink__body span { font-family: var(--font-en); font-size: 13px; color: var(--text-3); direction: ltr; }

.contact__watermark {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(60px, 16vw, 160px);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  letter-spacing: 4px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

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

.footer__logo { font-size: 18px; font-weight: 700; }

.footer__copy {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  gap: 16px;
}
.footer__links a {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-3);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(3, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform var(--transition);
    gap: 16px;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 18px; padding: 12px 24px; }

  .nav__burger { display: flex; }

  .hero__stats-strip { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__timeline { border-right: none; border-top: 1px solid var(--border); padding: 20px 0 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .projects__grid { grid-template-columns: 1fr; }
  .project--featured { grid-column: span 1; }

  .skills__grid { grid-template-columns: 1fr; }
  .skills__col--full { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr 1fr; }

  .contact__links { grid-template-columns: 1fr; }

  .hero__stats-strip { flex-wrap: wrap; gap: 4px; }
  .hero__strip-div { display: none; }

  .footer__inner { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .pillars { grid-template-columns: 1fr; }
  .project__header { flex-direction: column; }
  .project__metrics { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
