/* ===========================================
   BCOME LANDING PAGE - REPLIKA CLONE
   Complete 1:1 Style Replica
   =========================================== */

/* Font Faces */
@font-face {
  font-family: 'Moderat';
  src: url('../fonts/Moderat-Regular.woff2') format('woff2');
  font-display: fallback;
}

@font-face {
  font-family: 'PPPangramSansRounded-Bold';
  src: url('../fonts/PPPangramSansRounded-Bold.woff2') format('woff2');
  font-display: fallback;
  ascent-override: 92%;
  descent-override: 20%;
}

/* CSS Variables */
:root {
  --primary-color: #5068bc;
  --gradient-start: #5c75cc;
  --gradient-end: #203378;
  --text-color: #fff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --card-bg: rgba(255, 255, 255, 0.2);
  --card-bg-hover: rgba(255, 255, 255, 0.25);
  --button-glow: rgba(255, 255, 255, 0.9);
  --font-body: 'Moderat', sans-serif;
  --font-heading: 'PPPangramSansRounded-Bold', sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--primary-color);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
}

a {
  color: var(--text-color);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover, a:focus {
  opacity: 1;
}

p {
  margin: 0;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* Layout */
.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gradient-wrapper {
  width: 100%;
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.container {
  max-width: 1146px;
  padding: 0 15px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container {
    padding: 0 30px;
  }
}

/* Responsive Visibility */
.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block !important;
}

@media (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }
  .mobile-only {
    display: none !important;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background-color: transparent;
}

.nav {
  position: relative;
  width: 100%;
  max-width: 1146px;
  height: 80px;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .nav {
    padding: 0 30px;
  }
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-list {
    gap: 30px;
  }
}

.nav-left {
  flex: 1;
  flex-direction: row;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 14px;
}

@media (min-width: 768px) {
  .nav-item {
    font-size: 16px;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  opacity: 1;
  display: block;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .logo-img {
    height: 72px;
    border-radius: 12px;
  }
}

/* ============================================
   JUMBOTRON (Hero Video Section)
   ============================================ */
.jumbotron {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.jumbotron-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.jumbotron-placeholder,
.jumbotron-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jumbotron-video {
  z-index: 1;
}

/* Gradient overlay for smooth fade into background */
.jumbotron::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(92, 117, 204, 0.3) 30%,
    rgba(92, 117, 204, 0.6) 50%,
    rgba(92, 117, 204, 0.85) 70%,
    var(--gradient-start) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  position: relative;
  padding: 60px 0 80px;
  margin-top: -200px;
  z-index: 2;
}

@media (min-width: 768px) {
  .cta {
    padding: 100px 0 150px;
    margin-top: -300px;
  }
}

.cta-light-bg {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

@media (min-width: 768px) {
  .cta-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-text-col {
    align-items: flex-start;
    flex: 0 0 50%;
    padding-right: 40px;
  }

  .cta-avatar-col {
    flex: 0 0 50%;
    align-items: flex-end;
  }
}

.cta-title {
  font-size: 36px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 52px;
    text-align: left;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 64px;
  }
}

.cta-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 15px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cta-subtitle {
    font-size: 20px;
    text-align: left;
  }
}

.cta-supporting {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .cta-supporting {
    font-size: 16px;
    text-align: left;
  }
}

.btn-cta {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(224, 224, 224, 0) 0%, #d9d9d9 100%), rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 15px var(--button-glow), inset 0 0 5px rgba(255, 255, 255, 0.8);
  color: #5e5e5e;
  opacity: 1;
  transition: box-shadow 0.3s ease;
}

.btn-cta:hover {
  opacity: 1;
  box-shadow: 0 0 30px var(--button-glow), inset 0 0 5px rgba(255, 255, 255, 0.8);
}

.app-links {
  margin-top: 25px;
  text-align: center;
}

@media (min-width: 768px) {
  .app-links {
    text-align: left;
  }
}

.app-links-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 10px;
}

.app-links-list {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 768px) {
  .app-links-list {
    justify-content: flex-start;
  }
}

.app-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 14px;
}

.app-link svg {
  opacity: 0.8;
}

.app-link-soon {
  cursor: default;
}

