
/* =========================
   Calm + mysterious theme
   ========================= */

:root{
  /* Background */
  --bg0: #030611;     /* near-black blue */
  --bg1: #030a1a;     /* deep navy */
  --bg2: #041126;     /* ocean tint */

  /* Text */
  --text: rgba(255,255,255,.88);
  --muted: rgba(255,255,255,.62);
  --faint: rgba(255,255,255,.12);

  /* Bioluminescent accent */
  --glow: #33f0ff;    /* cyan */
  --glow2:#5c7cff;    /* blue-violet */
  --glowSoft: rgba(51,240,255,.16);
  --glowSofter: rgba(51,240,255,.08);

  /* Surfaces */
  --card: rgba(255,255,255,.04);
  --card2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);

  /* Radii + spacing */
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --maxw: 1120px;

  /* Type */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: #030916;
}

a{ color: inherit; text-decoration: none; }
img{ display: block; max-width: 100%; }

/* Subtle "sea haze" noise (optional) */
.noise{
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
}

/* Layout */
.wrap{
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

header{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(3,6,17,.78), rgba(3,6,17,.28));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner{
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-content: space-between; /* top-right brand */
  gap: 12px;
}


/* Brand mark */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.brand:hover{
  border-color: rgba(51,240,255,.26);
  background: rgba(51,240,255,.03);
}

.brand-logo{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 35%, rgba(51,240,255,.95), rgba(51,240,255,.25) 40%, transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(92,124,255,.65), transparent 60%),
    rgba(255,255,255,.05);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 0 24px rgba(51,240,255,.22),
    0 0 60px rgba(92,124,255,.12);
}

.brand-name{
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
}
.brand.wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #cfffff;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(51,240,255,0.25);

  text-shadow:
    /* subtle red outline (pre-glow) */
    0 0 1px rgba(255, 80, 80, 0.9),
    0 0 2px rgba(255, 60, 60, 0.6),

    /* bioluminescent cyan/blue glow */
    0 0 6px rgba(51,240,255,0.9),
    0 0 14px rgba(51,240,255,0.7),
    0 0 28px rgba(51,240,255,0.45),
    0 0 60px rgba(92,124,255,0.25);

  box-shadow:
    0 0 0 1px rgba(51,240,255,0.15) inset,
    0 0 24px rgba(51,240,255,0.25),
    0 0 60px rgba(92,124,255,0.18);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand.wordmark:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(51,240,255,0.25) inset,
    0 0 36px rgba(51,240,255,0.4),
    0 0 90px rgba(92,124,255,0.3);
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #cfffff;

  /* padding: 10px 14px;
  border-radius: 999px; */
/*
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(51,240,255,0.25); */

  text-shadow:
    /* subtle red outline (pre-glow) */
    0 0 1px rgba(255, 80, 80, 0.9),
    0 0 2px rgba(255, 60, 60, 0.6),

    /* bioluminescent cyan/blue glow */
    0 0 6px rgba(51,240,255,0.9),
    0 0 14px rgba(51,240,255,0.7),
    0 0 28px rgba(51,240,255,0.45),
    0 0 60px rgba(92,124,255,0.25);

  /* box-shadow:
    0 0 0 1px rgba(51,240,255,0.15) inset,
    0 0 24px rgba(51,240,255,0.25),
    0 0 60px rgba(92,124,255,0.18); */

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  /* box-shadow:
    0 0 0 1px rgba(51,240,255,0.25) inset,
    0 0 36px rgba(51,240,255,0.4),
    0 0 90px rgba(92,124,255,0.3); */
}


/* Hero section */
main{ padding: 56px 0 90px; }

.hero{
  position: relative;
  padding: 44px 0 26px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

/* Calm glow blob behind mockup */
.glow-blob{
  position: absolute;
  inset: -40px -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(closest-side at 35% 45%, rgba(51,240,255,.12), transparent 70%),
    radial-gradient(closest-side at 65% 55%, rgba(92,124,255,.10), transparent 70%);
  filter: blur(10px);
  opacity: .9;
  pointer-events: none;
}

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .03em;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(51,240,255,.85);
  box-shadow: 0 0 18px rgba(51,240,255,.45);
}

