/* =========================================
   Beaconn - beaconn.app landing page
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;800&family=Inter:wght@400;450;500;600&display=swap');

:root {
  --bg:        #0b0b0e;
  --bg-2:      #101014;
  --surface:   #17171c;
  --surface-2: #1e1e25;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --text:      #f2f2f5;
  --muted:     #9a9aa8;
  --muted-2:   #63636f;

  --fuchsia:  #d946ef;
  --purple:   #8b3fd9;
  --blue:     #3b6ff5;
  --green:    #22c55e;

  --grad:      linear-gradient(120deg, #d946ef 0%, #8b3fd9 48%, #3b6ff5 100%);
  --grad-soft: linear-gradient(120deg, rgba(217,70,239,.14) 0%, rgba(59,111,245,.14) 100%);

  --radius:    14px;
  --radius-lg: 22px;

  --shadow: 0 24px 60px -20px rgba(0,0,0,.75);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The width/height attributes on the screenshots reserve layout space before
   they load. Without height:auto the attribute height wins and every shot is
   squashed to 1080px tall inside a narrower box. */
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3, h4, .brand {
  font-family: 'Oxanium', system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

section { padding: 6rem 0; position: relative; }

/* ---------- Nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1.75rem;
  background: rgba(11,11,14,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 26px; width: auto; }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-note {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .01em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Oxanium', system-ui, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .78rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(139,63,217,.85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(139,63,217,.95); }

.btn-secondary {
  background: rgba(255,255,255,.04);
  border-color: var(--border-hi);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-sm { padding: .5rem 1rem; font-size: .85rem; border-radius: 8px; }

/* ---------- Hero ---------- */

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(139,63,217,.30) 0%, rgba(59,111,245,.14) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: var(--grad-soft);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.9rem;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 1.35rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.2rem;
}

.hero-ctas {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: .85rem;
  color: var(--muted-2);
  margin-bottom: 3.5rem;
}

/* Screenshot frame */

.screen-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(217,70,239,.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.screen-bar {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 .9rem;
  gap: .4rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.hero-screen { max-width: 1000px; margin: 0 auto; }

/* ---------- Replaces strip ---------- */

.strip {
  padding: 2.5rem 0 0;
  text-align: center;
}

.strip p {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}

.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.chip {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Section headers ---------- */

.section-head { text-align: center; margin-bottom: 3.5rem; }

.eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  margin-bottom: .8rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: .9rem;
}

.section-head p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Feature rows ---------- */

.row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.row:last-child { margin-bottom: 0; }
.row.flip .row-text { order: 2; }

.tag {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.row-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: .9rem;
}

.row-text > p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .55rem;
}

.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
}

.row-visual .screen-frame { border-radius: var(--radius); }
.row-visual .screen-frame::after { border-radius: var(--radius); }

/* ---------- Bento grid ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: border-color .18s ease, transform .18s ease;
}

.tile:hover { border-color: var(--border-hi); transform: translateY(-3px); }

.tile-icon {
  font-size: 1.35rem;
  margin-bottom: .8rem;
  display: block;
}

.tile h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.tile p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Free card ---------- */

.free-card {
  position: relative;
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139,63,217,.18) 0%, transparent 60%),
    var(--surface);
  overflow: hidden;
}

.free-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.free-card > p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.4rem;
}

.free-note {
  display: inline-block;
  font-size: .85rem;
  color: var(--muted-2);
  max-width: 520px;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

/* ---------- Coming soon ---------- */

.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.soon-card {
  position: relative;
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(139,63,217,.13) 0%, transparent 55%),
    var(--surface);
  transition: border-color .18s ease, transform .18s ease;
}

.soon-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }

.soon-pill {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  border: 1px dashed var(--border-hi);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.soon-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.soon-card > p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.2rem;
}

.soon-card .bullets li { font-size: .9rem; }

/* ---------- Beta band ---------- */

.beta {
  text-align: center;
  padding: 5rem 0 6rem;
}

.beta h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.beta p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.beta-date {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  font-family: 'Oxanium', system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  padding: .9rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-hi);
  background: var(--grad-soft);
  margin-bottom: 1.8rem;
}

.beta-date small {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-brand .nn {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  font-size: .9rem;
  color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  width: 100%;
  font-size: .82rem;
  color: var(--muted-2);
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section { padding: 4.5rem 0; }

  .row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .row.flip .row-text { order: 0; }

  .nav-note { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: 3.5rem; }
  .hero-ctas .btn { width: 100%; }
  .free-card { padding: 2.5rem 1.25rem; }
  .footer-links { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
