* {
  box-sizing: border-box;
}

:root {
  --bg: #090909;
  --panel: #111111;
  --panel-soft: #171717;
  --text: #f5f5f5;
  --muted: #a7a7a7;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff3838;
  --accent-2: #ff6a3d;
  --green: #1aff75;
  --radius: 28px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 56, 56, 0.22), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(255, 106, 61, 0.12), transparent 30rem),
    var(--bg);
}

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

img,
video {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 22px;
  left: 50%;
  width: min(calc(100% - 32px), 960px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.9);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  font-size: 12px;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links .nav-cta {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta {
  background: var(--accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: white;
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.hero.section {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 150px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 14px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: greenBlink 2s infinite ease-in-out;
}

@keyframes greenBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 18px var(--green);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.9);
    box-shadow: 0 0 6px var(--green);
  }
}

.centered {
  justify-content: center;
}

h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.split p,
.cta p,
.service-card p,
.price-card p,
.steps p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  font-size: 18px;
}

.hero-actions,
.social-proof,
.avatar-row,
.filter-tabs {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  border-color: transparent;
  background: #E00100;
  color: white;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.primary:hover {
  background: #c20000;
  box-shadow: 0 6px 20px rgba(224, 1, 0, 0.35);
  transform: translateY(-2px);
}

.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.social-proof {
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-row span,
.avatar-row strong {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: linear-gradient(135deg, #262626, #525252);
  font-size: 14px;
}

.avatar-row span:first-child {
  margin-left: 0;
}

.avatar-row strong {
  background: white;
  color: #111;
}

.hero-card,
.service-card,
.price-card,
.cta,
.steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.hero-card {
  position: relative;
  min-height: 520px;
  padding: 18px;
  box-shadow: 0 40px 140px rgba(255, 56, 56, 0.14);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 200px;
  border-radius: 999px;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0.6;
}

.hero-card::before {
  top: 20px;
  left: 20px;
}

.hero-card::after {
  right: 20px;
  bottom: 20px;
}

.video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 800px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 56, 56, 0.25), transparent),
    repeating-linear-gradient(90deg, #1b1b1b 0 16px, #121212 16px 32px);
  cursor: pointer;
}

/* Hover effects for premium interactivity */
.video-frame:hover .play-circle {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  color: white;
  box-shadow: 0 0 45px rgba(255, 56, 56, 0.65);
}

/* Transitions for smooth fade out of placeholder elements */
.video-frame > video,
.video-frame::after,
.video-frame .video-topbar,
.video-frame .play-circle,
.video-frame .timeline {
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Keep native video fully visible and interactive when playing */
.video-frame.playing > video {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 5;
}
.video-frame.playing::after {
  opacity: 0 !important;
  pointer-events: none;
}
.video-frame.playing .video-topbar {
  opacity: 0 !important;
  pointer-events: none;
}
.video-frame.playing .play-circle {
  opacity: 0 !important;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.7) !important;
}
.video-frame.playing .timeline {
  opacity: 0 !important;
  pointer-events: none;
}

/* Style the dynamic iframe video */
.video-frame iframe.youtube-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 22px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-frame.playing iframe.youtube-embed-iframe {
  opacity: 1;
}

.video-topbar {
  display: flex;
  gap: 8px;
  padding: 18px;
}

.video-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.play-circle {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
  color: #111;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
}

.timeline {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-stack {
  display: grid;
  gap: 24px;
}

.service-card {
  position: sticky;
  top: 130px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  min-height: 430px;
  padding: 26px;
  background-color: var(--panel);
}

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 56, 56, 0.6);
  box-shadow: 0 10px 25px rgba(255, 56, 56, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.service-card a:active {
  transform: translateY(0);
}

.media-box,
.compare-box {
  min-height: 320px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 56, 56, 0.45), transparent 18rem),
    linear-gradient(135deg, #222, #0d0d0d);
}

.media-box.short {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 106, 61, 0.45), transparent 16rem),
    linear-gradient(135deg, #242424, #101010);
}

.media-box.thumb {
  background:
    linear-gradient(135deg, rgba(255, 56, 56, 0.8), rgba(255, 210, 60, 0.2)),
    repeating-linear-gradient(-20deg, #171717 0 18px, #222 18px 36px);
}

.compare-box {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding: 22px;
}

.compare-box::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: grayscale(1) linear-gradient(135deg, #303030, #0d0d0d);
}

.compare-box i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
}

