/* musicmarketing.hu 2026 redesign: landing page + light global refresh.
   Landing classes are prefixed lp- so they never collide with app styles. */

:root {
  --lp-ink: #18163a;
  --lp-ink-2: #4f4a6e;
  --lp-ink-3: #7c7799;
  --lp-bg: #f5f4fb;
  --lp-tint: #eeebfa;
  --lp-surface: #ffffff;
  --lp-line: #e4e2f0;
  --lp-line-strong: #d1cee8;
  --lp-accent: #6d46c3;
  --lp-accent-ink: #5b37ad;
  --lp-accent-soft: #ede9ff;
  --lp-money: #15803d;
  --lp-shadow: 0 1px 2px rgba(64, 44, 140, 0.06), 0 12px 32px -12px rgba(64, 44, 140, 0.22);
  --lp-shadow-lift: 0 2px 4px rgba(64, 44, 140, 0.08), 0 24px 56px -20px rgba(64, 44, 140, 0.35);
  --lp-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lp-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ── Global refresh (safe, visual only) ── */
h1, h2, h3 { font-family: var(--lp-display); letter-spacing: -0.02em; }
.btn { border-radius: 999px; }
.btn:active:not(:disabled) { transform: scale(0.97); }

/* ── Landing ── */
#page-landing { color: var(--lp-ink); }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.lp-num { font-variant-numeric: tabular-nums; }
.lp-h2 { font-family: var(--lp-display); font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; margin: 0; color: var(--lp-ink); }
.lp-lead { margin: 16px 0 0; color: var(--lp-ink-2); font-size: 17px; line-height: 1.6; }
.lp-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-accent-ink); }

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 15.5px/1 "DM Sans", system-ui, sans-serif; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 160ms var(--lp-ease), background-color 200ms ease, border-color 200ms ease;
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn-primary { background: var(--lp-accent); color: #fff; }
.lp-btn-ghost { background: transparent; color: var(--lp-ink); border-color: var(--lp-line-strong); }
.lp-btn-light { background: #fff; color: #3d2585; }
.lp-btn .lp-arr { transition: transform 200ms var(--lp-ease); }
@media (hover: hover) and (pointer: fine) {
  .lp-btn-primary:hover { background: var(--lp-accent-ink); }
  .lp-btn-ghost:hover { border-color: var(--lp-ink-3); }
  .lp-btn-light:hover { background: #f1ecff; }
  .lp-btn:hover .lp-arr { transform: translateX(3px); }
}

/* Hero */
.lp-hero { padding-block: 64px 72px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-family: var(--lp-display); font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin: 0; text-wrap: balance; color: var(--lp-ink); }
.lp-hero h1 .lp-hl { color: var(--lp-accent-ink); }
.lp-hero-sub { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--lp-ink-2); max-width: 31ch; }
.lp-hero-ctas { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-stage { position: relative; min-height: 560px; }
.lp-phone { position: absolute; right: 8%; top: 0; width: 290px; border-radius: 42px; padding: 10px; background: var(--lp-ink); box-shadow: var(--lp-shadow-lift); }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 32px; aspect-ratio: 645 / 1100; object-fit: cover; object-position: top; }
.lp-before { position: absolute; left: 0; bottom: 20px; width: 168px; margin: 0; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 8px; box-shadow: var(--lp-shadow); }
.lp-before img { display: block; width: 100%; height: auto; border-radius: 13px; aspect-ratio: 642 / 900; object-fit: cover; object-position: top; }
.lp-before figcaption { padding: 10px 6px 4px; font-size: 12.5px; color: var(--lp-ink-3); line-height: 1.35; }
.lp-before figcaption strong { display: block; font-family: var(--lp-display); font-size: 22px; color: var(--lp-ink); letter-spacing: -0.02em; line-height: 1.1; }
.lp-growth { position: absolute; left: 6%; top: 44px; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 16px 20px; box-shadow: var(--lp-shadow); }
.lp-growth-big { font-family: var(--lp-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--lp-accent-ink); }
.lp-growth-lbl { margin-top: 6px; font-size: 13px; color: var(--lp-ink-2); max-width: 16ch; line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  .lp-rise { animation: lp-rise 640ms var(--lp-ease) both; }
  .lp-d1 { animation-delay: 60ms; } .lp-d2 { animation-delay: 120ms; } .lp-d3 { animation-delay: 180ms; }
  .lp-d5 { animation-delay: 380ms; } .lp-d6 { animation-delay: 480ms; }
  .lp-settle { animation: lp-settle 760ms var(--lp-ease) both; animation-delay: 200ms; }
}
@keyframes lp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lp-settle { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

/* Trust */
.lp-trust { border-block: 1px solid var(--lp-line); }
.lp-trust-inner { display: flex; align-items: center; gap: 22px; padding-block: 22px; flex-wrap: wrap; }
.lp-faces { display: flex; }
.lp-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lp-bg); margin-left: -12px; }
.lp-faces img:first-child { margin-left: 0; }
.lp-trust-text { margin: 0; font-size: 15px; color: var(--lp-ink-2); }
.lp-trust-text b { color: var(--lp-ink); font-weight: 600; }

/* Stats */
.lp-stats { padding-block: 72px; }
.lp-stats-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.lp-stat { padding: 4px 32px; border-left: 1px solid var(--lp-line); }
.lp-stat:first-child { border-left: 0; padding-left: 0; }
.lp-stat-val { font-family: var(--lp-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em; color: var(--lp-ink); }
.lp-stat:first-child .lp-stat-val { color: var(--lp-accent-ink); font-size: clamp(3rem, 6vw, 4.9rem); }
.lp-stat-lbl { margin: 10px 0 0; font-size: 15px; color: var(--lp-ink-2); max-width: 24ch; }

/* How */
.lp-how { padding-block: 40px 96px; }
.lp-how-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.lp-how-head { position: sticky; top: 96px; }
.lp-chips { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--lp-surface); border: 1px solid var(--lp-line); font-size: 13.5px; font-weight: 600; color: var(--lp-ink); }
.lp-chip svg { width: 15px; height: 15px; fill: currentColor; }
.lp-steps { display: grid; gap: 14px; }
.lp-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border-radius: 20px; background: var(--lp-surface); border: 1px solid var(--lp-line); }
.lp-step-n { font-family: var(--lp-display); font-weight: 700; font-size: 15px; color: var(--lp-accent-ink); width: 44px; height: 44px; border-radius: 50%; background: var(--lp-accent-soft); display: grid; place-items: center; }
.lp-step h3 { font-size: 23px; font-weight: 700; line-height: 1.2; margin: 0; color: var(--lp-ink); }
.lp-step p { margin: 8px 0 0; color: var(--lp-ink-2); max-width: 52ch; line-height: 1.6; }

