/* ========================================
   OvanFix Landing — Light, Modern, Sans
   ======================================== */

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

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-elevated: #F5F5F7;
  --bg-card: #FFFFFF;
  --border: #E8E8EC;
  --border-bright: #D8D8DE;
  --border-dark: #1A1A1F;
  --text: #0A0A0F;
  --text-muted: #5A5A66;
  --text-dim: #8A8A95;
  --accent: #2563EB;
  --accent-bright: #3B82F6;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-dark: #1E40AF;
  --warning: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ========================================
   HEADER
   ======================================== */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.logo-mark { color: var(--accent); }

.logo-by {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  padding-left: 10px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
  font-family: var(--mono);
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.15s, background 0.15s;
}

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

@media (max-width: 880px) {
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .nav-link { display: none; }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15), 0 8px 24px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2), 0 16px 32px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-soft);
}

.btn-primary.large, .btn-secondary.large {
  padding: 16px 28px;
  font-size: 16px;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FB 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 15, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 15, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--sans);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 1000px;
  color: var(--text);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 88px;
}

/* App preview mockup */
.hero-visual {
  position: relative;
  margin-top: 24px;
  perspective: 2000px;
}

.terminal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px -4px rgba(0, 0, 0, 0.08),
    0 32px 80px -16px rgba(37, 99, 235, 0.15);
  transform: rotateX(2deg);
  transform-origin: center top;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-bright);
}

.terminal-dot:nth-child(1) { background: #FF5F57; }
.terminal-dot:nth-child(2) { background: #FFBD2E; }
.terminal-dot:nth-child(3) { background: #28C940; }

.terminal-title {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

.terminal-body {
  padding: 28px;
  background: #fff;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.kpi {
  background: #fff;
  padding: 20px;
}

.kpi-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}

.kpi-value {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
}

.kpi-unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-trend {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.kpi-trend.up { color: var(--success); }

.ot-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ot-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  font-size: 13px;
  transition: background 0.15s;
}

.ot-item:hover { background: var(--bg-soft); }

.ot-id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.ot-title {
  color: var(--text);
  font-weight: 500;
}

.ot-priority, .ot-status {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.01em;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.ot-priority.high { background: rgba(239, 68, 68, 0.10); color: var(--danger); }
.ot-priority.med { background: rgba(245, 158, 11, 0.10); color: var(--warning); }
.ot-priority.low { background: rgba(16, 185, 129, 0.10); color: var(--success); }

.ot-status.new { color: var(--text-muted); border: 1px solid var(--border-bright); }
.ot-status.progress { color: var(--accent); border: 1px solid rgba(37, 99, 235, 0.2); background: var(--accent-soft); }
.ot-status.done { color: var(--text-dim); }

@media (max-width: 720px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ot-item { grid-template-columns: 1fr auto; gap: 8px; }
  .ot-item .ot-id, .ot-item .ot-priority { display: none; }
  .terminal-body { padding: 18px; }
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
  font-weight: 500;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-stat {
  text-align: center;
}

.trust-num {
  font-family: var(--sans);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--text);
}

.trust-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  font-weight: 500;
}

@media (max-width: 720px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ========================================
   SECTION HEADS
   ======================================== */

.section-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.55;
  margin-bottom: 56px;
  font-weight: 400;
}

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

/* ========================================
   FEATURES GRID
   ======================================== */

.features {
  padding: 120px 0;
  background: var(--bg);
}

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

.feature-card {
  background: #fff;
  padding: 36px;
  position: relative;
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--bg-soft);
}

.feature-card.large {
  grid-column: span 3;
  padding: 48px;
  background: linear-gradient(135deg, #fff 0%, #F4F6FB 100%);
}

.feature-card.large h3 {
  font-size: 26px;
}

.feature-card.large p {
  max-width: 520px;
  font-size: 16px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 11px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-detail {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--sans);
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 880px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.large { grid-column: span 2; }
}

@media (max-width: 580px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-column: span 1; padding: 32px; }
  .feature-card { padding: 28px; }
}

/* ========================================
   MODULES
   ======================================== */

.modules {
  padding: 120px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.modules-list {
  display: flex;
  flex-direction: column;
}

.module {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  transition: padding 0.3s;
}

.module:last-child {
  border-bottom: 1px solid var(--border);
}

.module:hover {
  padding-left: 16px;
}

.module-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 6px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.module-content h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--text);
}

.module-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 580px;
}

.module-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  padding-top: 8px;
}

.module-tags span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  font-weight: 500;
}

@media (max-width: 720px) {
  .module {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .module-tags {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .module:hover { padding-left: 0; }
}

/* ========================================
   MOBILE SECTION
   ======================================== */

.mobile {
  padding: 120px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.mobile::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
}

.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.mobile-content .section-num,
.mobile-content .section-title,
.mobile-content .section-sub {
  margin-bottom: 16px;
}

.mobile-content .section-sub { margin-bottom: 36px; }

.mobile-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mobile-features svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.mobile-features strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.mobile-features span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}

/* Phone mockup */
.mobile-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: 290px;
  height: 580px;
  background: #1A1A1F;
  border: 1px solid #2A2A30;
  border-radius: 42px;
  padding: 14px;
  position: relative;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 20px 40px -10px rgba(0, 0, 0, 0.18),
    0 40px 80px -20px rgba(37, 99, 235, 0.15);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #FAFAFC;
  border-radius: 30px;
  padding: 50px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 4px;
  font-weight: 500;
}

.phone-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.phone-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.phone-card-id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-weight: 500;
}

.phone-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.phone-pill {
  font-family: var(--sans);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.phone-pill.high {
  background: rgba(239, 68, 68, 0.10);
  color: var(--danger);
}

.phone-timer {
  text-align: center;
  padding: 12px 0 4px;
}

.phone-timer-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}

.phone-timer-value {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-btn {
  padding: 9px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: #fff;
}

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

.phone-card.sub {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-mini {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 10px;
  background: var(--bg-elevated);
  border-radius: 8px;
}

@media (max-width: 880px) {
  .mobile-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .phone {
    width: 260px;
    height: 520px;
  }
}

/* ========================================
   CTA
   ======================================== */

.cta {
  padding: 120px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(15, 23, 42, 0.25);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.cta-card .section-num {
  position: relative;
  color: #93C5FD;
}

.cta-title {
  position: relative;
  font-family: var(--sans);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
}

.cta-sub {
  position: relative;
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 580px) {
  .cta-card { padding: 56px 28px; }
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-company {
  margin-top: 12px !important;
  font-size: 13px !important;
  color: var(--text-dim) !important;
}

.footer-company strong {
  color: var(--text);
  font-weight: 600;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  justify-self: end;
}

.footer-cols h4 {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-cols a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}

.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-meta {
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { justify-self: start; }
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal[data-delay="0"] { animation-delay: 0ms; }
.reveal[data-delay="100"] { animation-delay: 100ms; }
.reveal[data-delay="200"] { animation-delay: 200ms; }
.reveal[data-delay="300"] { animation-delay: 300ms; }
.reveal[data-delay="500"] { animation-delay: 500ms; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
