@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* =========================================
   Prism Production — Premium Agency Site
   ========================================= */

:root {
  /* Purpose palette (Apple × Vercel × Linear-inspired) */
  --bg-dark: #0F172A; /* dominant */
  --bg-elevated: #1E293B; /* cards */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;

  --primary: #3B82F6;
  --primary-hover: #60A5FA;
  --accent: #22D3EE;
  --accent-strong: #3B82F6;
  --accent-soft: #67E8F9;
  --accent-color: #22D3EE;

  --glass-bg: rgba(30, 41, 59, 0.72);
  --glass-border: rgba(148, 163, 184, 0.24);
  --glass-highlight: rgba(96, 165, 250, 0.14);

  --shadow-soft: 0 18px 44px rgba(2, 6, 23, 0.55);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(59, 130, 246, 0.2), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(140deg, #0b1224 0%, var(--bg-dark) 42%, #0a162f 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.ui-preload .glass-nav,
body.ui-preload main,
body.ui-preload .section-padding,
body.ui-preload .glass-card,
body.ui-preload .page-card,
body.ui-preload .review-card,
body.ui-preload .order-history-card {
  opacity: 0;
  transform: translateY(12px);
}

body.is-ready .glass-nav,
body.is-ready main,
body.is-ready .section-padding,
body.is-ready .glass-card,
body.is-ready .page-card,
body.is-ready .review-card,
body.is-ready .order-history-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 520ms ease;
}

.glass-card,
.page-card,
.review-card,
.order-history-card,
.submitted-order-card,
.btn,
.btn-primary,
.btn-secondary,
.btn-accent,
.nav-links a,
.nav-primary-links a {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.glass-card:hover,
.page-card:hover,
.review-card:hover,
.order-history-card:hover,
.submitted-order-card:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  body.ui-preload .glass-nav,
  body.ui-preload main,
  body.ui-preload .section-padding,
  body.ui-preload .glass-card,
  body.ui-preload .page-card,
  body.ui-preload .review-card,
  body.ui-preload .order-history-card {
    opacity: 1;
    transform: none;
  }

  body.is-ready .glass-nav,
  body.is-ready main,
  body.is-ready .section-padding,
  body.is-ready .glass-card,
  body.is-ready .page-card,
  body.is-ready .review-card,
  body.is-ready .order-history-card,
  .glass-card,
  .page-card,
  .review-card,
  .order-history-card,
  .submitted-order-card,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-accent,
  .nav-links a,
  .nav-primary-links a {
    transition: none;
  }
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(59, 130, 246, 0.34);
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
}

.section-padding {
  padding: 7rem 0;
  position: relative;
}

.home-layout {
  display: flex;
  flex-direction: column;
}

.home-layout > #hero { order: 1; }
.home-layout > #portfolio { order: 2; }
.home-layout > #reviews { order: 3; }
.home-layout > #team { order: 4; }
.home-layout > #services { order: 5; }
.home-layout > #work { order: 6; }
.home-layout > .booking-section { order: 7; }
.home-layout > #order-status { order: 8; }
.home-layout > #order { order: 9; }
.home-layout > #help-center { order: 10; }
.home-layout > #contact { order: 11; }

h1,
h2,
h3,
h4 {
  font-family: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;

  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.glass-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(1, 7, 16, 0.24);
}

.nav-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  font-family: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-container {
  position: relative;
}

.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.nav-menu-icon {
  display: grid;
  gap: 5px;
}

.nav-menu-icon span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-menu-toggle.is-open .nav-menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-toggle.is-open .nav-menu-icon span:nth-child(2) {
  opacity: 0;
}

.nav-menu-toggle.is-open .nav-menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease, max-height 240ms ease;
}

.nav-links.mobile-open {
  display: flex;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  z-index: 70;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: 70vh;
}

.nav-links.mobile-open a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 9px;
}

.nav-links.mobile-open a::before {
  content: attr(data-menu-icon);
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-primary-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.65rem;
  margin-right: auto;
}

.nav-primary-links a {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.24);
  letter-spacing: 0.02em;
  transition: transform 170ms ease, background 170ms ease;
}

.nav-primary-links a:hover {
  transform: translateY(-1px);
  background: rgba(96, 165, 250, 0.24);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn,
.btn-primary,
.btn-secondary,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-accent:hover {
  transform: translateY(-2px);
}

.btn-primary {
  padding: 0.95rem 1.35rem;
  background: var(--primary);
  color: var(--text-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  padding: 0.95rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  padding: 0.95rem 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--text-primary);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.42);
}

#hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 8.5rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.16), rgba(15, 23, 42, 0.44));
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.92) contrast(1.06) brightness(0.54);
  z-index: -2;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 45, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  width: min(860px, calc(100% - 2rem));
  text-align: center;
  display: grid;
  gap: 1.2rem;
  position: relative;
}

.floating-badge {
  display: inline-flex;
  align-self: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: var(--text-primary);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 0.2rem;
  animation: floatBadge 3.4s ease-in-out infinite;
}

.floating-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.tag-pill {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.12);
  color: var(--text-primary);
  font-size: 0.9rem;
  animation: floatTag 4.2s ease-in-out infinite;
}

.tag-pill:nth-child(2) {
  animation-delay: 0.6s;
}

.tag-pill:nth-child(3) {
  animation-delay: 1.2s;
}