.compare-box span {
  position: relative;
  z-index: 1;
  height: max-content;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

.filter-tabs {
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}

.filter-tabs button.active {
  border-color: var(--accent);
  color: white;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.work-card div {
  aspect-ratio: 0.82;
  background:
    radial-gradient(circle at 45% 30%, rgba(255, 56, 56, 0.28), transparent 16rem),
    linear-gradient(145deg, #242424, #111);
}

.work-card h3,
.work-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.work-card h3 {
  margin-top: 18px;
  margin-bottom: 4px;
}

.work-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.steps article {
  padding: 24px;
}

.steps span {
  color: var(--accent);
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 28px;
}

.price-card strong {
  display: block;
  margin: 20px 0 12px;
  font-size: 42px;
  letter-spacing: -0.06em;
}

.price-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 2;
}

.price-card.featured {
  border-color: rgba(255, 56, 56, 0.45);
  box-shadow: 0 0 80px rgba(255, 56, 56, 0.12);
}

.cta {
  padding: 70px 28px;
  text-align: center;
}

.contact-form {
  display: grid;
  max-width: 620px;
  margin: 34px auto 0;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

/* --- Rich Custom Footer Section --- */
.site-footer {
  position: relative;
  width: 100%;
  background-color: #050505;
  background-image: url('assets/footer_bg.png');
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 80px;
  animation: footerCurtainMove 25s infinite ease-in-out;
}

@keyframes footerCurtainMove {
  0% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 103% 48%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.footer-ambient-glow {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 1, 0, 0.28) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: footerPulse 12s infinite ease-in-out;
}

@keyframes footerPulse {
  0% {
    opacity: 0.35;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 0.60;
    transform: scale(1.15) translate(-30px, 20px);
  }
  100% {
    opacity: 0.35;
    transform: scale(1) translate(0, 0);
  }
}

/* Add a dark fade on the left side of the curtain graphic for high contrast */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050505 50%, rgba(5, 5, 5, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand-text {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.footer-description {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 auto 32px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease;
}

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

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff1a1a;
  color: white;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(255, 26, 26, 0.2);
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: #e60000;
  box-shadow: 0 6px 18px rgba(255, 26, 26, 0.4);
}

/* Footer Bottom Copyright */
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  text-align: left;
}

/* Responsive Footer adjustments */
@media (max-width: 900px) {
  .site-footer {
    background-size: cover;
    background-position: center right;
    padding-top: 60px;
  }

  .site-footer::before {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.8) 100%);
  }

  .footer-main {
    padding-bottom: 48px;
  }

  .footer-nav {
    gap: 24px;
  }

  .footer-bottom {
    padding: 24px 0 32px;
  }

  .footer-copyright {
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .service-card,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    min-height: 380px;
  }

  .video-frame {
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 74px 0;
  }

  .hero {
    padding-top: 130px;
  }

  .work-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* Real media from the original export */
.media-holder {
  position: relative;
  overflow: hidden;
}

.media-holder>video,
.media-holder>img,
.work-media>video,
.work-media>img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-frame>video {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.video-topbar,
.play-circle,
.timeline {
  z-index: 2;
}

.avatar-row img {
  display: block;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

.avatar-row img:first-child {
  margin-left: 0;
}

.compare-box {
  background-image: var(--after), linear-gradient(135deg, #222, #0d0d0d);
  background-size: cover;
  background-position: center;
}

.compare-box::before {
  background-image: var(--before), linear-gradient(135deg, #303030, #0d0d0d);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}

.work-media {
  aspect-ratio: 0.82;
  overflow: hidden;
  background: #111;
}

.process-preview {
  grid-column: 1 / -1;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

/* --- Features Split Highlight Section --- */
.features-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.feature-large-card {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.feature-large-card:not(.video-card)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  z-index: 1;
}

.feature-large-card.video-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--panel);
  min-height: 480px;
}

.feature-large-card.video-card.full-video {
  padding: 0;
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.video-embed-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.feature-large-card.video-card.full-video .video-embed-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.video-embed-container iframe,
.video-embed-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.feature-large-card.video-card.full-video iframe {
  transform: scale(1.35);
  /* Scale to completely crop out YouTube title, controls, and branding */
  pointer-events: none;
  /* Prevents any clicks or hover state changes on the iframe */
}

.feature-large-card.video-card.full-video video {
  pointer-events: none;
  /* Keep it as a silent background element */
}

.feature-large-card .card-content {
  position: relative;
  z-index: 2;
}

.feature-large-card.video-card:not(.full-video) .card-content {
  margin-top: 20px;
}

.feature-large-card h3 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  color: #fff;
  margin-top: 0;
}

.feature-large-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}

.feature-small-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content:center ;
}

.feature-small-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, border-color, box-shadow;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-small-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 56, 56, 0.3);
  box-shadow: 0 12px 30px rgba(255, 56, 56, 0.05);
}

.feature-icon-wrapper {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ff1a1a;
  margin-bottom: 24px;
  color: white;
}

.feature-small-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 0;
}

.feature-small-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .features-split {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .feature-large-card {
    min-height: 380px;
    padding: 30px;
  }
}

/* --- Redesigned Process Section Grid & Step Cards --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}

.process-step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, border-color, box-shadow;
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 56, 56, 0.3);
  box-shadow: 0 12px 30px rgba(255, 56, 56, 0.05);
}

.card-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step-indicator-dots {
  display: flex;
  gap: 5px;
}

.step-indicator-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.step-indicator-dots .dot.active {
  background: #ff1a1a;
  box-shadow: 0 0 8px rgba(255, 26, 26, 0.6);
}

.step-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.step-card-body {
  margin-top: 36px;
}

.step-card-body h3 {
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}

.step-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.process-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.process-cta-btn {
  background: #ff1a1a;
  border-color: transparent;
  color: white;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(255, 26, 26, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.process-cta-btn:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 26, 26, 0.35);
}

/* Responsive Overrides for Process Grid */
@media (max-width: 990px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step-card {
    min-height: auto;
    padding: 28px 24px;
  }
}

/* --- About Me Section --- */
.about-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-portrait {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 80px rgba(255, 56, 56, 0.04);
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
}

.about-content {
  text-align: left;
}

.about-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
  line-height: 1;
}

