/* =========================================================
   1. VARIABLES & RESET (FIGTREE TYPOGRAPHY)
   ========================================================= */
:root {
  --font-main: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Core Theme Palette matching Hero Royal Blue / Indigo / Purple */
  --bg-base: #090614;
  --bg-elevated: #0f0a22;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --accent-indigo: #5b46f6;
  --accent-violet: #9d7bff;
  --accent-glow: rgba(91, 70, 246, 0.28);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(157, 123, 255, 0.45);

  --color-white: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.78);
  --color-pill-bg: #0b0b0f;
  --color-pill-hover: #1b182c;

  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-base);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

/* =========================================================
   2. FULL-SCREEN HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 3.5rem 2rem;
  overflow: hidden;
  background-color: #0e0624;
}

/* Layer 1: Base Keyboard Photo with Rich Contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 48%, rgba(36, 22, 224, 0.88) 0%, rgba(110, 34, 201, 0.68) 42%, rgba(22, 7, 38, 0.25) 82%),
    linear-gradient(115deg, rgba(28, 18, 195, 0.75) 0%, rgba(155, 38, 165, 0.42) 52%, rgba(18, 6, 34, 0.72) 100%),
    url('../assets/images/hero-keyboard.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.12) saturate(1.25);
  z-index: 1;
}

/* Layer 2: Film Grain Texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}

/* =========================================================
   3. TOP NAVIGATION & PORTAL LAUNCHER
   ========================================================= */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.brand-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-pill {
  background-color: var(--color-pill-bg);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-pill:hover {
  background-color: var(--color-pill-hover);
  transform: translateY(-1px);
}

.portal-launcher {
  position: relative;
  display: inline-flex;
}

.portal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.portal-chevron {
  transition: transform var(--transition);
}

.portal-launcher.open .portal-chevron {
  transform: rotate(180deg);
}

.portal-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 278px;
  padding: 0.65rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 15% 10%, rgba(91, 70, 246, 0.28), transparent 65%),
    #100a24;
  border: 1px solid var(--border-accent);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s ease;
  z-index: 60;
}

.portal-launcher.open .portal-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.portal-popover-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
  padding: 0.25rem 0.55rem 0.5rem;
}

.portal-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  color: var(--color-white);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.portal-tile + .portal-tile {
  margin-top: 0.4rem;
}

.portal-tile:hover {
  background: rgba(91, 70, 246, 0.18);
  border-color: var(--border-accent);
  transform: translateX(2px);
}

.portal-tile-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(91, 70, 246, 0.22);
  border: 1px solid rgba(157, 123, 255, 0.35);
}

.portal-tile-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
  line-height: 1.25;
}

.portal-tile-meta strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
}

.portal-tile-meta small {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

.portal-tile-arrow {
  font-size: 0.9rem;
  color: var(--accent-violet);
  transition: transform var(--transition);
}

.portal-tile:hover .portal-tile-arrow {
  transform: translate(2px, -2px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 20;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

/* =========================================================
   4. HERO CENTER & SCROLL INDICATOR
   ========================================================= */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  margin: auto;
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
}

.underline-highlight {
  display: inline-block;
  border-bottom: 4px solid var(--color-white);
  padding-bottom: 2px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--color-white);
  color: #0b0b0f;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.btn-cta svg {
  transition: transform var(--transition);
}

.btn-cta:hover svg {
  transform: translateX(3px);
}

.scroll-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--color-white);
  transition: border-color var(--transition), transform var(--transition);
}

.scroll-indicator:hover {
  border-color: var(--color-white);
  transform: translateY(3px);
}

/* =========================================================
   5. SHARED UTILITIES & REVEAL ANIMATION
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
  margin-bottom: 0.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SECTION 2: DESIGNED TO IMPRESS (8 FLOATING PREVIEWS)
   ========================================================= */
.impress-section {
  position: relative;
  background-color: #f6f4f0;
  color: #0b0b0f;
  padding: 5.75rem 2.5rem;
  overflow: hidden;
}

.impress-stage {
  position: relative;
  max-width: 1360px;
  min-height: 610px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impress-center {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 620px;
  padding: 1.5rem 1rem;
}

.impress-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0b0b0f;
  margin-bottom: 1.75rem;
}

.btn-purple-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: #5b18e6;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(91, 24, 230, 0.28);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.btn-purple-pill:hover {
  background-color: #4910c2;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(91, 24, 230, 0.36);
}