.hero-content p {
  font-size: clamp(1.08rem, 1.9vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

.contact-actions,
.selected-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.payment-hero {
  padding-top: 8.5rem;
}

.payment-page .payment-hero-copy h1,
.payment-page .section-title h2,
.payment-page .payment-card h3,
.payment-page .payment-qr-modal-content h2 {
  text-wrap: balance;
}

.payment-hero-copy {
  max-width: 780px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.payment-card {
  padding: 1.2rem;
}

.payment-method-box {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.payment-session-panel {
  margin-top: 1.5rem;
  padding: 1.4rem 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(90, 168, 255, 0.18);
}

.payment-countdown {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.02em;
}

.payment-method-panel {
  margin-top: 1rem;
}

.payment-help-text {
  color: var(--text-secondary);
  margin-top: 1rem;
}

.card-payment-form .field {
  margin-bottom: 1rem;
}

.card-payment-form input {
  width: 100%;
}

.payment-session-notice {
  color: #9fc8ff;
  margin-top: 0.5rem;
}

.payment-status-banner {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(90, 168, 255, 0.1);
  border: 1px solid rgba(90, 168, 255, 0.2);
  color: #d8e7ff;
  font-size: 0.96rem;
  line-height: 1.5;
}

.payment-status-banner[data-tone="pending"] {
  background: rgba(90, 168, 255, 0.08);
  border-color: rgba(90, 168, 255, 0.16);
}

.payment-status-banner[data-tone="success"] {
  background: rgba(62, 214, 146, 0.1);
  border-color: rgba(62, 214, 146, 0.22);
  color: #d8ffe8;
}

.payment-proof-debug {
  margin-top: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.5);
  color: #c5d8f7;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.payment-proof-debug[data-tone="success"] {
  border-color: rgba(62, 214, 146, 0.45);
  color: #b9ffd9;
}

.payment-proof-debug[data-tone="pending"] {
  border-color: rgba(90, 168, 255, 0.45);
  color: #c7ddff;
}

.order-success-page {
  position: relative;
  overflow: hidden;
}

.order-success-page::before {
  content: "";
  position: absolute;
  inset: 6% 10% auto;
  height: 260px;
  background: radial-gradient(circle, rgba(90, 168, 255, 0.18) 0%, rgba(90, 168, 255, 0.05) 40%, transparent 72%);
  filter: blur(24px);
  animation: successGlowFloat 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes successGlowFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translateY(-14px) scale(1.04);
    opacity: 1;
  }
}

.payment-cancel-button {
  margin-top: 1rem;
}

.payment-confirmation {
  border-color: rgba(90, 168, 255, 0.32);
}

.payment-qr-card {
  margin-top: 0.9rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-qr-card img {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.payment-page .payment-help-text {
  max-width: 62ch;
}

.payment-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(2, 6, 13, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.payment-qr-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.payment-qr-modal-content {
  width: min(540px, 100%);
  background: rgba(3, 12, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.35);
}

.payment-qr-modal-content h2 {
  margin-bottom: 1rem;
}

.payment-qr-modal-content img {
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-qr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.35rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.payment-complete-animation {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: grid;
  place-items: center;
  background: rgba(2, 10, 24, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.payment-complete-animation.visible {
  opacity: 1;
}

.payment-complete-card {
  width: min(420px, calc(100% - 2rem));
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  background: rgba(8, 19, 44, 0.94);
  border: 1px solid rgba(120, 191, 255, 0.36);
  box-shadow: 0 24px 70px rgba(22, 84, 190, 0.32);
  transform: translateY(10px) scale(0.95);
  transition: transform 260ms ease;
}

.payment-complete-animation.visible .payment-complete-card {
  transform: translateY(0) scale(1);
}

.payment-complete-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f8fbff;
  background: linear-gradient(140deg, rgba(30, 144, 255, 0.92), rgba(16, 185, 129, 0.9));
  box-shadow: 0 0 0 10px rgba(30, 144, 255, 0.16);
}

.payment-complete-card h3 {
  margin-bottom: 0.35rem;
}

.order-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(2, 6, 13, 0.84);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.order-success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.order-success-card {
  width: min(520px, 100%);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 100px rgba(255, 255, 255, 0.08);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  position: relative;
  overflow: hidden;
}

.order-success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.05) 50%, transparent 65%);
  opacity: 0;
  transform: scale(0.8);
  animation: orderGlow 1s ease forwards;
}

.order-success-overlay.visible .order-success-card {
  transform: translateY(0) scale(1);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

@keyframes orderGlow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.success-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(90, 168, 255, 0.14);
  color: #9fc8ff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.success-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  background: radial-gradient(circle at 30% 30%, #93f0c8 0%, #2f9e7b 70%, #1f6b53 100%);
  box-shadow: 0 0 0 12px rgba(47, 158, 123, 0.18);
  animation: successPulse 0.7s ease;
}

.success-stage {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 520ms ease;
}

.success-stage.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 28px 100px rgba(90, 168, 255, 0.12);
}

.success-spark {
  position: absolute;
  top: 20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.35;
  pointer-events: none;
  animation: sparkDrift 4.8s ease-in-out infinite;
}

.success-spark-left {
  left: 6%;
  background: radial-gradient(circle, rgba(104, 215, 192, 0.9) 0%, rgba(104, 215, 192, 0.1) 60%, transparent 72%);
}

.success-spark-right {
  right: 6%;
  background: radial-gradient(circle, rgba(90, 168, 255, 0.9) 0%, rgba(90, 168, 255, 0.1) 60%, transparent 72%);
  animation-delay: 1.2s;
}

.success-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.success-confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 14px;
  border-radius: 999px;
  opacity: 0;
  animation: successConfettiFall 1.8s ease-out forwards;
}

@keyframes sparkDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.08);
  }
}

@keyframes successConfettiFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--fall-x), 260px, 0) rotate(var(--fall-rotate));
    opacity: 0;
  }
}

.confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 20%;
  opacity: 0;
  animation: confettiFall 1.3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dest-x), 260px, 0) rotate(720deg);
    opacity: 0;
  }
}

