/* ===== AGROLYTICS DESIGN TOKENS ===== */
/* Custom agro palette: deep green primary, warm orange accent, clean white surfaces */

:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: "General Sans", "Helvetica Neue", sans-serif;
  --font-body: "Satoshi", "Inter", sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ===== LIGHT MODE (Default) ===== */
:root,
[data-theme="light"] {
  --color-bg: #fafcf8;
  --color-surface: #ffffff;
  --color-surface-2: #f5f8f2;
  --color-surface-offset: #eef2eb;
  --color-border: #d2dac9;
  --color-divider: #dde3d6;

  --color-text: #1a2b12;
  --color-text-muted: #5c6d52;
  --color-text-faint: #9aa890;

  /* Primary — Agro Green */
  --color-primary: #2d7a3a;
  --color-primary-hover: #236130;
  --color-primary-active: #1a4923;
  --color-primary-light: #e3f0e5;

  /* Accent — Harvest Orange */
  --color-accent: #d97318;
  --color-accent-hover: #b95f12;
  --color-accent-light: #fef3e2;

  /* Semantic */
  --color-success: #437a22;
  --color-warning: #d97318;
  --color-error: #c93b3b;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 140 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 140 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 140 / 0.12);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --color-bg: #0f1a0d;
  --color-surface: #162112;
  --color-surface-2: #1c2918;
  --color-surface-offset: #1a2516;
  --color-border: #2e3f28;
  --color-divider: #253520;

  --color-text: #d4ded0;
  --color-text-muted: #8da382;
  --color-text-faint: #5a7050;

  --color-primary: #5cb86b;
  --color-primary-hover: #45a254;
  --color-primary-active: #338a40;
  --color-primary-light: #1d3520;

  --color-accent: #f5a64c;
  --color-accent-hover: #e89130;
  --color-accent-light: #332510;

  --color-success: #6daa45;
  --color-warning: #f5a64c;
  --color-error: #e55b5b;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0f1a0d;
    --color-surface: #162112;
    --color-surface-2: #1c2918;
    --color-surface-offset: #1a2516;
    --color-border: #2e3f28;
    --color-divider: #253520;
    --color-text: #d4ded0;
    --color-text-muted: #8da382;
    --color-text-faint: #5a7050;
    --color-primary: #5cb86b;
    --color-primary-hover: #45a254;
    --color-primary-active: #338a40;
    --color-primary-light: #1d3520;
    --color-accent: #f5a64c;
    --color-accent-hover: #e89130;
    --color-accent-light: #332510;
    --color-success: #6daa45;
    --color-warning: #f5a64c;
    --color-error: #e55b5b;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
  font-family: var(--font-display);
}
h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: oklch(from var(--color-primary) l c h / 0.3);
  transition:
    color var(--transition-interactive),
    text-decoration-color var(--transition-interactive);
}
a:hover {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}
.nav-logo svg {
  width: 36px;
  height: 36px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: var(--space-6);
  list-style: none;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-toggle,
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.lang-toggle:hover,
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.lang-toggle {
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 49;
  padding: var(--space-6) var(--space-4);
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  color: #fff;
}

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

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.92) 0%,
    oklch(from var(--color-bg) l c h / 0.7) 50%,
    oklch(from var(--color-bg) l c h / 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: var(--space-16) 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.hero h1 {
  margin-bottom: var(--space-4);
}
.hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ===== SECTION SHARED ===== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}
.section-alt {
  background: var(--color-surface-2);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.section-header .overline {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-header h2 {
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-inline: auto;
}

/* ===== BLOCK 2: PROBLEM / SOLUTION ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.problem-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  color: #fff;
}
.problem-icon--climate {
  background: #3b82f6;
}
.problem-icon--cost {
  background: var(--color-accent);
}
.problem-icon--compliance {
  background: var(--color-primary);
}
.problem-card h3 {
  margin-bottom: var(--space-2);
}
.problem-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ===== BLOCK 3: SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .service-card:first-child {
    grid-row: span 2;
  }
  .service-card:first-child .service-card-img {
    height: 260px;
  }
  /* Right-column cards: horizontal layout */
  .service-card:not(:first-child) {
    display: flex;
    flex-direction: row;
  }
  .service-card:not(:first-child) .service-card-img {
    width: 180px;
    flex-shrink: 0;
    height: auto;
  }
  .service-card:not(:first-child) .service-card-body {
    flex: 1;
    min-width: 0;
  }
}
.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: var(--space-6);
}
.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.service-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
}
.service-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}
.service-tag--orange {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.service-tag--blue {
  background: #eef4ff;
  color: #3b82f6;
}
[data-theme="dark"] .service-tag--blue {
  background: #1e2d4a;
  color: #60a5fa;
}
.service-card h3 {
  margin-bottom: var(--space-2);
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ===== BLOCK 6: PLATFORM SCREENSHOTS ===== */
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.screenshot-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.screenshot-frame {
  overflow: hidden;
  background: var(--color-surface-2);
  line-height: 0;
  height: 220px;
}
.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.screenshot-card:hover .screenshot-frame img {
  transform: scale(1.02);
}
.screenshot-caption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  max-width: none;
  margin: 0;
}

/* ===== BLOCK 4: ADVANTAGES ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}
.advantage-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.advantage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.advantage-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.advantage-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.advantage-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ===== BLOCK 5: PLATFORM FEATURES ===== */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.platform-card {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.platform-card-content {
  flex: 1;
  min-width: 0;
}
.platform-card h3 {
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}
.platform-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.platform-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: #fff;
}
.platform-card-icon--blue {
  background: #3b82f6;
}
.platform-card-icon--green {
  background: var(--color-primary);
}
.platform-card-icon--orange {
  background: var(--color-accent);
}
.platform-card-icon--purple {
  background: #7c3aed;
}
.platform-card-icon--teal {
  background: #0d9488;
}

.platform-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* ===== BLOCK 6: FEATURED IMAGE ===== */
/* (sits between advantages and about — no class changes needed) */

/* ===== BLOCK 7: ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}
.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h2 {
  margin-bottom: var(--space-4);
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== BLOCK 8: TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-info {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.team-bio {
  flex: 1;
}
.team-name {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.team-role {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-decoration: none;
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive);
}
.team-linkedin:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ===== BLOCK 9: CTA / CONTACT ===== */
.cta-section {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}
.cta-section p {
  color: oklch(1 0 0 / 0.8);
  margin-inline: auto;
  margin-bottom: var(--space-8);
  max-width: 560px;
}
.cta-section .btn-accent {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
}
.cta-email {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.7);
}
.cta-email a {
  color: #fff;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
}
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--color-primary);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ===== MISC UTILITY ===== */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