.btn-purple-pill svg {
  transition: transform var(--transition);
}

.btn-purple-pill:hover svg {
  transform: translateX(3px);
}

.float-card {
  position: absolute;
  border-radius: 11px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 10, 34, 0.12);
  border: 1px solid rgba(11, 11, 15, 0.06);
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.float-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e7e2da 0%, #dcd5ca 100%);
  color: #3f3b4c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.float-placeholder small {
  font-size: 0.68rem;
  font-weight: 500;
  color: #676278;
}

/* Staggered, Non-Symmetrical 8-Card Composition for Wide Screens */
.float-card--1 {
  top: 2%;
  left: 11%;
  width: 196px;
  aspect-ratio: 16 / 10;
  transform: rotate(-1.5deg);
}

.float-card--2 {
  top: 9%;
  left: 42%;
  width: 126px;
  aspect-ratio: 16 / 10;
  opacity: 0.9;
  transform: rotate(1.2deg);
}

.float-card--3 {
  top: 3%;
  right: 12%;
  width: 204px;
  aspect-ratio: 16 / 10;
  transform: rotate(1.6deg);
}

.float-card--4 {
  top: 39%;
  left: 3.5%;
  width: 148px;
  aspect-ratio: 16 / 10;
  transform: rotate(-1deg);
}

.float-card--5 {
  top: 37%;
  right: 3%;
  width: 156px;
  aspect-ratio: 16 / 10;
  transform: rotate(1.4deg);
}

.float-card--6 {
  bottom: 2%;
  right: 33%;
  width: 136px;
  aspect-ratio: 4 / 3;
  opacity: 0.92;
  transform: rotate(-1.2deg);
}

.float-card--7 {
  bottom: 5%;
  left: 19%;
  width: 174px;
  aspect-ratio: 16 / 10;
  transform: rotate(1.5deg);
}

.float-card--8 {
  bottom: 11%;
  right: 9.5%;
  width: 128px;
  aspect-ratio: 16 / 10;
  opacity: 0.88;
  transform: rotate(-1.8deg);
}

@media (max-width: 960px) {
  .impress-section {
    padding: 4rem 1.5rem;
  }

  .impress-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 1rem;
  }

  .impress-center {
    grid-column: 1 / -1;
    order: -1;
    padding: 0.5rem 0;
  }

  .float-card,
  .float-card--1,
  .float-card--2,
  .float-card--3,
  .float-card--4,
  .float-card--5,
  .float-card--6,
  .float-card--7,
  .float-card--8 {
    position: static;
    width: 100%;
    max-width: 240px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 540px) {
  .impress-stage {
    grid-template-columns: 1fr;
  }

  .float-card {
    max-width: 280px;
  }

  .underline-highlight {
    border-bottom-width: 3px;
  }
}

/* =========================================================
   SECTION 3: OUR LATEST WORK (EDGE-TO-EDGE CAROUSEL)
   ========================================================= */
.latest-work-section {
  position: relative;
  padding: 4.75rem 0 4.5rem;
  background:
    linear-gradient(
      180deg,
      #5c1be8 0%,
      #7c3aed 26%,
      #b799ff 58%,
      #f6f4f0 100%
    );
  overflow: hidden;
}

.latest-work-header {
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
}

.latest-work-title {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.latest-work-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.latest-work-track {
  display: flex;
  gap: 1.5rem;
  padding-left: 4vw;
  will-change: transform;
}

.latest-work-item {
  flex: 0 0 clamp(280px, 28.5vw, 410px);
}

.latest-work-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #ede6ff 100%);
  box-shadow: 0 18px 40px rgba(24, 9, 69, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.72);
  outline: none;
}

.latest-work-card video,
.latest-work-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay: full at the top, vanishing toward the bottom */
.latest-work-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 245, 255, 0.94) 0%,
    rgba(235, 224, 255, 0.62) 34%,
    rgba(220, 206, 252, 0.18) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: opacity 0.35s ease;
}

.latest-work-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 3rem 1.4rem 1.35rem;
  background: linear-gradient(
    180deg,
    rgba(14, 7, 34, 0) 0%,
    rgba(14, 7, 34, 0.72) 38%,
    rgba(14, 7, 34, 0.92) 100%
  );
  color: #ffffff;
  pointer-events: none;
}

.latest-work-overlay h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.latest-work-overlay p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(14px);
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0;
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.latest-work-card:hover .latest-work-overlay p,
.latest-work-card:focus-visible .latest-work-overlay p {
  max-height: 140px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.55rem;
}