@keyframes successPulse {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.order-success-title {
  font-size: 1.6rem;
  margin-bottom: 0.45rem;
}

.order-success-copy {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.order-success-details {
  margin: 1rem 0 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.order-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.orders-page .section-padding {
  padding-top: 8.5rem;
}

.orders-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.order-history-card {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.order-history-service {
  color: #9fc8ff;
  font-weight: 600;
}

.order-history-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: #98f7bb;
  font-weight: 600;
}

.order-status-card-content {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.order-status-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-status-badge {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(50, 230, 144, 0.16);
  color: #b7ffce;
  font-weight: 700;
  font-size: 0.9rem;
}

.order-status-placeholder {
  color: var(--text-secondary);
  line-height: 1.7;
}

.order-history-empty {
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.16);
  color: var(--text-secondary);
}

.submitted-orders-list {
  display: grid;
  gap: 0.9rem;
}

.submitted-order-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.35rem;
}

.submitted-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.submitted-order-mail-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.submitted-order-mail-status.is-delivered {
  color: #befad2;
  background: rgba(74, 188, 112, 0.2);
}

.submitted-order-mail-status.is-failed {
  color: #ffd4d4;
  background: rgba(213, 79, 79, 0.22);
}

.order-auth-shell {
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-auth-state {
  display: grid;
  gap: 0.7rem;
  align-items: center;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.nav-auth-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1205;
}

.nav-auth-pill {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-size: 0.78rem;
}

.global-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 7rem 1rem 2rem;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.global-auth-gate-card {
  width: min(540px, 100%);
  padding: 1.4rem;
  border-radius: 20px;
  text-align: center;
}

#auth-gate-message[data-tone="error"] {
  color: #ffb8b8;
}

#auth-gate-message[data-tone="success"] {
  color: #98f7bb;
}

#auth-gate-message[data-tone="pending"] {
  color: #9fc8ff;
}

#auth-message[data-tone="error"] {
  color: #ffb8b8;
}

#auth-message[data-tone="success"] {
  color: #98f7bb;
}

#auth-message[data-tone="pending"] {
  color: #9fc8ff;
}

.social-hero-buttons {
  justify-content: flex-start;
}

.social-pill,
.social-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-weight: 700;
  font-size: 0.95rem;
}

.portfolio-video-thumb {
  min-height: 220px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}

.logo-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 130px;
  text-decoration: none;
}

.logo-slot-label {
  font-weight: 700;
  color: var(--text-primary);
}

.logo-slot-subtext {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.linkedin-popup {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.linkedin-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.linkedin-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.linkedin-popup-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 440px);
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(9, 22, 40, 0.96), rgba(6, 15, 28, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  gap: 0.8rem;
}

.linkedin-popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.linkedin-popup-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.linkedin-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 124, 255, 0.24);
  box-shadow: 0 22px 48px rgba(1, 8, 24, 0.3);
}

.offer-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.offer-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.offer-highlight {
  padding: 0.7rem 0.95rem;
  color: #dfe9ff;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.1);
}

.booking-section {
  padding-top: 1rem;
}

.booking-panel {
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.booking-copy h2 {
  margin-bottom: 0.5rem;
}

.booking-actions,
.booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icon-placeholder {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.portfolio-slot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.portfolio-slot-main {
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.portfolio-slot-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 16 / 9;
}

.portfolio-slot-video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% auto;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(76, 124, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.portfolio-slot-layout .video-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .portfolio-slot-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-slot-main {
    padding: 1rem;
  }
}

.video-thumb {
  min-height: 180px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(76, 124, 255, 0.22), rgba(255, 255, 255, 0.05));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  transition: all 180ms ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Fallback: never hide core homepage content due to animation glitches */
#portfolio, 
#reviews, 
#team {
  display: block;
  opacity: 1;
}


.review-card {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(76, 124, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.review-profile {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
}

.review-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-primary);
}

.review-stars {
  color: #ffd36a;
  letter-spacing: 0.18em;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.review-rating {
  margin-top: 0.9rem;
  color: var(--text-primary);
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  padding: 1.2rem;
  overflow: hidden;
}

.project-image {
  height: 235px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h4 {
  margin-bottom: 0.2rem;
}

.project-card p {
  font-size: 0.98rem;
}

.project-card.is-hidden {
  display: none;
}

.resumes-page .resumes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.resumes-page .project-card {
  height: 100%;
}

.resumes-page .project-card .hero-btns {
  margin-top: 0.75rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.team-card {
  padding: 2rem 1.3rem;
  text-align: center;
}

.portrait-placeholder {
  width: min(180px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.team-actions .btn-secondary {
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
}

/* Floating video modal styles */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2200;
}

.video-modal.open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}

.video-modal-body {
  position: relative;
  width: min(920px, calc(100% - 3rem));
  max-width: 96vw;
  border-radius: 14px;
  overflow: hidden;
  transform-origin: center;
  box-shadow: 0 40px 120px rgba(2,6,23,0.8);
  animation: floatIn 420ms cubic-bezier(.2,.9,.2,1);
}

.video-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.video-player {
  background: #000;
  aspect-ratio: 16/9;
}

  .site-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2300;
  }

  .site-modal.open {
    display: flex;
  }

  .site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
    backdrop-filter: blur(6px);
  }

  .site-modal-body {
    position: relative;
    width: min(640px, calc(100% - 2.5rem));
    max-width: 92vw;
    background: rgba(7, 12, 24, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 42px 90px rgba(0, 0, 0, 0.45);
    color: var(--text-primary);
    animation: floatIn 320ms cubic-bezier(.2,.9,.2,1);
  }

  .site-modal-body h2 {
    margin-top: 0.6rem;
    margin-bottom: 0.9rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
  }

  .site-modal-body p {
    margin-bottom: 1.6rem;
    opacity: 0.87;
    line-height: 1.8;
  }

  .site-modal-close {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .site-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: flex-start;
  }

  .cookie-modal-body {
    text-align: left;
  }

  .follow-modal-body {
    text-align: left;
  }

  .site-modal-body .btn-accent,
  .site-modal-body .btn-secondary {
    min-width: 160px;
  }

  .cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem;
    display: none;
    z-index: 2400;
    width: calc(100% - 2rem);
    max-width: 940px;
    justify-content: center;
  }

  .cookie-banner.visible {
    display: flex;
  }

  .cookie-banner-body {
    width: 100%;
    border-radius: 18px;
    background: rgba(7, 12, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    backdrop-filter: blur(10px);
  }

  .banner-copy {
    min-width: 0;
    flex: 1 1 320px;
  }

  .banner-copy p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.96rem;
    max-width: 520px;
  }

  .banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
  }

  .banner-actions .btn-accent,
  .banner-actions .btn-secondary,
  .banner-actions .btn-accent.outline {
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    border-radius: 999px;
    min-width: auto;
  }

  .btn-accent.outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
  }

  @media (max-width: 720px) {
    .site-modal-body {
      padding: 1.5rem;
    }

    .site-modal-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .team-grid,
    .order-grid,
    .form-grid {
      grid-template-columns: 1fr;
    }

    .cookie-banner {
      inset: auto 0 1rem;
      width: calc(100% - 1rem);
      max-width: none;
    }

    .cookie-banner-body {
      flex-direction: column;
      align-items: stretch;
      padding: 1rem;
    }

    .banner-actions {
      width: 100%;
      justify-content: flex-start;
    }

    .banner-actions .btn-accent,
    .banner-actions .btn-secondary,
    .banner-actions .btn-accent.outline {
      width: 100%;
    }

    .hero-btns {
      flex-direction: column;
    }

    .section-padding {
      padding: 5.5rem 0;
    }
  }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(6, 6, 6, 0.8);
  color: var(--text-primary);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field select option {
  background-color: #0d0f14;
  color: #f5f5f7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(76, 124, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(76, 124, 255, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8d8d95;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.35rem;
  color: var(--text-secondary);
}

