/* ==============================================
   HYLLUP — Premium Dark
   Mörk bakgrund. Champagneguld. Fraunces italic.
   Inspiration: Jeanette-60, Aesop, premium editorial.
   ============================================== */

:root {
  /* Färger — premium dark */
  --bg-deepest: #0a0a0a;
  --bg-deep: #0d0d0d;
  --bg-dark: #141414;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;

  --gold: #d4a853;
  --gold-bright: #e8c87a;
  --gold-soft: rgba(212, 168, 83, 0.5);
  --gold-faint: rgba(212, 168, 83, 0.15);
  --gold-trace: rgba(212, 168, 83, 0.06);
  --champagne: #f7e7ce;
  --rose-gold: #c4907a;

  --text-bright: #f5f0e8;
  --text-soft: rgba(245, 240, 232, 0.75);
  --text-muted: rgba(245, 240, 232, 0.55);
  --text-faint: rgba(245, 240, 232, 0.35);

  --border-faint: rgba(212, 168, 83, 0.12);
  --border-soft: rgba(212, 168, 83, 0.2);
  --border-strong: rgba(212, 168, 83, 0.4);

  /* Typografi */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: 8rem;
  --section-pad-mobile: 5rem;
}

/* ====== RESET ====== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-bright);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
}

/* Subtle grid pattern på hela bakgrunden */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--gold-trace) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-trace) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 780px;
}

/* ====== TYPOGRAFI ====== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-bright);
}

h1 em, h2 em, h3 em, .display-headline em, .section-headline em, .hero-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Eyebrow / kicker */
.eyebrow,
.hero-eyebrow,
.intro-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.intro-eyebrow {
  color: var(--text-faint);
  letter-spacing: 0.25em;
  font-weight: 400;
}

.eyebrow-light {
  color: var(--gold);
}

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-faint);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.logo-dot {
  color: var(--gold);
}

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

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

.site-nav .nav-cta {
  color: var(--gold);
  border: 1px solid var(--border-soft);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 8rem 0 9rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gold-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-faint) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.12) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-subheadline {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.65;
  font-weight: 400;
}

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

/* ====== KNAPPAR ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.25);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn-block {
  width: 100%;
}

/* ====== SEKTIONER ====== */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

.display-headline,
.section-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.section-body,
.intro-body {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 580px;
}

.section-head {
  margin-bottom: 5rem;
  max-width: 760px;
}

/* ====== INTRO ====== */
.intro {
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}

.intro-body {
  margin: 0 auto;
}

/* ====== GALLERY ====== */
.gallery {
  padding: 8rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-faint);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.gallery-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
  pointer-events: none;
}

.gallery-item:hover .gallery-image {
  border-color: var(--border-soft);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tag {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.gallery-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.gallery-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ====== PRODUKTER ====== */
.products {
  padding: 8rem 0;
  border-top: 1px solid var(--border-faint);
}

.section-head + .products-list {
  margin-top: 0;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-faint);
  align-items: start;
}

.product-row:first-child {
  border-top: 1px solid var(--border-soft);
}

.product-row:last-child {
  border-bottom: 1px solid var(--border-faint);
}

.product-info {
  position: relative;
}

.product-badge {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 10px;
  color: var(--gold);
  background: var(--gold-faint);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.product-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.product-desc {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  max-width: 580px;
}

.product-desc em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-display);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 580px;
}

.product-features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  position: sticky;
  top: 100px;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-launch {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-display);
  font-style: italic;
}

/* Skräddarsytt-rad */
.custom-row {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.custom-headline {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}

.custom-body {
  color: var(--text-soft);
  max-width: 460px;
}

/* ====== HUR DET FUNKAR ====== */
.how {
  padding: 8rem 0;
  border-top: 1px solid var(--border-faint);
  text-align: center;
}

.how .section-head {
  margin-left: auto;
  margin-right: auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
}

.how-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.how-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.how-body {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ====== VÄNTELISTE ====== */
.waitlist {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-faint);
  isolation: isolate;
}

.waitlist .hero-glow {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 60%);
}

.waitlist-body {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.waitlist-body strong {
  color: var(--gold);
  font-weight: 500;
}

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.waitlist-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-bright);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.waitlist-form input::placeholder {
  color: var(--text-faint);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.waitlist-message {
  min-height: 1.5rem;
  font-size: 0.95rem;
  margin-top: 1rem;
  font-weight: 400;
}

.waitlist-message.success {
  color: var(--gold);
}

.waitlist-message.error {
  color: #e07b6f;
}

.waitlist-privacy {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--bg-deepest);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border-faint);
}

.site-footer .logo {
  color: var(--text-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.25rem;
  color: var(--text-faint);
  font-weight: 500;
}

.footer-links a {
  display: block;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-faint);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ====== RESPONSIV ====== */
@media (max-width: 968px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-pricing {
    position: static;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  section { padding: var(--section-pad-mobile) 0; }

  .hero { padding: 5rem 0 6rem; }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:last-child {
    grid-column: span 1;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn { width: 100%; }

  .custom-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .product-name { font-size: 2rem; }
  .price-amount { font-size: 2rem; }
}