.latest-work-card:hover .latest-work-overlay h3,
.latest-work-card:focus-visible .latest-work-overlay h3 {
  transform: translateY(0);
}

/* =========================================================
   SECTION 4: PRICING (PRICING.PNG DESIGN)
   ========================================================= */
.pricing-section {
  position: relative;
  background-color: #f6f4f0;
  color: #111116;
  padding: 5.5rem 2.5rem 6rem;
}

.pricing-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.pricing-section-title {
  font-size: clamp(1.9rem, 3.1vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #111116;
  margin-bottom: 0.85rem;
}

.pricing-purple {
  color: #5b18e6;
}

.pricing-section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #4f4c5e;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: stretch;
}

.pricing-white-card {
  background-color: #ffffff;
  border-radius: 28px;
  padding: 2.75rem 2.25rem 2.5rem;
  box-shadow: 0 18px 42px rgba(20, 14, 48, 0.06);
  border: 1px solid rgba(17, 17, 22, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-white-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(91, 24, 230, 0.12);
}

.pricing-tier-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #111116;
  margin-bottom: 1.35rem;
}

.pricing-figure {
  margin-bottom: 2rem;
}

.pricing-starting {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4f4c5e;
  margin-bottom: 0.25rem;
}

.pricing-amount-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-number {
  font-size: clamp(2.35rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #5b18e6;
}

.pricing-per {
  font-size: 0.88rem;
  font-weight: 600;
  color: #5b18e6;
}

.pricing-checks {
  list-style: none;
  text-align: left;
  max-width: 270px;
  margin: 0 auto 2.25rem;
}

.pricing-checks li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #272533;
}

.pricing-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #5b18e6;
  color: #5b18e6;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.pricing-know-more {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111116;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
}

.pricing-know-more:hover {
  color: #5b18e6;
}

.pricing-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 0.82rem 1.75rem;
  border-radius: 999px;
  background-color: #5b18e6;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(91, 24, 230, 0.24);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.pricing-action-btn:hover {
  background-color: #4910c2;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(91, 24, 230, 0.34);
}

/* Expanded Pricing Details Drawer */
.pricing-details {
  display: none;
  margin-top: 2.5rem;
  opacity: 0;
  color: #ffffff;
  transition: opacity 0.35s ease;
}

.details-container {
  position: relative;
  background: #120d29;
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.close-details {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.close-details:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.plan-content {
  display: none;
}

.plan-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.plan-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.detail-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-violet);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-list li strong {
  color: var(--accent-violet);
  font-size: 0.95rem;
}

.detail-list li span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.terms-link-wrap {
  text-align: center;
  margin-top: 2rem;
}

.terms-link-wrap a {
  color: var(--accent-violet);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   SECTION 5: WHO WE ARE (SPLIT LAYOUT + BLUE THEME)
   ========================================================= */
.who-section {
  position: relative;
  padding: 6rem 3.5rem;
  background-color: #0344f5;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.who-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Replace SVG placeholder with: url('../assets/images/who-we-are-bg.webp') */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23183896'/%3E%3Cstop offset='55%25' stop-color='%232e5ce6'/%3E%3Cstop offset='100%25' stop-color='%230c236b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Crect x='340' y='350' width='400' height='250' rx='18'/%3E%3Crect x='640' y='320' width='440' height='270' rx='18'/%3E%3Ccircle cx='220' cy='210' r='110'/%3E%3Ccircle cx='1260' cy='230' r='140'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.15);
  opacity: 0.35;
}

.who-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(3, 68, 245, 0.84) 0%,
    rgba(6, 75, 250, 0.78) 50%,
    rgba(2, 56, 224, 0.88) 100%
  );
  pointer-events: none;
}

.who-inner {
  position: relative;
  z-index: 3;
}

.who-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cfe0ff;
  margin-bottom: 0.65rem;
}

.who-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.who-highlight {
  color: #a9c7ff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-card {
  background: rgba(6, 24, 98, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================================================
   SECTION 6: WHAT CLIENTS SAY (TESTIMONIALS CAROUSEL)
   ========================================================= */
.testi-section {
  position: relative;
  background-color: #ffffff;
  color: #111116;
  padding: 5.25rem 0 5.5rem;
  overflow: hidden;
}

.testi-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.testi-header {
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 3rem;
}

.testi-heading {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111116;
}

.testi-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.25rem;
}

.testi-viewport::before,
.testi-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 14vw, 210px);
  z-index: 4;
  pointer-events: none;
}

