/* HiveTrack landing — "Golden hour" */

:root {
  --honey: #F5A623;
  --honey-light: #FFC964;
  --honey-deep: #C17B00;
  --comb: #1D1505;
  --comb-soft: #2E2208;
  --cream: #FFF8E7;
  --wax: #F5E8C8;
  --card: #FFFDF6;
  --text: #2A1F0F;
  --text-muted: #6B5A3F;
  --line: rgba(139, 105, 20, 0.16);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--honey-deep); text-decoration: none; }
a:hover { color: var(--honey); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
::selection { background: rgba(245, 166, 35, 0.35); }

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(29, 21, 5, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.18);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  color: #FFF3D6;
}
.brand:hover { color: #fff; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; font-size: 0.92rem; }
.nav-links a { color: rgba(255, 243, 214, 0.72); font-weight: 500; }
.nav-links a:hover { color: #FFF3D6; }
@media (max-width: 720px) {
  .nav-links { gap: 0.7rem; }
  .nav-links a:not(.btn):not(.lang-toggle) { display: none; }
  .nav-links .btn-ghost { display: none; }
}

.lang-toggle {
  border: 1px solid rgba(255, 201, 100, 0.3);
  color: rgba(255, 243, 214, 0.72) !important;
  padding: 0.32rem 0.62rem; border-radius: 8px;
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 0.32rem;
  transition: border-color 0.15s;
}
.lang-toggle:hover { border-color: var(--honey-light); }
.lang-toggle .lang-opt { opacity: 0.45; }
.lang-toggle .lang-opt.active { opacity: 1; color: var(--honey-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.45rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, var(--honey-light), var(--honey));
  color: #2A1F0F !important;
  box-shadow: 0 3px 14px rgba(245, 166, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-ghost {
  background: transparent; color: #FFE9B8 !important;
  border: 1.5px solid rgba(255, 201, 100, 0.35);
}
.btn-ghost:hover { border-color: var(--honey-light); }
.nav-links .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* light-section ghost variant */
.on-light .btn-ghost {
  color: var(--text) !important;
  border-color: rgba(139, 105, 20, 0.3);
}
.on-light .btn-ghost:hover { border-color: var(--honey-deep); }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 110%, rgba(245, 166, 35, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(245, 166, 35, 0.08) 0%, transparent 60%),
    var(--comb);
  color: #FFF3D6;
  padding: 4.5rem 0 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v32L28 63 2 48V16ZM28 65 54 80v32L28 127 2 112V80Z' fill='none' stroke='rgba(245,166,35,0.09)' stroke-width='1.2'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem; align-items: end;
}
.hero-copy { padding-bottom: 5.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-light); margin-bottom: 1.5rem;
}
.hero-badge::before { content: '⬡'; font-size: 0.95rem; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.5px;
  color: #FFF8E7; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--honey-light); }
.hero-lead {
  font-size: 1.05rem; color: rgba(255, 243, 214, 0.78);
  max-width: 30rem; margin-bottom: 2.1rem;
}
.hero-cta { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; }

.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img {
  width: min(280px, 78%);
  border-radius: 34px;
  border: 9px solid #0E0A02;
  box-shadow:
    0 0 0 1.5px rgba(255, 201, 100, 0.25),
    0 30px 70px -20px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(245, 166, 35, 0.18);
  display: block;
  transform: translateY(30px);
}

/* honey drip divider */
.drip { position: relative; height: 70px; background: var(--cream); }
.drip svg { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; display: block; }

/* ---- Sections shared ---- */
section { padding: 5rem 0; }
.eyebrow {
  display: block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey-deep); margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.3px; line-height: 1.18;
  color: var(--text); margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.02rem; color: var(--text-muted);
  max-width: 38rem; margin-bottom: 3rem;
}

/* ---- Features ---- */
#features { padding-top: 2.5rem; background: var(--cream); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.6rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -18px rgba(139, 105, 20, 0.35);
}
.feature-icon {
  width: 46px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, var(--honey-light), var(--honey));
  color: #2A1F0F; margin-bottom: 1.1rem;
  font-size: 1.2rem; line-height: 1;
}
.feature h3 { font-size: 1.03rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature p { font-size: 0.89rem; color: var(--text-muted); }
.feature p em { color: var(--honey-deep); font-style: normal; font-weight: 600; }

/* ---- Screens ---- */
.screens-section { background: var(--wax); }
.screens {
  display: flex; gap: 1.6rem; justify-content: center; align-items: flex-start;
  flex-wrap: wrap;
}
.screen { text-align: center; }
.screen img {
  width: 215px; height: auto; border-radius: 24px;
  border: 7px solid var(--comb);
  box-shadow: 0 22px 44px -18px rgba(42, 31, 15, 0.45);
  display: block;
}
.screen:nth-child(even) { transform: translateY(24px); }
.screen-caption {
  font-size: 0.84rem; font-weight: 600; color: var(--text-muted);
  margin-top: 1rem;
}

/* ---- Pricing ---- */
#pricing { background: var(--cream); }
#pricing .section-lead { margin-left: auto; margin-right: auto; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 820px; margin: 0 auto; text-align: left;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.1rem 2rem;
}
.plan.featured {
  background: var(--comb); color: #FFF3D6; border-color: transparent;
  box-shadow: 0 24px 50px -20px rgba(42, 31, 15, 0.5);
  position: relative; overflow: hidden;
}
.plan.featured::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 115%, rgba(245, 166, 35, 0.25), transparent 65%);
}
.plan > * { position: relative; }
.plan h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.plan-price {
  font-size: 2.15rem; font-weight: 700; letter-spacing: -1px;
  margin: 0.8rem 0 0.1rem;
}
.plan-price small { font-size: 0.95rem; font-weight: 500; opacity: 0.6; letter-spacing: 0; }
.plan-price-note { font-size: 0.78rem; opacity: 0.55; margin-bottom: 0.4rem; }
.plan-desc { font-size: 0.88rem; opacity: 0.75; margin: 0.5rem 0 1.3rem; }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 0.89rem; padding: 0.42rem 0 0.42rem 1.6rem; position: relative;
}
.plan-features li::before {
  content: '⬡'; position: absolute; left: 0; color: var(--honey);
}
.plan-footer-note { font-size: 0.78rem; opacity: 0.55; margin-top: 1.3rem; }
.plan.featured .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--comb); color: #FFF8E7; text-align: center;
  padding: 5.5rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 130%, rgba(245, 166, 35, 0.3), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 600; margin-bottom: 0.9rem;
}
.cta-band p { color: rgba(255, 243, 214, 0.7); margin-bottom: 1.8rem; font-size: 1rem; }

/* ---- Footer ---- */
footer {
  background: var(--cream); border-top: 1px solid var(--line);
  padding: 2.2rem 0; font-size: 0.85rem; color: var(--text-muted);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-links { display: flex; gap: 1.4rem; }

/* ---- Motion & responsive ---- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media (max-width: 880px) {
  .hero { padding-top: 3.2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 3.2rem; }
  .hero-phone img { width: 230px; transform: translateY(18px); }
  .features-grid { grid-template-columns: 1fr; }
  .screen:nth-child(even) { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 3.8rem 0; }
}