/* Tiers */
.lp-tiers { padding-block: 96px; background: var(--lp-tint); }
.lp-tiers-head { max-width: 660px; }
.lp-chart-card { margin-top: 44px; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 28px 28px 22px; box-shadow: var(--lp-shadow); }
.lp-chart-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--lp-ink-3); }
.lp-chart-meta b { color: var(--lp-ink); font-weight: 600; }
.lp-chart-scroll { overflow-x: auto; margin-top: 18px; }
.lp-chart { min-width: 640px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; align-items: end; height: 300px; border-bottom: 1px solid var(--lp-line-strong); }
.lp-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 8px; }
.lp-val { font-size: 12.5px; font-weight: 600; color: var(--lp-ink-2); white-space: nowrap; }
.lp-bar { width: 100%; height: calc((100% - 30px) * var(--h)); min-height: 4px; border-radius: 10px 10px 3px 3px; background: #cbbdef; transition: background-color 200ms ease; }
.lp-col:last-child .lp-bar { background: var(--lp-accent); }
.lp-col:last-child .lp-val { color: var(--lp-accent-ink); }
.lp-xaxis { min-width: 640px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; margin-top: 10px; }
.lp-xaxis span { text-align: center; font-size: 12.5px; color: var(--lp-ink-3); white-space: nowrap; }
.lp-axis-note { margin: 14px 0 0; font-size: 13px; color: var(--lp-ink-3); }
@media (hover: hover) and (pointer: fine) {
  .lp-col:hover .lp-bar { background: var(--lp-accent); }
  .lp-col:hover .lp-val { color: var(--lp-ink); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lp-bar { animation: lp-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes lp-grow { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Case */
.lp-case { padding-block: 104px 88px; }
.lp-case-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.lp-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--lp-shadow-lift); }
.lp-case .lp-h2 { margin-top: 14px; }
.lp-compare { margin-top: 36px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lp-from, .lp-to { font-family: var(--lp-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lp-from { font-size: 56px; color: var(--lp-ink-3); }
.lp-to { font-size: 76px; color: var(--lp-accent-ink); }
.lp-unit { display: block; font-family: "DM Sans", system-ui, sans-serif; font-weight: 500; font-size: 13.5px; letter-spacing: 0; color: var(--lp-ink-3); margin-top: 8px; }
.lp-arrow { width: 44px; height: 2px; background: var(--lp-line-strong); position: relative; }
.lp-arrow::after { content: ""; position: absolute; right: -1px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--lp-line-strong); border-right: 2px solid var(--lp-line-strong); transform: rotate(45deg); }
.lp-facts { margin-top: 36px; display: flex; gap: 40px; flex-wrap: wrap; }
.lp-fact b { display: block; font-family: var(--lp-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--lp-ink); }
.lp-fact span { font-size: 14px; color: var(--lp-ink-3); }

/* Creators */
.lp-creators { padding-block: 96px; border-top: 1px solid var(--lp-line); text-align: center; }
.lp-money { margin-top: 18px; font-family: var(--lp-display); font-weight: 800; font-size: clamp(3.4rem, 10vw, 8rem); line-height: 0.95; letter-spacing: -0.05em; color: var(--lp-money); }
.lp-creators p { margin: 20px auto 0; max-width: 46ch; color: var(--lp-ink-2); font-size: 18px; line-height: 1.6; }
.lp-creators .lp-btn { margin-top: 30px; }

/* Pricing */
.lp-pricing { padding-block: 96px; background: var(--lp-tint); }
.lp-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-perks { margin-top: 28px; display: grid; gap: 12px; }
.lp-perk { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--lp-ink); }
.lp-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-accent-soft); position: relative; margin-top: 1px; }
.lp-tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border-right: 2px solid var(--lp-accent-ink); border-bottom: 2px solid var(--lp-accent-ink); transform: rotate(45deg); }
.lp-receipt { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px; padding: 28px; box-shadow: var(--lp-shadow-lift); }
.lp-receipt h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--lp-ink); }
.lp-hint { font-size: 13.5px; color: var(--lp-ink-3); margin: 4px 0 0; }
.lp-rows { margin-top: 20px; display: grid; gap: 14px; }
.lp-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; color: var(--lp-ink); }
.lp-row span:first-child { color: var(--lp-ink-2); }
.lp-row.lp-total { border-top: 1px dashed var(--lp-line-strong); padding-top: 16px; font-weight: 700; font-size: 17px; }
.lp-row.lp-total span:first-child { color: var(--lp-ink); }
.lp-stripe { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--lp-ink-3); }
.lp-stripe svg { width: 18px; height: 18px; fill: #635bff; flex: none; }

/* FAQ */
.lp-faq { padding-block: 96px; }
.lp-faq-inner { max-width: 760px; margin: 0 auto; }
.lp-faq .lp-h2 { text-align: center; margin-bottom: 36px; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 600; font-size: 17px; color: var(--lp-ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-pm { flex: none; width: 16px; height: 16px; position: relative; }
.lp-pm::before, .lp-pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--lp-ink-3); transition: transform 200ms var(--lp-ease); }
.lp-pm::after { transform: rotate(90deg); }
.lp-faq details[open] .lp-pm::after { transform: rotate(0deg); }
.lp-faq details p { margin: 0; padding: 0 4px 22px; color: var(--lp-ink-2); max-width: 62ch; line-height: 1.6; }
.lp-faq-more { margin-top: 26px; text-align: center; font-size: 15px; }
.lp-faq-more a { color: var(--lp-accent-ink); font-weight: 600; text-decoration: none; }

/* Final CTA */
.lp-final { padding-block: 24px 96px; }
.lp-final-panel { border-radius: 28px; background: var(--lp-accent); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.lp-final-panel h2 { font-family: var(--lp-display); font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 800; margin: 0; color: #fff; text-wrap: balance; }
.lp-final-panel p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 36ch; }
.lp-final-panel .lp-btn-light { justify-self: end; }

/* Footer */
.lp-footer { border-top: 1px solid var(--lp-line); padding-block: 36px 48px; }
.lp-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--lp-ink-3); }
.lp-foot img { height: 28px; width: auto; }
.lp-foot nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.lp-foot a { color: var(--lp-ink-3); text-decoration: none; }
.lp-socials { display: flex; gap: 14px; }
.lp-socials svg { width: 18px; height: 18px; fill: var(--lp-ink-3); }
@media (hover: hover) and (pointer: fine) { .lp-foot a:hover { color: var(--lp-ink); } .lp-socials a:hover svg { fill: var(--lp-ink); } }