.testi-viewport::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0) 100%
  );
}

.testi-viewport::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0) 100%
  );
}

.testi-track {
  display: flex;
  align-items: stretch;
  gap: 1.75rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testi-card {
  flex: 0 0 clamp(300px, 38vw, 490px);
  background-color: #f8f6f2;
  border-radius: 26px;
  padding: 2.5rem 2.25rem 2.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 12px 28px rgba(17, 17, 22, 0.04);
  border: 1px solid rgba(17, 17, 22, 0.04);
  opacity: 0.45;
  transform: scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.testi-card.is-center {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 36px rgba(17, 17, 22, 0.07);
}

.testi-quote {
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  font-weight: 500;
  line-height: 1.55;
  color: #16151d;
  max-width: 390px;
  margin-bottom: 1.75rem;
}

.testi-logo-slot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(91, 24, 230, 0.16);
  box-shadow: 0 6px 16px rgba(17, 17, 22, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.55rem;
  margin-bottom: 0.7rem;
}

.testi-logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.testi-logo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #efebff;
  color: #5b18e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  font-size: 0.65rem;
  font-weight: 700;
}

.testi-logo-placeholder small {
  font-size: 0.52rem;
  font-weight: 600;
  color: #6f59b8;
}

.testi-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111116;
}

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1.5px solid #5b18e6;
  color: #5b18e6;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(91, 24, 230, 0.14);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.testi-arrow:hover {
  background-color: #5b18e6;
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.testi-arrow--prev {
  left: clamp(1rem, 11vw, 175px);
}

.testi-arrow--next {
  right: clamp(1rem, 11vw, 175px);
}

/* =========================================================
   SECTION 7: GET IN TOUCH (CONTACT US.JPG DESIGN)
   ========================================================= */
