/* BYNvenn — offentlig nettside */
:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text: #e8e6f0;
  --muted: #9892a8;
  --accent: #a855f7;
  --accent-dim: rgba(168, 85, 247, 0.15);
  --logo-yellow: #facc15;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(88, 28, 135, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(30, 27, 75, 0.4), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(49, 46, 129, 0.25), transparent),
    var(--bg-deep);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-venn {
  color: var(--logo-yellow);
}

.hero-wordmark {
  margin: 0 auto 1.25rem;
  text-align: center;
}

.hero-brand {
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
}

.hero-brand .logo-venn {
  color: var(--logo-yellow);
}

.inline-brand {
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

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

.btn-primary {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 24px rgba(147, 51, 234, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.45);
}

.btn-ghost {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.22);
}

/* App Store — kommer snart (ikke klikkbar ennå) */
.app-store-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  cursor: default;
  user-select: none;
}

.app-store-soon .apple-icon {
  opacity: 0.85;
}

.coming-hint {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero p.lead {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.apple-icon {
  width: 22px;
  height: 22px;
}

/* Features */
.features {
  padding: 2rem 0 5rem;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

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

/* CTA band */
.cta-band {
  margin: 2rem 0 4rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.35), rgba(49, 46, 129, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: #c4b5fd;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .nav-links .nav-hide-sm {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
