/* Public (unauthenticated) pages styling for ClipTwo.
   Keep it minimal and consistent with the admin shell. */

:root {
  --brand-primary: var(--ct-primary, #155eef);
  --brand-dark: var(--ct-dark, #0b1220);
  --brand-muted: var(--ct-muted, #64748b);
  --ss-bg: #0b1426;
  --ss-surface: #0f1e33;
  --ss-surface-2: rgba(255,255,255,0.08);
  --ss-border: rgba(255,255,255,0.14);
  --ss-text: rgba(255,255,255,0.92);
  --ss-text-muted: rgba(255,255,255,0.72);
}

body.public {
  background: #f5f6f8;
}

/* Login layout (ClipTwo uses body.login) */
body.login {
  background: linear-gradient(135deg, rgba(15, 30, 51, 0.96), rgba(27, 111, 255, 0.25));
}

.ss-auth {
  padding: 44px 0 56px;
}

.ss-auth-copy {
  color: rgba(255,255,255,0.92);
}

.ss-auth-title {
  margin: 14px 0 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ss-auth-subtitle {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 40rem;
  margin: 0;
}

.ss-auth-points {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-width: 32rem;
}

.ss-auth-point {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.ss-auth-point i {
  color: rgba(255,255,255,0.82);
}

.ss-auth-point span {
  color: rgba(255,255,255,0.80);
  font-weight: 600;
}

.ss-auth-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.35);
}

.ss-auth-card-header {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

/* Logo marks */

.ss-auth-card-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ss-auth-card-subtitle {
  color: rgba(15, 23, 42, 0.62);
  font-size: 13px;
  margin-top: 2px;
}

.ss-auth-card-body {
  padding: 18px;
}

.ss-auth-input {
  position: relative;
}

.ss-auth-input > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.45);
}

.ss-auth-input > .form-control {
  border-radius: 12px;
  padding-left: 44px;
  height: 46px;
}

.ss-auth-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.64);
}

.ss-auth-meta a {
  color: #155eef;
  font-weight: 700;
  text-decoration: none;
}

.ss-auth-meta a:hover,
.ss-auth-meta a:focus {
  text-decoration: underline;
}

.ss-auth .g-recaptcha > div {
  max-width: 100%;
}

.ss-auth .g-recaptcha iframe {
  max-width: 100%;
}

.ss-btn {
  border-radius: 12px;
  font-weight: 700;
}

.ss-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 700;
}

.ss-pill-muted {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.74);
  font-weight: 600;
}

.ss-nav {
  background:
    radial-gradient(1100px 420px at 20% 0%, rgba(27, 111, 255, 0.28), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(46, 204, 160, 0.18), transparent 55%),
    linear-gradient(160deg, #0b1426, #102142 55%, #0b1426);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* legacy raster logo class (no longer used in marketing) */
.ss-nav-logo {
  width: 34px;
  height: 34px;
}

.ss-nav-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ss-nav .nav-link {
  color: rgba(255,255,255,0.80);
  font-weight: 600;
}

.ss-nav .nav-link:hover,
.ss-nav .nav-link:focus {
  color: rgba(255,255,255,0.96);
}

.ss-nav-btn {
  border-radius: 999px;
  padding-left: 14px;
  padding-right: 14px;
  font-weight: 800;
}

.public-logo img {
  max-height: 56px;
  width: auto;
}

.public-card {
  border: 0;
  box-shadow: 0 18px 50px rgba(15, 30, 51, 0.22);
  border-radius: 10px;
  overflow: hidden;
}

.public-card .public-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.public-card .public-card-body {
  padding: 22px;
  background: #fff;
}

.public-card .form-control {
  border-radius: 0.85rem;
}

.public-card .input-icon {
  position: relative;
  display: block;
}
.public-card .input-icon > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.45);
}
.public-card .input-icon > .form-control {
  padding-left: 42px;
}

.public-help {
  color: var(--brand-muted);
  font-size: 13px;
}

/* Marketing */
.ss-hero {
  padding: 56px 0 44px;
  background:
    radial-gradient(1200px 450px at 20% 10%, rgba(27, 111, 255, 0.22), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(46, 204, 160, 0.18), transparent 55%),
    linear-gradient(160deg, #0b1426, #122647 55%, #0b1426);
  color: #fff;
}

.ss-hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ss-hero-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 14px;
  line-height: 1.05;
}

.ss-hero-subtitle {
  color: var(--ss-text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 44rem;
  margin-top: 14px;
}

.ss-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,0.38);
}

.ss-hero-card-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.ss-hero-card-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ss-hero-card-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  margin-top: 2px;
}

.ss-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.ss-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ss-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px 10px;
}

.ss-metric-value {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ss-metric-label {
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  margin-top: 2px;
}

.ss-section {
  padding: 56px 0;
  background: #f5f6f8;
}

.ss-section-muted {
  background: #eef2f7;
}

.ss-section-header {
  margin-bottom: 22px;
}

.ss-section-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.ss-section-subtitle {
  color: #4b5563;
  line-height: 1.7;
  margin-top: 10px;
  margin-bottom: 0;
}

.ss-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(15, 30, 51, 0.08);
  padding: 18px 18px 16px;
  height: 100%;
}

.ss-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 94, 239, 0.10);
  color: #155eef;
  font-size: 18px;
}

.ss-card-title {
  margin: 14px 0 6px;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
}

.ss-card-text {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.ss-steps {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #111827;
}

.ss-steps li {
  margin: 10px 0;
}

.ss-step-title {
  display: block;
  font-weight: 900;
}

.ss-step-text {
  display: block;
  color: #4b5563;
  margin-top: 3px;
}

.ss-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ss-grid-item {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(15, 30, 51, 0.06);
}

.ss-grid-title {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.ss-grid-text {
  color: #4b5563;
  line-height: 1.7;
  margin-top: 6px;
}

.ss-cta {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(21, 94, 239, 0.12), rgba(46, 204, 160, 0.12));
  border: 1px solid rgba(17, 24, 39, 0.10);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ss-cta-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.ss-cta-text {
  color: #4b5563;
  margin-top: 8px;
}

.ss-footer {
  background: #0b1426;
  color: rgba(255,255,255,0.92);
  padding: 44px 0;
}

/* legacy raster logo class (no longer used in marketing) */
.ss-footer-logo {
  width: 30px;
  height: 30px;
}

.ss-auth-logo {
  width: 34px;
  height: 34px;
}

.ss-footer-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.ss-footer-muted,
.ss-footer a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  text-decoration: none;
}

.ss-footer a:hover,
.ss-footer a:focus {
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
}

.ss-footer-links li {
  margin-bottom: 8px;
}

.ss-footer-divider {
  border-color: rgba(255,255,255,0.10);
  margin: 22px 0 18px;
}

@media (max-width: 575.98px) {
  .ss-hero-title { font-size: 2.1rem; }
  .ss-hero-metrics { grid-template-columns: 1fr; }
  .ss-grid { grid-template-columns: 1fr; }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .ss-hero-title { font-size: 2.7rem; }
}

@media (min-width: 992px) {
  .ss-hero-title { font-size: 3.25rem; }
}
