/* CanBev landing page styles
   Designed for mobile-first high-end glassmorphism with merlot backdrop
*/

:root {
  --black: #1a0c10;
  --merlot: #2d1118;
  --merlot2: #3a1a24;
  --merlotDeep: #200d12;

  --copper: #C25E28;
  --copperLight: #E08E63;
  --copperDark: #8A3C14;

  --champagne: #E7D3B6;
  --champagneMuted: #d4c4a8;
  --ink: #F5F0E9;
  --muted: rgba(245, 240, 233, .72);

  --glassA: rgba(12, 8, 8, .70);
  --glassB: rgba(8, 5, 5, .82);
  --glassBorder: rgba(200, 180, 160, .18);

  --radiusLg: 18px;
  --radiusMd: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(90, 40, 50, 0.4), transparent 70%),
    linear-gradient(180deg,
      var(--merlotDeep) 0%,
      var(--merlot) 25%,
      var(--merlot2) 50%,
      var(--merlot) 75%,
      var(--merlotDeep) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Glass system - beveled panel style matching reference */
.glass {
  position: relative;
  background: linear-gradient(180deg,
      rgba(35, 20, 24, 0.95) 0%,
      rgba(25, 14, 18, 0.98) 100%);
  border-radius: var(--radiusLg);
  overflow: hidden;
  /* Beveled border - champagne highlight top/left, dark bottom/right */
  border-top: 1px solid rgba(180, 150, 130, 0.4);
  border-left: 1px solid rgba(160, 130, 110, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, .45),
    /* Inner bevel highlight */
    inset 1px 1px 0 rgba(200, 170, 150, 0.18),
    /* Inner bevel shadow */
    inset -1px -1px 0 rgba(0, 0, 0, 0.4);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 30% 10%, rgba(255, 240, 220, 0.03), transparent 50%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid rgba(231, 211, 182, .55);
  outline-offset: 3px;
}

.btn-metal {
  color: #1a0a08;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(180deg,
      #F0E4D0 0%,
      #E7D3B6 30%,
      #D4C4A8 70%,
      #C8B89A 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 4px 20px rgba(0, 0, 0, .35);
  border: 1px solid rgba(180, 160, 140, 0.5);
}

.btn-metal:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 6px 28px rgba(0, 0, 0, .45);
}

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  color: rgba(245, 240, 233, .92);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 142, 99, .34);
  background: rgba(255, 255, 255, .07);
}

/* Navbar */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 18px;
  z-index: 1000;
}

.nav-inner {
  height: 76px;
  border-radius: 22px;
  background: rgba(8, 8, 8, .60);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  gap: 14px;
}

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

.brand img {
  width: 124px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
  mix-blend-mode: screen;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  color: rgba(245, 240, 233, .92);
  letter-spacing: .02em;
}

.nav-pill {
  padding: .62rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  white-space: nowrap;
}

.nav-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 142, 99, .36);
  background: rgba(255, 255, 255, .06);
}

.nav-cta {
  padding: .78rem 1.1rem;
  font-size: 14.5px;
}

.menu-btn {
  width: 54px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(245, 240, 233, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  border-color: rgba(224, 142, 99, .32);
  background: rgba(255, 255, 255, .07);
}

.mobile-menu {
  margin-top: 12px;
  border-radius: 22px;
  background: rgba(8, 8, 8, .64);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .60);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .32s ease, opacity .22s ease;
}

.mobile-menu.open {
  max-height: 520px;
  opacity: 1;
}

.mobile-menu .wrap {
  padding: 16px 16px 18px;
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  text-align: center;
}

/* Hero - framed stills with glass overlay */
.hero {
  position: relative;
  min-height: 0;
  padding: clamp(72px, 10vw, 120px) 0 clamp(28px, 6vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The frame containing the stills image */
.hero-frame {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-stills.jpg") center / cover no-repeat;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
  z-index: 0;
}

/* Steam animation layer - disabled */
.hero-steam {
  display: none;
}

/* Steam wisp 1 */
.hero-steam::before {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 18%;
  width: 180px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3) 40%, transparent 70%);
  filter: blur(20px);
  transform-origin: bottom center;
  animation: steamWisp1 5s ease-in-out infinite;
  opacity: 1;
}

/* Steam wisp 2 */
.hero-steam::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 38%;
  width: 160px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.25) 40%, transparent 70%);
  filter: blur(18px);
  transform-origin: bottom center;
  animation: steamWisp2 7s ease-in-out infinite;
  opacity: 1;
}

@keyframes steamWisp1 {

  0%,
  100% {
    transform: translateY(0) scaleY(1) scaleX(1);
    opacity: 0.7;
  }

  25% {
    transform: translateY(-40px) scaleY(1.3) scaleX(0.85);
    opacity: 0.9;
  }

  50% {
    transform: translateY(-80px) scaleY(1.5) scaleX(0.7);
    opacity: 0.8;
  }

  75% {
    transform: translateY(-50px) scaleY(1.2) scaleX(1);
    opacity: 0.6;
  }
}

