/* =============================================
   RARELY HEARD VOICES - MODERN HOMEPAGE STYLES
   Matching the PWA Promo Site Design
   ============================================= */

/* CSS Custom Properties (Brand Colors) */
:root {
  --rhv-gold: #b8a456;
  --rhv-gold-light: #d4c88a;
  --rhv-gold-dark: #8a7a3f;
  --rhv-cream: #faf9f6;
  --rhv-charcoal: #333333;
  --rhv-white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
html {
  scroll-behavior: smooth;
}

.modern-home * {
  box-sizing: border-box;
}

.modern-home {
  font-family: var(--font-body);
  color: var(--rhv-charcoal);
  line-height: 1.6;
  background-color: var(--rhv-cream);
  overflow-x: hidden;
}

.modern-home h1,
.modern-home h2,
.modern-home h3,
.modern-home h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

/* =============================================
   NAVIGATION - Modern Sticky Header
   ============================================= */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  background: transparent;
}

.modern-nav.scrolled {
  background: var(--rhv-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 2rem;
}

.modern-nav .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-nav .nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.modern-nav .nav-logo-icon {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.modern-nav .nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rhv-charcoal);
  margin-left: 0.75rem;
}

.modern-nav.scrolled .nav-logo-icon {
  width: 32px;
  height: 32px;
}

.modern-nav.scrolled .nav-logo-text {
  font-size: 1.2rem;
}

