:root {
  --primary-green: #21a355;
  --primary-blue: #243e90;
  --primary-teal: #12404a;
  --accent-cyan: #88faff;
  --accent-ice: #e7f2f7;
  --bg-alabaster: #f1f5f9;
  --bg-alabaster-dark: #dfe1df;
  --text-dark: #0a1f24;
  --text-light: #ffffff;

  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-alabaster);
  color: var(--text-dark);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--primary-teal);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  opacity: 0.8;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--primary-teal);
  opacity: 1;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    background-color 0.4s var(--ease-out-expo),
    color 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(33, 85, 163, 0.3);
  background-color: #003333;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--bg-alabaster);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-cyan);
  color: var(--primary-teal);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(136, 250, 255, 0.2);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(18, 64, 74, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}

.brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-teal);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.brand-logo {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Animated Gradients */
.animated-gradient {
  background: linear-gradient(
    -45deg,
    var(--accent-ice),
    #ffffff,
    var(--accent-cyan),
    var(--bg-alabaster)
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 12rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  z-index: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    var(--bg-alabaster) 100%
  );
  pointer-events: none;
}

/* ─── Hero Bird Animations ───────────────────────────────────── */
.bird {
  background-image: url("assets/birds.svg");
  background-size: auto 100%;
  width: 88px;
  height: 125px;
  will-change: background-position;
  filter: brightness(0) blur(0.8px);
  animation-name: fly-cycle;
  animation-timing-function: steps(10);
  animation-iteration-count: infinite;
}

.bird-one {
  animation-duration: 1s;
  animation-delay: -0.5s;
}
.bird-two {
  animation-duration: 0.9s;
  animation-delay: -0.75s;
}
.bird-three {
  animation-duration: 1.25s;
  animation-delay: -0.25s;
}
.bird-four {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}

.bird-container {
  position: absolute;
  top: 15%;
  left: -3%;
  transform: scale(0) translateX(-10vw);
  will-change: transform;
  z-index: 1;
  pointer-events: none;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-name: fly-right-one;
}

.bird-container-one {
  animation-duration: 15s;
  animation-delay: 0s;
}
.bird-container-two {
  animation-duration: 16s;
  animation-delay: 1s;
  animation-name: fly-right-two;
}
.bird-container-three {
  animation-duration: 14.6s;
  animation-delay: 9.5s;
}
.bird-container-four {
  animation-duration: 16s;
  animation-delay: 10.25s;
  animation-name: fly-right-two;
}

@keyframes fly-cycle {
  100% {
    background-position: -900px 0;
  }
}

@keyframes fly-right-one {
  0% {
    transform: scale(0.18) translateX(-10vw);
  }
  10% {
    transform: translateY(2vh) translateX(10vw) scale(0.22);
  }
  20% {
    transform: translateY(0vh) translateX(30vw) scale(0.26);
  }
  30% {
    transform: translateY(3vh) translateX(50vw) scale(0.3);
  }
  40% {
    transform: translateY(1.5vh) translateX(70vw) scale(0.32);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.33);
  }
  60% {
    transform: translateY(0vh) translateX(110vw) scale(0.33);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.33);
  }
}

@keyframes fly-right-two {
  0% {
    transform: translateY(-1vh) translateX(-10vw) scale(0.2);
  }
  10% {
    transform: translateY(0vh) translateX(10vw) scale(0.22);
  }
  20% {
    transform: translateY(-3vh) translateX(30vw) scale(0.28);
  }
  30% {
    transform: translateY(1vh) translateX(50vw) scale(0.25);
  }
  40% {
    transform: translateY(-2vh) translateX(70vw) scale(0.28);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.26);
  }
  51% {
    transform: translateY(0vh) translateX(110vw) scale(0.26);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.26);
  }
}