.about-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  /* Francis Vance in vibrant red */
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.about-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-record-dot {
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff1a1a;
  box-shadow: 0 0 12px rgba(255, 26, 26, 0.8);
  display: inline-block;
}

.about-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.about-socials a {
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.about-socials a:hover {
  color: #fff;
  transform: translateY(-2.5px);
}

.about-actions {
  margin-top: 32px;
}

.about-cta-btn {
  background: #ff1a1a;
  border-color: transparent;
  color: white;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(255, 26, 26, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.about-cta-btn:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 26, 26, 0.35);
}

/* Responsive Overrides for About Me Section */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-text p {
    position: relative;
  }

  .about-record-dot {
    left: -22px;
  }
}

/* --- Stats Section --- */
#stats {
  text-align: center;
  padding: 100px 0;
}

.stats-heading {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 56px;
  color: #fff;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 50%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-label {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 200px;
}

/* Responsive Overrides for Stats Section */
@media (max-width: 900px) {
  #stats {
    padding: 80px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
}

@media (max-width: 500px) {
  #stats {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-heading {
    margin-bottom: 40px;
  }
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  padding: 36px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, border-color, box-shadow;
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 56, 56, 0.3);
  box-shadow: 0 12px 30px rgba(255, 56, 56, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 450;
  margin: 0;
}

/* Responsive Overrides for Testimonials Section */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }
}

/* --- Redesigned Contact Section --- */
.contact-split-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-panel {
  text-align: left;
}

.contact-subtitle-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 36px;
}

.contact-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-detail-block h3,
.contact-social-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
  transition: color 0.2s ease;
}

.contact-email-row svg {
  color: var(--accent);
  /* Premium vibrant red */
  flex-shrink: 0;
}

.contact-email-row a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  transition: color 0.2s ease;
}

.contact-email-row a:hover {
  color: #fff;
}

.contact-social-pills {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-social-pills a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff1a1a;
  color: white;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-social-pills a:hover {
  transform: translateY(-3.5px);
  background: #e60000;
  box-shadow: 0 6px 16px rgba(255, 26, 26, 0.4);
}

.contact-widget-panel {
  width: 100%;
}

.calendly-widget-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  padding: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

/* Responsive Overrides for Redesigned Contact Section */
@media (max-width: 900px) {
  .contact-split-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info-panel {
    max-width: 600px;
  }
}

/* --- FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 56, 56, 0.25);
  box-shadow: 0 8px 24px rgba(255, 56, 56, 0.03);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-header:focus {
  outline: none;
}

.faq-header:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 14px;
}

.faq-header span {
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.faq-chevron {
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active {
  border-color: rgba(255, 56, 56, 0.35);
  box-shadow: 0 10px 30px rgba(255, 56, 56, 0.05);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #fff;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 28px;
}

.faq-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  padding-bottom: 24px;
}

/* --- Floating Contact Container --- */
.floating-contact-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.floating-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.2s ease;
  will-change: transform, box-shadow;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.floating-btn:active {
  transform: scale(0.95);
}

.whatsapp-float {
  background: #25D366;
}

.calling-float {
  background: var(--accent);
}

/* --- High Performance CSS rendering optimizations --- */
/* content-visibility skips rendering of offscreen sections, drastically improving page load and scroll speed */
@media (prefers-reduced-motion: no-preference) {
  #services, #work, #process, #about, #stats, #testimonials, #pricing, #contact, #faq {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
}