/* ============================================
   PLATINUM EXPERIENCE — KIOSK VERSION
   Single page, in-store kiosk design
   ============================================ */

:root {
  --white: #ffffff;
  --platinum-blue: #0cbff2;
  --platinum-blue-hover: #0aa2ce;
  --platinum-blue-dark: #0885a9;
  --light-grey: #f5f5f5;
  --lighter-grey: #fafafa;
  --mid-grey: #e8e8e8;
  --text-dark: #484848;
  --text-body: #58585a;
  --text-muted: #888888;
  --text-nav: #465765;
  --black: #000000;
  --font-main: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --section-padding: 80px 0;
  --container-max: 1200px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: var(--section-padding); }
.text-center { text-align: center; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-title {
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--platinum-blue);
  margin: 20px auto 25px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--platinum-blue);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--platinum-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--platinum-blue);
}

.btn-outline {
  background: transparent;
  color: var(--platinum-blue);
}

.btn-outline:hover {
  background: var(--platinum-blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ============================================
   NAVIGATION — KIOSK (centered, no logo)
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  position: relative;
}

.navbar.scrolled .nav-links a { color: var(--text-nav); }
.nav-links a:hover { color: var(--platinum-blue); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--platinum-blue);
  transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

/* ============================================
   HERO SECTION — with rotating text
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  width: 100%;
}

.hero-logo {
  max-width: 280px;
  margin: 0 auto 30px;
  filter: brightness(0) invert(1);
}

/* Rotating text container */
.hero-rotating-text {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rotating-text-wrapper {
  position: relative;
  width: 100%;
  min-height: 100px;
}

.rotating-text {
  position: absolute;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1.3;
  text-align: center;
}

.rotating-text.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-text.exit {
  opacity: 0;
  transform: translateY(-30px);
}

.hero .btn { border-width: 1px; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   FEATURES SECTION (Platinum Features)
   ============================================ */
.features { background: var(--white); scroll-margin-top: 80px; }

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

.feature-card {
  text-align: center;
  padding: 40px 30px;
  transition: var(--transition);
}

.feature-card:hover { transform: translateY(-5px); }

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6a6a6a, #3a3a3a 60%, #2a2a2a);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 -2px 6px rgba(0,0,0,0.3);
  position: relative;
  animation: orbRotate 8s linear infinite;
}

.feature-icon::before,
.feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(120, 120, 120, 0.4);
  opacity: 0;
}

.feature-card:hover .feature-icon::before {
  animation: pulseRing 1.5s ease-out infinite;
}

.feature-card:hover .feature-icon::after {
  animation: pulseRing 1.5s ease-out 0.5s infinite;
}

@keyframes orbRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseRing {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* --- Wrapper for card+video layout --- */
.features-layout {
  margin-top: 50px;
}

.features-layout.expanded {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  align-items: stretch;
}

/* --- Expanded state: card clicked --- */
.features-layout.expanded .features-grid {
  display: flex;
  flex-direction: column;
}

.features-layout.expanded .feature-card {
  display: none;
  cursor: default;
}

.features-layout.expanded .feature-card.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 40px;
  background: var(--lighter-grey);
  transform: none;
}

.features-layout.expanded .feature-card.active .feature-icon {
  margin: 0 0 25px 0;
}

/* --- Video panel --- */
.features-video-panel {
  display: none;
  flex-direction: column;
  background: #000;
}

.features-layout.expanded .features-video-panel {
  display: flex;
}

.features-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.features-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Video controls bar --- */
.features-video-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--lighter-grey);
}

.features-back-btn,
.features-next-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--text-body);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.features-back-btn:hover,
.features-next-btn:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.next-label {
  opacity: 0.6;
  font-size: 0.7rem;
}

.next-name {
  font-weight: 600;
}

/* ============================================
   NUGGET / ABOUT SECTION
   ============================================ */
.about-section { background: var(--light-grey); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 30px;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands { background: var(--white); scroll-margin-top: 80px; }

.brands-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  margin: 0 auto;
  align-items: center;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  transition: var(--transition);
}

.brand-card:hover { transform: translateY(-3px); }

.brand-card img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
  transition: var(--transition);
}

.brand-card span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.brand-divider {
  width: 2px;
  height: 80px;
  background: var(--mid-grey);
  justify-self: center;
}

/* ============================================
   PURITY ASSURANCE SECTION
   ============================================ */
.purity {
  position: relative;
}

.purity-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.purity-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.purity-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.purity-title {
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dark);
  line-height: 1.3;
}

.purity-content {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  gap: 0;
  align-items: start;
  padding: 50px 60px;
  background: var(--lighter-grey);
}

.purity-left h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.5;
}

.purity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.purity-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.purity-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-dark);
  font-weight: 600;
}

.purity-middle,
.purity-right {
  text-align: center;
  padding: 0 15px;
}

.purity-middle img,
.purity-right img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   DID YOU KNOW / SLIDESHOW
   ============================================ */
.did-you-know { background: var(--white); scroll-margin-top: 80px; }

.dyk-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.dyk-track {
  display: flex;
  transition: transform 0.5s ease;
}

.dyk-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 0 20px;
}

.dyk-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  padding: 20px;
}

.dyk-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dyk-content .quote-open {
  width: 60px;
  height: auto;
  opacity: 0.6;
  align-self: flex-start;
}

.dyk-content .quote-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-dark);
}

.dyk-content .quote-closed {
  width: 60px;
  height: auto;
  opacity: 0.6;
  align-self: flex-end;
}

.dyk-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dyk-dot {
  width: 40px;
  height: 4px;
  background: var(--mid-grey);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dyk-dot.active { background: var(--platinum-blue); }

.dyk-arrows {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.dyk-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mid-grey);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.dyk-arrow:hover {
  border-color: var(--platinum-blue);
  background: var(--platinum-blue);
}

.dyk-arrow:hover svg { stroke: var(--white); }

.dyk-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

/* ============================================
   FOOTER — simplified for kiosk
   ============================================ */
.footer {
  background: var(--light-grey);
  padding: 60px 0 30px;
}

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

.footer-brand img { height: 45px; margin-bottom: 15px; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--platinum-blue); }

.footer-bottom {
  border-top: 1px solid var(--mid-grey);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-brands {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 10px;
}

.footer-brands img {
  height: 35px;
  width: auto;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-brands img:hover { opacity: 1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .features-layout.expanded { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
  .purity-content { grid-template-columns: 1fr; padding: 30px; }
  .purity-banner-overlay { padding: 0 30px; }
  .purity-title { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  .nav-links { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .hero { min-height: 500px; }
  .rotating-text { font-size: 1.2rem; letter-spacing: 3px; }
  .hero-rotating-text { min-height: 80px; }
  .hero-logo { max-width: 200px; }

  .section-title { font-size: 1.5rem; letter-spacing: 2px; }

  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-layout.expanded { grid-template-columns: 1fr; }
  .feature-card { padding: 25px 20px; }

  .brands-grid { grid-template-columns: 1fr; gap: 20px; }

  .dyk-slide { grid-template-columns: 1fr; gap: 25px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