.about-hero-section {
  padding-top: 8rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 1rem;
}

.about-hero-visual img,
.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero-visual {
  padding: 0.8rem;
  min-height: 360px;
}

.about-hero-visual img {
  border-radius: 18px;
  min-height: 320px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-card,
.about-cta {
  padding: 2rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-photo-card {
  overflow: hidden;
  padding: 0.8rem;
}

.about-photo-card img {
  border-radius: 14px;
  min-height: 220px;
}

.about-photo-caption {
  padding: 0.9rem 0.2rem 0.2rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.about-cta {
  text-align: center;
}

.about-cta h2 {
  margin-bottom: 0.8rem;
}

.page-hero-section {
  padding-top: 8rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-copy h1 {
  max-width: 760px;
}

.page-hero-media,
.page-card {
  padding: 0.8rem;
}

.page-hero-media img,
.page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.page-hero-media img {
  min-height: 340px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.page-card {
  overflow: hidden;
}

.page-card img {
  min-height: 220px;
}

.page-card-body {
  padding: 1rem 0.35rem 0.35rem;
}

.btn-sm {
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.service-card {
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.service-highlights span {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(90, 168, 255, 0.12);
  border: 1px solid rgba(90, 168, 255, 0.22);
  color: #dfe9ff;
  font-size: 0.9rem;
}

.page-card {
  position: relative;
  overflow: hidden;
}

.page-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(3, 11, 22, 0.9));
  pointer-events: none;
}

.page-card .page-card-body {
  position: relative;
  z-index: 1;
}

.review-card {
  padding: 1.4rem;
}

.client-logos {
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.logo-pill {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-weight: 600;
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-stars {
  color: #ffd166;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.review-rating {
  margin-top: 0.9rem;
  color: var(--accent-soft);
  font-weight: 700;
}

.about-slider {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 0.8rem;
}

.about-slider img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.about-slider-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 480px;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(3, 10, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.about-team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.about-stat-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .about-hero,
  .about-grid,
  .about-gallery,
  .about-stats-grid,
  .about-team-grid,
  .page-hero,
  .page-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-section,
  .page-hero-section {
    padding-top: 7rem;
  }

  .about-slider-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

.info-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.55rem;
}

.help-center-card {
  text-align: center;
}

.contact-container {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.contact-container p {
  margin: 0.4rem auto 1.7rem;
  max-width: 660px;
}

.massive-cta {
  padding: 1.1rem 2.2rem;
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: var(--text-secondary);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.social-links a:hover {
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .services-grid,
  .team-grid,
  .portfolio-grid,
  .video-grid,
  .reviews-grid,
  .order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-primary-links {
    gap: 0.3rem;
    margin-left: 0.4rem;
    flex-wrap: wrap;
  }

  .nav-primary-links a {
    font-size: 0.76rem;
    padding: 0.35rem 0.52rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns,
  .booking-actions,
  .form-grid {
    flex-direction: column;
  }

  .booking-panel {
    padding: 1.4rem;
  }

  .services-grid,
  .team-grid,
  .portfolio-grid,
  .video-grid,
  .reviews-grid,
  .order-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 5.5rem 0;
  }
}

@media (max-width: 900px) {
  .services-grid,
  .team-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-btns {
    flex-direction: column;
  }

  .services-grid,
  .team-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 5.5rem 0;
  }
}
/* =========================================================================
   NEW ADDITIONS: Order Page Sizing, Mobile Layout, & Professional Buttons
   ========================================================================= */

/* 1. Order Page Expansion */
.order-hero {
  padding-top: 10rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr; 
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 2. Professional Small/Medium Buttons (For Cookie Banner) */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem; 
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-accent.outline.btn-sm {
  background: transparent;
  border: 1px solid var(--accent-color, #fff); /* Falls back to white if variable missing */
}

/* 3. Perfecting Mobile Responsiveness */
@media (max-width: 768px) {
  /* Stack order form and sidebar vertically */
  .order-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Make form inputs full width */
  .form-grid .field, 
  .form-grid .field.full {
    grid-column: 1 / -1; 
  }

  /* Keep hero text scalable */
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .payment-page .payment-hero-copy,
  .payment-page .section-title {
    text-align: center;
  }

  .payment-page .payment-hero-copy h1 {
    font-size: clamp(2.1rem, 7vw, 2.7rem);
    max-width: 13ch;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-page .section-title h2 {
    font-size: clamp(1.8rem, 5.6vw, 2.25rem);
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-page .payment-card h3 {
    font-size: 1.18rem;
    max-width: 16ch;
  }

  .payment-page .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-page .payment-qr-card {
    display: none;
  }

  .payment-page #show-upi-image-button {
    display: none;
  }

  .payment-page .contact-actions {
    width: 100%;
  }

  .payment-page .contact-actions .btn,
  .payment-page .contact-actions .btn-secondary,
  .payment-page .contact-actions .btn-accent {
    width: 100%;
  }
  
  /* Fix cookie banner layout so it stacks nicely on phones */
  .cookie-banner-body {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .banner-actions {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5rem;
  }
}

.nav-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-profile-avatar {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.24);
}

.nav-profile-avatar-fallback {
  display: inline-grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0b1224;
  background: #bfdbfe;
}

.nav-profile-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.nav-profile-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 230px;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.45rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 2200;
}

.nav-auth-status.is-open .nav-profile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-profile-email {
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(96, 165, 250, 0.16);
  padding-bottom: 0.55rem;
  margin-bottom: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-profile-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem 0.4rem;
  border-radius: 8px;
  font-size: 0.92rem;
  cursor: pointer;
}

.nav-profile-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-persist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 0.1rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.nav-persist-icon {
  display: inline-grid;
  place-items: center;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  font-size: 0.62rem;
  line-height: 1;
  background: rgba(34, 211, 238, 0.24);
}

.nav-google-login-slot {
  display: grid;
  justify-content: center;
  margin: 0.2rem 0 0.35rem;
}

.feedback-modal-body {
  max-width: 560px;
}

.feedback-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
}

.feedback-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feedback-star {
  border: none;
  background: transparent;
  color: #d7d7d7;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, color 140ms ease;
}

.feedback-star:hover,
.feedback-star.is-active {
  color: #ffffff;
  transform: translateY(-1px) scale(1.03);
}

.feedback-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 0.75rem 0.85rem;
  font: inherit;
  resize: vertical;
}

.feedback-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

#feedback-message {
  min-height: 1.25rem;
}

#feedback-message[data-tone="pending"] {
  color: #9fc8ff;
}

#feedback-message[data-tone="success"] {
  color: #8ef0c5;
}

#feedback-message[data-tone="error"] {
  color: #ff9a9a;
}

#feedback-message[data-tone="info"] {
  color: #b8d3ff;
}

.feedback-form button[type="submit"]:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.eyebrow {
  color: var(--accent);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.86);
  border-bottom-color: rgba(96, 165, 250, 0.3);
}

.nav-links.mobile-open,
.nav-profile-menu {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(96, 165, 250, 0.26);
}

.nav-primary-links a {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.24);
}

.nav-links.mobile-open a::before {
  background: rgba(59, 130, 246, 0.18);
  color: var(--text-primary);
}

.btn-primary,
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover,
.btn-accent:hover {
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.42);
}