.badge-soon {
  display: inline-block;
  font-size: 9px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-app-soon {
  cursor: default;
  opacity: 0.7;
}

.cta-avatars {
  max-width: 100%;
  max-height: 500px;
}

@media (min-width: 1024px) {
  .cta-avatars {
    max-height: 600px;
  }
}

.cta-avatars-mobile {
  margin-top: 40px;
  text-align: center;
}

.cta-avatars-mobile img {
  max-width: 100%;
}

/* ============================================
   SECTION STYLES (Common)
   ============================================ */
.section-title {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 44px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 52px;
  }
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
  }
}

/* ============================================
   CAROUSEL COMPONENTS
   ============================================ */
.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.carousel-arrow:hover {
  opacity: 1;
  background: var(--card-bg-hover);
}

.carousel-arrow.carousel-prev,
.carousel-arrow.carousel-next {
  display: none;
}

@media (min-width: 768px) {
  .carousel-arrow.carousel-prev,
  .carousel-arrow.carousel-next {
    display: flex;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease;
}

.dot.active {
  background: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FEATURES GRID SECTION
   ============================================ */
.features-section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .features-section {
    padding: 100px 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    gap: 20px;
  }
}

@media (min-width: 1100px) {
  .features-grid {
    grid-auto-rows: 140px;
  }
}

.feature-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--card-bg-hover);
}

@media (min-width: 600px) {
  .feature-card {
    min-height: 280px;
  }
}

@media (min-width: 900px) {
  .feature-card {
    min-height: auto;
  }
}

.feature-image,
.feature-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.feature-card:hover .feature-image,
.feature-card:hover .feature-video {
  opacity: 1;
  transform: scale(1.05);
}

.feature-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.feature-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-desc {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.4;
}

/* ============================================
   PRESS SECTION
   ============================================ */
.press-section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .press-section {
    padding: 100px 0;
  }
}

.press-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.press-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.press-framing {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .press-framing {
    font-size: 18px;
  }
}

.press-logo {
  height: 30px;
  margin: 0 auto 30px;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .press-logo {
    height: 40px;
  }
}

.press-quote {
  margin: 0;
}

.press-quote p {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .press-quote p {
    font-size: 18px;
  }
}

.press-quote cite {
  font-size: 14px;
  font-style: normal;
  opacity: 0.7;
}

.press-quote cite a {
  text-decoration: underline;
}

.press-dots {
  margin-top: 40px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 100px 0;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 600px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-item {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 25px;
}

@media (min-width: 768px) {
  .faq-item {
    padding: 30px;
  }
}

.faq-question {
  font-size: 18px;
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .faq-answer {
    font-size: 15px;
  }
}

.faq-help .btn-secondary {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: var(--card-bg);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  opacity: 1;
  transition: background 0.3s ease;
}

.faq-help .btn-secondary:hover {
  background: var(--card-bg-hover);
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.bottom-cta {
  padding: 80px 0 100px;
  text-align: center;
}

@media (min-width: 768px) {
  .bottom-cta {
    padding: 120px 0 150px;
  }
}

.bottom-cta .section-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta .btn-cta {
  margin-top: 10px;
}

.bottom-cta .app-links {
  margin-top: 30px;
}

.bottom-cta .app-links-list {
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1146px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 480px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
  }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-content {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

@media (min-width: 480px) {
  .footer-col {
    text-align: left;
  }
}

.footer-heading {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links svg {
  opacity: 0.7;
}

.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

@media (min-width: 480px) {
  .footer-apps {
    align-items: flex-start;
  }
}

.footer-app-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--card-bg);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  opacity: 1;
  min-width: 100px;
  text-align: center;
  transition: background 0.3s ease;
}

.footer-app-btn:hover {
  background: var(--card-bg-hover);
}

.footer-legal {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1000px) {
  .footer-legal {
    grid-column: auto;
    text-align: left;
    border-top: none;
    padding-top: 0;
  }
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 15px;
}

.footer-legal .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
}

@media (min-width: 1000px) {
  .footer-legal .footer-links {
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
  }
}

.footer-legal .footer-links a {
  font-size: 12px;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }

/* Intersection observer will trigger these */
.fade-in.visible {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}
