/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --bg: #0f0b15;
  --surface: #181224;
  --surface-strong: #211830;
  --text: #f9f5ff;
  --muted: #b9abc9;
  --accent: #ff2d6f;
  --accent-strong: #ff0b58;
  --line: #332644;
  --radius: 1.1rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1230 0%, var(--bg) 35%, #0a0810 100%);
  color: var(--text);
  line-height: 1.5;
}

body.native-app-lock {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
}

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

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.section {
  padding: 4rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  margin-top: 0.6rem;
}

h2 {
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  color: #ff8eb2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(10, 8, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.desktop-nav {
  display: none;
}

.mobile-nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.55rem;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #f4ecff;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 45, 111, 0.8);
  backdrop-filter: blur(9px) saturate(0.75);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(21rem, 88vw);
  height: 100%;
  background: linear-gradient(160deg, rgba(36, 26, 54, 0.99), rgba(10, 7, 16, 0.99));
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 35px rgba(0, 0, 0, 0.5);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-close {
  align-self: flex-end;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  padding: 0.35rem 0.8rem;
}

.mobile-nav-brand {
  font-size: 1.2rem;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.mobile-nav-links .btn {
  width: 100%;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-nav {
  height: 1.55rem;
}

.brand-logo-hero {
  height: clamp(2.4rem, 7vw, 3.4rem);
  margin-bottom: 0.7rem;
}

.brand-logo-auth {
  height: 2.2rem;
  margin-bottom: 0.7rem;
}

.brand-logo-footer {
  height: 1.3rem;
}

.nav-links,
.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.hero {
  text-align: left;
  padding-top: 5.5rem;
}

.subheadline {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  color: var(--text);
  opacity: 0.95;
}

.hero-body {
  margin-top: 1.3rem;
  max-width: 38rem;
  font-size: 1.06rem;
}

.breakup-case-intro {
  margin-bottom: 1.2rem;
}

.breakup-case-form {
  margin-top: 0.4rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.hook-bar {
  background: rgba(255, 45, 111, 0.09);
  border-top: 1px solid rgba(255, 45, 111, 0.4);
  border-bottom: 1px solid rgba(255, 45, 111, 0.4);
}

.hook-bar p {
  text-align: center;
  padding: 1.1rem 0;
  color: #ffd7e5;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1rem;
}

.three-up,
.styles-grid,
.pricing-grid {
  grid-template-columns: 1fr;
}

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.card p {
  font-size: 0.98rem;
}

.style-card h3 {
  margin: 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: visible;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 45, 111, 0.25), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.popular-badge {
  display: inline-flex;
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 111, 0.45);
  background: linear-gradient(145deg, rgba(82, 30, 62, 0.95), rgba(47, 20, 43, 0.95));
  color: #ffc1d6;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.price {
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
}

.faq .faq-list {
  display: grid;
  gap: 0.8rem;
}

.final-cta {
  padding-top: 1rem;
}

.final-cta-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2.2rem 1.2rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 45, 111, 0.16), rgba(255, 45, 111, 0.04));
}

.final-cta-card p {
  margin: 0.7rem 0 1.2rem;
  color: #ffe8f0;
  font-size: 1.12rem;
}

.disclaimer-wrap {
  padding-bottom: 2rem;
}

.disclaimer {
  color: #d2bfdc;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 2rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  color: #dbcde7;
  font-size: 0.95rem;
}

.footer-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d8cce5;
  font-size: 0.92rem;
}

.system-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  display: inline-block;
}

.system-dot--ok {
  background: #66d993;
  box-shadow: 0 0 0 4px rgba(102, 217, 147, 0.15);
}

.system-dot--warn {
  background: #ffb257;
  box-shadow: 0 0 0 4px rgba(255, 178, 87, 0.15);
}

.checkout-placeholder {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.2rem;
}

.checkout-card {
  width: min(640px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 2rem;
}

.checkout-card h1 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin: 0.5rem 0 0.8rem;
}

.checkout-card p {
  margin-bottom: 1.2rem;
}

@media (min-width: 720px) {
  .desktop-nav {
    display: block;
  }

  .mobile-nav-toggle,
  .mobile-nav-overlay {
    display: none;
  }

  .section {
    padding: 5.5rem 0;
  }

  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .styles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .faq .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
}

label {
  color: #efe6f7;
}

.auth-page {
  min-height: calc(100vh - 2rem);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}

.auth-card {
  width: min(520px, 100%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.auth-card h1 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  margin-top: 0.35rem;
}

.auth-subtitle {
  margin-top: 0.35rem;
  margin-bottom: 1.1rem;
}

.auth-form .field {
  margin-bottom: 0.2rem;
}

.auth-hint {
  margin: 0.2rem 0 0.35rem;
  font-size: 0.85rem;
}

.auth-inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.45rem 0 1rem;
}

.auth-inline input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent);
}

.auth-inline label {
  margin: 0;
  font-size: 0.95rem;
}

.auth-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.auth-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-links a {
  color: #f8c9da;
  font-size: 0.95rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-sent {
  color: #8ce3b3;
  border-color: rgba(140, 227, 179, 0.45);
  background: rgba(140, 227, 179, 0.1);
}

.status-failed {
  color: #ff9bb8;
  border-color: rgba(255, 155, 184, 0.45);
  background: rgba(255, 155, 184, 0.1);
}

.status-queued {
  color: #ffd58a;
  border-color: rgba(255, 213, 138, 0.45);
  background: rgba(255, 213, 138, 0.1);
}

.status-not-sent {
  color: #cab8dc;
  border-color: rgba(202, 184, 220, 0.45);
  background: rgba(202, 184, 220, 0.08);
}

.status-active {
  color: #8ce3b3;
  border-color: rgba(140, 227, 179, 0.45);
  background: rgba(140, 227, 179, 0.1);
}

.status-suspended {
  color: #ff9bb8;
  border-color: rgba(255, 155, 184, 0.45);
  background: rgba(255, 155, 184, 0.1);
}

.status-confirmed {
  color: #7ee6ff;
  border-color: rgba(126, 230, 255, 0.45);
  background: rgba(126, 230, 255, 0.1);
}

.status-unconfirmed {
  color: #ffd58a;
  border-color: rgba(255, 213, 138, 0.45);
  background: rgba(255, 213, 138, 0.1);
}

.admin-action-row {
  margin: 0.35rem 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-row {
  margin: 0.55rem 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #e9ddf4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.meta-icon {
  opacity: 0.9;
}

.message-review-shell {
  position: relative;
}

.credit-bank {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  border: 1px solid rgba(255, 45, 111, 0.45);
  background: linear-gradient(145deg, rgba(38, 27, 57, 0.95), rgba(16, 11, 24, 0.95));
  border-radius: 0.9rem;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.credit-bank-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffc1d6;
}

.credit-bank-value {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 720px) {
  .credit-bank {
    position: sticky;
    top: 5.2rem;
    float: right;
    margin-left: 0.8rem;
    margin-bottom: 0.6rem;
  }
}