/* ─── Hero Cloud Animations ──────────────────────────────────── */
.hero-cloud {
  position: absolute;
  bottom: -50px;
  width: clamp(420px, 55vw, 900px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  filter: blur(0.5px);
  will-change: transform;
  user-select: none;
}

.cloud-1 {
  left: -8%;
  animation: cloud-drift-right 15s ease-in-out infinite alternate;
}

.cloud-2 {
  right: -8%;
  width: clamp(380px, 48vw, 780px);
  opacity: 0.45;
  animation: cloud-drift-left 30s ease-in-out infinite alternate;
}

@keyframes cloud-drift-right {
  0% {
    transform: translateX(0) translateY(0px);
  }
  30% {
    transform: translateX(3%) translateY(-6px);
  }
  60% {
    transform: translateX(6%) translateY(2px);
  }
  100% {
    transform: translateX(10%) translateY(-4px);
  }
}

@keyframes cloud-drift-left {
  0% {
    transform: translateX(0) translateY(0px);
  }
  35% {
    transform: translateX(-4%) translateY(-8px);
  }
  65% {
    transform: translateX(-7%) translateY(3px);
  }
  100% {
    transform: translateX(-11%) translateY(-5px);
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--text-light);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-top: -200px;
  margin-bottom: 5rem;
}

.text-gradient-light {
  color: var(--text-light);
  /* Adjusting drop shadow for text */
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
  background-color: var(--text-light);
  color: var(--primary-blue);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background-color: var(--bg-alabaster);
  color: var(--primary-teal);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.8);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(33, 163, 85, 0.1);
  color: var(--primary-green);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(33, 163, 85, 0.2);
}

.hero-content p {
  margin: 1.5rem auto 2.5rem;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-item {
  position: relative;
  background: var(--text-light);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.bento-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/Pattern_Blue.svg");
  background-size: 800px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item.highlight {
  background: var(--primary-teal);
  color: var(--text-light);
}

.bento-item.highlight::before {
  background-image: url("assets/Pattern_White.svg");
}

.bento-item.highlight h3 {
  color: var(--text-light);
}

.bento-item.full-width {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  display: flex;
  align-items: center;
}

.bento-content h3 {
  margin-bottom: 1rem;
}

.bento-content p {
  margin-bottom: 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition:
    box-shadow 0.4s var(--ease-out-expo),
    background 0.4s var(--ease-out-expo);
}

/* Cubic pattern subtle background */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/Cubic_Pattern.svg");
  background-size: 2000px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 20px 40px rgba(18, 64, 74, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  background-color: var(--accent-ice);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-teal);
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary-teal);
  position: relative;
  z-index: 1;
}

.feature-card p {
  position: relative;
  z-index: 1;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.text-block {
  padding-left: 1.5rem;
  border-left: 2px solid rgba(18, 64, 74, 0.1);
  transition: border-color 0.3s ease;
}

.text-block:hover {
  border-left-color: var(--primary-green);
}

/* Gradient Section Background */
.gradient-section {
  background: linear-gradient(
    -45deg,
    var(--primary-teal),
    var(--primary-green),
    var(--primary-teal),
    #0a242a
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  position: relative;
}

.gradient-section .split-content h2 {
  color: var(--text-light);
}

.gradient-section .text-block {
  border-left-color: rgba(255, 255, 255, 0.25);
}

.gradient-section .text-block:hover {
  border-left-color: var(--accent-cyan);
}

.gradient-section .text-block h4 {
  color: var(--accent-cyan);
}

.gradient-section .text-block p {
  color: rgba(255, 255, 255, 0.85);
}

/* Screenshot Stack */
.screenshot-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.screenshot-stack::-webkit-scrollbar {
  width: 4px;
}

.screenshot-stack::-webkit-scrollbar-track {
  background: transparent;
}

.screenshot-stack::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* Screenshot Card */
.screenshot-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
  animation: screenshot-float 6s ease-in-out infinite;
  will-change: transform;
}

.screenshot-card:nth-child(2) {
  animation-delay: -1s;
}
.screenshot-card:nth-child(3) {
  animation-delay: -2s;
}
.screenshot-card:nth-child(4) {
  animation-delay: -3s;
}
.screenshot-card:nth-child(5) {
  animation-delay: -0.5s;
}
.screenshot-card:nth-child(6) {
  animation-delay: -1.5s;
}
.screenshot-card:nth-child(7) {
  animation-delay: -2.5s;
}

.screenshot-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
}

