/* ═══════════════════════════════════════════════
   alisalihsapanci.com — Premium Portfolio
   Design System: Apple-inspired Minimal
═══════════════════════════════════════════════ */

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

/* ─── Variables ─── */
:root {
  --bg:              #FFFFFF;
  --bg-secondary:    #F5F5F7;
  --bg-card:         #FFFFFF;
  --text-primary:    #1D1D1F;
  --text-secondary:  #6E6E73;
  --text-tertiary:   #A1A1A6;
  --accent:          #0071E3;
  --accent-dark:     #0062C3;
  --accent-light:    rgba(0, 113, 227, 0.10);
  --border:          rgba(0, 0, 0, 0.08);
  --border-strong:   rgba(0, 0, 0, 0.15);
  --shadow-sm:       0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:       0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:       0 24px 72px rgba(0,0,0,0.16);
  --radius-sm:       10px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --nav-height:      80px;
  --max-width:       1100px;
  --transition:      0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section--dark {
  background: var(--text-primary);
  color: #fff;
}

/* ─── Typography ─── */
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.section--dark .label {
  color: rgba(255,255,255,0.4);
}

.title-xl {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--text-primary);
}

.title-lg {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-primary);
}

.title-md {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
}

.section--dark .title-xl,
.section--dark .title-lg,
.section--dark .title-md {
  color: #fff;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.section--dark .subtitle {
  color: rgba(255,255,255,0.55);
}

.section-header {
  margin-bottom: 56px;
}

.section-header .label  { margin-bottom: 14px; }
.section-header .subtitle { margin-top: 14px; max-width: 500px; }

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-width);
  height: 56px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition), background var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0,0,0,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.nav__logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  transition: opacity var(--transition);
  white-space: nowrap;
  line-height: 56px;
  height: 56px;
  display: flex;
  align-items: center;
}

.nav__logo:hover { opacity: 0.65; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 56px;
}

.nav__links a {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  line-height: 1;
}

.nav__links a:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

.nav__links a.active {
  color: var(--text-primary);
  background: rgba(0,0,0,0.06);
}

/* Hamburger */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4.5px;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: calc(14px + 56px + 8px);
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 8px;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.nav__mobile.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a {
  display: block;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.nav__mobile a:hover { background: var(--bg-secondary); }
.nav__mobile a.active { color: var(--accent); background: var(--accent-light); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}

.btn--secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn--secondary:hover {
  background: #E5E5EA;
  transform: scale(1.02);
}

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

.btn--ghost:hover {
  background: var(--accent-light);
  transform: scale(1.02);
}

.btn--white {
  background: #fff;
  color: var(--text-primary);
}

.btn--white:hover {
  background: rgba(255,255,255,0.88);
  transform: scale(1.02);
}

/* ─── Tags ─── */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

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

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: var(--bg);
}

.hero__eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(52px, 8.5vw, 96px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 26px;
}

.hero__title .accent {
  color: var(--accent);
}

.hero__role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 8px 18px;
  border-radius: 980px;
  margin-bottom: 28px;
}

.hero__role::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34C759;
  flex-shrink: 0;
}

.hero__description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 44px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── Stats ─── */
.stats {
  padding: 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
}

.stat {
  background: var(--bg-secondary);
  padding: 52px 40px;
  text-align: center;
}

.stat__number {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -2.5px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─── Project Cards ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

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

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

.project-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 980px;
}

.project-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.project-card:hover .project-card__arrow {
  background: var(--accent);
  color: #fff;
  transform: rotate(-30deg);
}

.project-card__arrow svg {
  width: 14px;
  height: 14px;
  transition: color var(--transition);
}

.project-card__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.project-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.project-card .tags { margin-top: auto; }

/* ─── Filter Tabs ─── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #fff;
}

.project-card.hidden {
  display: none;
}

/* ─── CTA Section ─── */
.cta {
  text-align: center;
}

.cta .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.cta .section-header .subtitle {
  color: rgba(255,255,255,0.55);
}

/* ─── About Page ─── */
.page-hero {
  padding: 130px 0 80px;
}

.page-hero .label  { margin-bottom: 16px; }
.page-hero .title-lg { margin-bottom: 18px; }

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

.about-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.about-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Experience */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-item {
  padding: 28px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.experience-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.experience-item__period {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 6px;
}

.experience-item__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.experience-item__sub {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px 28px;
  transition: all var(--transition);
}

.skill-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

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

.skill-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-card__level {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.skill-bar {
  height: 3px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #34AADC);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar__fill.animated {
  width: var(--pct);
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info .label { margin-bottom: 20px; }

.contact-info__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-info__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-detail__value a {
  color: var(--accent);
  transition: opacity var(--transition);
}

.contact-detail__value a:hover { opacity: 0.7; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateX(4px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-link__name { flex: 1; }

.social-link__arrow {
  font-size: 12px;
  color: var(--text-tertiary);
  transition: all var(--transition);
}

.social-link:hover .social-link__arrow {
  color: var(--accent);
  transform: translateX(2px);
}

/* Form */
.form-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-tertiary);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236E6E73'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__submit {
  padding: 15px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  align-self: flex-start;
  letter-spacing: 0.2px;
}

.form__submit:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}

.form__submit.sent {
  background: #34C759;
  pointer-events: none;
}

.form__message {
  font-size: 14px;
  color: #34C759;
  font-weight: 500;
  display: none;
}

.form__message.visible { display: block; }

/* ─── Footer ─── */
.footer {
  background: var(--text-primary);
  color: #fff;
  padding: 64px 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  display: block;
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 220px;
}

.footer__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__col-links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer__email {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer__email:hover {
  color: rgba(255,255,255,0.7);
}

/* ─── Platform / Freelance Cards ─── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

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

.platform-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.platform-card__name-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.platform-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}

.platform-card__type {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.platform-card__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 980px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}

.platform-card__badge--gold {
  background: #FEF3C7;
  color: #92400E;
}

.platform-card__badge--green {
  background: #D1FAE5;
  color: #065F46;
}

.platform-card__badge--blue {
  background: var(--accent-light);
  color: var(--accent);
}

.platform-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.platform-service {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.platform-service:hover {
  background: #EBEBF0;
}

.platform-service__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.platform-service__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.platform-service__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

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

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

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Nav — daha küçük floating pill */
  .nav {
    top: 10px;
    width: calc(100% - 32px);
    height: 50px;
    border-radius: 14px;
  }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menü pozisyonu nav'a göre ayarla */
  .nav__mobile {
    top: calc(10px + 50px + 6px);
    left: 16px;
    right: 16px;
  }

  .section { padding: 72px 0; }
  .hero { padding-top: 90px; }
  .page-hero { padding: 110px 0 60px; }

  .hero__title { letter-spacing: -1.8px; }

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .form__row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

  .stat { padding: 36px 24px; }
  .stat__number { font-size: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .nav {
    top: 8px;
    width: calc(100% - 24px);
    height: 48px;
    border-radius: 12px;
  }
  .nav__mobile {
    top: calc(8px + 48px + 6px);
    left: 12px;
    right: 12px;
  }

  .hero { padding-top: 80px; }
  .page-hero { padding: 100px 0 56px; }

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

  .hero__ctas { gap: 10px; }
}
