* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Shared structural tokens for the "refined/elevated" visual pass —
     radius, shadow, and motion only. Colors are untouched on purpose. */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px #00000040, 0 2px 8px -2px #00000055;
  --shadow-md: 0 2px 6px #00000040, 0 16px 40px -16px #00000070;
  --shadow-lg: 0 4px 12px #00000045, 0 28px 70px -20px #00000080;
}

body {
  background: #050505;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Global "pressed" feedback for every button on the site — a visible dip +
   brief brightness change on click, so an action always reads as registered
   immediately, before any async result (success/error) comes back. Specific
   button classes below (.primary-btn, .secondary-btn, chat widget, booking
   calendar, etc.) layer their own :active on top of this; this is the floor
   every plain <button> gets even if nothing more specific applies. */
button {
  cursor: pointer;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), opacity 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

button:active:not(:disabled) {
  transform: scale(0.96);
  filter: brightness(0.88);
}

button:disabled {
  cursor: not-allowed;
}

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #00ffcc22, transparent 30%),
    radial-gradient(circle at bottom right, #ff00ff22, transparent 30%),
    #050505;
  background-size: 160% 160%, 160% 160%, auto;
  animation: drift 22s ease-in-out infinite;
  padding: 30px 7%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 40%;
  background-image:
    linear-gradient(#00ffd524 1px, transparent 1px),
    linear-gradient(90deg, #00ffd524 1px, transparent 1px);
  background-size: 56px 40px;
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  pointer-events: none;
  z-index: 0;
}

@keyframes drift {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0 0; }
  50% { background-position: 12% 8%, 88% 92%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: white;
  text-decoration: none;
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
}

.nav-links a:hover {
  color: #00ffd5;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: white;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 18px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-content {
  margin-top: 130px;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.text-glow {
  background: linear-gradient(100deg, #00ffd5, #ff4fd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-visual {
  height: 460px;
  pointer-events: none;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-46%);
  width: 460px;
  z-index: 1;
}

.orbit-chip {
  align-items: center;
  animation: chip-float 6s ease-in-out infinite;
  background: #0d0d0dcc;
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
  padding: 14px;
  position: absolute;
}

.orbit-chip img {
  display: block;
  width: 100%;
}

.chip-icanna {
  border: 1px solid #3fa36255;
  box-shadow: 0 0 40px #3fa36230, inset 0 1px 0 #ffffff10;
  right: 10px;
  top: 0;
  width: 150px;
  animation-delay: 0s;
}

.chip-truevirgin {
  border: 1px solid #55c8ff55;
  box-shadow: 0 0 40px #55c8ff30, inset 0 1px 0 #ffffff10;
  right: 220px;
  top: 130px;
  width: 116px;
  animation-delay: 1.4s;
}

.chip-matchpanic {
  border: 1px solid #ff4fd855;
  box-shadow: 0 0 46px #ff4fd830, inset 0 1px 0 #ffffff10;
  right: 0;
  top: 250px;
  width: 172px;
  animation-delay: 0.8s;
}

.chip-autoping {
  border: 1px solid #ffb31a55;
  box-shadow: 0 0 36px #ffb31a2c, inset 0 1px 0 #ffffff10;
  right: 250px;
  top: 340px;
  width: 108px;
  animation-delay: 2.1s;
}

.chip-nailzutopia {
  border: 1px solid #d9af6255;
  box-shadow: 0 0 38px #d9af6230, inset 0 1px 0 #ffffff10;
  right: 330px;
  top: 258px;
  width: 102px;
  animation-delay: 3.2s;
}

.chip-dynamic {
  /* Client logos here are arbitrary and unpredictable (unlike the hand-picked chips above) —
     a light backing plate keeps dark artwork (e.g. a black logo on a transparent PNG) visible
     against this section's dark background, instead of assuming every logo is light-colored. */
  background: #f4f4f6ee;
  border: 1px solid #ffffff40;
  box-shadow: 0 8px 30px #00000050, inset 0 1px 0 #ffffff80;
  width: 112px;
  height: 112px;
}

.chip-initials {
  color: #2a2d3a;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Slots picked to avoid the static icanna (right:10/top:0), matchpanic (right:0/top:250),
   and autoping (right:250/top:340) chips above — all four sit in the box's left/top gap. */
.chip-dynamic:nth-of-type(4) { left: 6px; top: 50px; animation-delay: 0.6s; }
.chip-dynamic:nth-of-type(5) { left: 165px; top: 6px; animation-delay: 1.8s; }
.chip-dynamic:nth-of-type(6) { left: 14px; top: 225px; animation-delay: 2.6s; }
.chip-dynamic:nth-of-type(7) { left: 175px; top: 195px; animation-delay: 3.4s; }
.chip-dynamic:nth-of-type(n+8) { display: none; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-chip {
    animation: none;
  }
}

@media (max-width: 1150px) {
  .hero-visual {
    display: none;
  }
}

.tag {
  color: #00ffd5;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

h1 {
  font-size: 78px;
  line-height: 0.95;
  margin-bottom: 25px;
}

.slogan {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 18px;
}

.slogan .cursive {
  font-family: 'Dancing Script', cursive;
  color: #ff4fd8;
  font-size: 1.35em;
  font-weight: 700;
}

.subtitle {
  color: #aaa;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.primary-btn {
  display: inline-block;
  background: #00ffd5;
  color: black;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 1px 2px #00000030, 0 8px 20px -10px #00ffd570;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease), opacity 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.primary-btn:hover {
  box-shadow: 0 1px 2px #00000030, 0 10px 26px -8px #00ffd590;
  transform: translateY(-1px);
}

.primary-btn:active {
  transform: scale(0.96);
  filter: brightness(0.88);
  box-shadow: 0 1px 2px #00000030, 0 4px 12px -6px #00ffd570;
}

.primary-btn:disabled,
.secondary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.secondary-btn {
  display: inline-block;
  border: 1px solid #3a3a3a;
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease), opacity 0.15s var(--ease);
}

.secondary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn:active {
  transform: scale(0.96);
  background: #ffffff14;
  border-color: #00ffd5;
}

.secondary-btn:hover,
.store-buttons a:hover,
.text-link:hover {
  border-color: #00ffd5;
  color: #00ffd5;
}

.section {
  padding: 90px 7%;
}

.section-kicker {
  color: #00ffd5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section h2 {
  font-size: 42px;
  margin-bottom: 35px;
}

.group-heading {
  color: white;
  font-size: 22px;
  margin: 10px 0 20px;
}

.group-heading:not(:first-of-type) {
  margin-top: 55px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 15px;
}

.business-grid {
  grid-template-columns: repeat(3, 1fr);
}

.app-card {
  background: #111;
  border: 1px solid #222;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  min-height: 220px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #333;
}

.featured-card,
.autoping-card,
.icanna-card,
.truevirgin-card,
.nailzutopia-card {
  grid-column: span 2;
}

.business-grid .autoping-card,
.business-grid .icanna-card,
.business-grid .truevirgin-card,
.business-grid .nailzutopia-card {
  grid-column: span 1;
}

.featured-card,
.autoping-card,
.icanna-card,
.truevirgin-card,
.nailzutopia-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
}

.featured-card {
  background:
    linear-gradient(145deg, #170813 0%, #141019 42%, #071722 100%);
  border-color: #45233e;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.nailzutopia-card {
  background:
    radial-gradient(circle at 76% 18%, #d9af6230, transparent 34%),
    linear-gradient(145deg, #06130f 0%, #0b2119 56%, #17120a 100%);
  border-color: #d9af6250;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.autoping-card {
  background:
    linear-gradient(145deg, #071523 0%, #0c2031 55%, #1a1609 100%);
  border-color: #243c4e;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.icanna-card {
  background:
    linear-gradient(145deg, #06140f 0%, #0d1712 55%, #1a1608 100%);
  border-color: #3fa36240;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.truevirgin-card {
  background:
    linear-gradient(145deg, #060b17 0%, #0a1830 55%, #071f2a 100%);
  border-color: #55c8ff40;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.logo-stage {
  align-items: center;
  border-radius: var(--radius-sm);
  display: flex;
  height: 210px;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 24px;
}

.matchpanic-stage {
  background:
    radial-gradient(circle at 76% 24%, #ff1d8060, transparent 34%),
    radial-gradient(circle at 25% 30%, #00b7ff55, transparent 32%),
    linear-gradient(135deg, #090b13 0%, #1a1018 52%, #241203 100%);
}

.autoping-stage {
  background:
    radial-gradient(circle at 72% 22%, #f5aa1740, transparent 36%),
    linear-gradient(135deg, #06131f 0%, #10283a 100%);
  border: 1px solid #f5aa1724;
}

.icanna-stage {
  background:
    radial-gradient(circle at 72% 22%, #d2b97640, transparent 36%),
    radial-gradient(circle at 25% 30%, #3fa36245, transparent 32%),
    linear-gradient(135deg, #06140f 0%, #10281c 100%);
  border: 1px solid #d2b97624;
}

.truevirgin-stage {
  background:
    radial-gradient(circle at 72% 22%, #55c8ff40, transparent 36%),
    linear-gradient(135deg, #060b17 0%, #0d2c47 100%);
  border: 1px solid #55c8ff24;
}

.nailzutopia-stage {
  background:
    radial-gradient(circle at 74% 20%, #d9af6245, transparent 36%),
    linear-gradient(135deg, #05110d 0%, #0b2a1d 100%);
  border: 1px solid #d9af6230;
}

.dynamic-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(145deg, #0b0d13 0%, #10131a 55%, #0d1420 100%);
  border-color: #2c3446;
  box-shadow: inset 0 1px 0 #ffffff10;
}

.dynamic-card h3,
.dynamic-card .app-status.live {
  color: #6fb8ff;
}

.dynamic-stage {
  /* Same reasoning as .chip-dynamic: an arbitrary client logo could be dark-on-transparent,
     so a light plate is the safe default rather than assuming it reads on a dark ground. */
  background: linear-gradient(160deg, #f7f7f9 0%, #e9e9ee 100%);
  border: 1px solid #ffffff30;
}

.logo-fallback {
  color: #2a2d3a;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.app-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #00ffd5;
}

.autoping-card h3,
.autoping-card .app-status {
  color: #ffb31a;
}

.autoping-card .app-status.live {
  color: #ffb31a;
}

.icanna-card h3 {
  color: #d2b976;
}

.icanna-card .app-status.live {
  color: #3fa362;
}

.truevirgin-card h3 {
  color: #55c8ff;
}

.nailzutopia-card h3,
.nailzutopia-card .app-status.live {
  color: #e6c275;
}

.truevirgin-card .app-status.live {
  color: #55c8ff;
}

.app-card p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 25px;
}

.app-logo {
  height: auto;
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.matchpanic-logo {
  width: min(100%, 340px);
}

.autoping-logo {
  width: min(100%, 430px);
}

.icanna-logo {
  width: min(100%, 340px);
}

.truevirgin-logo {
  width: min(100%, 300px);
}

.nailzutopia-logo {
  width: min(100%, 190px);
}

.app-status {
  color: #ff4fd8;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.app-status.live {
  color: #00ffd5;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.store-buttons a {
  border: 1px solid #444;
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.store-buttons span {
  color: #ff4fd8;
  font-weight: bold;
}

.text-link {
  color: #00ffd5;
  font-weight: bold;
  margin-top: auto;
  text-decoration: none;
}

.privacy {
  background:
    radial-gradient(circle at 78% 4%, #ffb31a24, transparent 28%),
    linear-gradient(180deg, #050505 0%, #071523 18%, #0b1b28 100%);
}

.privacy-page {
  background: #071523;
}

.policy-nav {
  background: #050b10;
  border-bottom: 1px solid #ffffff12;
  padding: 24px 7%;
}

.standalone-policy {
  min-height: 100vh;
}

.privacy .section-kicker,
.privacy h1 {
  color: #ffb31a;
}

.standalone-policy h1 {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 35px;
}

/* Studio-branded variant of the .privacy/.policy-panel layout above, for pages that are
   Neon Goat's own (intake, portal, quote, reviews) rather than a specific product's legal
   page (autoping-privacy.html correctly keeps AutoPing's own orange accent via .privacy). */
.brand-page {
  background: #050505;
}

.brand {
  background:
    radial-gradient(circle at 78% 4%, #ff4fd824, transparent 28%),
    radial-gradient(circle at 16% 92%, #00ffd51c, transparent 32%),
    linear-gradient(180deg, #050505 0%, #0a0a0f 20%, #0d0d14 100%);
}

.brand .section-kicker,
.brand h1 {
  color: #ff4fd8;
}

.brand .policy-panel h2,
.brand .policy-panel > h3,
.brand .policy-panel a {
  color: #ff4fd8;
}

.brand .policy-panel {
  /* Glass panel: the page's own teal/pink glow shows through the blur, with a gradient
     ring (rather than a flat border) marking it as a distinct floating layer. */
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, #0d0e17b3 0%, #12111ab3 100%) padding-box,
    linear-gradient(135deg, #00ffd5, #ff4fd8) border-box;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 22px 70px #00000055, inset 0 1px 0 #ffffff14;
}

.policy-panel {
  background:
    linear-gradient(145deg, #071523 0%, #0c2031 58%, #11190f 100%);
  border: 1px solid #254255;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 70px #00000055, inset 0 1px 0 #ffffff12;
  max-width: 1100px;
  padding: 36px;
}

.policy-hero {
  align-items: center;
  border-bottom: 1px solid #ffffff14;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(220px, 360px) 1fr;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.policy-hero img {
  background:
    radial-gradient(circle at 72% 22%, #f5aa173d, transparent 40%),
    linear-gradient(135deg, #06131f 0%, #10283a 100%);
  border: 1px solid #f5aa1724;
  border-radius: var(--radius-sm);
  display: block;
  padding: 24px;
  width: 100%;
}

.policy-panel h2 {
  color: #ffb31a;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.policy-panel > h3 {
  border-top: 1px solid #ffffff14;
  color: #ffb31a;
  font-size: 22px;
  margin: 34px 0 14px;
  padding-top: 28px;
}

.policy-card h4 {
  border-top: 0;
  color: white;
  font-size: 18px;
  margin-bottom: 12px;
  padding-top: 0;
}

.policy-panel p {
  color: #c7d0d8;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 8px;
}

.policy-card {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  padding: 22px;
}

.policy-card p:last-child,
.policy-contact p:last-child,
.service-list p:last-child {
  margin-bottom: 0;
}

.policy-panel ul {
  color: #c7d0d8;
  line-height: 1.7;
  margin: 10px 0 18px 20px;
}

.policy-panel li {
  margin-bottom: 6px;
}

.policy-list {
  columns: 2;
  column-gap: 42px;
}

.service-list,
.policy-contact {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  padding: 22px;
}

.policy-panel a {
  color: #ffb31a;
}

.policy-panel .updated {
  color: #8fa0ad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.policy-footnote {
  border-top: 1px solid #ffffff14;
  color: #8fa0ad;
  font-size: 14px;
  margin-top: 28px;
  padding-top: 20px;
}

.about p,
.contact p {
  color: #aaa;
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
}

.about {
  background:
    radial-gradient(circle at 6% 20%, #00ffd516, transparent 32%),
    radial-gradient(circle at 96% 80%, #ff00ff16, transparent 34%);
}

.founder-grid {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(200px, 280px) 1fr;
  margin-top: 25px;
}

.founder-photo-frame {
  background: linear-gradient(150deg, #00ffd5, #7a5cff 50%, #ff4fd8);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px #00000080, 0 0 50px #ff00ff1c;
  padding: 4px;
}

.founder-photo {
  border-radius: 15px;
  display: block;
  width: 100%;
}

.founder-quote {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 100%;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.founder-tags span {
  border: 1px solid #00ffd540;
  border-radius: 999px;
  color: #00ffd5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  text-transform: uppercase;
}

.contact {
  background:
    radial-gradient(circle at 50% 100%, #00ffd51a, transparent 45%),
    radial-gradient(circle at 12% 0%, #ff00ff16, transparent 40%);
}

.contact-panel {
  background: linear-gradient(145deg, #0d0517 0%, #0a0f16 55%, #071722 100%);
  border: 1px solid #2a2a3a;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px #00000070, inset 0 1px 0 #ffffff10, 0 0 60px #00ffd514;
  margin: 0 auto;
  max-width: 620px;
  padding: 56px 44px;
  text-align: center;
}

.contact-panel .section-kicker {
  margin-bottom: 10px;
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p {
  margin: 0 auto 32px;
  max-width: 460px;
}

.contact-panel .primary-btn {
  box-sizing: border-box;
  font-size: 18px;
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    background: #060606;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    border-top: 1px solid #222;
    box-shadow: 0 20px 40px #00000080;
    display: none;
    flex-direction: column;
    gap: 2px;
    left: 0;
    margin-top: 20px;
    padding: 6px 7%;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

  .nav-links a {
    border-bottom: 1px solid #ffffff12;
    font-size: 17px;
    padding: 16px 0;
  }

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

  .hero-content {
    margin-top: 90px;
  }

  h1 {
    font-size: 52px;
  }

  .subtitle {
    font-size: 18px;
  }

  .app-grid,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .autoping-card,
  .icanna-card,
  .truevirgin-card,
  .nailzutopia-card {
    grid-column: auto;
  }

  .logo-stage {
    height: 180px;
    padding: 20px;
  }

  .logo span {
    font-size: 14px;
  }

  .section {
    padding: 70px 7%;
  }

  .section h2 {
    font-size: 34px;
  }

  .contact-panel {
    padding: 40px 26px;
  }

  .policy-panel {
    padding: 24px;
  }

  .policy-hero,
  .policy-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo-frame {
    max-width: 260px;
  }

  .policy-list {
    columns: 1;
  }

  .standalone-policy h1 {
    font-size: 36px;
  }

  .policy-panel h2 {
    font-size: 28px;
  }
}
.footer {
  padding: 30px 7%;
  border-top: 1px solid #222;
  color: #777;
  font-size: 14px;
}

/* Quote + intake public pages */

.quote-loading,
.quote-error {
  color: #aaa;
  font-size: 17px;
}

.quote-client {
  color: #8fa0ad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.quote-line-items {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.quote-line-items td {
  padding: 12px 0;
  border-bottom: 1px solid #ffffff14;
  color: #c7d0d8;
}

.quote-line-items td:last-child {
  text-align: right;
  white-space: nowrap;
}

.quote-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  padding-top: 6px;
}

.quote-status-banner {
  display: inline-block;
  background: #00ffd51a;
  color: #00ffd5;
  border: 1px solid #00ffd540;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.quote-actions {
  margin-top: 28px;
}

.payment-options {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-option {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  padding: 18px;
}

.payment-option h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
}

.payment-option a.secondary-btn {
  display: inline-block;
}

#paypal-button-container {
  max-width: 320px;
}

/* Feature-planner intake form */

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intake-field label,
.intake-field legend {
  display: block;
  color: #8fa0ad;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.intake-field input,
.intake-field select,
.intake-field textarea {
  width: 100%;
  background: #07131f;
  border: 1px solid #254255;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

.intake-field textarea {
  min-height: 100px;
  resize: vertical;
}

.intake-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: none;
  padding: 0;
  margin: 0;
}

.intake-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7d0d8;
  font-size: 15px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.intake-checklist input {
  width: auto;
}

.intake-success {
  color: #00ffd5;
  font-size: 18px;
}

/* Homepage "request work" CTA */

.request-cta {
  background:
    radial-gradient(circle at 20% 20%, #00ffd51a, transparent 40%),
    linear-gradient(145deg, #0c0c0c 0%, #111 100%);
  border: 1px solid #222;
  border-radius: var(--radius-sm);
  padding: 50px 7%;
  text-align: center;
  margin: 0 7% 90px;
}

.request-cta h2 {
  margin-bottom: 12px;
}

.request-cta p {
  color: #aaa;
  max-width: 560px;
  margin: 0 auto 24px;
}

@media (max-width: 640px) {
  .intake-checklist {
    grid-template-columns: 1fr;
  }
}

/* Client portal */

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

.portal-brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #254255;
  flex: none;
}

.portal-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag-client {
  position: absolute;
  right: -5px;
  bottom: -5px;
  background: #00ffd5;
  color: #052a25;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 5px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px #0008;
}

.portal-name {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.stage-badge {
  display: inline-block;
  margin-top: 6px;
  background: #00ffd51a;
  color: #00ffd5;
  border: 1px solid #00ffd540;
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.portal-card {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 20px;
}

.portal-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #8fa0ad;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #ffffff14;
  font-size: 14px;
  color: #c7d0d8;
}

.portal-row:first-of-type {
  border-top: 0;
}

.portal-row a.dl {
  color: #00ffd5;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.activity-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-feed li {
  padding: 10px 0;
  border-top: 1px solid #ffffff14;
  font-size: 13px;
  color: #c7d0d8;
}

.activity-feed li:first-child {
  border-top: 0;
}

.activity-feed time {
  display: block;
  color: #8fa0ad;
  font-size: 11px;
  margin-top: 3px;
}

.portal-quote-item {
  padding: 16px 0;
  border-top: 1px solid #ffffff14;
}

.portal-quote-item:first-of-type {
  border-top: 0;
}

.portal-quote-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.portal-quote-head b {
  color: #fff;
  font-size: 15px;
}

/* Reviews / testimonials */

.star-picker {
  display: flex;
  gap: 6px;
}

.star-picker button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: #333;
  padding: 0;
  transition: color .1s ease;
}

.star-picker button.on {
  color: #ffb31a;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: #ddd;
  margin-top: 18px;
}

.rating-badge .stars {
  color: #ffb31a;
  letter-spacing: 1px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 15px;
}

.review-card {
  background: #111;
  border: 1px solid #222;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.review-card .stars {
  color: #ffb31a;
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 10px;
  display: block;
}

.review-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-card .who {
  color: #00ffd5;
  font-weight: bold;
  font-size: 14px;
}

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

/* =====================================================================
   Website + Booking System offer & client account app (additive only —
   reuses .brand-page/.brand/.policy-panel/.policy-grid/.primary-btn/etc.
   from the sections above; nothing here changes an existing rule).
   ===================================================================== */

.offer-price-card {
  background: linear-gradient(145deg, #071523 0%, #0c2031 58%, #11190f 100%);
  border: 1px solid #254255;
  border-radius: var(--radius-sm);
  box-shadow: 0 22px 70px #00000055, inset 0 1px 0 #ffffff12;
  padding: 34px;
  text-align: center;
}

.offer-price {
  color: #00ffd5;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.offer-price small {
  color: #8fa0ad;
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
}

.offer-steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 18px 0 8px;
}

.offer-steps li {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  counter-increment: step;
  padding: 22px;
}

.offer-steps li::before {
  align-items: center;
  background: #00ffd5;
  border-radius: 50%;
  color: black;
  content: counter(step);
  display: inline-flex;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 12px;
  width: 32px;
}

.offer-check-list {
  list-style: none;
}

.offer-check-list li {
  color: #c7d0d8;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.offer-check-list li::before {
  color: #00ffd5;
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.offer-faq details {
  border-bottom: 1px solid #ffffff14;
  padding: 16px 0;
}

.offer-faq summary {
  color: white;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.offer-faq summary::-webkit-details-marker {
  display: none;
}

.offer-faq summary::after {
  color: #00ffd5;
  content: "+";
  float: right;
}

.offer-faq details[open] summary::after {
  content: "\2013";
}

.offer-faq p {
  color: #c7d0d8;
  line-height: 1.7;
  margin-top: 10px;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.account-tabs a,
.account-tabs button {
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius-sm);
  color: #ccc;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}

.account-tabs a.active {
  border-color: #00ffd5;
  color: #00ffd5;
}

.stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 24px 0;
}

.stat-box {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  padding: 18px;
}

.stat-box .label {
  color: #8fa0ad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stat-box .value {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.status-timeline {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 20px 0;
}

.status-timeline li {
  color: #8fa0ad;
  padding-bottom: 22px;
  padding-left: 30px;
  position: relative;
}

.status-timeline li::before {
  background: #254255;
  border: 2px solid #254255;
  border-radius: 50%;
  content: "";
  height: 12px;
  left: 4px;
  position: absolute;
  top: 4px;
  width: 12px;
}

.status-timeline li::after {
  background: #254255;
  bottom: 0;
  content: "";
  left: 9px;
  position: absolute;
  top: 16px;
  width: 2px;
}

.status-timeline li:last-child::after {
  display: none;
}

.status-timeline li.done {
  color: #c7d0d8;
}

.status-timeline li.done::before {
  background: #00ffd5;
  border-color: #00ffd5;
}

.status-timeline li.current {
  color: white;
  font-weight: 700;
}

.status-timeline li.current::before {
  background: #ff4fd8;
  border-color: #ff4fd8;
  box-shadow: 0 0 0 4px #ff4fd82c;
}

@media (max-width: 800px) {
  .offer-steps {
    grid-template-columns: 1fr;
  }
}

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

/* =====================================================================
   Client account app shell (account.html) — a proper dashboard shell
   instead of reusing marketing components (.policy-panel/.intake-field)
   for dense app UI. Additive: nothing above is touched or renamed.
   ===================================================================== */

.account-shell {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: 220px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 32px;
}

.account-sidebar a {
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  color: #8fa0ad;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.account-sidebar a:hover {
  background: #ffffff08;
  color: white;
}

.account-sidebar a.active {
  background: linear-gradient(90deg, #00ffd51a, transparent);
  border-left-color: #00ffd5;
  color: #00ffd5;
}

.account-sidebar .sidebar-logout {
  border-top: 1px solid #ffffff14;
  color: #8fa0ad;
  cursor: pointer;
  margin-top: 18px;
  padding-top: 18px;
}

.account-content {
  min-width: 0;
}

.account-content .section-kicker {
  margin-bottom: 4px;
}

.account-content h1 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 28px;
}

.account-card {
  background: #0a121b;
  border: 1px solid #1c2b38;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  padding: 28px;
}

.account-card h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.account-card p {
  color: #c7d0d8;
  font-size: 14px;
  line-height: 1.6;
}

/* .account-card p (above) has higher specificity than the plain .field-error
   rule below it in this file, so error text inside a card was silently
   winning out as regular light-gray body text instead of reading as an
   error — this restores it. */
.account-card .field-error {
  color: #ff6767;
  font-size: 13px;
}

/* Save/action confirmation toasts — see showToast() in account.html. */
#ngToastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.ng-toast {
  pointer-events: auto;
  cursor: pointer;
  background: #0a121b;
  border: 1px solid #1c2b38;
  border-left: 3px solid #00ffd5;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 15px 40px #000c;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 320px;
}

.ng-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ng-toast-error {
  border-left-color: #ff6767;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label,
.field legend {
  color: #8fa0ad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: #07131f;
  border: 1px solid #21384a;
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #00ffd5;
  outline: none;
  box-shadow: 0 0 0 3px #00ffd52a;
}

.field-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field-checkbox-row label {
  align-items: center;
  color: #c7d0d8;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  text-transform: none;
}

.wizard-stepper {
  align-items: center;
  display: flex;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.wizard-stepper .dot {
  align-items: center;
  background: #0d1b26;
  border: 1px solid #21384a;
  border-radius: 50%;
  color: #5d7383;
  display: flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.wizard-stepper a {
  display: flex;
  text-decoration: none;
}

.wizard-stepper .connector {
  background: #21384a;
  flex-shrink: 0;
  height: 1px;
  width: 16px;
}

.wizard-stepper .dot.done {
  background: #00ffd5;
  border-color: #00ffd5;
  color: #031317;
}

.wizard-stepper .dot.active {
  border-color: #00ffd5;
  box-shadow: 0 0 0 3px #00ffd52c;
  color: #00ffd5;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* The shared .secondary-btn (white text, #3a3a3a border) reads fine against
   the homepage's hero, but is too low-contrast against the near-black card
   backgrounds used throughout the sales page and client account app — a
   filled ghost style reads clearly here. Scoped to those two pages by body
   class so the homepage/intake/portal/quote/reviews pages are untouched. */
.offer-page .secondary-btn,
.account-app .secondary-btn {
  background: #ffffff0f;
  border-color: #3c5670;
}

.offer-page .secondary-btn:hover,
.account-app .secondary-btn:hover {
  background: #ffffff1a;
  border-color: #00ffd5;
  color: #00ffd5;
}

.saved-indicator {
  color: #5d7383;
  font-size: 12px;
  margin-top: 16px;
}

.field-group-label {
  color: #5d7383;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 22px 0 10px;
  text-transform: uppercase;
}

.field-group-label:first-child {
  margin-top: 0;
}

.field-error {
  color: #ff6767;
  font-size: 13px;
  margin-top: 4px;
}

/* Meeting scheduler — reuses .field-grid.two-col for the desktop
   date/times split (already collapses to one column under 860px). */
.slot-date-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow-y: auto;
}

.slot-date-list button,
.slot-time-grid button {
  background: #07131f;
  border: 1px solid #21384a;
  border-radius: var(--radius-sm);
  color: #c7d0d8;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  text-align: left;
}

.slot-date-list button:hover,
.slot-time-grid button:hover {
  border-color: #00ffd5;
}

.slot-date-list button.active,
.slot-time-grid button.active {
  background: #00ffd51a;
  border-color: #00ffd5;
  color: #00ffd5;
}

.slot-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.meeting-timezone-note {
  color: #5d7383;
  font-size: 12px;
  margin: 10px 0 18px;
}

/* Public booking page — month-grid date picker (distinct from the
   scrollable .slot-date-list used in the client portal scheduler). */
.book-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.book-calendar-header h4 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.book-calendar-nav {
  background: #07131f;
  border: 1px solid #21384a;
  border-radius: var(--radius-sm);
  color: #c7d0d8;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  padding: 6px 12px;
}

.book-calendar-nav:hover:not(:disabled) {
  border-color: #00ffd5;
  color: #00ffd5;
}

.book-calendar-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.book-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.book-calendar-weekday {
  color: #5d7383;
  font-size: 11px;
  text-align: center;
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.book-calendar-day {
  background: #07131f;
  border: 1px solid #21384a;
  border-radius: var(--radius-sm);
  color: #c7d0d8;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.book-calendar-day:hover:not(:disabled) {
  border-color: #00ffd5;
}

.book-calendar-day:disabled {
  opacity: 0.25;
  cursor: default;
  border-color: transparent;
}

.book-calendar-day.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.book-calendar-day.active {
  background: #00ffd51a;
  border-color: #00ffd5;
  color: #00ffd5;
  font-weight: 700;
}

.book-calendar-day.has-slots::after {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00ffd5;
}

.book-calendar-day.active.has-slots::after {
  background: #050505;
}

/* Support tickets — a private thread, not a generic helpdesk look. */
.support-ticket-list {
  display: flex;
  flex-direction: column;
}

.support-ticket-row {
  align-items: center;
  border-bottom: 1px solid #1c2b38;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto auto;
  padding: 16px 0;
  text-decoration: none;
}

.support-ticket-row:last-child {
  border-bottom: none;
}

.support-ticket-row:hover .support-ticket-subject {
  color: #00ffd5;
}

.support-ticket-number {
  color: #5d7383;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}

.support-ticket-subject {
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.support-ticket-meta {
  color: #5d7383;
  font-size: 12px;
}

.support-status {
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.support-status.open,
.support-status.in_progress { background: #1c3547; color: #a7d9ff; }
.support-status.waiting_on_client { background: #493520; color: #ffcf95; }
.support-status.resolved { background: #2d3b1c; color: #d8ff8d; }
.support-status.closed { background: #242835; color: #8f96a7; }

.support-priority {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.support-priority.urgent { color: #ff6767; }
.support-priority.high { color: #ffcf95; }
.support-priority.normal { color: transparent; }

.support-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.support-message {
  border-radius: var(--radius-sm);
  max-width: 85%;
  padding: 14px 16px;
}

.support-message.client {
  align-self: flex-end;
  background: #0d2530;
  border: 1px solid #1c3547;
}

.support-message.admin {
  align-self: flex-start;
  background: #0a121b;
  border: 1px solid #1c2b38;
}

.support-message-meta {
  color: #5d7383;
  font-size: 11px;
  margin-bottom: 6px;
}

.support-attachment-link {
  color: #00ffd5;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  margin-top: 8px;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .support-ticket-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "subject status" "number priority";
    row-gap: 4px;
  }
  .support-message { max-width: 100%; }
}

.file-row-mini {
  align-items: center;
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  display: flex;
  font-size: 13px;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 9px 12px;
}

.file-row-mini .remove {
  background: none;
  border: none;
  color: #8fa0ad;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}

.file-row-mini .remove:hover {
  color: #ff6767;
}

.file-drop-mini {
  background: #07131f66;
  border: 1px dashed #2c4356;
  border-radius: var(--radius-sm);
  color: #8fa0ad;
  cursor: pointer;
  display: block;
  font-size: 13px;
  padding: 16px;
  text-align: center;
}

.file-drop-mini:hover {
  border-color: #00ffd5;
  color: #00ffd5;
}

.file-drop-mini input {
  display: none;
}

.service-card {
  background: #07131f99;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 18px;
}

.service-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.service-card-actions button {
  background: #ffffff0f;
  border: 1px solid #3c5670;
  border-radius: var(--radius-sm);
  color: #e4ebf0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}

.service-card-actions button:hover:not(:disabled) {
  border-color: #00ffd5;
  color: #00ffd5;
}

.service-card-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.action-banner {
  border: 1px solid #ff4fd8;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  padding: 22px 26px;
}

.action-banner h4 {
  color: #ff4fd8;
}

.review-row {
  border-bottom: 1px solid #ffffff0f;
  color: #c7d0d8;
  font-size: 13px;
  padding: 6px 0;
}

.review-row:last-child {
  border-bottom: none;
}

.review-row b {
  color: #8fa0ad;
  font-weight: 700;
  margin-right: 6px;
}

.auth-shell {
  margin: 0 auto;
  max-width: 420px;
}

@media (max-width: 860px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    background: #050505ee;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #1c2b38;
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin: -20px -6% 24px;
    overflow-x: auto;
    padding: 12px 6%;
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .account-sidebar a {
    border-bottom: 2px solid transparent;
    border-left: none;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    white-space: nowrap;
  }

  .account-sidebar a.active {
    background: transparent;
    border-bottom-color: #00ffd5;
    border-left-color: transparent;
  }

  .account-sidebar .sidebar-logout {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .field-grid.two-col {
    grid-template-columns: 1fr;
  }

  .account-content h1 {
    font-size: 25px;
  }
}

/* Neon Goat chat widget — a private conversation channel, not a generic
   third-party helpdesk embed. */
.ng-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: #00ffd5;
  color: #050505;
  border: none;
  border-radius: 30px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 255, 213, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ng-chat-launcher:hover {
  background: #33ffdf;
}

.ng-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 999;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: #0a0a0af0;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid #222;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ng-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #1c1c1c;
}

.ng-chat-header b {
  color: white;
  font-size: 14px;
}

.ng-chat-header span {
  display: block;
  color: #00ffd5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ng-chat-close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.ng-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ng-chat-msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ng-chat-msg.visitor,
.ng-chat-msg.client {
  align-self: flex-end;
  background: #0d2530;
  border: 1px solid #143540;
  color: #eaffff;
}

.ng-chat-msg.ai,
.ng-chat-msg.system {
  align-self: flex-start;
  background: #131313;
  border: 1px solid #222;
  color: #d8d8d8;
}

.ng-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}

.ng-chat-suggestions button {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #ccc;
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 12px;
  cursor: pointer;
}

.ng-chat-suggestions button:hover {
  border-color: #00ffd5;
  color: #00ffd5;
}

.ng-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #1c1c1c;
}

.ng-chat-input-row input {
  flex: 1;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: white;
  padding: 10px 12px;
  font-size: 13.5px;
}

.ng-chat-input-row button {
  background: #00ffd5;
  color: #050505;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.ng-chat-input-row button:disabled {
  opacity: 0.5;
  cursor: default;
}

.ng-chat-form {
  padding: 14px 16px;
  border-top: 1px solid #1c1c1c;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ng-chat-form input {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: white;
  padding: 9px 11px;
  font-size: 13px;
}

.ng-chat-typing {
  align-self: flex-start;
  color: #666;
  font-size: 12px;
  padding-left: 4px;
}

@media (max-width: 480px) {
  .ng-chat-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 88vh;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
  }
  .ng-chat-launcher {
    right: 16px;
    bottom: 16px;
  }
}