@keyframes steamWisp2 {

  0%,
  100% {
    transform: translateY(0) translateX(0) scaleY(1);
    opacity: 0.6;
  }

  33% {
    transform: translateY(-60px) translateX(20px) scaleY(1.4);
    opacity: 0.85;
  }

  66% {
    transform: translateY(-100px) translateX(-15px) scaleY(1.6);
    opacity: 0.7;
  }
}

/* Glass text overlay - semi-transparent to show stills through */
.hero-card {
  position: absolute;
  z-index: 2;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  padding: 28px 32px;
  text-align: center;
  width: min(780px, 88%);
  background: rgba(10, 6, 6, 0.55);
  border: 1px solid rgba(180, 160, 140, 0.20);
  border-radius: var(--radiusLg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Override .glass styles for hero-card */
.hero-card::after {
  display: none;
}

.hero h1 {
  color: var(--champagne);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-copy {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  line-height: 1.65;
}

/* Logo accent in corner */
.hero-logo-accent {
  position: absolute;
  bottom: 24px;
  right: 32px;
  width: 56px;
  height: auto;
  opacity: 0.7;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}


.section {
  padding: 50px 0;
}

.section-title {
  color: var(--champagne);
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  margin-bottom: 16px;
}

.section-lede {
  color: rgba(245, 240, 233, .72);
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 760px;
}

.card {
  padding: 18px 16px;
}

.bullets {
  margin-top: 16px;
  display: grid;
  gap: 14px;
  color: rgba(245, 240, 233, .84);
}

.bullets li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  margin-top: 10px;
  background: var(--copper);
  box-shadow: 0 0 12px rgba(194, 94, 40, .30);
  flex: 0 0 auto;
}

.quote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid rgba(194, 94, 40, .70);
  color: rgba(245, 240, 233, .72);
  font-style: italic;
  line-height: 1.7;
}

/* Feature panels grid inspired by reference */
.feature-grid {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.panel h3 {
  font-size: 1.5rem;
  color: var(--champagne);
  margin-bottom: 6px;
}

.panel p {
  color: rgba(245, 240, 233, .78);
  line-height: 1.65;
}

.panel .sub {
  margin-top: 8px;
  color: rgba(245, 240, 233, .62);
  font-size: .9rem;
}

.panel .panel-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel .btn {
  padding: .78rem 1.1rem;
  font-size: .95rem;
}

.hr {
  margin-top: 10px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 211, 182, .22), transparent);
}

/* How it works cards */
.how-grid {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.how-step h3 {
  font-size: 1.35rem;
  color: var(--champagne);
  margin-bottom: 8px;
}

.how-step p {
  color: rgba(245, 240, 233, .76);
  line-height: 1.7;
}

/* Find out more form */
.form-wrap {
  margin-top: 24px;
}

.form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.field-row {
  display: grid;
  gap: 12px;
}

label {
  font-size: .9rem;
  color: rgba(245, 240, 233, .78);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(32, 18, 22, 0.95);
  background-color: #201216;
  color: rgba(245, 240, 233, .92);
  outline: none;
}

select option {
  background-color: #2a1519;
  color: rgba(245, 240, 233, .92);
  padding: 8px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(224, 142, 99, .40);
  box-shadow: 0 0 0 3px rgba(194, 94, 40, .12);
}

.form-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-note {
  font-size: .9rem;
  color: rgba(245, 240, 233, .66);
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: rgba(245, 240, 233, .80);
  font-size: .9rem;
}

.status {
  display: none;
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: rgba(245, 240, 233, .84);
  line-height: 1.6;
}

.status.show {
  display: block;
}

/* Footer */
.footer {
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer .brandline {
  color: rgba(245, 240, 233, .70);
  font-size: .95rem;
  margin-top: 8px;
  line-height: 1.55;
}

.footer .disclaimer {
  color: rgba(245, 240, 233, .30);
  margin-top: 8px;
  font-size: .85rem;
  max-width: 520px;
}

.bubbles-bg-wrapper {
  background-image: url('../images/bubbles-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
}

/* Mobile optimizations */
@media (max-width: 600px) {
  .hero {
    padding: clamp(72px, 16vw, 100px) 0 clamp(20px, 10vw, 40px);
  }

  .hero-card {
    padding: 20px 18px;
  }

  .hero h1 {
    font-size: 1.25rem;
  }

  .hero-copy {
    font-size: 0.85rem;
  }

  .section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .card {
    padding: 18px 16px;
  }

  .btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
  }

  .nav-inner {
    height: 64px;
    padding-inline: 14px;
  }

  .brand img {
    width: 100px;
  }

  .container {
    width: 94vw;
  }

  .footer {
    padding: 40px 0;
  }
}

/* Responsive */
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-frame {
    aspect-ratio: 16 / 8;
  }

  .hero-card {
    padding: 36px 48px;
  }

  .feature-grid {
    grid-template-columns: 1.05fr .95fr;
    grid-template-rows: auto auto;
    align-items: start;
  }

  .panel.left {
    grid-row: 1 / span 2;
  }

  .panel.bottom {
    grid-column: 1 / -1;
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .nav-links {
    gap: 16px;
    font-size: 16px;
  }

  .nav-cta {
    font-size: 15px;
  }
}
