/* AstraX Nexus — Static Styles */
:root {
  --bg: #09090B;
  --bg-2: #0f0f14;
  --fg: #fafafa;
  --muted: #9a9aa8;
  --card: #17171d;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.28);
  --gold: #D4AF37;
  --gold-soft: #C9A227;
  --gold-deep: #a07f1e;
  --grad-gold: linear-gradient(135deg, #E8C766, #B8942A);
  --grad-dark: radial-gradient(1200px 600px at 50% -10%, rgba(212, 175, 55, 0.14), transparent 60%),
    linear-gradient(180deg, #09090B, #0b0b10);
  --shadow-gold: 0 10px 40px -12px rgba(212, 175, 55, 0.45);
  --shadow-elegant: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --radius: 0.9rem;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--grad-dark);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
textarea {
  font-family: inherit;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

/* Utilities */
.container-x {
  padding-inline: 1.25rem;
  max-width: 1280px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container-x {
    padding-inline: 2rem;
  }
}

@media (min-width: 1280px) {
  .container-x {
    padding-inline: 3rem;
  }
}

.glass {
  background: rgba(23, 23, 29, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
}

.glass-gold {
  background: rgba(23, 23, 29, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-gold);
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-border {
  border: 1px solid var(--border-gold);
}

.text-muted {
  color: var(--muted);
}

.text-gold {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--grad-gold);
  color: #0a0a0a;
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-ghost-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-ghost-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-gold);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: transparent;
  transform: translateY(0);
}

.navbar.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.navbar.scrolled {
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .nav-inner {
    height: 80px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  transition: transform 0.3s;
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .nav-brand-text {
    display: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 6px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 1px;
  background: var(--grad-gold);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  padding: 0.5rem;
  color: var(--fg);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fade-up 0.4s ease-out both;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.mobile-menu a:hover {
  color: var(--fg);
}

.mobile-menu a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

/* Breadcrumbs */
.breadcrumbs {
  padding-top: 1.5rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .sep {
  opacity: 0.6;
}

.breadcrumbs .current {
  color: var(--gold);
}

/* Footer */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer ul a:hover {
  color: var(--fg);
}

.footer .socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer .socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 29, 0.7);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s;
}

.footer .socials a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sections & headings */
.section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(23, 23, 29, 0.6);
  border: 1px solid var(--border-gold);
}

.eyebrow::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.section-heading {
  max-width: 42rem;
}

.section-heading.center {
  margin: 0 auto;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.15;
}

@media (min-width: 768px) {

  .section-heading h1,
  .section-heading h2 {
    font-size: 3rem;
  }
}

.section-heading p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section-heading p {
    font-size: 1.125rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-blobs .b1 {
  position: absolute;
  top: -8rem;
  left: -8rem;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  filter: blur(80px);
}

.hero-blobs .b2 {
  position: absolute;
  top: 10rem;
  right: -8rem;
  width: 400px;
  height: 400px;
  border-radius: 999px;
  background: rgba(160, 120, 40, 0.08);
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 6rem;
  }
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero p.lede {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.hero-visual {
  position: relative;
}

.hero-visual .card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: glow-pulse 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-visual .card {
    padding: 2.5rem;
  }
}

.hero-visual .card img {
  width: 100%;
  border-radius: 1rem;
  animation: float-slow 6s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-founder {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero-founder {
    display: flex;
  }
}

.hero-founder img {
  height: 40px;
  width: 40px;
}

/* Stats */
.stats {
  padding: 2.5rem 0;
}

.stats-card {
  padding: 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-card {
    padding: 2.5rem;
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Cards grid */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.icon-badge {
  height: 44px;
  width: 44px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #0a0a0a;
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA */
.cta-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card h2 {
  font-size: 1.875rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .cta-card h2 {
    font-size: 3rem;
  }
}

.cta-card p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
}

.cta-card .btn {
  margin-top: 2rem;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-gold);
  opacity: 0.15;
  filter: blur(80px);
}

/* Services (flip cards) */
.flip-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  perspective: 1200px;
}

@media (min-width: 640px) {
  .flip-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flip-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flip-card {
  position: relative;
  height: 300px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner,
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1.75rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-back ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.flip-back li::before {
  content: '◆ ';
  color: var(--gold);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project {
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
  background: rgba(23, 23, 29, 0.7);
  border: 1px solid var(--border);
}

.project:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.project-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(23, 23, 29, 0.9));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 1.25rem;
  background: rgba(10, 10, 14, 0.9);
}

.project-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.project-body p {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fade-in 0.25s ease-out both;
}

.lightbox.open {
  display: flex;
}

.lightbox-card {
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  padding: 2rem;
  background: #17171d;
  border: 1px solid var(--border-gold);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.lightbox-thumb {
  aspect-ratio: 16/10;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(23, 23, 29, 0.9));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
}

/* Gallery (masonry) */
.masonry {
  column-count: 1;
  column-gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(23, 23, 29, 0.7);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}

.masonry-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.masonry-item .thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(23, 23, 29, 0.9));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 0;
}

.masonry-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.masonry-item .cap {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(10, 10, 14, 0.9);
}

/* Pricing */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.toggle-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(23, 23, 29, 0.6);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--grad-gold);
  color: #0a0a0a;
  border-color: transparent;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(23, 23, 29, 0.7);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: #0a0a0a;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.plan h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.plan .price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
}

.plan .price small {
  font-size: 0.875rem;
  color: var(--muted);
}

.plan ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.plan ul li::before {
  content: '✓';
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 700;
}

.plan .btn {
  margin-top: 1.75rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-card .icon-badge {
  flex-shrink: 0;
}

.info-card .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card .val {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.info-card .val a:hover {
  color: var(--gold);
}

.map-card {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.form-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

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

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field label .req {
  color: var(--gold);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  padding: 0.85rem 1rem;
  resize: none;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

/* Dashboard */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .dash-grid {
    grid-template-columns: 220px 1fr;
  }
}

.dash-nav {
  padding: 0.75rem;
  border-radius: 1rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-nav button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: left;
  transition: all 0.2s;
}

.dash-nav button:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}

.dash-nav button.active {
  background: var(--grad-gold);
  color: #0a0a0a;
  font-weight: 600;
}

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

@media (min-width: 640px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi {
  padding: 1.25rem;
  border-radius: 1rem;
}

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.kpi-val {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
}

.activity {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
}

.activity li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity li:last-child {
  border-bottom: none;
}

/* About team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.member {
  padding: 1.75rem;
  border-radius: 1.25rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.member:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  border: 2px solid var(--gold);
}

.member h4 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.member .role {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.member p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Chip row */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.chip {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.chip:hover {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Chat widget */
.chat-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #0a0a0a;
  display: grid;
  place-items: center;
  animation: glow-pulse 3s ease-in-out infinite;
  box-shadow: var(--shadow-gold);
}

.chat-panel {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  left: 1rem;
  z-index: 60;
  max-width: 420px;
  height: 540px;
  max-height: 80vh;
  display: none;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(23, 23, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-elegant);
  animation: fade-up 0.4s ease-out both;
}

@media (min-width: 640px) {
  .chat-panel {
    left: auto;
    right: 1.25rem;
    width: 380px;
  }
}

.chat-panel.open {
  display: flex;
}

.chat-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 15, 20, 0.6);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #0a0a0a;
  display: grid;
  place-items: center;
}

.chat-head .name {
  font-size: 0.875rem;
  font-weight: 600;
}

.chat-head .status {
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.msg.user {
  align-self: flex-end;
  background: var(--grad-gold);
  color: #0a0a0a;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.msg.bot {
  align-self: flex-start;
  background: #22222a;
  color: var(--fg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.5rem;
}

.chat-suggestions button {
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(23, 23, 29, 0.6);
  border: 1px solid var(--border);
  color: var(--muted);
}

.chat-suggestions button:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.chat-form {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 15, 20, 0.6);
}

.chat-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #22222a;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.85rem;
  outline: none;
}

.chat-form input:focus {
  border-color: var(--gold);
}

.chat-form button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #0a0a0a;
  display: grid;
  place-items: center;
}

.chat-form button:disabled {
  opacity: 0.5;
}

.typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: #22222a;
  border: 1px solid var(--border);
  border-radius: 1rem;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  animation: bounce 1.2s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

/* Toast */
.toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  background: #17171d;
  border: 1px solid var(--border-gold);
  color: var(--fg);
  font-size: 0.875rem;
  box-shadow: var(--shadow-elegant);
  animation: fade-up 0.3s ease-out both;
}

/* Animations */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.45);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.animate-float {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-fade-up {
  animation: fade-up 0.7s ease-out both;
}

.delay-1 {
  animation-delay: 0.15s;
}

/* Text helpers */
.text-center {
  text-align: center;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* 404 */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.notfound h1 {
  font-size: 5rem;
}