:root {
  --brand-magenta: #e1147a;
  --brand-magenta-dark: #be123c;
  --brand-magenta-hover: #c20e66;
  --brand-blush-soft: #fff1f2;
  --brand-blush-border: #fecdd3;

  --white: #ffffff;
  --bg-canvas: #fafafb;
  --text-dark: #0f172a;
  --text-slate: #334155;
  --text-muted: #64748b;
  --border-light: #f1f5f9;
  --border-subtle: #e2e8f0;

  --service-green: #10b981;
  --service-green-bg: #ecfdf5;
  --service-green-border: #a7f3d0;

  --service-blue: #0284c7;
  --service-blue-bg: #f0f9ff;
  --service-blue-border: #bae6fd;

  --service-purple: #7c3aed;
  --service-purple-bg: #f5f3ff;
  --service-purple-border: #ddd6fe;

  --service-amber: #d97706;
  --service-amber-bg: #fffbeb;
  --service-amber-border: #fde68a;

  --service-rose: #f43f5e;
  --service-rose-bg: #fff1f2;
  --service-rose-border: #fecdd3;

  --service-indigo: #4f46e5;
  --service-indigo-bg: #eef2ff;
  --service-indigo-border: #c7d2fe;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 28px -4px rgba(225, 20, 122, 0.12);
  --shadow-btn: 0 4px 14px rgba(225, 20, 122, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

/* Alerts (App.showAlert) */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

/* SVG utility */
svg.icon-inline {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 1. Hot Pink Announcement Bar */
.promo-banner {
  background: linear-gradient(90deg, #e1147a 0%, #f43f5e 50%, #e1147a 100%);
  color: var(--white);
  text-align: center;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-pill {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 2. Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.brand-logo img {
  width: 26px;
  height: 26px;
  display: block;
}

.brand-logo svg {
  color: var(--brand-magenta);
  fill: var(--brand-magenta);
}

nav.nav-menu {
  display: flex;
  gap: 32px;
}

nav.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

nav.nav-menu a:hover {
  color: var(--brand-magenta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-slate);
  padding: 10px 18px;
  white-space: nowrap;
}

.btn-magenta-primary {
  background: var(--brand-magenta);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-magenta-primary:hover {
  background: var(--brand-magenta-hover);
  transform: translateY(-1px);
}

/* 3. Hero Section */
.hero-section {
  max-width: 1340px;
  margin: 0 auto;
  padding: 64px 6% 54px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.hero-text h1 .accent {
  background: linear-gradient(135deg, #e1147a 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p.subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-bonus-box {
  background: var(--brand-blush-soft);
  border: 1px solid var(--brand-blush-border);
  border-left: 4px solid var(--brand-magenta);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  font-weight: 600;
  color: #9f1239;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-secondary-white {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-secondary-white:hover {
  border-color: var(--brand-blush-border);
  color: var(--brand-magenta);
}

.hero-perks {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-slate);
  flex-wrap: wrap;
}

.hero-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-perks svg {
  color: var(--service-green);
  width: 15px;
  height: 15px;
}

.hero-preview-frame {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.hero-preview-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* 4. Trust Banner */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 6%;
  text-align: center;
}

.trust-strip p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.85;
}

/* 5. Section & 3x3 Services Grid */
.section-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 84px 6%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.services-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blush-border);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.service-card a.link-arrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-magenta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover a.link-arrow {
  gap: 9px;
}

/* 6. Process Strip */
.process-strip {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 6%;
}

.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1340px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-badge {
  width: 36px;
  height: 36px;
  background: var(--brand-blush-soft);
  color: var(--brand-magenta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  border: 1px solid var(--brand-blush-border);
}

.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 7. Footer */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 6% 30px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1340px;
  margin: 0 auto 40px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f8fafc;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-brand-desc {
  color: #94a3b8;
  font-size: 14px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Auth pages ===== */
body.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 1100px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

/* LEFT PANEL: Showcase & Service Grid */
.showcase-panel {
  padding: 44px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafb 100%);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-body {
  margin: 24px 0;
}

.showcase-body h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.showcase-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bonus-badge {
  background: var(--brand-blush-soft);
  border: 1px solid var(--brand-blush-border);
  border-left: 4px solid var(--brand-magenta);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  font-weight: 600;
  color: #9f1239;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.bonus-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

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

.feature-item {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  border-color: var(--brand-blush-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 20, 122, 0.06);
}

.feature-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.feature-icon-box svg {
  width: 16px;
  height: 16px;
}

.feature-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.showcase-footer {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.showcase-footer a {
  color: var(--brand-magenta);
  font-weight: 700;
  text-decoration: none;
}

.showcase-footer a:hover {
  text-decoration: underline;
}

/* RIGHT PANEL: Auth Form */
.form-panel {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-slate);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  pointer-events: none;
}

.input-field {
  width: 100%;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
}

.input-field:focus {
  background: var(--white);
  border-color: var(--brand-magenta);
  box-shadow: 0 0 0 3px rgba(225, 20, 122, 0.12);
}

.input-field::placeholder {
  color: #94a3b8;
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}

.btn-toggle-pwd:hover {
  color: var(--text-dark);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px;
  flex-wrap: wrap;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-slate);
  font-weight: 500;
}

.remember-me input[type="checkbox"] {
  accent-color: var(--brand-magenta);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.forgot-link {
  color: var(--brand-magenta);
  font-weight: 600;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-submit {
  background: var(--brand-magenta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-btn);
}

.btn-submit:hover {
  background: var(--brand-magenta-hover);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-slate);
  margin-top: 10px;
}

.auth-switch a {
  color: var(--brand-magenta);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.security-badge {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.security-badge svg {
  width: 15px;
  height: 15px;
  stroke: var(--service-green);
  fill: none;
  stroke-width: 2;
}

/* Password strength meter */
.password-strength-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
  height: 4px;
}

.strength-segment {
  flex: 1;
  background: var(--border-subtle);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.strength-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-slate);
  line-height: 1.4;
  margin-top: 2px;
  cursor: pointer;
}

.terms-row input[type="checkbox"] {
  accent-color: var(--brand-magenta);
  width: 15px;
  height: 15px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-row a {
  color: var(--brand-magenta);
  font-weight: 600;
  text-decoration: none;
}

.terms-row a:hover {
  text-decoration: underline;
}

/* Google sign-in (unhidden by app.js when enabled) */
.btn-google {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-google:hover {
  border-color: var(--brand-blush-border);
  color: var(--brand-magenta);
  text-decoration: none;
}

.btn-google img {
  width: 18px;
  height: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

footer.page-footer {
  text-align: center;
  padding: 18px 20px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: var(--white);
}

/* Responsive breakpoints */
@media (max-width: 1080px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .services-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .auth-card {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .showcase-panel {
    display: none;
  }
  .form-panel {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px 16px;
  }
  .btn-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .btn-magenta-primary {
    padding: 9px 14px;
    font-size: 13px;
  }
  nav.nav-menu {
    display: none;
  }
  .hero-text h1 {
    font-size: 34px;
  }
  .services-grid-3x3 {
    grid-template-columns: 1fr;
  }
  .process-grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 48px 6% 44px;
  }
  .section-wrap {
    padding: 64px 6%;
  }
  .showcase-panel {
    padding: 32px 24px;
  }
  .form-panel {
    padding: 34px 26px;
  }
}