.order-history-service,
.payment-method-tag,
.status-pill {
  color: #9fc8ff;
}

.order-history-status,
.order-status-badge,
.payment-status-banner[data-tone="success"],
.payment-status-banner[data-tone="pending"] {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.28);
}

.submitted-order-mail-status.is-delivered,
.submitted-order-mail-status.is-failed {
  color: #98f7bb;
  background: rgba(62, 214, 146, 0.1);
}

.nav-profile-avatar {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.24);
}

.nav-profile-avatar-fallback {
  color: #0b1224;
  background: #bfdbfe;
}

.nav-profile-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.member-resume-page .section-padding {
  padding-top: 8.5rem;
}

.member-resume-page {
  --member-accent: var(--accent);
  --member-accent-strong: var(--accent-strong);
  --member-border: rgba(96, 165, 250, 0.28);
  --member-bg-a: rgba(59, 130, 246, 0.24);
  --member-bg-b: rgba(34, 211, 238, 0.2);
  --member-watch-a: rgba(59, 130, 246, 0.3);
  --member-watch-b: rgba(34, 211, 238, 0.22);
  --member-watch-border: rgba(125, 211, 252, 0.44);
  --member-pattern-a: linear-gradient(120deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  --member-pattern-b: linear-gradient(210deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1.1px, transparent 1.1px);
  --member-pattern-size-a: 34px 34px;
  --member-pattern-size-b: 46px 46px;
  --member-pattern-size-c: 24px 24px;
  --member-pattern-opacity: 0.45;
}

.member-theme-shivam {
  --member-accent: #3b82f6;
  --member-accent-strong: #22d3ee;
  --member-border: rgba(59, 130, 246, 0.34);
  --member-bg-a: rgba(59, 130, 246, 0.28);
  --member-bg-b: rgba(34, 211, 238, 0.22);
  --member-watch-a: rgba(59, 130, 246, 0.35);
  --member-watch-b: rgba(34, 211, 238, 0.26);
  --member-watch-border: rgba(125, 211, 252, 0.5);
  --member-pattern-a: linear-gradient(120deg, rgba(147, 197, 253, 0.15) 1px, transparent 1px);
  --member-pattern-b: linear-gradient(200deg, rgba(103, 232, 249, 0.1) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 2px 2px, rgba(186, 230, 253, 0.14) 1px, transparent 1px);
  --member-pattern-size-a: 34px 34px;
  --member-pattern-size-b: 54px 54px;
  --member-pattern-size-c: 20px 20px;
}

.member-theme-angel {
  --member-accent: #f97316;
  --member-accent-strong: #ef4444;
  --member-border: rgba(249, 115, 22, 0.34);
  --member-bg-a: rgba(249, 115, 22, 0.27);
  --member-bg-b: rgba(239, 68, 68, 0.2);
  --member-watch-a: rgba(249, 115, 22, 0.34);
  --member-watch-b: rgba(239, 68, 68, 0.28);
  --member-watch-border: rgba(251, 146, 60, 0.5);
  --member-pattern-a: repeating-linear-gradient(135deg, rgba(253, 186, 116, 0.12) 0 2px, transparent 2px 15px);
  --member-pattern-b: linear-gradient(35deg, rgba(254, 205, 211, 0.08) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 2px 2px, rgba(254, 215, 170, 0.12) 1px, transparent 1px);
  --member-pattern-size-a: 30px 30px;
  --member-pattern-size-b: 44px 44px;
  --member-pattern-size-c: 26px 26px;
}

.member-theme-vaishnavi {
  --member-accent: #14b8a6;
  --member-accent-strong: #06b6d4;
  --member-border: rgba(20, 184, 166, 0.34);
  --member-bg-a: rgba(20, 184, 166, 0.24);
  --member-bg-b: rgba(6, 182, 212, 0.2);
  --member-watch-a: rgba(20, 184, 166, 0.33);
  --member-watch-b: rgba(6, 182, 212, 0.26);
  --member-watch-border: rgba(45, 212, 191, 0.5);
  --member-pattern-a: linear-gradient(90deg, rgba(94, 234, 212, 0.12) 1px, transparent 1px);
  --member-pattern-b: linear-gradient(0deg, rgba(103, 232, 249, 0.1) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 2px 2px, rgba(153, 246, 228, 0.14) 1px, transparent 1px);
  --member-pattern-size-a: 38px 38px;
  --member-pattern-size-b: 38px 38px;
  --member-pattern-size-c: 22px 22px;
}

.member-theme-jessika {
  --member-accent: #f59e0b;
  --member-accent-strong: #f97316;
  --member-border: rgba(245, 158, 11, 0.34);
  --member-bg-a: rgba(245, 158, 11, 0.24);
  --member-bg-b: rgba(249, 115, 22, 0.22);
  --member-watch-a: rgba(245, 158, 11, 0.34);
  --member-watch-b: rgba(249, 115, 22, 0.28);
  --member-watch-border: rgba(251, 191, 36, 0.5);
  --member-pattern-a: repeating-linear-gradient(160deg, rgba(253, 224, 71, 0.12) 0 2px, transparent 2px 17px);
  --member-pattern-b: linear-gradient(30deg, rgba(251, 146, 60, 0.1) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 1px 1px, rgba(254, 240, 138, 0.13) 1px, transparent 1px);
  --member-pattern-size-a: 34px 34px;
  --member-pattern-size-b: 48px 48px;
  --member-pattern-size-c: 24px 24px;
}

.member-theme-reetika {
  --member-accent: #ec4899;
  --member-accent-strong: #f9a8d4;
  --member-border: rgba(244, 114, 182, 0.4);
  --member-bg-a: rgba(249, 168, 212, 0.3);
  --member-bg-b: rgba(251, 207, 232, 0.28);
  --member-watch-a: rgba(244, 114, 182, 0.34);
  --member-watch-b: rgba(251, 182, 206, 0.32);
  --member-watch-border: rgba(251, 182, 206, 0.56);
  --member-pattern-a: linear-gradient(145deg, rgba(249, 168, 212, 0.13) 1px, transparent 1px);
  --member-pattern-b: repeating-linear-gradient(25deg, rgba(251, 182, 206, 0.12) 0 2px, transparent 2px 16px);
  --member-pattern-c: radial-gradient(circle at 2px 2px, rgba(252, 231, 243, 0.14) 1px, transparent 1px);
  --member-pattern-size-a: 42px 42px;
  --member-pattern-size-b: 32px 32px;
  --member-pattern-size-c: 22px 22px;
}

.member-theme-gayatri {
  --member-accent: #8b5cf6;
  --member-accent-strong: #6366f1;
  --member-border: rgba(139, 92, 246, 0.34);
  --member-bg-a: rgba(139, 92, 246, 0.24);
  --member-bg-b: rgba(99, 102, 241, 0.2);
  --member-watch-a: rgba(139, 92, 246, 0.33);
  --member-watch-b: rgba(99, 102, 241, 0.26);
  --member-watch-border: rgba(167, 139, 250, 0.5);
  --member-pattern-a: linear-gradient(130deg, rgba(196, 181, 253, 0.13) 1px, transparent 1px);
  --member-pattern-b: linear-gradient(220deg, rgba(165, 180, 252, 0.1) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 1px 1px, rgba(221, 214, 254, 0.13) 1px, transparent 1px);
  --member-pattern-size-a: 36px 36px;
  --member-pattern-size-b: 52px 52px;
  --member-pattern-size-c: 24px 24px;
}

.member-theme-aditi {
  --member-accent: #10b981;
  --member-accent-strong: #22c55e;
  --member-border: rgba(16, 185, 129, 0.34);
  --member-bg-a: rgba(16, 185, 129, 0.24);
  --member-bg-b: rgba(34, 197, 94, 0.2);
  --member-watch-a: rgba(16, 185, 129, 0.33);
  --member-watch-b: rgba(34, 197, 94, 0.26);
  --member-watch-border: rgba(74, 222, 128, 0.5);
  --member-pattern-a: repeating-linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0 2px, transparent 2px 15px);
  --member-pattern-b: linear-gradient(20deg, rgba(110, 231, 183, 0.11) 1px, transparent 1px);
  --member-pattern-c: radial-gradient(circle at 2px 2px, rgba(167, 243, 208, 0.13) 1px, transparent 1px);
  --member-pattern-size-a: 30px 30px;
  --member-pattern-size-b: 46px 46px;
  --member-pattern-size-c: 24px 24px;
}

