@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #0d0d0f;
  --text: #f4f4f6;
  --muted: #a7a7b0;
  --orange: #ff9800;
  --orange-hi: #ffc04d;
  --glass-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, #2a2a2e 0%, #141416 45%, var(--bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-hi); }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--orange); color: #111; padding: 8px 12px; border-radius: 6px; z-index: 10;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 6vw;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
/* Icon and wordmark share one height so the tile and the text block line up top and bottom. */
.brand-icon { height: 46px; width: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(255, 140, 0, 0.35)); }
.wordmark-img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 26px; font-size: 0.9rem; flex-wrap: wrap; }
.site-nav a {
  position: relative; color: var(--text); text-decoration: none; padding: 6px 0; opacity: 0.85; transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 1; }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 28px; height: 3px; transform: translateX(-50%);
  background: var(--orange); border-radius: 3px; box-shadow: 0 0 10px var(--orange);
}

/* Hero: the supplied branding artwork shown at its natural ratio, with the copy overlaid on the dark left side. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
/* The image sets the size of the media box, so overlays placed by percentage land on exact pixels. */
.hero-media { position: relative; width: 100%; }
.hero-img { display: block; width: 100%; height: auto; }

/* Animated glow ring sitting exactly over the app tile in the artwork. */
.logo-glow {
  position: absolute; left: 36.8%; top: 8.7%; width: 26.4%; aspect-ratio: 1 / 1.03;
  border-radius: 19%; pointer-events: none;
  animation: edge-glow 3.6s ease-in-out infinite, edge-flicker 5s steps(1) infinite;
}
@keyframes edge-glow {
  0%, 100% { box-shadow: 0 0 12px 1px rgba(255, 150, 0, 0.25); }
  50% { box-shadow: 0 0 30px 5px rgba(255, 185, 70, 0.7); }
}
@keyframes edge-flicker {
  0%, 88%, 100% { filter: none; }
  90% { filter: drop-shadow(0 0 6px #ffe3a8); }
  92% { filter: none; }
  95% { filter: drop-shadow(0 0 9px #ffc24d); }
}

/* Glossy highlight that sweeps across the logo every few seconds. */
.hero-sheen {
  position: absolute; top: 0; bottom: 0; left: -40%; width: 22%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 245, 220, 0.4) 50%, rgba(255, 255, 255, 0.18) 55%, transparent 100%);
  transform: skewX(-12deg);
  mix-blend-mode: screen;
  animation: hero-sheen 6.5s ease-in-out 1.5s infinite;
}
@keyframes hero-sheen {
  0% { left: -40%; }
  38%, 100% { left: 130%; }
}

/* Scrim and copy overlaid on the left so the text stays readable over the artwork. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.68) 30%, rgba(10, 10, 12, 0) 55%);
}
.hero-copy {
  position: absolute; z-index: 2; left: 6vw; top: 50%; transform: translateY(-50%);
  max-width: 460px;
}
.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.1; margin: 0 0 22px; font-weight: 700; letter-spacing: -0.01em;
}
.h1-line { display: block; white-space: nowrap; }
.accent {
  background: linear-gradient(90deg, #ffc04d, #ff9800);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 26em; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #141414; background: linear-gradient(180deg, #ffb53a, #ff8c00);
  box-shadow: 0 10px 30px rgba(255, 150, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-small { padding: 8px 16px; font-size: 0.85rem; white-space: nowrap; color: #141414; background: linear-gradient(180deg, #ffb53a, #ff8c00); }

/* Sections */
.apps, .about, .support, .contact {
  max-width: 1100px; margin: 0 auto; padding: 56px 6vw;
}
.section-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: 1.6rem; font-weight: 700; }
.section-head p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.bar { width: 4px; height: 26px; border-radius: 4px; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.about p, .support p, .contact p { color: var(--muted); max-width: 46em; margin: 0 0 12px; }
.about strong { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 2px 0 10px; color: var(--muted); font-size: 0.9rem; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.card-featured {
  border-color: rgba(255, 160, 40, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 160, 40, 0.2), 0 0 32px rgba(255, 140, 0, 0.2);
}
.card-featured:hover { box-shadow: 0 0 0 1px rgba(255, 160, 40, 0.4), 0 0 44px rgba(255, 140, 0, 0.35); }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); flex: none; }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #cfcfd6;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon .grid-icon { width: 54px; height: 54px; }
.card-soon h3 { color: var(--text); }

.site-footer {
  margin-top: 40px; padding: 36px 6vw 48px; text-align: center; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--text); }
.copy { opacity: 0.6; }

/* Responsive */
@media (max-width: 900px) {
  /* Stack: artwork on top, copy beneath it. */
  .hero::before {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 55%, rgba(10, 10, 12, 0.6) 80%, #0e0e10 100%);
  }
  .hero-copy {
    position: static; transform: none; max-width: none;
    padding: 24px 6vw 48px; margin: 0;
  }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .h1-line { white-space: normal; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 16px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-sheen { display: none; }
}
