/* Urovalexis — luxe violet / editorial (v2) */
:root {
  --ink: #13081f;
  --ink-soft: #2d2640;
  --muted: #5b5366;
  --surface: #ffffff;
  --page: #f3f0fa;
  --page-warm: #faf8ff;
  --violet-deep: #3b0764;
  --violet-mid: #5b21b6;
  --violet-bright: #7c3aed;
  --violet-soft: #ede9fe;
  --gold: #c9a227;
  --gold-light: #f5e6a8;
  --line: rgba(91, 33, 182, 0.12);

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;

  --shadow-soft: 0 4px 24px rgba(59, 7, 100, 0.08);
  --shadow-lift: 0 18px 48px rgba(59, 7, 100, 0.14);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--page);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(124, 58, 237, 0.09), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(201, 162, 39, 0.06), transparent 45%);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.04em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 3.85rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-xs);
}

p {
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--violet-bright);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(254, 253, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 3px solid var(--violet-mid);
  padding: 0.85rem 0;
  box-shadow: 0 8px 32px rgba(59, 7, 100, 0.06);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  height: 46px;
  width: auto;
}

.logo-link:hover {
  opacity: 0.92;
}

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

.nav-link {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--violet-soft);
  color: var(--violet-mid);
}

.nav-link.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #1a0528 0%, #3b0764 38%, #4c1d95 72%, #2e1065 100%);
  color: #f5f3ff;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--page) 50%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(201, 162, 39, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(167, 139, 250, 0.25) 0%, transparent 35%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 5.5rem) var(--space-lg) clamp(5rem, 12vw, 7rem);
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: min(78vh, 720px);
  }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-title {
  text-align: left;
  margin-bottom: var(--space-md);
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-subtitle {
  text-align: left;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 32rem;
  margin: 0 0 var(--space-lg);
  color: rgba(237, 233, 254, 0.88);
  line-height: 1.7;
  animation: heroIn 1s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .btn-primary {
  animation: heroIn 1.05s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.35);
  animation: pulseRing 5s ease-in-out infinite;
}

.hero-ring:nth-child(1) {
  width: min(280px, 55vw);
  height: min(280px, 55vw);
}

.hero-ring:nth-child(2) {
  width: min(200px, 42vw);
  height: min(200px, 42vw);
  border-color: rgba(167, 139, 250, 0.4);
  animation-delay: -2.5s;
}

.hero-ring--glow {
  width: min(120px, 28vw);
  height: min(120px, 28vw);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35) 0%, transparent 70%);
  border: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.55;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.btn-wrap {
  display: flex;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8c84a 50%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.55);
  color: var(--ink);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 0.98rem;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Inner pages hero (light text on purple) */
.hero > .container {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 2rem);
}

.hero > .container .hero-title {
  text-align: center;
}

.hero > .container .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section headings */
.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto var(--space-xl);
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-mid);
  margin-bottom: var(--space-sm);
}

.section-head h2 {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: var(--space-md) auto 0;
  background: linear-gradient(90deg, var(--gold), var(--violet-bright));
  border-radius: 2px;
}

/* Stats band */
.section--stats {
  background:
    linear-gradient(160deg, #1e0535 0%, #3b0764 50%, #1a0a2e 100%);
  color: #e9d5ff;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 1rem);
  border: none;
  box-shadow: none;
}

.section--stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.section--stats .container {
  position: relative;
  z-index: 1;
}

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

.section--stats h2 {
  color: #fff;
}

.section--stats h2::after {
  background: linear-gradient(90deg, var(--gold), #fbbf24);
}

.section--stats .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #ddd6fe;
}

.section--stats .card p {
  color: #c4b5fd;
  margin-bottom: 0;
}

.section--stats .stat-num {
  background: linear-gradient(135deg, #fde68a, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Product strip */
.section--product .grid {
  position: relative;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--violet-soft) 0%, #fff 48%, var(--page-warm) 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.section--product h2,
.section--ingredients h2 {
  position: relative;
  padding-left: var(--space-md);
  border-left: 6px solid var(--violet-bright);
}

/* FAQ */
.section--faq .card {
  border-radius: var(--radius-md);
  border-left: 5px solid var(--violet-mid);
  background: var(--surface);
}

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

.mb-xl {
  margin-bottom: var(--space-xl);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-0 {
  margin-bottom: 0;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards — asymmetric */
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 4px var(--radius-lg) 4px var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.07), transparent 70%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: var(--shadow-lift);
  border-color: rgba(124, 58, 237, 0.28);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px 24px 12px 24px;
  background: linear-gradient(145deg, var(--violet-soft), #fff);
  border: 2px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--violet-mid);
  stroke-width: 2.2;
}

.card-title {
  color: var(--ink);
  margin-bottom: var(--space-sm);
  font-size: 1.22rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.card-text {
  color: var(--muted);
  line-height: 1.75;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px var(--radius-md) 4px var(--radius-md);
  margin-bottom: var(--space-md);
  border: 2px solid var(--line);
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

/* Product */
.product-shot {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(59, 7, 100, 0.22);
  border: 4px solid #fff;
  outline: 3px solid var(--violet-soft);
  transform: rotate(-2deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-shot:hover {
  transform: rotate(0deg) scale(1.03);
}

/* Anim */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--page-warm);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--violet-bright);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  border-left: 5px solid var(--violet-mid);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info:hover {
  box-shadow: var(--shadow-soft);
  border-left-color: var(--gold);
}

.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--violet-mid);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info span,
.contact-info a {
  color: var(--muted);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--violet-bright);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1a0528 0%, #0f0518 100%);
  border-top: 4px solid var(--gold);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.footer p {
  color: #c4b5fd;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #ddd6fe;
}

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

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  text-align: center;
  color: #a78bfa;
  font-size: 0.88rem;
}

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

.footer-bottom a:hover {
  color: #fff;
}

/* List check */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--muted);
  line-height: 1.75;
}

.list-check li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--violet-bright);
  font-weight: 800;
}

/* Legal */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 4px var(--radius-lg) 4px var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--violet-soft);
  color: var(--ink);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--violet-mid);
}

.content-card ul,
.content-card ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.content-card li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.content-card strong {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center !important;
  }

  .hero-inner .btn-wrap {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section--product .grid {
    padding: var(--space-md);
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
  }

  .content-card {
    padding: var(--space-md);
  }
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}
