:root {
  --bg: #eef1f6;
  --bg-2: #e6eaf2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #14161c;
  --muted: #697188;
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.14);
  --hairline: rgba(255, 255, 255, 0.6);
  --blue: #0a6cf1;
  --blue-dark: #064fbd;
  --violet: #6d5cf0;
  --accent-grad: linear-gradient(135deg, #0a6cf1 0%, #4f7bf5 50%, #6d5cf0 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(10,108,241,0.12), rgba(109,92,240,0.12));
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.10);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08), 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.12), 0 8px 20px rgba(17, 24, 39, 0.06);
  --ring: 0 0 0 3px rgba(10, 108, 241, 0.28);
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 600px at 12% 4%, rgba(10, 108, 241, 0.14), transparent 55%),
    radial-gradient(900px 600px at 92% 6%, rgba(109, 92, 240, 0.12), transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}
::selection {
  background: rgba(10, 108, 241, 0.22);
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}
a {
  color: inherit;
}
.auth-page {
  min-height: 100vh;
  padding: 28px;
}
.hero {
  max-width: 1180px;
  margin: 0 auto;
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo,
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
}
.logo span,
.brand-link span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 8px 20px rgba(10, 108, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav-links a.is-active {
  color: var(--text);
  font-weight: 700;
}
.nav-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: white !important;
  box-shadow: 0 10px 24px rgba(10, 108, 241, 0.32);
  font-weight: 700;
}
.hero-grid {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.1fr 420px;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 740px;
}
.feature-row div {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.42));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}
.feature-row strong,
.feature-row span {
  display: block;
}
.feature-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.auth-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.28)),
    var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 30px;
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 1px solid var(--hairline);
  pointer-events: none;
  mask: linear-gradient(180deg, #000, transparent 40%);
}
.card-head h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.card-head p {
  margin: 8px 0 24px;
  color: var(--muted);
}
.google-btn,
.primary-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: white;
  border: 1px solid var(--line);
}
.google-btn span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f2f2;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
}
.auth-form input:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--blue);
}
.primary-btn {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 10px 26px rgba(10, 108, 241, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.primary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.primary-btn:hover::after {
  left: 130%;
}
.switch {
  text-align: center;
  color: var(--muted);
}
.switch a {
  color: var(--blue);
  font-weight: 700;
}
.notice {
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.notice.error {
  color: #8a1f11;
  background: #ffe8e4;
}
.notice.success {
  color: #135c2f;
  background: #ddf8e8;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.captcha-wrap {
  display: grid;
  gap: 8px;
}

.captcha-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.captcha-wrap .cf-turnstile,
.captcha-wrap .g-recaptcha {
  min-height: 65px;
}

.captcha-wrap .g-recaptcha {
  display: flex;
  justify-content: center;
}

.notice code {
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.08);
  font-size: 0.85em;
}

.captcha-disclaimer {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.captcha-disclaimer a {
  color: var(--muted);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .auth-card {
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .auth-page {
    padding: 18px;
  }
  .nav {
    align-items: flex-start;
    height: auto;
    gap: 18px;
  }
  .hero-copy h1 {
    font-size: 3.1rem;
  }
  .lead {
    font-size: 1.05rem;
  }
  .nav-links {
    gap: 8px;
  }
}
.google-link {
  text-decoration: none;
  color: var(--text);
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
}

.cookie-banner-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  backdrop-filter: blur(20px);
}

.cookie-copy {
  min-width: 0;
}

.cookie-copy strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-manage-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 998;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  cursor: pointer;
}

@media (max-width: 760px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 18px;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-actions button {
    width: 100%;
  }

  .cookie-manage-btn {
    right: 12px;
    bottom: 12px;
  }
}

.cookie-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.cookie-panel.cookie-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-card {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.14);
  backdrop-filter: blur(20px);
}

.cookie-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10, 108, 241, 0.3);
}

.cookie-content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.cookie-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-secondary,
.cookie-primary {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  border: 0;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cookie-secondary {
  background: rgba(0,0,0,0.06);
  color: var(--text);
}

.cookie-primary {
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 8px 20px rgba(10, 108, 241, 0.3);
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}

.cookie-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 998;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  cursor: pointer;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17,17,19,0.38);
}

.share-modal-card {
  width: min(680px, 100%);
  padding: 26px;
  border-radius: 28px;
}

.share-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.share-modal-head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.share-modal-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.share-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 22px;
}

.share-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.share-input-row input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255,255,255,0.9);
  color: var(--text);
}

@media (max-width: 760px) {
  .cookie-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .share-input-row {
    grid-template-columns: 1fr;
  }
}

.legal-links {
  margin-top: 28px;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.legal-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

/* ============ Premium micro-animations (auth) ============ */

@keyframes ws-auth-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .auth-card,
  .hero-copy,
  .feature-row div {
    animation: ws-auth-fade 0.55s ease both;
  }

  .feature-row div:nth-child(2) { animation-delay: 0.08s; }
  .feature-row div:nth-child(3) { animation-delay: 0.16s; }
}

.google-btn,
.primary-btn,
.cookie-primary,
.cookie-secondary,
.nav-pill,
.legal-links a {
  transition: transform 0.16s ease, box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.primary-btn:hover,
.nav-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 113, 227, 0.28);
}

.google-btn:hover,
.cookie-primary:hover,
.cookie-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.primary-btn:active,
.google-btn:active,
.nav-pill:active,
.cookie-primary:active,
.cookie-secondary:active {
  transform: translateY(0) scale(0.98);
}

.auth-card,
.feature-row div {
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.feature-row div:hover {
  transform: translateY(-3px);
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.brand-link .brand-logo {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

.brand-link span {
  transition: transform 0.4s ease;
}

.brand-link:hover span {
  transform: rotate(18deg) scale(1.1);
}

/* ============ Pricing page ============ */

.pricing-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.pricing-nav {
  margin-bottom: 24px;
}

.pricing-hero {
  padding: 32px 34px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.pricing-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.pricing-hero .hero-copy {
  margin: 0 0 18px;
  max-width: 680px;
}

.pricing-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.pricing-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-ok {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.dot-no {
  background: #cbd5e1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.pricing-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card.is-featured {
  border-color: rgba(10, 108, 241, 0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82)),
    var(--accent-grad-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.is-current {
  outline: 2px solid rgba(10, 108, 241, 0.22);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  background: var(--accent-grad);
}

.pricing-badge-current {
  right: auto;
  left: 16px;
  background: rgba(22, 163, 74, 0.92);
}

.pricing-card-head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-big {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-features {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.45;
}

.pricing-feature:last-child {
  border-bottom: 0;
}

.feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-feature-ok .feature-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.pricing-feature-no {
  color: var(--muted);
}

.pricing-feature-no .feature-icon {
  background: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

.pricing-card-foot form {
  margin: 0;
}

.pricing-card-foot .primary-btn,
.pricing-card-foot .soft-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing-compare {
  padding: 28px 30px;
  border-radius: var(--radius);
}

.pricing-compare h2 {
  margin: 0 0 16px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table tbody tr:hover {
  background: rgba(10, 108, 241, 0.04);
}

.compare-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.is-featured {
    transform: none;
  }
}

