/* Apprimax – Modern software provider site */

/* ===== Page preloader – animated logo ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(40, 128, 247, 0.12) 0%, transparent 50%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader__logo {
  width: 120px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  animation: loaderLogoPulse 1.8s ease-in-out infinite;
}

.page-loader__ring {
  position: absolute;
  inset: -8px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: rgba(19, 114, 246, 0.3);
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite;
}

.page-loader__ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid transparent;
  border-bottom-color: var(--accent-light);
  border-left-color: rgba(19, 114, 246, 0.25);
  border-radius: 50%;
  animation: loaderSpin 1.4s linear infinite reverse;
}

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

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

:root {
  --accent: #1372f6;
  --accent-light: #1372f6;
  --glow: rgba(19, 114, 246, 0.4);
  --bg-base: rgb(1, 6, 26);
  --bg-mix: rgb(40, 128, 247);
}

html {
  scroll-behavior: smooth;
}

/* Section patterns – consistent background texture */
.section-pattern {
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.section-pattern-dots {
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero: software-themed pattern – fine grid + subtle diagonal (code/tech feel) */
.hero-software-pattern {
  pointer-events: none;
  background-image:
    linear-gradient(105deg, rgba(19, 114, 246, 0.03) 1px, transparent 1px),
    linear-gradient(-105deg, rgba(19, 114, 246, 0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

/* Site background: rgb(1, 6, 26) mixed with rgb(40, 128, 247) */
.site-bg {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(40, 128, 247, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 80% 50%, rgba(40, 128, 247, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(40, 128, 247, 0.06) 0%, transparent 45%);
}

/* Service cards: gradient bg (#1372f6) */
.service-card-bg {
  background: linear-gradient(135deg, rgba(19, 114, 246, 0.14) 0%, rgba(18, 18, 28, 0.96) 45%, rgba(19, 114, 246, 0.08) 100%);
}

/* Mission & Vision – premium (below hero) */
.mv-section {
  position: relative;
  padding: 5rem 1.5rem 5.5rem;
  overflow: hidden;
}

.mv-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mv-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(19, 114, 246, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(19, 114, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(19, 114, 246, 0.05) 0%, transparent 50%);
}

.mv-bg-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.mv-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(19, 114, 246, 0.04) 0%, transparent 40%);
}

.mv-container {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.mv-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.mv-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(19, 114, 246);
  margin-bottom: 1rem;
}

.mv-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.mv-title-accent {
  background: linear-gradient(135deg, #93c5fd 0%, #1372f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mv-lead {
  color: rgb(148, 163, 184);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 auto;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .mv-cards {
    grid-template-columns: 1fr;
  }
}

.mv-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(19, 114, 246, 0.35) 0%, rgba(19, 114, 246, 0.05) 40%, rgba(19, 114, 246, 0.15) 100%);
  background-size: 200% 200%;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.mv-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 64px -20px rgba(19, 114, 246, 0.25);
}

.mv-card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(19, 114, 246, 0.12);
  line-height: 1;
  letter-spacing: -0.04em;
}

.mv-card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(19, 114, 246, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.mv-card-border {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 50%, rgba(19, 114, 246, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mv-card:hover .mv-card-border {
  opacity: 1;
}

.mv-card-inner {
  position: relative;
  border-radius: calc(1.5rem - 1px);
  background: linear-gradient(165deg, rgba(18, 18, 32, 0.95) 0%, rgba(10, 12, 26, 0.98) 100%);
  backdrop-filter: blur(24px);
  padding: 2.25rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mv-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(19, 114, 246, 0.25) 0%, rgba(19, 114, 246, 0.08) 100%);
  border: 1px solid rgba(19, 114, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(147, 197, 253);
}

.mv-card:hover .mv-card-icon {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(19, 114, 246, 0.2);
}

.mv-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.mv-card-text {
  color: rgb(148, 163, 184);
  font-size: 0.9375rem;
  line-height: 1.75;
  flex: 1;
}

/* Hero gradient text */
.hero-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #1372f6 50%, #0d5bd6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Primary CTA – gradient + glow */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 4px 20px var(--glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow);
}

/* English header: menu next to logo, language picker on right, left space */
header nav.en-nav {
  padding-left: 2rem;
}

/* Center nav links in header (English and Arabic) */
header nav > ul {
  flex: 1;
  justify-content: center;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

/* English language dropdown – align menu to the right of trigger */
.lang-dropdown-en .lang-dropdown-menu {
  left: auto;
  right: 0;
}

/* Language dropdown (Arabic: left side; English: can reuse) */
.lang-dropdown summary::-webkit-details-marker,
.lang-dropdown-trigger::-webkit-details-marker {
  display: none;
}

.lang-dropdown-menu {
  display: none;
}

.lang-dropdown[open] .lang-dropdown-menu {
  display: block;
}

/* Header: glass when scrolled */
header.scrolled {
  background: rgba(1, 6, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Service cards – lift + border glow */
.service-card {
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(40, 128, 247, 0.15);
}

/* Agile step numbers */
.agile-step-number {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.agile-step.visible .agile-step-number {
  transform: scale(1.08);
  box-shadow: 0 12px 32px -8px var(--glow);
}

.agile-steps .agile-step {
  opacity: 0.85;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.agile-steps .agile-step.visible {
  opacity: 1;
}

/* Section reveal – fade up on scroll */
.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements stagger */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
.reveal:nth-child(3) { animation-delay: 0.35s; }
.reveal:nth-child(4) { animation-delay: 0.5s; }
.reveal:nth-child(5) { animation-delay: 0.65s; }
.reveal:nth-child(6) { animation-delay: 0.8s; }
.reveal:nth-child(7) { animation-delay: 0.95s; }
.reveal:nth-child(8) { animation-delay: 1.1s; }
.reveal:nth-child(9) { animation-delay: 1.25s; }
.reveal:nth-child(10) { animation-delay: 1.4s; }

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

/* Agile timeline line – animated on scroll */
.agile-line {
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
}

.agile-line.animated {
  transform: translateY(-50%) scaleX(1);
}

/* Blog section */
.blog-card a {
  display: block;
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(22, 22, 38, 0.9) 0%, rgba(14, 14, 28, 0.95) 100%);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card a:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 114, 246, 0.3);
  box-shadow: 0 20px 40px -16px rgba(19, 114, 246, 0.2);
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(19, 114, 246, 0.2) 0%, rgba(19, 114, 246, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.blog-card:hover .blog-card-image {
  background: linear-gradient(135deg, rgba(19, 114, 246, 0.25) 0%, rgba(19, 114, 246, 0.08) 100%);
}

.blog-card-placeholder {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(19, 114, 246, 0.4);
  letter-spacing: -0.02em;
}

.blog-card-content {
  padding: 1.5rem 1.5rem 1.75rem;
}

.blog-card-meta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(19, 114, 246);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.blog-card a:hover .blog-card-title {
  color: rgb(191, 219, 254);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: rgb(148, 163, 184);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-date {
  font-size: 0.8125rem;
  color: rgb(100, 116, 139);
}

/* Input focus glow */
.input-modern:focus {
  box-shadow: 0 0 0 3px rgba(40, 128, 247, 0.2);
}

/* Contact – modern */
.contact-section {
  position: relative;
  padding: 5.5rem 1.5rem 6rem;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(19, 114, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(19, 114, 246, 0.06) 0%, transparent 50%);
}

.contact-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.contact-container {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .contact-welcome {
    align-items: flex-start;
    text-align: left;
  }
}

.contact-image-wrap {
  position: relative;
  margin-bottom: 2rem;
  max-width: 340px;
  border-radius: 1.5rem;
  padding: 3px;
  background: linear-gradient(145deg, rgba(19, 114, 246, 0.4) 0%, rgba(19, 114, 246, 0.05) 50%, rgba(19, 114, 246, 0.2) 100%);
  box-shadow: 0 0 40px rgba(19, 114, 246, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-image-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(19, 114, 246, 0.2);
}

.contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(1.5rem - 3px);
  object-fit: cover;
  background: linear-gradient(165deg, rgba(18, 18, 32, 0.98) 0%, rgba(12, 12, 26, 0.99) 100%);
}

.contact-welcome-text {
  max-width: 400px;
}

.contact-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(19, 114, 246);
  background: rgba(19, 114, 246, 0.12);
  border: 1px solid rgba(19, 114, 246, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.contact-headline {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-headline-accent {
  background: linear-gradient(135deg, #93c5fd 0%, #1372f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-lead {
  color: rgb(148, 163, 184);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(19, 114, 246);
  transition: color 0.25s ease, gap 0.25s ease, transform 0.25s ease;
}

.contact-cta-link:hover {
  color: rgb(147, 197, 253);
  gap: 0.75rem;
}

.contact-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.contact-cta-link:hover .contact-cta-arrow {
  transform: translateX(4px);
}

/* Form card */
.contact-form-wrap {
  position: relative;
}

.contact-form-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(145deg, rgba(19, 114, 246, 0.3) 0%, rgba(19, 114, 246, 0.05) 45%, rgba(255, 255, 255, 0.06) 100%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -20px rgba(19, 114, 246, 0.22);
}

.contact-form-card-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(19, 114, 246, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.contact-form-card-inner {
  position: relative;
  border-radius: calc(1.5rem - 1px);
  background: linear-gradient(170deg, rgba(20, 20, 36, 0.98) 0%, rgba(12, 14, 28, 0.99) 100%);
  backdrop-filter: blur(24px);
  padding: 2.25rem 2.5rem;
}

.contact-form-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19, 114, 246, 0.95);
  margin-bottom: 0.75rem;
}

.contact-form-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.contact-form-desc {
  font-size: 0.875rem;
  color: rgb(148, 163, 184);
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(148, 163, 184);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgb(100, 116, 139);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(19, 114, 246, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(19, 114, 246, 0.15);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
  border-radius: 0.875rem;
  border: none;
  background: linear-gradient(135deg, #1372f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(19, 114, 246, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(19, 114, 246, 0.4);
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-gradient { animation: none; }
  .page-loader__logo { animation: none; }
  .page-loader__ring,
  .page-loader__ring::after { animation: none; opacity: 0.5; }
  .service-card,
  .agile-step-number,
  .agile-steps .agile-step,
  .section-reveal,
  .reveal,
  .mv-card,
  .mv-card-icon,
  .mv-card-border,
  .contact-image-wrap,
  .contact-form-card,
  .contact-cta-link,
  .contact-cta-arrow,
  .contact-submit { transition: none; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .section-reveal { opacity: 1; transform: none; }
  .mv-card:hover { transform: none; }
  .contact-image-wrap:hover { transform: none; }
  .contact-form-card:hover { transform: none; }
  .contact-cta-link:hover .contact-cta-arrow { transform: none; }
  .contact-submit:hover { transform: none; }
}

/* Single post page – article content */
.post-content {
  font-weight: 500;
  line-height: 1.75;
  color: rgb(203, 213, 225);
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-content ul,
.post-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content a {
  color: var(--accent);
  text-decoration: none;
}

.post-content a:hover {
  text-decoration: underline;
}

/* Modern site footer */
.site-footer {
  position: relative;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.site-footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
}

.site-footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 114, 246, 0.3), transparent);
  opacity: 0.6;
}

.site-footer-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .site-footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
  }
}

.site-footer-brand {
  max-width: 280px;
}

.site-footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.site-footer-tagline {
  font-size: 0.875rem;
  color: rgb(148, 163, 184);
  font-weight: 500;
  line-height: 1.5;
}

.site-footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(148, 163, 184);
  margin-bottom: 1.25rem;
}

.site-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-column li {
  margin-bottom: 0.65rem;
}

.site-footer-column a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgb(203, 213, 225);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-column a:hover {
  color: #fff;
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer-copy {
  font-size: 0.8125rem;
  color: rgb(100, 116, 139);
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .site-footer-legal {
    justify-content: flex-end;
  }
}

.site-footer-legal a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(148, 163, 184);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-legal a:hover {
  color: #fff;
}