.contact-gradient-section {
  position: relative;
  padding: 5.5rem 2rem 6rem;
  background-color: #3d24a8;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(44, 24, 179, 0.95) 0%, transparent 48%),
    radial-gradient(circle at 86% 18%, rgba(235, 132, 54, 0.92) 0%, transparent 50%),
    radial-gradient(circle at 18% 86%, rgba(226, 68, 152, 0.9) 0%, transparent 52%),
    radial-gradient(circle at 82% 84%, rgba(164, 154, 188, 0.88) 0%, transparent 52%),
    linear-gradient(135deg, #351da8 0%, #8a3ab9 48%, #e48844 100%);
  overflow: hidden;
}

.contact-inner {
  max-width: 740px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.contact-heading {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.contact-white-card {
  background-color: #ffffff;
  color: #111116;
  border-radius: 28px;
  padding: 2.85rem 3rem 2.5rem;
  box-shadow: 0 28px 65px rgba(16, 8, 48, 0.28);
}

.contact-white-card .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-white-card .form-group {
  margin-bottom: 1.35rem;
}

.contact-white-card .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111116;
  margin-bottom: 0.45rem;
}

.contact-white-card .form-control {
  width: 100%;
  padding: 0.95rem 1.05rem;
  background-color: #f4f4f6;
  border: 1px solid #e6e6eb;
  border-radius: 6px;
  color: #111116;
  font-size: 0.94rem;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.contact-white-card .form-control::placeholder {
  color: #5e5c6b;
}

.contact-white-card .form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #5b18e6;
  box-shadow: 0 0 0 3px rgba(91, 24, 230, 0.14);
}

.contact-white-card .manfieldbdr {
  border-left: 3px solid #5b18e6;
}

.contact-white-card textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

.contact-white-card .file-upload-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.contact-white-card .file-upload-wrap .btn-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #f4f4f6;
  border: 1px solid #dcdce3;
  color: #111116;
}

.contact-white-card .file-upload-wrap .btn-card-cta:hover {
  background-color: #ecebf2;
  border-color: #5b18e6;
}

.contact-white-card .wtcuploadinput {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.contact-white-card .max-limit-msg {
  display: none;
  margin-left: 0.75rem;
  font-size: 0.82rem;
  color: #dc2626;
}

.contact-white-card .filenamecls {
  display: inline-flex;
  align-items: center;
  margin-top: 0.65rem;
  margin-right: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background-color: #f4f4f6;
  border: 1px solid #e2e2e8;
  color: #111116;
  font-size: 0.85rem;
}

.contact-white-card .zsfilebrowseAttachment {
  color: #5b18e6;
  font-weight: 700;
  margin-left: 0.6rem;
}

.contact-white-card .captcha-loading {
  font-size: 0.88rem;
  color: #5e5c6b;
  margin-bottom: 0.5rem;
}

.contact-white-card .captcha-box {
  display: none;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-white-card .captcha-box img {
  border-radius: 6px;
}

.contact-white-card .captcha-box a {
  color: #5b18e6;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
}

.contact-white-card .form-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.contact-white-card .btn-submit-main,
.contact-white-card .btn-submit-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #5b18e6;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.88rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(91, 24, 230, 0.26);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.contact-white-card .btn-submit-main:hover,
.contact-white-card .btn-submit-request:hover {
  background-color: #4910c2;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(91, 24, 230, 0.34);
}

.contact-white-card .btn-reset {
  padding: 0.85rem 1.4rem;
  background: transparent;
  border: 1px solid #d5d4de;
  color: #4f4c5e;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.contact-white-card .btn-reset:hover {
  border-color: #111116;
  color: #111116;
}

.contact-white-card .wb_FtCon {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #ececf1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #6b6878;
}

.contact-white-card .wb_logo {
  max-height: 15px;
  opacity: 0.75;
}

/* =========================================================
   SECTION 8: FOOTER (FOOTER.PNG DESIGN)
   ========================================================= */
.site-footer,
.footer-black {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: var(--color-white);
}

.footer-col p,
.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-violet);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.social-links a:hover {
  background: #9d7bff;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 1.5rem 1.75rem 1.75rem;
  }

  .who-section,
  .site-footer {
    padding: 4.5rem 1.75rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(12, 8, 32, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-wrapper.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.75rem;
    margin: 0;
  }

  .nav-links a {
    font-size: 1.35rem;
  }

  .nav-actions {
    flex-direction: column;
    width: 240px;
  }

  .btn-pill {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .portal-launcher {
    width: 100%;
    flex-direction: column;
  }

  .portal-popover {
    position: static;
    width: 100%;
    margin-top: 0.65rem;
    transform: translateY(-6px);
    transform-origin: top center;
    display: none;
  }

  .portal-launcher.open .portal-popover {
    display: block;
    transform: translateY(0);
  }

  .impress-section {
    padding: 4rem 1.5rem;
  }

  .impress-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 1rem;
  }

  .impress-center {
    grid-column: 1 / -1;
    order: -1;
    padding: 0.5rem 0;
  }

  .float-card,
  .float-card--1,
  .float-card--2,
  .float-card--3,
  .float-card--4,
  .float-card--5,
  .float-card--6 {
    position: static;
    width: 100%;
    max-width: 240px;
    opacity: 1;
  }

  .pricing-section {
    padding: 4.25rem 1.5rem 4.75rem;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  .latest-work-section {
    padding: 4rem 0 3.75rem;
  }

  .latest-work-item {
    flex: 0 0 clamp(260px, 68vw, 340px);
  }

  .latest-work-card {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .testi-section {
    padding: 4rem 0 4.25rem;
  }

  .testi-card {
    flex: 0 0 84vw;
    padding: 2rem 1.5rem 1.85rem;
    border-radius: 20px;
  }

  .testi-viewport::before,
  .testi-viewport::after {
    width: 28px;
  }

  .testi-arrow--prev {
    left: 0.5rem;
  }

  .testi-arrow--next {
    right: 0.5rem;
  }
}

@media (max-width: 720px) {
  .detail-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .details-container {
    padding: 1.75rem;
  }

  .who-section {
    min-height: auto;
    padding: 4.5rem 1.35rem;
  }

  .contact-gradient-section {
    padding: 4.25rem 1.25rem 4.75rem;
  }

  .contact-white-card {
    padding: 2rem 1.4rem 1.85rem;
    border-radius: 22px;
  }

  .contact-white-card .form-row {
    grid-template-columns: 1fr;
  }

  .contact-white-card .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .who-section,
  .site-footer {
    padding: 3.5rem 1.25rem;
  }

  .brand-logo img {
    height: 36px;
  }

  .underline-highlight {
    display: inline;
    border-bottom: 4px solid var(--color-white);
    padding-bottom: 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .impress-stage {
    grid-template-columns: 1fr;
  }

  .float-card {
    max-width: 280px;
  }
}