/* Noksen Studio — shared styles */
:root {
  --bg-deep: #060607;
  --bg-card: #0f0f12;
  --bg-elevated: #16161c;
  --border: rgba(255, 255, 255, 0.06);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #34d399;
  --accent-dim: rgba(52, 211, 153, 0.15);
  --fusion: #e879f9;
  --monday: #ff3d57;
  --shopify: #95bf47;
  --font-display: "Syne", system-ui, sans-serif;
  --font-hero: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

/* Background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(52, 211, 153, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(232, 121, 249, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(149, 191, 71, 0.05), transparent),
    var(--bg-deep);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

a:hover {
  opacity: 0.85;
}

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.logo span {
  color: var(--accent);
}

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

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

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

/* Hero */
.hero {
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(52, 211, 153, 0.25);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  max-width: 22ch;
  margin-inline: auto;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #042f1f;
}

.btn-primary:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-elevated);
}

/* Sections */
section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  max-width: 20ch;
}

/* Product grid */
.products {
  border-top: 1px solid var(--border);
}

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.product-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.platform-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-fusion {
  color: #f0abfc;
  background: rgba(232, 121, 249, 0.12);
  border: 1px solid rgba(232, 121, 249, 0.25);
}

.tag-monday {
  color: #fda4af;
  background: rgba(255, 61, 87, 0.12);
  border: 1px solid rgba(255, 61, 87, 0.25);
}

.tag-shopify {
  color: #bef264;
  background: rgba(149, 191, 71, 0.12);
  border: 1px solid rgba(149, 191, 71, 0.25);
}

.product-links {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.product-links a {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Privacy hub */
.privacy-hub {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(52, 211, 153, 0.03));
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.privacy-list li {
  margin: 0;
}

.privacy-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.privacy-list a:hover {
  opacity: 1;
  border-color: rgba(52, 211, 153, 0.3);
  background: var(--bg-elevated);
}

.privacy-list .meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dim);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--dim);
  font-size: 0.875rem;
}

.site-footer .inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--muted);
}

/* Legal / privacy document pages */
.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-page .breadcrumb {
  font-size: 0.875rem;
  color: var(--dim);
  margin-bottom: 2rem;
}

.legal-page .breadcrumb a {
  color: var(--muted);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.legal-updated {
  color: var(--dim);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  margin: 0 0 1rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.8125rem;
  }

  .privacy-list a {
    flex-direction: column;
    align-items: flex-start;
  }
}