/* Screenshot Caption */
.screenshot-caption {
  padding: 1rem 1.25rem 1.25rem;
}

.screenshot-caption h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 0.25rem;
}

.screenshot-caption p {
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Float Animation */
@keyframes screenshot-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition:
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo),
    border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/Cubic_Pattern.svg");
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 48px rgba(18, 64, 74, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.pricing-card:hover::before {
  opacity: 0.06;
}

/* Featured card (Pro) */
.pricing-card.featured {
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 16px 40px rgba(18, 64, 74, 0.12),
    0 0 0 2px var(--primary-green);
  padding: 3rem 2rem;
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow:
    0 32px 64px rgba(18, 64, 74, 0.16),
    0 0 0 2px var(--primary-blue);
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: -0.02em;
}

.plan-subtitle {
  display: block;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-dark);
  opacity: 0.55;
  margin-top: 0.25rem;
}

.pricing-card-price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.5;
  font-weight: 500;
}

.pricing-btn {
  width: 70%;
  margin-top: auto;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.75;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--primary-green);
}

/* CTA Orbit Section */
.cta.orbit-cta {
  padding: 8rem 0;
  background-color: var(--bg-alabaster);
  position: relative;
  overflow: hidden;
}

.orbit-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.orbit-center {
  position: relative;
  z-index: 10;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(18, 64, 74, 0.05);
}

.orbit-center h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.orbit-center p {
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.badge-outline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--text-dark);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-green {
  background-color: var(--primary-teal);
  color: #fff;
  border: none;
}

.btn-green:hover {
  background-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(126, 210, 225, 0.3);
}

