﻿/* BeeFocus landingpage styles */

body.beefocus{
  --primary: #2a6bff;
  --secondary: #12c9a0;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #5f6b7a;
  --border: rgba(11, 18, 32, 0.12);

  background: var(--bg);
}

html[data-theme="dark"] body.beefocus{
  --bg: #0b1020;
  --surface: rgba(255,255,255,0.06);
  --text: #eaf0ff;
  --muted: rgba(234,240,255,0.72);
  --border: rgba(234,240,255,0.14);
}

.app-header .brand-mark,
.app-footer .brand-mark{
  color: var(--primary);
}

/* Brand mark uses emoji now */
body.beefocus .brand-mark{
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.app-hero{
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 20px);
}

.app-hero .hero-grid{
  gap: 36px;
}

.app-hero .headline{
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.app-hero .subheadline{
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  max-width: 60ch;
}

.hero-glow{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb{
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
}

.orb-a{ background: rgba(42, 107, 255, 0.35); top: -120px; left: -80px; }
.orb-b{ background: rgba(18, 201, 160, 0.35); top: 30px; right: -140px; }
.orb-c{ display: none; }

.hero-grid,
.app-hero .hero-copy,
.app-hero .hero-visual{
  position: relative;
  z-index: 1;
}

.mockup-stack{
  position: relative;
  display: grid;
  place-items: center;
  gap: 18px;
}

.mockup{
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 80px rgba(14, 20, 60, 0.2);
  overflow: hidden;
  transform-style: preserve-3d;
}

.mockup img{
  width: min(240px, 55vw);
  display: block;
}

.mockup.tablet{
  position: absolute;
  right: -10px;
  bottom: -30px;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.mockup.phone{
  transform: rotate(2deg);
}

.mockup-gloss{
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.55), transparent 55%);
  opacity: 0.6;
}

.hero-card{
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(15, 20, 35, 0.2);
  max-width: 320px;
}

.glass{
  backdrop-filter: blur(18px);
}

.benefits-grid{
  margin-top: 22px;
}

.benefit-card{
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.benefit-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 34, 80, 0.18);
}

.feature-walk{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-shot{
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.feature-shot img{
  width: 100%;
  display: block;
  max-height: 560px;
  object-fit: cover;
}

.feature-shot figcaption{
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0) 0%, rgba(10, 14, 28, 0.65) 70%);
  color: #fff;
  display: grid;
  gap: 4px;
  transform: translateY(35%);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
  opacity: 0;
}

.feature-shot figcaption strong{
  font-size: 0.98rem;
}

.feature-shot figcaption span{
  font-size: 0.85rem;
  opacity: 0.85;
}

.feature-shot:hover,
.feature-shot:focus-within{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 30, 60, 0.18);
}

.feature-shot:hover figcaption,
.feature-shot:focus-within figcaption{
  transform: translateY(0);
  opacity: 1;
}

.testimonial-card .stars{
  color: #ffb400;
  font-size: 1.1rem;
}

.logo-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.logo-pill{
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  color: var(--muted);
}

.download{
  background: linear-gradient(120deg, rgba(42, 107, 255, 0.08), rgba(18, 201, 160, 0.12));
}

.download-grid{
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px){
  .download-grid{
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.store-badge{
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow-sm);
  min-width: 190px;
}

.store-badge + .store-badge{ margin-left: 10px; }

.badge-title{
  font-weight: 700;
}

.badge-sub{
  font-size: 0.9rem;
  opacity: 0.72;
}

.download-card{
  padding: 22px;
}

.app-footer{
  margin-top: 40px;
}

@media (max-width: 700px){
  .mockup.tablet{ display: none; }
  .store-badge + .store-badge{ margin-left: 0; margin-top: 10px; }
}

@media (max-width: 700px){
  .app-header .header-actions{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .app-header .header-actions .btn{
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .app-hero .hero-grid{ gap: 24px; }
  .mockup-stack{ gap: 12px; }
  .mockup img{ width: min(210px, 70vw); }
  .hero-card{ max-width: 100%; }
  .feature-walk{ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .feature-shot img{ max-height: 420px; }
  .legal-card{ padding: 18px; }
}

@media (max-width: 520px){
  .app-hero .hero-actions{
    flex-wrap: nowrap;
  }
  .app-hero .hero-actions .btn{
    flex: 1;
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce){
  .mockup{ transform: none !important; }
}

/* Legal page spacing */
.legal-main{
  padding-top: calc(var(--header-h) + 24px);
}

.legal-card{
  max-width: 860px;
  margin-inline: auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  box-shadow: var(--shadow-sm);
}

.legal-card h1{
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem);
  margin-bottom: 12px;
}

.legal-card h2{
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-card p{
  margin-bottom: 12px;
}

.legal-list{
  margin: 0 0 14px;
  padding-left: 18px;
}

.legal-list li{
  margin-bottom: 8px;
}

html[data-theme="dark"] body.beefocus .mockup,
html[data-theme="dark"] body.beefocus .hero-card,
html[data-theme="dark"] body.beefocus .feature-shot,
html[data-theme="dark"] body.beefocus .logo-pill{
  background: rgba(12, 16, 28, 0.75);
  border-color: rgba(234, 240, 255, 0.14);
}

html[data-theme="dark"] body.beefocus .mockup-gloss{
  background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 60%);
}