.member-resume-page {
  position: relative;
  isolation: isolate;
}

.member-resume-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, var(--member-bg-a), transparent 52%),
    radial-gradient(circle at 88% 82%, var(--member-bg-b), transparent 58%),
    linear-gradient(180deg, rgba(8, 15, 38, 0.96) 0%, rgba(3, 8, 26, 0.98) 100%);
}

.member-resume-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--member-pattern-a), var(--member-pattern-b), var(--member-pattern-c);
  background-size: var(--member-pattern-size-a), var(--member-pattern-size-b), var(--member-pattern-size-c);
  opacity: var(--member-pattern-opacity);
}

.member-resume-page .eyebrow {
  color: var(--member-accent);
}

.member-resume-page .btn-accent {
  background: linear-gradient(135deg, var(--member-accent), var(--member-accent-strong));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--member-accent) 44%, transparent);
}

.member-resume-page .btn-accent:hover {
  box-shadow: 0 16px 36px color-mix(in srgb, var(--member-accent) 56%, transparent);
}

.member-resume-page .member-resume-actions a[href*="youtube.com"],
.member-resume-page .member-resume-actions a[href*="youtu.be"] {
  border-color: var(--member-watch-border);
  background: linear-gradient(135deg, var(--member-watch-a), var(--member-watch-b));
  color: #f8fcff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--member-accent) 42%, transparent);
}

