:root {
  --bg: #090e1a;
  --bg-secondary: #0f172a;
  --bg-card: #131e36;
  --ink: #f8fafc;
  --ink-muted: #94a3b8;
  --ink-subtle: #64748b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  
  --navy: #0b1329;
  --navy-800: #070d1d;
  --blue: #1c9ad6;
  --blue-light: #38bdf8;
  --blue-dark: #0284c7;
  --pink: #ed1e79;
  --pink-dark: #be123c;
  --purple: #8b5cf6;
  --green: #10b981;

  --paper: #ffffff;
  --paper-ink: #0f172a;
  --paper-muted: #64748b;
  --paper-line: #e2e8f0;

  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(28, 154, 214, 0.25);
  --shadow-pink: 0 0 40px rgba(237, 30, 121, 0.25);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.landing {
  min-height: 100vh;
}

/* ==========================================
   HERO SECTION & TOPBAR
   ========================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px clamp(20px, 5vw, 64px) 80px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(237, 30, 121, 0.22), transparent 60%),
    radial-gradient(1100px 600px at 15% 10%, rgba(28, 154, 214, 0.28), transparent 60%),
    linear-gradient(180deg, #070d1d 0%, #0d172e 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  position: relative;
  z-index: 10;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.logo span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.logo span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: #ffffff;
}

.btn-topbar {
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(28, 154, 214, 0.3);
}

.btn-topbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 154, 214, 0.45);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 450px);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(28, 154, 214, 0.12);
  border: 1px solid rgba(28, 154, 214, 0.3);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #ffffff;
}

.lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
}

.metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.metric-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================
   SIGNUP FORM CARD
   ========================================== */

.signup-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--paper-ink);
  letter-spacing: -0.02em;
}

.card-header p {
  color: var(--paper-muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* PLAN PICKER FIELDSET & RADIO OPTIONS */
.plan-picker {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.plan-picker legend {
  padding: 0;
  margin-bottom: 8px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  display: block;
  width: 100%;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.plan-option {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border: 1.5px solid var(--paper-line) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  user-select: none;
}

.plan-option:hover {
  border-color: var(--blue) !important;
  background: #f0f9ff !important;
}

.plan-option.selected {
  border-color: var(--blue) !important;
  background: #f0f9ff !important;
  box-shadow: 0 4px 16px rgba(28, 154, 214, 0.16) !important;
}

.plan-option.is-popular {
  border-color: var(--pink) !important;
}

.plan-option.selected.is-popular {
  background: #fff5f9 !important;
  box-shadow: 0 4px 16px rgba(237, 30, 121, 0.16) !important;
}

.plan-option input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 3px 0 0 0 !important;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0 !important;
}

.plan-option-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  min-width: 0;
}

.plan-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.plan-option-head strong {
  color: var(--paper-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-option-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--blue-dark);
  white-space: nowrap;
}

.plan-option-price small {
  font-size: 0.74rem;
  color: var(--paper-muted);
  font-weight: 600;
}

.plan-option-desc {
  color: var(--paper-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.plan-option-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0369a1;
  background: rgba(2, 132, 199, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
  width: fit-content;
}

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

.form-group label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.signup-card input {
  min-height: 46px;
  width: 100%;
  border: 1.5px solid var(--paper-line);
  border-radius: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  color: var(--paper-ink);
  outline: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.signup-card input:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 154, 214, 0.15);
}

.input-prefix-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--paper-line);
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  transition: all 0.2s ease;
}

.input-prefix-wrapper:focus-within {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 154, 214, 0.15);
}

.input-prefix-wrapper .prefix {
  padding: 0 12px;
  color: var(--paper-muted);
  font-size: 0.88rem;
  font-weight: 700;
  background: #e2e8f0;
  height: 46px;
  display: flex;
  align-items: center;
  user-select: none;
}

.input-prefix-wrapper input {
  border: none;
  border-radius: 0;
  background: transparent;
}

.input-prefix-wrapper input:focus {
  box-shadow: none;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: white;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(237, 30, 121, 0.35);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(237, 30, 121, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

.security-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--paper-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features-section {
  width: min(1240px, calc(100% - 40px));
  margin: 90px auto 40px;
}

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

.eyebrow {
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--ink-muted);
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 154, 214, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.icon-blue { background: rgba(28, 154, 214, 0.15); color: var(--blue-light); }
.icon-pink { background: rgba(237, 30, 121, 0.15); color: #f472b6; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }
.icon-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   WORKFLOW SECTION
   ========================================== */

.workflow {
  width: min(1240px, calc(100% - 40px));
  margin: 100px auto;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(237, 30, 121, 0.2) 0%, rgba(28, 154, 214, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
}

.step-line {
  height: 2px;
  flex-grow: 1;
  margin-left: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent);
}

.workflow-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.workflow-step p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   PRICING SHOWCASE SECTION
   ========================================== */

.pricing-showcase {
  width: min(1240px, calc(100% - 40px));
  margin: 100px auto 60px;
}

.landing-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.showcase-card.is-popular {
  border: 2px solid var(--pink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), var(--shadow-pink);
  background: linear-gradient(180deg, #161e38 0%, #1e1630 100%);
}

.showcase-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.badge-popular {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
}

.badge-savings {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.showcase-card-head h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.showcase-card-head p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 2.8em;
}

.showcase-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}

.price-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.price-cycle {
  font-size: 1rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(28, 154, 214, 0.2);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.showcase-card.is-popular .check-icon {
  background: rgba(237, 30, 121, 0.2);
  color: #f472b6;
}

.showcase-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-card.is-popular .showcase-btn {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(237, 30, 121, 0.35);
}

.showcase-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.showcase-card.is-popular .showcase-btn:hover {
  box-shadow: 0 10px 28px rgba(237, 30, 121, 0.5);
}

/* ==========================================
   CONFIRMATION PANEL
   ========================================== */

.links-panel {
  width: min(1240px, calc(100% - 40px));
  margin: 40px auto;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 2px solid var(--green);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.panel-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--green);
  margin-bottom: 20px;
}

.panel-badge h2 {
  color: #ffffff;
  font-size: 1.5rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
}

.link-card span {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-light);
  letter-spacing: 0.05em;
}

.link-card a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;

}

.link-card small {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.landing-footer {
  border-top: 1px solid var(--line);
  background: #050914;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-container {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 360px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1240px, 100%);
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink-subtle);
  font-size: 0.85rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

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

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .step-line {
    display: none;
  }

  .topbar-actions {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
