/* =====================================================
   Seleco RCP — landing page
   Modern, lightweight, no framework. Brand: indigo + violet.
   ===================================================== */

:root {
  --brand: #4F46E5;
  --brand-2: #7C3AED;
  --accent: #EC4899;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-dark-2: #1E293B;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #E2E8F0;
  --border: #E2E8F0;
  --green: #10B981;
  --yellow: #F59E0B;
  --red: #EF4444;
  --blue: #3B82F6;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(79, 70, 229, .25);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 18px;
}
.brand-name strong { color: var(--brand); font-weight: 800; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: var(--text-muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.links a:hover { color: var(--brand); }
.cta-mini {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 10px;
}
.cta-mini:hover { color: #fff !important; opacity: .9; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(1000px 600px at 80% -20%, rgba(124, 58, 237, .15), transparent 50%),
    radial-gradient(800px 500px at 0% 30%, rgba(79, 70, 229, .12), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text .badge {
  display: inline-block;
  background: rgba(79, 70, 229, .1);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px rgba(79, 70, 229, .35); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.trust span { white-space: nowrap; }

/* ===== HERO VISUAL (phone + laptop mockups) ===== */
.hero-visual {
  position: relative;
  height: 480px;
}
.phone {
  position: absolute;
  right: 0; top: 20px;
  width: 240px;
  height: 480px;
  background: #1F2937;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transform: rotate(4deg);
}
.phone-bar {
  height: 4px;
  width: 60px;
  background: #374151;
  border-radius: 999px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: linear-gradient(180deg, #F9FAFB, #F1F5F9);
  border-radius: 24px;
  height: calc(100% - 16px);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}
.ph-banner {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  padding: 8px 6px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.ph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.ph-btn {
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
}
.ph-btn small { font-weight: 400; font-size: 10px; opacity: .85; }
.ph-btn.green { background: var(--green); }
.ph-btn.red { background: var(--red); }
.ph-btn.yellow { background: var(--yellow); }
.ph-btn.blue { background: var(--blue); }
.ph-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.ph-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-muted);
}
.ph-foot {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

.laptop {
  position: absolute;
  left: -20px; top: 110px;
  width: 380px;
  z-index: 1;
  transform: rotate(-3deg);
}
.laptop-screen {
  background: #fff;
  border: 8px solid #1F2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.lp-bar {
  background: #F1F5F9;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.lp-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.lp-bar .dot.r { background: #EF4444; }
.lp-bar .dot.y { background: #F59E0B; }
.lp-bar .dot.g { background: #10B981; }
.lp-url {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
}
.lp-body {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
}
.lp-stat {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}
.lp-stat strong { font-size: 22px; color: var(--brand); display: block; }
.lp-stat span { font-size: 11px; color: var(--text-muted); }
.lp-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #F8FAFC;
}
.lp-name { font-weight: 600; }
.lp-status.ok { color: var(--green); }
.lp-status.break { color: var(--yellow); }
.lp-status.biz { color: var(--brand); }
.laptop-base {
  height: 8px;
  background: #1F2937;
  border-radius: 0 0 16px 16px;
  margin: -2px 20px 0;
}

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FEATURE GRID ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, .3);
}
.card .ico {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(124, 58, 237, .12));
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ===== PLATFORMS (dark) ===== */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section-dark h2, .section-dark .section-sub { color: var(--text-light); }
.section-dark .section-sub { color: #94A3B8; }
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plat {
  background: var(--bg-dark-2);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.plat-tag {
  display: inline-block;
  background: rgba(79, 70, 229, .25);
  color: #C7D2FE;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.plat-tag-alt {
  background: rgba(236, 72, 153, .25);
  color: #FBCFE8;
}
.plat h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.plat ul { list-style: none; }
.plat li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #CBD5E1;
  border-bottom: 1px solid #1E293B;
}
.plat li:last-child { border-bottom: none; }
.plat li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 700;
}

/* ===== HOW STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-lg);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; }
.step code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ===== PRICING ===== */
.section-soft { background: var(--bg-soft); }
.price-card { position: relative; text-align: center; }
.price-card.highlight {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.price { margin: 18px 0 24px; }
.price strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
}
.price span { color: var(--text-muted); margin-left: 4px; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.price-card li:last-child { border-bottom: none; }
.fineprint {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 24px;
}
.hw-note {
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(79, 70, 229, .08);
  border-left: 3px solid var(--brand);
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 0 18px;
  text-align: left;
  line-height: 1.5;
}
.hw-note strong { color: var(--text); }

/* ===== Pricing toggle (monthly vs one-time) ===== */
.price-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-sm);
}
.price-toggle-wrap { text-align: center; }
.price-toggle {
  display: flex;
  margin: 0 auto 32px;
  width: max-content;
}
.price-toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.price-toggle-btn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, .25);
}

.mb-3 { margin-bottom: 24px; }

.addon-row {
  margin: 24px auto 0;
  max-width: 720px;
  background: linear-gradient(135deg, rgba(236, 72, 153, .08), rgba(124, 58, 237, .08));
  border: 1px solid rgba(124, 58, 237, .25);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
}
.addon-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.addon-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 8px;
}
.addon-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}
.addon-foot {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.setup-row {
  margin: 32px auto 16px;
  max-width: 720px;
  background: #fff;
  border: 2px dashed var(--brand);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.setup-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.setup-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}

.pricing-notes {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.6;
}
.pricing-notes p { margin: 0 0 6px; }
.note-mark {
  display: inline-block;
  width: 18px;
  color: var(--accent);
  font-weight: 700;
}
.pricing-notes code {
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.self-host-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, .08), rgba(124, 58, 237, .08));
  border: 1px solid rgba(79, 70, 229, .2);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 760px;
  margin: 24px auto;
}
.self-host-box h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--text);
}
.self-host-box ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.self-host-box li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text);
  font-size: 14.5px;
}
.self-host-box li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.self-host-box strong { color: var(--brand); }
.self-host-foot {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* ===== CTA ===== */
.section-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 80px 0;
}
.cta-block { text-align: center; }
.cta-block h2 { color: #fff; }
.cta-block > p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: .92;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-tile {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  transition: background .15s, transform .15s;
  backdrop-filter: blur(8px);
}
.contact-tile:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}
.ct-ico {
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, .2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.ct-label {
  display: block;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 2px;
}
.ct-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.cta-note {
  margin-top: 32px;
  opacity: .8;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 56px 0 24px;
}
.site-footer .brand-name strong { color: #C7D2FE; }
.site-footer .brand { color: #fff; margin-bottom: 8px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #334155;
}
.footer-tag { color: #94A3B8; font-size: 14px; }
.site-footer h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94A3B8;
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer a { color: #CBD5E1; line-height: 2; }
.site-footer a:hover { color: #fff; }
.footer-bot {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 460px; max-width: 480px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .links a:not(.cta-mini) { display: none; }
}
@media (max-width: 640px) {
  .nav { height: 60px; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-card.highlight { transform: none; }
  .hero-visual { height: 420px; }
  .laptop { width: 320px; left: 0; }
  .phone { width: 200px; height: 400px; right: 10px; }
}
