:root {
  --bg: #0a0c10;
  --bg-card: rgba(22, 26, 34, 0.72);
  --border: rgba(212, 175, 55, 0.2);
  --border-strong: rgba(212, 175, 55, 0.38);
  --gold: #d4af37;
  --gold-light: #f5e6b8;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text: #f2f4f8;
  --text-muted: #9aa3b2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-light);
  transition: color 0.2s ease;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Background glow */
.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.glow-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}

.glow-2 {
  width: 360px;
  height: 360px;
  top: 40%;
  right: -80px;
  background: radial-gradient(circle, rgba(100, 140, 255, 0.2), transparent 70%);
}

.glow-3 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.brand-name {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.header-nav {
  display: flex;
  gap: 0.35rem;
}

.header-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.header-nav a:hover,
.header-nav a.is-active {
  color: var(--text);
  background: rgba(212, 175, 55, 0.12);
}

.header-nav a.is-active {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, #e8c96a, var(--gold) 45%, #a88420);
  color: #1a1408;
  box-shadow: 0 10px 28px var(--gold-glow);
}

.btn-primary:hover {
  color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--gold-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn-ghost:hover {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.btn-text {
  background: none;
  color: var(--text-muted);
  padding: 0.5rem;
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

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

/* Hero */
.hero {
  padding: 3rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-ring {
  position: absolute;
  width: min(340px, 85vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12), transparent 60%);
  animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 1; }
}

.hero-logo {
  position: relative;
  width: min(300px, 72vw);
  border-radius: 28px;
  filter: drop-shadow(var(--shadow));
}

/* Features */
.features {
  padding: 1rem 0 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.6rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Apps */
.apps-section {
  padding: 2rem 0 3rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.apps-section h2,
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
}

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

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), rgba(15, 18, 24, 0.9));
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s;
}

.app-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.app-card-visual {
  position: relative;
}

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.app-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1408;
}

.app-details h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.app-desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 58ch;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.app-tags li {
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8c96a, var(--gold) 50%, #a88420);
  color: #1a1408;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--gold-glow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.play-btn:hover {
  color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--gold-glow);
}

/* CTA */
.cta-banner {
  padding: 0 0 4rem;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
}

.cta-inner p {
  margin: 0;
  color: var(--text-muted);
}

/* Contact page */
.page-hero {
  padding: 2.5rem 0 1rem;
  text-align: center;
}

.page-hero-inner {
  max-width: 540px;
  margin-inline: auto;
}

.page-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-section {
  padding: 1.5rem 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.contact-card--primary {
  grid-column: 1 / -1;
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), var(--bg-card));
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.contact-card-icon--muted {
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.4rem;
  width: auto;
  height: auto;
  padding: 0;
}

.contact-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.contact-card-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-value {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.email-display {
  margin: 0 0 1.25rem;
}

.email-link {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.email-link:hover {
  border-color: var(--border-strong);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-tips {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.contact-tips li {
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  grid-row: span 2;
}

.footer-brand img {
  border-radius: 10px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-brand strong {
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  justify-self: end;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-copy {
  margin: 0;
  justify-self: end;
  font-size: 0.85rem;
  color: var(--text-muted);
  grid-column: 2;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-showcase {
    order: -1;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-card-visual {
    justify-self: center;
  }

  .app-tags {
    justify-content: center;
  }

  .play-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-row: auto;
    flex-direction: column;
  }

  .footer-nav,
  .footer-copy {
    justify-self: center;
    grid-column: 1;
  }
}
