/* ========================================
   Expandig — Modern Software Development
   ======================================== */

/* ========== CSS Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --brand: #52c5ca;
  --brand-dark: #3fa8ad;
  --brand-light: #7dd4d8;

  /* Neutrals */
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-50: #f5f5f5;
  --gray-100: #e0e0e0;
  --gray-200: #c4c4c4;
  --gray-400: #9e9e9e;
  --gray-600: #616161;
  --gray-800: #2e2e2e;

  /* Semantic */
  --text: var(--black);
  --text-muted: var(--gray-600);
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --border: var(--gray-100);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --container-width: 1200px;
  --header-height: 72px;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

/* ========== Typography ========== */
.h1,
.h2,
.h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

.h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}

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

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

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

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.section-head .h2 {
  margin-bottom: var(--space-sm);
}

.section-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

/* ========== Accessibility ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

.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;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.8;
}

/* ========== Navigation ========== */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

.nav-cta {
  padding: var(--space-xs) var(--space-md);
  background: var(--brand);
  color: var(--white);
  border-radius: var(--border-radius-sm);
  transition: background var(--transition);
}

.nav-cta:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.nav-cta.is-active::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle-lines {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}

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

  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition);
  }

  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--space-md);
    text-align: center;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-cta {
    margin: var(--space-sm) var(--space-md);
    text-align: center;
  }
}

/* ========== Hero ========== */
.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--gray-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero .eyebrow {
  margin-bottom: var(--space-sm);
}

.hero .h1 {
  margin-bottom: var(--space-md);
}

.hero .lead {
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.trust-row {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-kpi {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}

.trust-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(82, 197, 202, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-copy {
    max-width: 100%;
  }
}

/* ========== Glass Card ========== */
.glass-card {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.glass-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-md);
}

.glass-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.glass-subtitle {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.pill {
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}

.glass-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ========== Cards ========== */
.cards {
  display: grid;
  gap: var(--space-lg);
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gray-50);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-md);
}

.card .h3 {
  margin-bottom: var(--space-sm);
}

.card .muted {
  margin-bottom: var(--space-md);
}

.link {
  color: var(--brand);
  font-weight: 600;
  transition: color var(--transition);
}

.link:hover {
  color: var(--brand-dark);
}

/* ========== Step Badge ========== */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

/* ========== Split Layout ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-copy .h2 {
  margin-bottom: var(--space-md);
}

.split-copy .muted {
  margin-bottom: var(--space-md);
}

.split-copy .btn {
  margin-right: var(--space-sm);
  margin-top: var(--space-md);
}

@media (max-width: 968px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .split-reverse {
    direction: ltr;
  }
}

/* ========== Feature Board ========== */
.feature-board {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.board-row {
  display: flex;
  gap: var(--space-sm);
}

.board-chip {
  flex: 1;
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--border-radius-sm);
  transition: background var(--transition);
}

.board-chip:hover {
  background: var(--gray-100);
}

.board-chip-wide {
  flex: 2;
}

.chip-title {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.chip-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.soft-gradient {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(82, 197, 202, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ========== Checklist ========== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.checklist li {
  position: relative;
  padding-left: var(--space-lg);
  color: var(--text-muted);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ========== Quote Cards ========== */
.quote-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.quote-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quote-name {
  font-weight: 600;
  color: var(--text);
}

/* ========== CTA Band ========== */
.section-cta-band {
  background: var(--brand);
  color: var(--white);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

.cta-band .h2 {
  margin-bottom: var(--space-sm);
}

.cta-band .muted {
  color: rgba(255, 255, 255, 0.9);
}

.cta-band-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    justify-content: center;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.section-cta-band .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section-cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ========== Page Hero ========== */
.page-hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--gray-50) 100%);
}

.page-hero .eyebrow {
  margin-bottom: var(--space-sm);
}

.page-hero .h1 {
  margin-bottom: var(--space-md);
}

.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* ========== Comparison Table ========== */
.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  background: var(--gray-50);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.25rem;
}

.comparison-table .cross {
  color: var(--gray-400);
  font-size: 1.25rem;
}

.comparison-table .muted-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ========== Pricing Cards ========== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.pricing-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-md);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.pricing-header {
  margin-bottom: var(--space-md);
}

.pricing-header .h3 {
  margin-bottom: var(--space-xs);
}

.pricing-price {
  margin-bottom: var(--space-lg);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  position: relative;
  padding-left: var(--space-lg);
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ========== Forms ========== */
.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.form-split-copy .h2 {
  margin-bottom: var(--space-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.contact-item .h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.social-links {
  margin-top: var(--space-xl);
}

.social-links .h3 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.social-grid {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.social-link img {
  flex-shrink: 0;
}

.contact-form {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53e3e;
}

.error-message {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.875rem;
  color: #e53e3e;
}

.form-note {
  margin-top: var(--space-md);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-success {
  padding: var(--space-2xl);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--brand);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

.form-success .h3 {
  margin-bottom: var(--space-sm);
}

.form-success .muted {
  margin-bottom: var(--space-lg);
}

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

/* ========== FAQ ========== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.faq-item {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.faq-item .h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

/* ========== Portfolio ========== */
.portfolio-grid {
  display: grid;
  gap: var(--space-xl);
}

.portfolio-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.portfolio-category,
.portfolio-industry {
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-category {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.portfolio-header .h3 {
  margin-bottom: var(--space-sm);
}

.portfolio-stats {
  display: flex;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ========== Tech Grid ========== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.tech-category .h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tech-list li {
  position: relative;
  padding-left: var(--space-lg);
  color: var(--text-muted);
}

.tech-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ========== Footer ========== */
.site-footer {
  padding: var(--space-3xl) 0 var(--space-lg);
  background: var(--gray-800);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .brand {
  margin-bottom: var(--space-md);
}

.footer-brand .muted {
  color: rgba(255, 255, 255, 0.7);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .muted {
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  border-radius: var(--border-radius-sm);
}

.footer-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-social a img {
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-social a:hover img {
  opacity: 1;
}

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

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ========== Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
