@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --navy: #101c2d;
  --navy-light: #182b43;
  --cream: #f7f2ea;
  --white: #ffffff;
  --gold: #c39a55;
  --gold-light: #e9cf9f;
  --text: #20242b;
  --muted: #6c7077;
  --border: rgba(16, 28, 45, 0.12);
  --shadow: 0 24px 70px rgba(15, 27, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fdfcf9;
  font-family: "Montserrat", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.header {
  min-height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.header nav a:hover {
  color: var(--gold);
}

.header nav form {
  margin: 0;
}

.nav-register,
.nav-button {
  padding: 11px 17px;
  color: var(--white) !important;
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.welcome {
  color: var(--gold);
  font-size: 12px;
}

.hero {
  min-height: 690px;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 35%, rgba(195, 154, 85, 0.19), transparent 30%),
    linear-gradient(135deg, #0c1727, #172b43);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.hero h1,
.section-heading h2,
.story h2,
.newsletter h2,
.auth-message h1,
.auth-card h2,
.not-found h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
}

.hero-content > p {
  max-width: 590px;
  margin: 28px 0;
  color: #dbe1e8;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 34px 0;
}

.primary-button,
.secondary-button {
  padding: 15px 23px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.primary-button {
  color: var(--navy);
  background: var(--gold-light);
}

.secondary-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 48px;
  color: #bcc6d2;
  font-size: 11px;
}

.hero-art {
  min-height: 530px;
  display: grid;
  place-items: center;
  position: relative;
}

.halo {
  width: 430px;
  height: 430px;
  position: absolute;
  border: 1px solid rgba(233, 207, 159, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(195, 154, 85, 0.16),
    inset 0 0 70px rgba(195, 154, 85, 0.08);
}

.halo::before,
.halo::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(233, 207, 159, 0.15);
  border-radius: 50%;
}

.halo::before {
  inset: 35px;
}

.halo::after {
  inset: 75px;
}

.hero-bottle {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 45px 35px rgba(0, 0, 0, 0.35));
}

.bottle-cap {
  width: 90px;
  height: 80px;
  margin: 0 auto -4px;
  background: linear-gradient(90deg, #aa8243, #f0d59c, #95703a);
  border-radius: 10px 10px 2px 2px;
}

.bottle-body {
  width: 250px;
  height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f1dfbb;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #23364c, #0d1725);
  border: 2px solid rgba(233, 207, 159, 0.65);
  border-radius: 26px 26px 42px 42px;
  box-shadow: inset 0 0 50px rgba(233, 207, 159, 0.1);
}

.bottle-logo {
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
}

.bottle-body small {
  margin-top: 24px;
  font-size: 8px;
  letter-spacing: 4px;
}

.collection {
  padding: 100px 8%;
}

.section-heading {
  margin-bottom: 50px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.story h2,
.newsletter h2 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 58px);
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: 0 15px 50px rgba(15, 27, 44, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.product-visual {
  height: 290px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-visual.rose {
  background: linear-gradient(140deg, #f2dbd5, #d6a99e);
}

.product-visual.noir {
  background: linear-gradient(140deg, #293143, #080d16);
}

.product-visual.gold {
  background: linear-gradient(140deg, #f0dfbd, #c39a55);
}

.product-glow {
  width: 180px;
  height: 180px;
  position: absolute;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  filter: blur(25px);
}

.bottle {
  width: 115px;
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  background: linear-gradient(145deg, #1b2a3d, #0b1421);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px 12px 24px 24px;
  box-shadow: 0 25px 25px rgba(0,0,0,0.22);
}

.bottle::before {
  content: "";
  width: 48px;
  height: 32px;
  position: absolute;
  top: -30px;
  background: linear-gradient(90deg, #9d793f, #e2c488);
  border-radius: 5px 5px 0 0;
}

.bottle span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 22px;
}

.product-content {
  padding: 28px;
}

.product-family {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 10px 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
}

.product-content p {
  min-height: 43px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.product-bottom {
  margin-top: 22px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.product-bottom strong {
  color: var(--navy);
  font-size: 14px;
}

.product-bottom button {
  padding: 9px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.story {
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 0.25fr 0.85fr 1fr;
  gap: 55px;
  align-items: center;
  background: var(--cream);
}

.story-number {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 75px;
}

.story p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.newsletter {
  margin: 80px 8%;
  padding: 55px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--navy);
}

.newsletter h2 {
  max-width: 700px;
  color: var(--white);
  font-size: 42px;
}

.newsletter a {
  flex-shrink: 0;
  padding: 16px 24px;
  color: var(--navy);
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.auth-page {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.auth-message {
  padding: 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(195,154,85,0.2), transparent 30%),
    var(--navy);
}

.back-link {
  margin-bottom: 80px;
  color: var(--gold-light);
  font-size: 12px;
}

.auth-message h1 {
  max-width: 520px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
}

.auth-message p {
  max-width: 500px;
  color: #c3ccd7;
  line-height: 1.8;
}

.auth-message ul {
  padding: 0;
  list-style: none;
  color: #c3ccd7;
  line-height: 2.2;
  font-size: 12px;
}

.auth-message li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--gold);
}

.auth-card {
  width: min(480px, 85%);
  margin: auto;
  padding: 45px;
  background: var(--white);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: 42px;
}

.auth-card form {
  display: grid;
  gap: 20px;
}

.auth-card label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-card input {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  color: var(--text);
  background: #fbfaf7;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
}

.auth-card input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(195,154,85,0.12);
}

.form-button {
  margin-top: 8px;
  padding: 15px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.form-button:hover {
  background: var(--navy-light);
}

.form-footer {
  margin-top: 25px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.form-footer a {
  color: var(--gold);
  font-weight: 700;
}

.alert {
  margin-bottom: 20px;
  padding: 13px;
  color: #8b2635;
  background: #fff0f2;
  border: 1px solid #f0c3ca;
  border-radius: 4px;
  font-size: 12px;
}

.alert.success {
  color: #25633d;
  background: #edf9f1;
  border-color: #bde3c9;
}

.not-found {
  min-height: 65vh;
  padding: 80px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.not-found span {
  color: var(--gold);
  font-size: 80px;
}

.not-found h1 {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: 50px;
}

.footer {
  padding: 65px 8% 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  color: #bcc5d0;
  background: #09121f;
  font-size: 11px;
  line-height: 1.8;
}

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

.footer-brand {
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.copyright {
  padding-top: 25px;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .header {
    padding: 15px 5%;
  }

  .header nav > a:not(.nav-register) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 70px 7%;
  }

  .hero-art {
    min-height: 450px;
  }

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

  .story,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 20px;
  }

  .section-heading,
  .newsletter {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-message {
    min-height: 500px;
  }

  .back-link {
    margin-bottom: 50px;
  }

  .auth-card {
    margin: 60px auto;
  }

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

@media (max-width: 540px) {
  .brand small,
  .welcome {
    display: none;
  }

  .header nav {
    gap: 9px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions,
  .benefits {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    transform: scale(0.75);
  }

  .newsletter {
    margin: 40px 0;
  }

  .auth-card {
    width: 92%;
    padding: 30px 22px;
  }
}