.member-resume-page .member-resume-actions a[href*="youtube.com"]:hover,
.member-resume-page .member-resume-actions a[href*="youtu.be"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--member-accent) 54%, transparent);
}

.member-resume-page .member-resume-actions a[href*="linkedin.com"],
.member-resume-page .member-resume-actions a[href*="lnkd.in"] {
  border-color: color-mix(in srgb, var(--member-accent) 56%, #c7d2fe 44%);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--member-accent) 34%, rgba(15, 23, 42, 0.66)),
    color-mix(in srgb, var(--member-accent-strong) 28%, rgba(30, 41, 59, 0.58))
  );
  color: #f8fbff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--member-accent) 30%, transparent);
}

.member-resume-page .member-resume-actions a[href*="linkedin.com"]:hover,
.member-resume-page .member-resume-actions a[href*="lnkd.in"]:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--member-accent-strong) 64%, #bfdbfe 36%);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--member-accent-strong) 42%, transparent);
}

.member-resume-page .member-resume-actions a[href*="index.html#team"] {
  border-color: color-mix(in srgb, var(--member-accent) 48%, rgba(148, 163, 184, 0.5));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--member-accent) 22%, rgba(15, 23, 42, 0.82)),
    color-mix(in srgb, var(--member-accent-strong) 16%, rgba(15, 23, 42, 0.72))
  );
  color: #ecf6ff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--member-accent) 22%, transparent);
}

.member-resume-page .member-resume-actions a[href*="index.html#team"]:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--member-accent-strong) 58%, #cbd5e1 42%);
  box-shadow: 0 15px 28px color-mix(in srgb, var(--member-accent-strong) 34%, transparent);
}

.member-resume-hero {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr;
  gap: 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--member-border);
}

.member-resume-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--member-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--member-accent) 24%, transparent);
}

.member-resume-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.member-resume-content h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.4rem;
}

.member-resume-role {
  font-weight: 600;
  color: #c8d9ff;
  margin-bottom: 0.8rem;
}

.member-resume-bio {
  max-width: 70ch;
  margin-bottom: 1rem;
}

.member-resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.member-resume-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.member-resume-card {
  padding: 1rem;
  border: 1px solid var(--member-border);
}

.member-resume-card h3 {
  margin-bottom: 0.65rem;
}

.member-resume-card .info-list {
  margin: 0;
  padding-left: 1.1rem;
}

.member-resume-card .info-list li {
  color: var(--text-secondary);
}

.payment-history-page .payment-history-hero .section-title {
  text-align: left;
  margin-bottom: 1.3rem;
}

.payment-history-latest {
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.payment-history-log {
  padding: 1.1rem;
}

/* ── UPI Pay Modal ─────────────────────────────────────────── */
.upi-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.upi-pay-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.upi-pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 13, 0.82);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.upi-pay-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.15s ease;
}

.upi-pay-modal.visible .upi-pay-modal-card {
  transform: translateY(0) scale(1);
}

.upi-pay-modal-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto 0;
}

.upi-pay-modal-qr-img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #fff;
  object-fit: contain;
}

.upi-pay-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
/* ─────────────────────────────────────────────────────────── */

/* ── Payment Success Modal ─────────────────────────────────── */
.payment-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.payment-success-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.payment-success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 13, 0.85);
  backdrop-filter: blur(14px);
}

.payment-success-modal-card {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 100px rgba(255, 255, 255, 0.08);
  transform: translateY(30px) scale(0.94);
  transition: transform 0.15s ease;
}

.payment-success-modal.visible .payment-success-modal-card {
  transform: translateY(0) scale(1);
}

.payment-success-check-icon {
  font-size: 3.5rem;
  color: #98f7bb;
  margin-bottom: 1rem;
  display: inline-flex;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(152, 247, 187, 0.3);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  animation: successCheckPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successCheckPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.payment-success-title {
  font-size: 1.75rem;
  margin: 0.75rem 0 0.5rem;
  color: #98f7bb;
}

.payment-success-message {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0.75rem 0;
  line-height: 1.5;
}

/* Order Email Draft Modal */
.order-email-draft-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.order-email-draft-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.order-email-draft-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 13, 0.85);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.order-email-draft-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 100px rgba(255, 255, 255, 0.08);
  transform: translateY(30px) scale(0.94);
  transition: transform 0.15s ease;
  max-height: 85vh;
  overflow-y: auto;
}

.order-email-draft-modal.visible .order-email-draft-card {
  transform: translateY(0) scale(1);
}

.order-email-draft-card .linkedin-popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-email-draft-card .linkedin-popup-close:hover {
  opacity: 1;
  color: #22d3ee;
}

