/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.marketing {
  --mkt-bg: #05070d;
  --mkt-panel: rgba(255, 255, 255, 0.06);
  --mkt-panel-strong: rgba(255, 255, 255, 0.09);
  --mkt-text: rgba(255, 255, 255, 0.92);
  --mkt-muted: rgba(255, 255, 255, 0.70);
  --mkt-border: rgba(255, 255, 255, 0.12);
  --mkt-accent: #7c3aed;
  --mkt-accent-2: #22c55e;
  --mkt-danger: #fb7185;
  --mkt-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  --mkt-radius: 18px;
  --mkt-radius-sm: 12px;
  --mkt-max: 1120px;

  margin: 0;
  color: var(--mkt-text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(1000px 600px at 80% 20%, rgba(34, 197, 94, 0.14), transparent 55%),
    radial-gradient(900px 500px at 60% 80%, rgba(59, 130, 246, 0.18), transparent 60%),
    var(--mkt-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

.marketing * {
  box-sizing: border-box;
}

.mkt-container {
  max-width: var(--mkt-max);
  margin: 0 auto;
  padding: 0 20px;
}

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 13, 0.6);
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mkt-text);
}

.mkt-brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.mkt-brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.mkt-nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mkt-nav__links a {
  color: var(--mkt-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.mkt-nav__links a:hover {
  color: var(--mkt-text);
  background: rgba(255, 255, 255, 0.06);
}

.mkt-hero {
  padding: 64px 0 22px;
}

.mkt-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.mkt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--mkt-border);
  color: var(--mkt-muted);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.mkt-h1 {
  margin: 16px 0 10px;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mkt-h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
}

.mkt-lead {
  margin: 0;
  font-size: 18px;
  color: var(--mkt-muted);
  max-width: 60ch;
}

.mkt-subtitle {
  margin: 0 0 24px;
  color: var(--mkt-muted);
  max-width: 70ch;
}

.mkt-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--mkt-border);
  text-decoration: none;
  font-weight: 800;
  color: var(--mkt-text);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  min-height: 44px;
}

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

.mkt-btn--primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(59, 130, 246, 0.9));
  border-color: rgba(124, 58, 237, 0.55);
}

.mkt-btn--secondary {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.18));
  border-color: rgba(34, 197, 94, 0.35);
}

.mkt-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.mkt-meta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mkt-meta__item {
  background: var(--mkt-panel);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-sm);
  padding: 14px 14px 12px;
}

.mkt-meta__kpi {
  font-weight: 900;
  font-size: 16px;
}

.mkt-meta__label {
  margin-top: 4px;
  color: var(--mkt-muted);
  font-weight: 650;
  font-size: 13px;
}

.mkt-hero__visual {
  display: flex;
  justify-content: center;
}

.mkt-phone {
  width: 100%;
  max-width: 340px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--mkt-shadow);
  overflow: hidden;
}

.mkt-phone__top,
.mkt-phone__bottom {
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
}

.mkt-phone__screen {
  padding: 22px 18px 18px;
}

.mkt-phone__logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.mkt-phone__logo img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: block;
}

.mkt-phone__title {
  margin-top: 14px;
  font-weight: 900;
  font-size: 20px;
}

.mkt-phone__buttons {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.mkt-pill {
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.mkt-pill--ok {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.35);
}

.mkt-pill--help {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.32);
}

.mkt-pill--notok {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.30);
}

.mkt-section {
  padding: 56px 0;
}

.mkt-section--alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mkt-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkt-card {
  background: var(--mkt-panel);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 18px 18px 16px;
}

.mkt-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

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

.mkt-steps {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.mkt-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--mkt-radius);
  border: 1px solid var(--mkt-border);
  background: rgba(255, 255, 255, 0.04);
}

.mkt-step__n {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.mkt-step__t {
  font-weight: 900;
}

.mkt-step__p {
  color: var(--mkt-muted);
  margin-top: 4px;
}

.mkt-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.mkt-panel {
  background: var(--mkt-panel-strong);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 18px;
}

.mkt-panel__title {
  font-weight: 900;
  font-size: 18px;
}

.mkt-panel__body {
  margin-top: 8px;
  color: var(--mkt-muted);
}

.mkt-panel__cta {
  margin-top: 14px;
}

.mkt-inline-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mkt-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--mkt-border);
  background: rgba(255, 255, 255, 0.05);
}

.mkt-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mkt-page {
  padding: 42px 0 66px;
}

.mkt-prose {
  max-width: 78ch;
}

.mkt-prose--wide {
  max-width: 92ch;
}

.mkt-prose h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.6vw, 42px);
  letter-spacing: -0.03em;
}

.mkt-prose h2 {
  margin-top: 26px;
  font-size: 20px;
}

.mkt-prose p,
.mkt-prose li {
  color: var(--mkt-muted);
}

.mkt-prose a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.mkt-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--mkt-muted);
}

.mkt-support-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  padding: 18px;
  border-radius: var(--mkt-radius);
  border: 1px solid var(--mkt-border);
  background: rgba(255, 255, 255, 0.04);
}

.mkt-support-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mkt-footer {
  margin-top: 30px;
  border-top: 1px solid var(--mkt-border);
  background: rgba(0, 0, 0, 0.2);
}

.mkt-footer__grid {
  padding: 26px 20px 10px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.mkt-footer__logo img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: block;
}

.mkt-footer__tagline {
  margin-top: 10px;
  color: var(--mkt-muted);
  font-weight: 650;
}

.mkt-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.mkt-footer__links a {
  color: var(--mkt-muted);
  text-decoration: none;
  font-weight: 750;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.mkt-footer__links a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
}

.mkt-footer__bottom {
  padding: 14px 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mkt-footer__note {
  text-align: right;
}

@media (max-width: 920px) {
  .mkt-hero__grid,
  .mkt-split,
  .mkt-footer__grid {
    grid-template-columns: 1fr;
  }

  .mkt-hero {
    padding-top: 44px;
  }

  .mkt-hero__visual {
    order: -1;
  }

  .mkt-cards {
    grid-template-columns: 1fr;
  }

  .mkt-cards--2 {
    grid-template-columns: 1fr;
  }

  .mkt-footer__note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .mkt-nav__links {
    gap: 6px;
  }

  .mkt-nav__links a {
    padding: 8px 8px;
  }

  .mkt-meta {
    grid-template-columns: 1fr;
  }

  .mkt-support-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .mkt-footer__links {
    grid-template-columns: 1fr;
  }
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 20px;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(800px 420px at 85% 10%, rgba(59, 130, 246, 0.18), transparent 55%),
    #05070d;
  color: #e5e7eb;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.admin-card {
  width: 92vw;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.admin-brand__title {
  font-weight: 800;
  font-size: 16px;
}

.admin-brand__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 12px;
}

.admin-title {
  margin: 18px 0 6px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.admin-subtitle {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.65);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-field {
  display: grid;
  gap: 6px;
}

.admin-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.admin-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 18, 0.8);
  color: #f8fafc;
  padding: 11px 12px;
  font-size: 15px;
}

.admin-input:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.admin-check__label {
  margin: 0;
}

.admin-btn {
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(59, 130, 246, 0.9));
  cursor: pointer;
}

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

.admin-links {
  margin-top: 16px;
}

.admin-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 700;
}

.admin-links a:hover {
  color: #ffffff;
}

.admin-card .error_explanation {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.admin-card .error_explanation h2 {
  font-size: 14px;
  margin: 0 0 6px;
}

.admin-card .error_explanation ul {
  margin: 0;
  padding-left: 18px;
}