.lp-s { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .lp-hero { padding-block: 40px 56px; }
  .lp-hero-grid, .lp-how-grid, .lp-case-grid, .lp-pricing-grid, .lp-final-panel { grid-template-columns: 1fr; }
  .lp-hero-grid { gap: 40px; }
  .lp-hero-sub { max-width: none; }
  .lp-stage { min-height: 520px; max-width: 420px; margin: 0 auto; width: 100%; }
  .lp-phone { right: 0; width: 250px; }
  .lp-growth { left: 0; top: 16px; }
  .lp-before { width: 140px; bottom: 0; }
  .lp-how-head { position: static; }
  .lp-how-grid, .lp-case-grid, .lp-pricing-grid { gap: 40px; }
  .lp-stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-stat, .lp-stat:first-child { border-left: 0; padding: 0; }
  .lp-final-panel .lp-btn-light { justify-self: start; }
  .lp-cover { max-width: 420px; }
  .lp-tiers, .lp-pricing, .lp-creators, .lp-faq { padding-block: 72px; }
  .lp-case { padding-block: 72px; }
}
@media (max-width: 480px) {
  .lp-hero h1 { font-size: 2.35rem; }
  .lp-hero-sub { font-size: 17px; }
  .lp-hero-ctas .lp-btn { width: 100%; }
  .lp-step { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .lp-phone { width: 210px; }
  .lp-stage { min-height: 440px; }
  .lp-before { width: 120px; }
  .lp-growth { padding: 12px 14px; }
  .lp-growth-big { font-size: 34px; }
  .lp-from { font-size: 44px; } .lp-to { font-size: 58px; }
  .lp-chart-card { padding: 20px 16px 16px; }
  .lp-final-panel .lp-btn-light { width: 100%; }
}
@media (max-width: 600px) {
  .lp-chart, .lp-xaxis { min-width: 0; gap: 5px; }
  .lp-chart { height: 230px; }
  .lp-val { font-size: 10px; }
  .lp-xaxis span { font-size: 9.5px; }
  .lp-l { display: none; }
  .lp-s { display: inline; }
  .lp-arrow { display: none; }
  .lp-compare { gap: 28px; }
}

/* ── Account / profile pages: proper phone layout (client + influencer, HU + EN) ── */
.prof-side .prof-nav-item { transition: background-color 150ms ease, color 150ms ease; }
@media (max-width: 760px) {
  #page-client-profile .dashboard-header,
  #page-inf-profile .dashboard-header { flex-direction: row; align-items: center; margin-bottom: 18px; }
  #page-client-profile .dashboard-sub,
  #page-inf-profile .dashboard-sub { display: none; }
  #page-client-profile .dashboard-title,
  #page-inf-profile .dashboard-title { font-size: 1.6rem; margin: 0; }

  .prof-layout { grid-template-columns: 1fr !important; gap: 14px !important; max-width: 100% !important; }
  .prof-side { position: static !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; min-width: 0; }
  .prof-side > div:first-child { padding: 0 2px 14px !important; border-bottom: 0 !important; }
  .prof-nav {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin-inline: -14px; padding: 2px 14px 4px !important;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .prof-nav::-webkit-scrollbar { display: none; }
  .prof-nav .prof-nav-item {
    width: auto; flex: none; white-space: nowrap; scroll-snap-align: start;
    height: 40px; padding: 0 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.86rem; font-weight: 600;
  }
  .prof-nav .prof-nav-item svg { width: 15px; height: 15px; }
  .prof-nav .prof-nav-item.active { background: var(--purple); border-color: var(--purple); color: #fff !important; }
  .prof-nav .prof-nav-item:active { transform: scale(0.97); }

  #page-client-profile .card-p,
  #page-inf-profile .card-p { padding: 20px 18px; }
  .prof-row { flex-direction: column; gap: 12px !important; }
  #page-client-profile .card-p > .btn,
  #page-inf-profile .card-p > .btn { width: 100%; height: 46px; }

  .form-input, select.form-input, textarea.form-input { font-size: 16px; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 760px) {
  .prof-nav .prof-nav-item:not(.active):hover { background: var(--purple-light); }
}