.modern-nav .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modern-nav .nav-links a {
  color: var(--rhv-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.modern-nav .nav-links a:hover {
  color: var(--rhv-gold);
}

.modern-nav .nav-cta {
  background: var(--rhv-gold);
  color: var(--rhv-white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.modern-nav .nav-cta:hover {
  background: var(--rhv-gold-dark);
  color: var(--rhv-white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--rhv-charcoal);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .modern-nav .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--rhv-white);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .modern-nav .nav-links.active {
    right: 0;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 2rem 80px;
  background: #ffffff;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hide corner logos - using only main blurred one */
.hero-bg-logo {
  display: none;
}

.hero-bg-logo-2 {
  display: none;
}

/* Large blurred logo watermark - bottom left positioned */
.hero-bg-circle {
  position: absolute;
  bottom: -400px;
  left: -300px;
  width: 1800px;
  height: 1800px;
  background-image: url('images/ai-in-retail-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  animation: rotate-corner 100s linear infinite;
  pointer-events: none;
  filter: blur(8px);
}

/* Hidden */
.hero-bg-circle-2 {
  display: none;
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Separate rotation for corner logos (no translate) */
@keyframes rotate-corner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 164, 86, 0.1);
  color: var(--rhv-gold-dark);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--rhv-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 164, 86, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--rhv-charcoal);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  border: 2px solid var(--rhv-charcoal);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rhv-gold);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(51, 51, 51, 0.6);
}

/* Hero Video/Media */
.hero-media {
  position: relative;
}

.hero-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-video-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-video-wrapper video {
  width: 100%;
  display: block;
}

/* Square/Larger Hero Video */
.hero-video-wrapper.hero-video-square {
  width: 500px;
  height: 500px;
}

.hero-video-wrapper.hero-video-square video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating elements */
.floating-card {
  position: absolute;
  background: var(--rhv-white);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 40px;
  left: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-video-wrapper {
    transform: none;
  }

  .hero-video-wrapper.hero-video-square {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0 auto;
  }
}

/* =============================================
   FEATURES/SERVICES SECTION
   ============================================= */
.features-section {
  padding: 100px 2rem;
  background: var(--rhv-white);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 164, 86, 0.1);
  color: var(--rhv-gold-dark);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(51, 51, 51, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--rhv-cream);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(184, 164, 86, 0.15);
  border-color: var(--rhv-gold);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-link {
  color: var(--rhv-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.feature-link:hover {
  gap: 0.75rem;
}

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  padding: 80px 2rem;
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-image: url('images/ai-in-retail-logo-ondark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--rhv-white);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* =============================================
   APP SECTION
   ============================================= */
.app-section {
  padding: 100px 2rem;
  background: linear-gradient(135deg, var(--rhv-charcoal) 0%, #1a1a1a 100%);
  overflow: hidden;
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.app-text .section-badge {
  background: rgba(184, 164, 86, 0.2);
  color: var(--rhv-gold);
}

.app-text .section-title {
  color: var(--rhv-white);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.app-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 164, 86, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rhv-gold);
}

.app-feature strong {
  display: block;
  color: var(--rhv-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.app-feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.app-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.app-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 30px;
}

.phone-secondary {
  position: absolute;
  right: -60px;
  top: 60px;
  transform: scale(0.85) rotate(5deg);
}

@media (max-width: 968px) {
  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-mockup {
    min-height: 400px;
  }

  .phone-frame {
    width: 220px;
    height: 460px;
  }

  .phone-secondary {
    right: 20px;
    top: 40px;
    transform: scale(0.75) rotate(5deg);
  }
}

/* =============================================
   VIDEO SHOWCASE SECTION
   ============================================= */
.video-section {
  padding: 100px 2rem;
  background: var(--rhv-cream);
}

.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.video-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  background: var(--rhv-charcoal);
  height: 100%;
}

.video-main video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.video-thumb {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: var(--rhv-charcoal);
  flex: 1;
}

.video-thumb:hover {
  transform: scale(1.03);
}

.video-thumb video,
.video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   CLIENT LOGOS SECTION
   ============================================= */
.clients-section {
  padding: 80px 2rem;
  background: var(--rhv-white);
}

.clients-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--rhv-charcoal);
  margin-bottom: 4.5rem;
  padding-bottom: 50px;
}

.clients-carousel {
  display: flex;
  gap: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 3rem;
  animation: scroll-logos 30s linear infinite;
}

.client-logo {
  flex-shrink: 0;
  height: 35px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   VIDEO SHORTS SECTION
   ============================================= */
.video-shorts-section {
  padding: 100px 2rem;
  background: var(--rhv-white);
}

.video-shorts-section fw-embed-feed {
  border-radius: 16px;
  overflow: hidden;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 100px 2rem;
  background: var(--rhv-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background-image: url('images/ai-in-retail-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.modern-footer {
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
  padding: 60px 2rem 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rhv-white);
  margin-left: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 300px;
}

.footer-column h4 {
  color: var(--rhv-gold);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rhv-white);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--rhv-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* =============================================
   LOGIN MODAL
   ============================================= */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  background: var(--rhv-white);
  border-radius: 24px;
  padding: 3rem;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.login-modal-overlay.active .login-modal {
  transform: scale(1);
}

.login-modal h2 {
  font-size: 2rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-modal p {
  color: rgba(51, 51, 51, 0.7);
  text-align: center;
  margin-bottom: 2rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--rhv-charcoal);
}

.login-form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: var(--rhv-gold);
}

.login-form .btn-primary {
  width: 100%;
  justify-content: center;
}

.login-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.login-links a {
  color: var(--rhv-gold);
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(51, 51, 51, 0.5);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--rhv-charcoal);
}

/* =============================================
   ANNOUNCEMENTS
   ============================================= */
.announcements-section {
  padding: 60px 2rem;
  background: var(--rhv-white);
}

.announcements-title {
  font-size: 1.25rem;
  color: var(--rhv-charcoal);
  margin-bottom: 1.5rem;
}

.announcement-item {
  background: rgba(184, 164, 86, 0.1);
  border-left: 4px solid var(--rhv-gold);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}

.announcement-item:hover {
  background: rgba(184, 164, 86, 0.2);
  transform: translateX(5px);
}

.announcement-item a {
  color: var(--rhv-charcoal);
  text-decoration: none;
  font-weight: 500;
}

.announcement-item a:hover {
  color: var(--rhv-gold);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: var(--rhv-gold); }
.bg-cream { background: var(--rhv-cream); }
.bg-white { background: var(--rhv-white); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(51, 51, 51, 0.5);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(51, 51, 51, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--rhv-gold);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

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

@keyframes scroll-wheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* =============================================================
   AI IN RETAIL — additions on top of the RHV base system
   ============================================================= */

/* --- Brand logo lockup in nav + footer (wide, not square) --- */
.modern-nav .nav-logo-icon { width: auto; height: 42px; }
.modern-nav.scrolled .nav-logo-icon { width: auto; height: 34px; }
.modern-nav .nav-logo-text { display: none; }         /* the mark already reads "AI IN RETaiL" */
.footer-brand img, .footer-logo-icon { height: 46px; width: auto; filter: none; }
.footer-logo-text { display: none; }

/* Nav CTA should read as gold pill everywhere */
.modern-nav .nav-cta { border-radius: 9px; }

/* --- Hero media: on-model showcase image (replaces the video square) --- */
.hero-media-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  aspect-ratio: 4 / 5;
  background: #eceae5;
}
.hero-media-frame:hover { transform: perspective(1000px) rotateY(0deg); }
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media .floating-card strong { display:block; color:#333; font-weight:600; font-size:0.9rem; }
.hero-media .floating-card span.sub { font-size: 0.75rem; color:#666; }
@media (max-width: 968px) {
  .hero-media-frame { transform: none; max-width: 420px; margin: 0 auto; }
}

/* --- Feature card: TRUTH module label (gold accent word) --- */
.feature-title .mod { color: var(--rhv-gold-dark); }
.feature-card .feature-tagline {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rhv-gold-dark); margin-bottom: 0.4rem;
}

/* --- Browser-frame mockup (Truth Studio / Sync dashboard) --- */
.browser {
  border-radius: 16px; overflow: hidden; background: #101010;
  box-shadow: 0 40px 90px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}
.browser-bar { display:flex; align-items:center; gap:0.5rem; padding:0.8rem 1rem; background:#1c1c1c; border-bottom:1px solid rgba(255,255,255,0.06); }
.browser-bar .bdot { width:11px; height:11px; border-radius:50%; }
.bdot.r{background:#ff5f57;} .bdot.y{background:#febc2e;} .bdot.g{background:#28c840;}
.browser-bar .addr { margin-left:0.9rem; flex:1; background:#2a2a2a; border-radius:7px; padding:0.34rem 0.85rem; font-size:0.76rem; color:rgba(255,255,255,0.55); }
.studio { display:grid; grid-template-columns:1fr auto 1fr; }
.studio .pane { position:relative; }
.studio .pane img { width:100%; height:100%; object-fit:cover; min-height:340px; display:block; }
.studio .pane.flat { background:#e9e5df; }
.studio .pane.flat img { object-fit:contain; padding:1.4rem; }
.studio .pane .tag { position:absolute; top:0.8rem; left:0.8rem; font-size:0.62rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; background:rgba(20,18,14,0.72); color:#fff; padding:0.3rem 0.65rem; border-radius:6px; }
.studio .arrow { display:flex; align-items:center; justify-content:center; width:60px; background:#101010; color:var(--rhv-gold-light); }
.studio .arrow svg { width:24px; height:24px; }
@media (max-width:560px){ .studio{grid-template-columns:1fr;} .studio .arrow{width:auto;height:46px;} .studio .arrow svg{transform:rotate(90deg);} }

/* Sync channel dashboard */
.channel-panel { padding:1.5rem; background:#f4f2ee; }
.channel-head { display:flex; justify-content:space-between; align-items:center; padding-bottom:1rem; margin-bottom:1rem; border-bottom:1px solid rgba(0,0,0,0.08); }
.channel-head .ct { font-family:var(--font-display); font-size:1.35rem; color:var(--rhv-charcoal); }
.channel-head .cm { font-size:0.76rem; color:rgba(51,51,51,0.55); }
.channel-list { display:flex; flex-direction:column; gap:0.65rem; }
.channel-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; background:#fff; border:1px solid rgba(0,0,0,0.06); border-radius:12px; padding:0.8rem 1.05rem; }
.channel-row .ch { font-weight:600; color:var(--rhv-charcoal); font-size:0.95rem; }
.channel-row .spec { font-size:0.75rem; color:rgba(51,51,51,0.5); }
.cpill { font-size:0.66rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:0.3rem 0.72rem; border-radius:50px; white-space:nowrap; }
.cpill.live{ background:rgba(40,180,80,0.14); color:#1f8f43; }
.cpill.sync{ background:rgba(184,164,86,0.18); color:var(--rhv-gold-dark); }
.cpill.queue{ background:rgba(51,51,51,0.08); color:rgba(51,51,51,0.55); }

/* --- Showcase image grids (Models / Global) --- */
.showcase-grid { display:grid; gap:12px; margin-top:3rem; }
.showcase-grid.six { grid-template-columns:repeat(6,1fr); }
.showcase-grid.four { grid-template-columns:repeat(4,1fr); }
.shot { position:relative; border-radius:14px; overflow:hidden; aspect-ratio:3/4; background:#eceae5; box-shadow:0 14px 34px rgba(0,0,0,0.12); }
.shot img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s ease; }
.shot:hover img { transform:scale(1.05); }
.shot .cap { position:absolute; left:0; right:0; bottom:0; padding:1.3rem 0.8rem 0.65rem; font-size:0.72rem; color:#fff; background:linear-gradient(to top, rgba(20,18,14,0.8), transparent); }
.showcase-note { text-align:center; color:rgba(51,51,51,0.6); font-size:0.92rem; margin-top:1.3rem; }
@media (max-width:900px){ .showcase-grid.six{grid-template-columns:repeat(3,1fr);} .showcase-grid.four{grid-template-columns:repeat(2,1fr);} }
@media (max-width:460px){ .showcase-grid.six{grid-template-columns:repeat(2,1fr);} }

/* --- Channel carousel (text chips instead of logos) --- */
.channel-chip {
  flex-shrink:0; display:inline-flex; align-items:center; height:44px; padding:0 1.5rem;
  font-family:var(--font-display); font-size:1.4rem; font-weight:600; color:rgba(51,51,51,0.5);
  white-space:nowrap; transition:color 0.3s ease;
}
.channel-chip:hover { color:var(--rhv-gold-dark); }
.channel-chip .dotsep { color:var(--rhv-gold); margin-left:1.5rem; }

/* --- Roadmap cards --- */
.roadmap-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.roadmap-card { border:1px dashed rgba(184,164,86,0.4); border-radius:18px; padding:2rem; background:rgba(184,164,86,0.03); }
.roadmap-card h3 { font-size:1.7rem; margin-bottom:0.5rem; }
.roadmap-card h3 .hl { background:linear-gradient(135deg,var(--rhv-gold),var(--rhv-gold-light)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.roadmap-card p { color:rgba(51,51,51,0.7); margin:0 0 1rem; line-height:1.6; }
.roadmap-card .rc-status { font-size:0.64rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--rhv-gold-dark); }
@media (max-width:860px){ .roadmap-grid{grid-template-columns:1fr;} }

/* App-section: give the two phone frames on-model portraits */
.app-mockup .phone-frame::before { display:none; }  /* no notch — these are product shots, not the app */

/* --- Self-contained reveal (no external deps; visible if JS off) --- */
html.js [data-aos] { opacity:0; transform:translateY(24px); transition:opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,0.61,0.36,1); will-change:opacity,transform; }
html.js [data-aos="fade"] { transform:none; }
html.js [data-aos].revealed { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ html.js [data-aos]{ transition:opacity 0.4s ease; transform:none; } }

/* =============================================================
   AI IN RETAIL — lead-capture modal + 5-up showcase (shared)
   ============================================================= */
.showcase-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width:900px){ .showcase-grid.five { grid-template-columns: repeat(3,1fr); } }
@media (max-width:460px){ .showcase-grid.five { grid-template-columns: repeat(2,1fr); } }

.aiir-modal-overlay { position:fixed; inset:0; background:rgba(20,18,14,0.55); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); display:flex; align-items:center; justify-content:center; padding:1.5rem; z-index:3000; opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease; }
.aiir-modal-overlay.open { opacity:1; visibility:visible; }
.aiir-modal { background:#fff; border-radius:20px; width:100%; max-width:460px; padding:2.5rem; box-shadow:0 40px 100px rgba(0,0,0,.4); transform:translateY(16px) scale(.98); transition:transform .3s cubic-bezier(.22,.61,.36,1); position:relative; max-height:92vh; overflow-y:auto; }
.aiir-modal-overlay.open .aiir-modal { transform:none; }
.aiir-modal-close { position:absolute; top:1rem; right:1rem; width:34px; height:34px; border:none; background:rgba(51,51,51,.06); border-radius:50%; font-size:1.15rem; line-height:1; color:#666; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.aiir-modal-close:hover { background:rgba(51,51,51,.12); color:#333; }
.aiir-modal .eyebrow-form { font-family:'Inter',sans-serif; font-size:.72rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#8a7a3f; margin-bottom:.6rem; }
.aiir-modal h3 { font-family:'Cormorant Garamond',Georgia,serif; font-size:2rem; font-weight:600; color:#333; margin:0 0 .5rem; line-height:1.12; }
.aiir-modal .modal-sub { font-family:'Inter',sans-serif; color:rgba(51,51,51,.7); font-size:.98rem; margin-bottom:1.6rem; line-height:1.55; }
.aiir-field { margin-bottom:1rem; text-align:left; }
.aiir-field label { font-family:'Inter',sans-serif; display:block; font-size:.82rem; font-weight:600; color:#333; margin-bottom:.4rem; }
.aiir-field input, .aiir-field textarea { width:100%; padding:.85rem 1rem; border:1.5px solid #e3e0d8; border-radius:11px; font-size:.98rem; font-family:'Inter',sans-serif; color:#333; background:#fff; transition:border-color .2s, box-shadow .2s; box-sizing:border-box; }
.aiir-field input:focus, .aiir-field textarea:focus { outline:none; border-color:#b8a456; box-shadow:0 0 0 3px rgba(184,164,86,.15); }
.aiir-field textarea { resize:vertical; min-height:84px; }
.aiir-field .err { font-family:'Inter',sans-serif; color:#c0392b; font-size:.78rem; margin-top:.35rem; display:none; }
.aiir-field.invalid input, .aiir-field.invalid textarea { border-color:#c0392b; }
.aiir-field.invalid .err { display:block; }
.aiir-submit { width:100%; justify-content:center; margin-top:.5rem; padding:1rem; border:none; border-radius:12px; background:#333; color:#fff; font-weight:600; font-size:1rem; font-family:'Inter',sans-serif; cursor:pointer; display:inline-flex; align-items:center; gap:.5rem; transition:background .3s, transform .2s; }
.aiir-submit:hover { background:#b8a456; }
.aiir-submit:disabled { opacity:.6; cursor:default; }
.aiir-privacy { font-family:'Inter',sans-serif; font-size:.76rem; color:rgba(51,51,51,.5); text-align:center; margin-top:1rem; }
.aiir-form-error { font-family:'Inter',sans-serif; display:none; background:rgba(192,57,43,.08); color:#c0392b; font-size:.85rem; padding:.7rem .9rem; border-radius:10px; margin-bottom:1rem; text-align:left; }
.aiir-form-error.show { display:block; }
.aiir-form-error a { color:#c0392b; font-weight:600; }
.aiir-success { text-align:center; padding:1rem 0; display:none; }
.aiir-modal.done .aiir-form { display:none; }
.aiir-modal.done .aiir-success { display:block; }
.aiir-success .check { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#b8a456,#d4c88a); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 1.2rem; font-size:1.7rem; }
@media (max-width:480px){ .aiir-modal{ padding:1.9rem 1.4rem; } .aiir-modal h3{ font-size:1.7rem; } }

/* --- Larger header logo (v2) --- */
.modern-nav .nav-logo-icon { height: 68px; }
.modern-nav.scrolled .nav-logo-icon { height: 50px; }
@media (max-width: 768px){ .modern-nav .nav-logo-icon { height: 50px; } .modern-nav.scrolled .nav-logo-icon { height: 44px; } }