.order-email-draft-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-email-draft-header h3 {
  font-size: 1.5rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.order-email-draft-header p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.order-email-draft-header strong {
  color: #22d3ee;
}

.order-email-draft-content {
  margin-bottom: 1.5rem;
}

.email-field {
  margin-bottom: 1.25rem;
}

.email-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.email-value {
  font-size: 0.95rem;
  color: #e2e8f0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  word-break: break-all;
}

.email-body {
  font-size: 0.9rem;
  color: #e2e8f0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 300px;
  overflow-y: auto;
}

.order-email-draft-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.order-email-draft-actions button,
.order-email-draft-actions a {
  flex: 1;
  max-width: 220px;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

@media (max-width: 600px) {
  .order-email-draft-card {
    width: 100%;
    padding: 1.5rem;
    max-height: 90vh;
  }

  .order-email-draft-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .order-email-draft-actions button,
  .order-email-draft-actions a {
    max-width: 100%;
  }

  .email-body {
    max-height: 200px;
  }
}

/* ─────────────────────────────────────────────────────────── */

.payment-history-log-head {
  margin-bottom: 0.9rem;
}

.payment-history-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.payment-history-item {
  padding: 0.95rem;
}

.payment-history-item p {
  margin-bottom: 0.28rem;
}

.payment-complete-now-btn {
  margin-top: 0.6rem;
}

.payment-history-upi-box {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.payment-history-upi-id {
  margin: 0;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.upi-id-value {
  font-family: monospace;
  color: #93c5fd;
  font-size: 0.92rem;
  user-select: all;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-xs {
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
}

.payment-history-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.status-pill[data-tone="success"] {
  color: #98f7bb;
  background: rgba(62, 214, 146, 0.1);
  border: 1px solid rgba(62, 214, 146, 0.38);
}

.status-pill[data-tone="pending"] {
  color: #9fc8ff;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.26);
}

@media (max-width: 720px) {
  .payment-history-list {
    grid-template-columns: 1fr;
  }

  .resumes-page .resumes-grid {
    grid-template-columns: 1fr;
  }

  .member-resume-hero {
    grid-template-columns: 1fr;
  }

  .member-resume-grid {
    grid-template-columns: 1fr;
  }

  .glass-nav .nav-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    padding: 0.78rem 0;
  }

  .glass-nav .logo {
    min-width: 0;
    font-size: 1.08rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .glass-nav .nav-menu-toggle {
    justify-self: end;
    width: 40px;
    height: 40px;
  }

  .glass-nav .nav-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .glass-nav .nav-actions > a {
    padding: 0.5rem 0.72rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .glass-nav .nav-primary-links {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.15rem 0 0.2rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .glass-nav .nav-primary-links::-webkit-scrollbar {
    display: none;
  }

  .glass-nav .nav-primary-links a {
    flex: 0 0 auto;
    font-size: 0.76rem;
    padding: 0.4rem 0.62rem;
    border-radius: 999px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .glass-nav .logo {
    font-size: 1rem;
  }

  .glass-nav .nav-actions > a.btn-secondary[href^="tel:"] {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0;
    line-height: 0;
  }

  .glass-nav .nav-actions > a.btn-secondary[href^="tel:"]::before {
    content: "☎";
    font-size: 0.92rem;
    line-height: 1;
    color: var(--text-primary);
  }

  .glass-nav .nav-actions > a.btn-accent {
    padding: 0.45rem 0.62rem;
    font-size: 0.72rem;
  }
}

/* 60/30/10 tuning: dominant surfaces, secondary cards, focused accent */
main > section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.58));
}

main > section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.66));
}

.glass-card,
.page-card,
.review-card,
.order-history-card,
.submitted-order-card,
.order-success-card,
.linkedin-popup-card,
.payment-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.offer-highlight,
.tag-pill,
.success-pill,
.status-pill,
.order-status-badge,
.payment-status-banner {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.24);
  color: var(--text-primary);
}

.submitted-order-mail-status.is-delivered,
.submitted-order-mail-status.is-failed {
  color: var(--text-primary);
  background: rgba(34, 211, 238, 0.14);
}

/* Remove bubble pills from top quick nav links */
.nav-primary-links a {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0.28rem 0.38rem;
}

.nav-primary-links a:hover {
  background: transparent !important;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .glass-nav .nav-primary-links a {
    border-radius: 0;
    padding: 0.3rem 0.38rem;
  }
}

/* Global motion polish + unified button color language (purple/pink/blue) */
:root {
  --btn-mix-a: rgba(59, 130, 246, 0.48);
  --btn-mix-b: rgba(14, 165, 233, 0.36);
  --btn-mix-c: rgba(34, 211, 238, 0.32);
  --btn-border-soft: rgba(125, 211, 252, 0.5);
  --btn-text: #f8fbff;
  --btn-shine-duration: 820ms;
}

main {
  perspective: 1200px;
}

.glass-card,
.page-card,
.review-card,
.order-history-card,
.submitted-order-card,
.order-success-card,
.payment-card {
  transform-style: preserve-3d;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover,
  .page-card:hover,
  .review-card:hover,
  .order-history-card:hover,
  .submitted-order-card:hover,
  .order-success-card:hover,
  .payment-card:hover {
    transform: translateY(-5px) rotateX(1.9deg) rotateY(-1.3deg);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.52);
  }
}

.btn,
.btn-primary,
.btn-secondary,
.btn-accent,
.btn-accent.outline,
.payment-cancel-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--btn-text);
  border-color: var(--btn-border-soft);
  background:
    linear-gradient(145deg, var(--btn-mix-a), var(--btn-mix-b) 52%, var(--btn-mix-c)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn::after,
.btn-primary::after,
.btn-secondary::after,
.btn-accent::after,
.btn-accent.outline::after,
.payment-cancel-button::after {
  content: "";
  position: absolute;
  inset: -130% auto auto -30%;
  width: 48%;
  height: 320%;
  transform: rotate(28deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0.52;
  pointer-events: none;
  transition: opacity 260ms ease;
  animation: buttonShine var(--btn-shine-duration) linear infinite;
  animation-play-state: running;
}

.btn:hover::after,
.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-accent:hover::after,
.btn-accent.outline:hover::after,
.payment-cancel-button:hover::after {
  opacity: 0.82;
  animation-play-state: paused;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-accent:hover,
.btn-accent.outline:hover,
.payment-cancel-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

@keyframes buttonShine {
  0% {
    transform: translateX(-190%) rotate(28deg);
  }
  100% {
    transform: translateX(330%) rotate(28deg);
  }
}

@media (max-width: 900px) {
  :root {
    --btn-shine-duration: 1280ms;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-accent,
  .btn-accent.outline,
  .payment-cancel-button {
    min-height: 44px;
    padding: 0.82rem 1.1rem;
  }

  .glass-card,
  .page-card,
  .review-card,
  .order-history-card,
  .submitted-order-card,
  .order-success-card,
  .payment-card {
    will-change: auto;
  }
}

@media (hover: none) {
  .btn:active,
  .btn-primary:active,
  .btn-secondary:active,
  .btn-accent:active,
  .btn-accent.outline:active,
  .payment-cancel-button:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card,
  .page-card,
  .review-card,
  .order-history-card,
  .submitted-order-card,
  .order-success-card,
  .payment-card,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-accent,
  .btn-accent.outline,
  .payment-cancel-button {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}