.orbit-circle {
  position: absolute;
  border: 1px dashed rgba(18, 64, 74, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-circle-1 {
  width: 450px;
  height: 450px;
  animation: orbit-spin 30s linear infinite;
}

.orbit-circle-2 {
  width: 750px;
  height: 750px;
  animation: orbit-spin-reverse 45s linear infinite;
}

.orbit-circle-3 {
  width: 950px;
  height: 950px;
  animation: orbit-spin 60s linear infinite;
}

.orbit-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 24px rgba(18, 64, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 50%;
  margin-top: -32px;
  margin-left: -32px;
  pointer-events: auto;
}

.orbit-icon img {
  width: 60px;
  height: 60px;
}

/* Icon Placements & Anti-Spin */
.orbit-circle-1 .icon-1 {
  top: 0;
  left: 50%;
  animation: icon-anti-spin 30s linear infinite;
}

.orbit-circle-2 .icon-2 {
  top: 50%;
  left: 0;
  animation: icon-anti-spin-reverse 45s linear infinite;
}

.orbit-circle-2 .icon-3 {
  top: 85%;
  left: 85%;
  animation: icon-anti-spin-reverse 45s linear infinite;
}

.orbit-circle-3 .icon-4 {
  top: 15%;
  left: 15%;
  animation: icon-anti-spin 60s linear infinite;
}

.orbit-circle-3 .icon-5 {
  top: 50%;
  left: 100%;
  animation: icon-anti-spin 60s linear infinite;
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes icon-anti-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes icon-anti-spin-reverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

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

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

/* Responsive adjustments */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-visual {
    width: 100%;
    min-width: 0;
  }

  .screenshot-stack {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    padding: 1rem 2rem 2rem 2rem;
  }

  .screenshot-stack::-webkit-scrollbar {
    display: none;
  }

  .screenshot-card {
    min-width: 85vw;
    max-width: 400px;
    scroll-snap-align: start;
    animation: none !important;
    transform: none !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* ─── Hamburger Button (hidden on desktop) ───────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-teal);
  border-radius: 4px;
  transition:
    transform 0.35s var(--ease-out-expo),
    opacity 0.25s ease,
    width 0.35s var(--ease-out-expo);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ────────────────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 31, 36, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop CTA button group */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Hide mobile CTA on desktop */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    width: calc(100% - 2rem);
    padding: 1rem;
    transition:
      border-radius 0.35s var(--ease-out-expo),
      width 0.35s var(--ease-out-expo),
      top 0.35s var(--ease-out-expo);
  }

  .navbar.nav-open {
    border-radius: 20px 20px 0 0;
    width: calc(100% - 2rem);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 0 0 20px 20px;
    padding: 6rem 2rem 2rem;
    gap: 0;
    z-index: 99;
    box-shadow: 0 16px 48px rgba(18, 64, 74, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: none;

    /* Slide-down animation */
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    transition:
      clip-path 0.45s var(--ease-out-expo),
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .nav-links.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 1;
    color: var(--primary-teal);
    border-bottom: 1px solid rgba(18, 64, 74, 0.08);
    transition:
      color 0.3s ease,
      background-color 0.3s ease;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: var(--primary-blue);
    background-color: rgba(36, 62, 144, 0.04);
  }

  /* Hide the CTA button group on mobile nav bar */
  .nav-cta-group {
    display: none;
  }

  /* Show CTA at the bottom of mobile menu */
  .mobile-cta {
    display: inline-flex !important;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    border-bottom: none !important;
  }

  .mobile-cta.btn-primary {
    color: var(--text-light) !important;
    background-color: var(--primary-blue) !important;
  }

  .mobile-cta.btn-outline {
    color: var(--primary-blue) !important;
    background-color: transparent !important;
    border: 2px solid var(--primary-blue) !important;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .glass-overlay {
    padding: 2rem;
  }

  .overlay-text .highlight-text {
    font-size: 1.5rem;
  }

  .overlay-text h3 {
    font-size: 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Go to Top Button ───────────────────────────────────────── */
.go-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(18, 64, 74, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    box-shadow 0.2s ease;
  z-index: 999;
  text-decoration: none;
}

.go-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-top:hover {
  box-shadow: 0 8px 24px rgba(18, 64, 74, 0.55);
  transform: translateY(-3px);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--primary-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/Pattern_White.svg");
  background-size: 800px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ─── Legal Footer ───────────────────────────────────────────── */
.legal-footer {
  background-color: var(--bg-alabaster-dark);
  border-top: 1px solid rgba(18, 64, 74, 0.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.legal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0;
}

.legal-footer-inner a {
  text-decoration: none;
  color: var(--text-dark);
  opacity: 0.5;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.legal-footer-inner a:hover {
  opacity: 1;
  color: var(--primary-blue);
}

.legal-footer-inner a:not(:last-child)::after {
  content: "·";
  margin-left: 0.75rem;
  color: var(--text-dark);
  opacity: 0.3;
  pointer-events: none;
}

/* ─── 404 Error Page ─────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.error-page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.error-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(241, 245, 249, 0.3) 0%,
    rgba(241, 245, 249, 0.5) 40%,
    var(--bg-alabaster) 100%
  );
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.error-code {
  display: block;
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  margin-bottom: -2rem;
  user-select: none;
}

.error-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary-teal);
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.error-page p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dark);
  opacity: 0.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .error-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .error-code {
    font-size: 7rem;
    margin-bottom: -1rem;
  }
}

/* ─── Legal Page ─────────────────────────────────────────────── */
.legal-header {
  background-color: var(--primary-blue);
  padding: 10rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/Pattern_White.svg");
  background-size: 800px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

.legal-header h1 {
  color: var(--text-light);
  font-size: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

.legal-section {
  background-color: var(--bg-alabaster);
  padding: 0;
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 70vh;
}

/* Sidebar Tabs */
.legal-tabs {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0;
  border-right: 1px solid rgba(18, 64, 74, 0.08);
  position: sticky;
  top: 120px;
  align-self: start;
}

.legal-tab {
  display: block;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  opacity: 0.55;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition:
    opacity 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.legal-tab:hover {
  opacity: 0.85;
  background-color: rgba(36, 62, 144, 0.03);
}

.legal-tab.active {
  opacity: 1;
  color: var(--primary-blue);
  font-weight: 600;
  border-left-color: var(--primary-blue);
  background-color: rgba(36, 62, 144, 0.05);
}

/* Content Area */
.legal-content-wrapper {
  padding: 2.5rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.legal-content {
  display: none;
  animation: legalFadeIn 0.4s var(--ease-out-expo) forwards;
}

.legal-content.active {
  display: block;
}

@keyframes legalFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--primary-teal);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.legal-updated {
  font-size: 0.85rem !important;
  opacity: 0.45 !important;
  font-style: italic;
  margin-bottom: 2rem !important;
}

/* Mobile Legal Page */
@media (max-width: 768px) {
  .legal-header {
    padding: 8rem 1.5rem 2rem;
  }

  .legal-container {
    grid-template-columns: 1fr;
  }

  .legal-tabs {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(18, 64, 74, 0.08);
    padding: 1rem 1rem 0;
    position: sticky;
    top: 80px;
    z-index: 10;
    background-color: var(--bg-alabaster);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }

  .legal-tabs::-webkit-scrollbar {
    display: none;
  }

  .legal-tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    font-size: 0.85rem;
  }

  .legal-tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-blue);
  }

  .legal-content-wrapper {
    padding: 2rem 1.5rem 3rem;
  }
}

/* ─── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 36, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 32px 64px rgba(18, 64, 74, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 64, 74, 0.06);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.modal-close:hover {
  background: rgba(18, 64, 74, 0.12);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.75rem;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-bottom: 0;
}

/* Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(18, 64, 74, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dark);
  opacity: 0.35;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(36, 62, 144, 0.1);
  background: #ffffff;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a1f24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Modal Mobile */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal {
    max-height: 85vh;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    max-width: 100%;
  }

  .modal-overlay.active .modal {
    transform: translateY(0);
  }

  .modal-overlay .modal {
    transform: translateY(100%);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── 500 Error Page ─────────────────────────────────────────── */
.error-500-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--accent-ice) 0%,
    #d4e4f7 25%,
    #c8daf5 50%,
    var(--accent-ice) 75%,
    #e0ecf8 100%
  );
}

/* Decorative gradient shapes */
.error-500-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(36, 62, 144, 0.2), transparent 70%);
  top: -15%;
  left: -10%;
  animation: float-shape 20s ease-in-out infinite alternate;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(33, 163, 85, 0.15), transparent 70%);
  bottom: -10%;
  right: -10%;
  animation: float-shape 25s ease-in-out infinite alternate-reverse;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(136, 250, 255, 0.2),
    transparent 70%
  );
  top: 30%;
  right: 20%;
  animation: float-shape 18s ease-in-out infinite alternate;
}

@keyframes float-shape {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.error-500-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.error-500-code {
  display: block;
  font-size: clamp(10rem, 25vw, 18rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 4px 40px rgba(36, 62, 144, 0.1);
  margin-bottom: -1.5rem;
  user-select: none;
}

.error-500-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--primary-teal);
  margin-bottom: 1rem;
  font-weight: 800;
}

.error-500-page p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-dark);
  opacity: 0.6;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.error-500-brand {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.error-500-logo {
  height: 36px;
  width: auto;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .error-500-code {
    font-size: 9rem;
    margin-bottom: -1rem;
  }

  .error-500-brand {
    bottom: 1.5rem;
  }

  /* Footer Responsiveness */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .site-footer {
    padding: 3rem 1.5rem;
  }

  .legal-footer-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .legal-footer-inner a:not(:last-child)::after {
    display: none;
  }
}