h1{
  margin: 16px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.subhead{
  margin: 0 0 18px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-list{
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
}

.feature b{
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

.feature span{
  color: var(--muted);
}

/* CTA */
.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select: none;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(51,240,255,.34);
  background: rgba(51,240,255,.06);
}

.btn.primary{
  border-color: rgba(51,240,255,.34);
  background: linear-gradient(180deg, rgba(51,240,255,.14), rgba(51,240,255,.06));
  box-shadow: 0 0 0 1px rgba(51,240,255,.08) inset, 0 10px 40px rgba(51,240,255,.10);
}

.micro{
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

/* Right column: app card + icon */
.app-card{
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
  padding: 18px;
}

.app-card::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(51,240,255,.16), transparent 60%);
  filter: blur(10px);
  opacity: .8;
  pointer-events: none;
}

.app-top{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.app-icon{
  width: 64px;
  height: 64px;
  border-radius: 22%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 10px 40px rgba(0,0,0,.35),
    0 0 30px rgba(51,240,255,.18);
  overflow: hidden;
}

/* Replace this <div> with an <img> of your 1024x1024 icon */
.app-icon.placeholder{
  background:
    radial-gradient(circle at 30% 30%, rgba(51,240,255,.55), rgba(51,240,255,.08) 45%, transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(92,124,255,.35), transparent 60%),
    rgba(255,255,255,.06);
}

.app-meta .app-name{
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  font-size: 18px;
  color: rgba(255,255,255,.90);
}

.app-meta .app-tagline{
  margin: 3px 0 0;
  color: rgba(255,255,255,.60);
  font-size: 13px;
}

.app-body{
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.badges{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

/* Left column: device mockup (CSS-only) */
.device-stack{
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 0;
}

.device{
  width: min(380px, 92vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.device::before{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.10), transparent 40%);
  pointer-events:none;
}

.device-screen{
  position: absolute;
  inset: 14px;
  border-radius: 32px;
  overflow: hidden;
  background: #050a14;
  border: 1px solid rgba(255,255,255,.08);
}

/* Placeholder "screenshot" look (replace with an <img>) */
.shot{
  width: 100%;
  height: 100%;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(51,240,255,.16), transparent 60%),
    radial-gradient(700px 500px at 80% 40%, rgba(92,124,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 10px, transparent 10px, transparent 20px);
}

.device-notch{
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.06);
  z-index: 2;
  filter: blur(.0px);
}

/* Optional second device behind */
.device.back{
  position: absolute;
  width: min(330px, 84vw);
  opacity: .45;
  transform: translate(-34px, 18px) rotate(-3deg);
  filter: blur(.0px);
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.08);
}

/* Section divider */
.divider{
  margin: 50px 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

/* Footer micro */
footer{
  padding: 36px 0 48px;
  color: rgba(255,255,255,.55);
}

.foot{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.foot small{
  font-size: 13px;
  line-height: 1.6;
}
/* Hamburger button - hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  gap: 5px;
  z-index: 50;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--glow);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(51,240,255,0.6);
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem; /* was your margin-right + natural spacing */
}

.nav-menu a.brand.wordmark {
  margin-right: 0; /* reset your old inline margin */
}

/* Mobile: hide links, show hamburger */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    width: 90%;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .header-inner {
    justify-content: space-between; /* brand left, hamburger right */
  }
}

/* Optional: subtle glow on toggle hover */
.menu-toggle:hover span {
  background: var(--glow2);
  box-shadow: 0 0 12px rgba(92,124,255,0.8);
}
/* Responsive */
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .header-inner{
    justify-content: center; /* feels nicer on mobile */
  }
  .brand{
    width: fit-content;
  }
  .device.back{
    display: none;
  }
  .subhead{ max-width: 65ch; }
  main{ padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
  .btn:hover{ transform: none; }
}
