/* Coming Soon – matches landing design, S3-ready (HTML + CSS only) */

:root {
  --purple-dark: #3e1195;
  --purple-mid: #5017a7;
  --accent: #ffb000;
  --accent-dark: #d89400;
  --text-dark: #0e0822;
  --white: #fff;
  --white-20: rgba(255, 255, 255, 0.2);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-30: rgba(255, 255, 255, 0.3);
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 32px;
  --shadow-page: 0 0 56px rgba(0, 0, 0, 0.05);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  background: #0e0822;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Page container – same as landing (gradient, rounded, shadow) */
.page {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-page);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--purple-dark) 0%,
    var(--purple-mid) 51.442%,
    var(--purple-dark) 100%
  );
}

.bg-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url('src/assets/e9372470cb2d3927f47df94fc60e37b9b9c11cad.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* Main header (logo + nav) – reserve space to avoid overlap */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.04);
  z-index: 2;
}

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

.logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: var(--white-20);
  color: var(--white);
}

.btn.primary {
  padding: 8px 24px;
  background: var(--accent);
  color: var(--text-dark);
}

/* Main content – start below header to prevent overlap */
.main-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 130px;
  padding: 0 0 120px 24px;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 36px);
  z-index: 1;
}

/* Hero + category row – left content + right image flush to right edge */
.hero-category-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-right: 0;
}

.hero-category-left {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
}

.hero-category-right {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
  margin-right: 0;
  margin-left: auto;
}

.hero-category-brand-img {
  width: min(643px, 42vw);
  max-width: 100%;
  height: auto;
  aspect-ratio: 643 / 617;
  object-fit: contain;
  object-position: right top;
  display: block;
  margin-right: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 565px;
}

.hero-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--white);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--white);
  max-width: 551px;
}

.search-bar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 49px;
  padding: 6px;
  max-width: min(565px, 100%);
  width: 100%;
  border: 1px solid #cfcfcf;
}

.search-placeholder {
  flex: 1;
  padding: 8px 12px;
  font-size: 16px;
  color: #000;
}

.search-btn {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

/* Category section */
.category-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 711px;
}

.category-label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  height: 40px;
  background: var(--white-20);
  border: 1px solid var(--white-30);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

/* Features section – pulled up so it’s visible in frame */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: -150px;
}

.features-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.feature-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1 1 280px;
  min-width: 0;
  background: var(--white-12);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.feature-body p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
}

/* Footer */
.main-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--white);
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

/* —— Coming Soon Overlay —— */
.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  z-index: 10;
}

.overlay-inner {
  text-align: center;
  padding: 48px;
}

.overlay-text {
  margin: 0;
  font-size: clamp(60px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
}

.overlay-subtext {
  margin: 16px 0 0;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* Fallback when asset images are missing */
.feature-icon img {
  background: var(--white-20);
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content {
    top: 88px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-category-brand-img {
    width: min(480px, 42vw);
    aspect-ratio: 643 / 617;
  }

  .feature-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding: 12px;
  }

  .page {
    border-radius: 12px;
  }

  .hero-category-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-category-right {
    display: none;
  }

  .features-section {
    margin-top: 50px;
  }

  .main-header {
    min-height: 200px;
    padding: 12px 16px;
    gap: 12px;
    align-content: flex-start;
  }

  .logo {
    order: 1;
    width: 100%;
  }

  .logo-img {
    height: 40px;
    max-width: 180px;
  }

  .header-cta {
    order: 2;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .btn.primary {
    padding: 6px 16px;
  }

  .main-content {
    top: 220px;
    padding: 0 16px 100px;
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .category-section {
    max-width: 100%;
  }

  .category-label {
    font-size: 14px;
  }

  .badge {
    padding: 6px 16px;
    height: 36px;
    font-size: 14px;
  }

  .feature-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
  }

  .feature-body h3 {
    font-size: 18px;
  }

  .feature-body p {
    font-size: 14px;
  }

  .main-footer {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }

  .footer-links {
    gap: 24px;
  }

  .overlay-inner {
    padding: 24px 16px;
  }

  .overlay-text {
    font-size: clamp(36px, 10vw, 56px);
  }

  .overlay-subtext {
    font-size: 16px;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    width: 100%;
    justify-content: flex-start;
  }
}
