@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@400;600;700&family=Stack+Sans+Text:wght@200..700&display=swap');

:root {
  --primary-color: #EC4E20;
  --bg-color: #0b0c10;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
}

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

body {
  text-wrap: pretty;
  font-family: 'Stack Sans Text', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-family: 'Stack Sans Headline', sans-serif;
}

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

/* Landing Page Hero */
.hero {
  min-height: 100vh;
  width: 100%;
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}

.logo img {
  height: 28px;
}

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

.nav-links a {
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 64px;
}

h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  max-width: 800px;
  margin-bottom: 24px;
}

.subheadline {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.features {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.feature-item i {
  color: white;
  font-size: 18px;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover:not(.disabled) {
  transform: scale(1.05);
  background-color: #d64115;
}

.cta-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.store-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 48px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge img {
  height: 100%;
  width: auto;
  display: block;
}

a.store-badge:hover {
  transform: scale(1.05);
}

.store-badge.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  user-select: none;
}

.mockups {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.mockups img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Legal Pages */
.legal-page {
  background-color: white;
  color: #111;
  min-height: 100vh;
}

.legal-header {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  background-color: #0b0c10;
  color: white;
}

.legal-container {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-container h1 {
  font-size: 40px;
  margin-bottom: 32px;
  color: #111;
}

.legal-container p {
  margin-bottom: 24px;
  color: #444;
  font-size: 16px;
}

.legal-container h2 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: #111;
}

.legal-container h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #111;
}

.legal-container h4 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #111;
}

.legal-container ul {
  margin-left: 24px;
  margin-bottom: 24px;
  color: #444;
}

.legal-container li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.legal-container a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header, .legal-header .container {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    background-color: #12141a;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 {
    font-size: 36px;
    padding: 0 16px;
  }
  
  h1 br, h2 br {
    display: none;
  }
  
  .subheadline {
    font-size: 16px;
    padding: 0 16px;
  }
  
  .features {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .mockups {
    padding-top: 32px;
  }
}

/* New Sections */
.section {
  padding: 96px 24px;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.bento-grid.reverse {
  /* we will handle reverse on mobile */
}

.bento-box {
  background-color: #12141a;
  border-radius: 32px;
  padding: 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-box h2, .section h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 600;
}

.bento-box p, .section p.subheadline {
  font-size: 18px;
  color: var(--text-muted);
}

.visual-box {
  background-color: #181a22;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Mock UI Elements */
.review-card {
  background-color: #0b0c10;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.stars {
  color: #f5c518;
  margin-bottom: 16px;
  font-size: 18px;
}

.mock-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 350px;
}

.mock-list {
  background-color: #0b0c10;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  border-radius: 16px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mock-list:nth-child(2) {
  opacity: 0.8;
  transform: translateX(16px);
}
.mock-list:nth-child(3) {
  opacity: 0.6;
  transform: translateX(32px);
}


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

.flex-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-box {
    padding: 32px;
  }

  .bento-grid.reverse .text-box {
    order: -1;
  }

  .section {
    padding: 64px 0;
  }

  .bento-box h2, .section h2 {
    font-size: 32px;
  }
}

/* Phone Cutoff Layout */
.bento-box.phone-cutoff {
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: top center;
  padding-bottom: 0;
  align-items: center; 
  justify-content: flex-end; /* since flex-direction is column from .bento-box */
  overflow: hidden; 
}

.phone-cutoff img {
  width: 100%;
  max-width: 320px; /* Adjust if it needs to be smaller/larger */
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  margin-top: auto;
}

/* Comment Animations */
.comments-section {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: slideInComment 0.5s ease forwards;
}

.comment-item strong {
  font-weight: 600;
  margin-right: 4px;
}

.comment-1 {
  animation-delay: 2s;
}

.comment-2 {
  animation-delay: 4s;
}

@keyframes slideInComment {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Section */
.wrapped-visual {
  background: linear-gradient(135deg, #181a22 0%, #111 100%);
}

.stats-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 340px;
}

.stat-pill {
  background-color: #0b0c10;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 12px 24px 12px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #ff8a00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Stack Sans Headline', sans-serif;
}

.stat-pill-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-pill-value {
  font-weight: 600;
  font-size: 16px;
}

.stat-card {
  background-color: #0b0c10;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.big-number .stat-value {
  font-family: 'Stack Sans Headline', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
}

.stat-unit {
  font-size: 24px;
  color: var(--text-color);
  margin-left: 4px;
}

.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.bar-row:last-child {
  margin-bottom: 0;
}

.bar-label {
  width: 60px;
  font-size: 14px;
  font-weight: 500;
}

.bar {
  height: 12px;
  border-radius: 100px;
}
