/*
Theme Name: IdLink Landing
Theme URI: https://idlink.com.ar/
Author: IdLink
Description: Landing editable para vender perfiles digitales IdLink.
Version: 1.0.0
Text Domain: idlink-landing
*/

*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue1: #00c6ff;
  --blue2: #0072ff;
  --blue3: #005bd4;
  --blue4: #003a8c;
  --white: #ffffff;
  --off: #f4f8ff;
  --text: #0a1628;
  --muted: #4a6080;
  --border: #dbe8f8;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
}

html { scroll-behavior: smooth; }

body.idlink-landing {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.idlink-landing img { max-width: 100%; height: auto; }
.idlink-landing a { transition: background .15s, color .15s, opacity .15s; }
.idlink-landing button { font: inherit; }

/* Top bar and navigation */
.topbar { background: var(--blue4); color: var(--white); text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 500; }
.topbar strong { color: var(--blue1); }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; border-bottom: 1px solid var(--border); background: var(--white); }
.logo-wrap { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo-img { width: 44px; height: 44px; object-fit: contain; }
.logo-mark { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--white); background: linear-gradient(135deg, var(--blue1), var(--blue2)); font-size: 16px; font-weight: 900; letter-spacing: -.8px; }
.logo-text { font-size: 20px; line-height: 1.1; font-weight: 800; letter-spacing: -.5px; }
.logo-text span { color: var(--blue2); }
.logo-sub { font-size: 11px; color: var(--muted); line-height: 1; font-style: italic; }
.nav-cta { background: var(--blue2); color: var(--white); border: 0; border-radius: var(--r-md); padding: 11px 22px; font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-cta:hover { background: var(--blue3); color: var(--white); }

/* Hero */
.hero { padding: 72px 20px 60px; text-align: center; background: var(--white); }
.hero-badge { display: inline-block; background: var(--off); color: var(--blue3); font-size: 12px; font-weight: 700; padding: 6px 16px; border: 1px solid var(--border); border-radius: 999px; margin-bottom: 22px; text-transform: uppercase; letter-spacing: .04em; }
.hero h1 { margin: 0 0 18px; color: var(--text); font-size: clamp(28px, 5.5vw, 46px); font-weight: 900; line-height: 1.15; letter-spacing: -.8px; }
.hero h1 em { color: var(--blue2); font-style: normal; }
.hero p { max-width: 520px; margin: 0 auto 34px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-logo { display: flex; justify-content: center; margin-bottom: 32px; }
.hero-logo .logo-img { width: 140px; height: 140px; }
.hero-logo .logo-mark { width: 110px; height: 110px; border-radius: 28px; font-size: 38px; }
.price-hero { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 8px; }
.price-big { color: var(--text); font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.price-per { color: var(--muted); font-size: 15px; }
.price-equiv { display: inline-block; margin-bottom: 32px; padding: 5px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--blue3); background: var(--off); font-size: 13px; font-weight: 600; }
.btn-hero { display: inline-block; width: 100%; max-width: 420px; padding: 20px 44px; border: 0; border-radius: var(--r-lg); color: var(--white); background: var(--blue2); font-size: 18px; font-weight: 800; letter-spacing: -.2px; text-align: center; text-decoration: none; }
.btn-hero:hover { color: var(--white); background: var(--blue3); }
.btn-wa-hero { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--blue2); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn-wa-hero:hover { color: var(--blue3); }
.slots-warn { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 7px 16px; border: 1px solid #f0c040; border-radius: 999px; color: #6b3a00; background: #fff3cd; font-size: 13px; font-weight: 600; }
.dot-gold { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #f0a500; }

/* Contact strip */
.wa-float { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border-top: 2px solid var(--blue2); border-bottom: 2px solid var(--blue1); color: var(--white); background: var(--blue4); }
.wa-float-overline { margin-bottom: 2px; color: #b0c8e8; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.wa-float-num { color: var(--blue1); font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.wa-float-sub { font-size: 12px; opacity: .75; }
.wa-float-btn { margin-left: auto; padding: 10px 20px; border: 0; border-radius: var(--r-md); color: var(--blue4); background: var(--blue1); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.wa-float-btn:hover { color: var(--blue4); background: var(--white); }

/* Shared section styles */
.section { padding: 60px 20px; }
.container { max-width: 740px; margin: 0 auto; }
.sec-label { margin: 0 0 8px; color: var(--blue2); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.idlink-landing h2 { margin: 0 0 40px; font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: -.4px; line-height: 1.25; text-align: center; }

/* Benefits */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.include-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); }
.include-card:hover { border-color: var(--blue2); }
.chk { display: flex; width: 24px; height: 24px; flex-shrink: 0; align-items: center; justify-content: center; margin-top: 1px; border-radius: 50%; background: var(--blue2); color: var(--white); font-size: 14px; font-weight: 900; }
.inc-t strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 14px; }
.inc-t span { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* Comparison */
.compare-wrap { padding: 60px 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--off); }
.compare-tbl { max-width: 580px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); }
.tbl-head { display: grid; grid-template-columns: 1fr 100px 100px; border-bottom: 1px solid var(--border); background: var(--off); }
.tbl-head div { padding: 12px 14px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.tbl-head div:first-child { text-align: left; }
.tbl-head .col-id { color: var(--blue3); }
.tbl-row { display: grid; grid-template-columns: 1fr 100px 100px; align-items: center; border-bottom: 1px solid var(--border); }
.tbl-row:last-child { border-bottom: 0; }
.tbl-row div { padding: 12px 14px; font-size: 13px; text-align: center; }
.tbl-row div:first-child { color: var(--text); text-align: left; }
.ic-y { color: var(--blue2); font-size: 17px; font-weight: 800; }
.ic-n { color: #c8d8e8; font-size: 17px; }
.col-id-bg { background: #f0f8ff; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; max-width: 680px; margin: 0 auto; }
.step { text-align: center; }
.step-n { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin: 0 auto 14px; border-radius: 50%; color: var(--white); background: var(--blue2); font-size: 20px; font-weight: 900; }
.step strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; }
.step span { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* Pricing */
.pricing-bg { padding: 60px 20px; border-top: 1px solid var(--border); background: var(--off); }
.price-card { max-width: 480px; margin: 0 auto; padding: 38px 32px; border: 2px solid var(--blue2); border-radius: var(--r-xl); background: var(--white); text-align: center; }
.price-card .badge { display: inline-block; margin-bottom: 22px; padding: 5px 14px; border-radius: 999px; color: var(--white); background: var(--blue2); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-card h3 { margin: 0 0 6px; color: var(--text); font-size: 22px; font-weight: 900; }
.price-card .pv { margin: 16px 0 4px; color: var(--text); font-size: 54px; font-weight: 900; letter-spacing: -3px; line-height: 1; }
.price-card .pp { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.price-card .pe { display: inline-block; margin-bottom: 26px; padding: 5px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--blue2); background: var(--off); font-size: 13px; font-weight: 700; }
.pf-list { margin: 0 0 28px; padding: 0; text-align: left; }
.pf-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.4; list-style: none; }
.pf-list li:last-child { border-bottom: 0; }
.pfc { margin-top: 1px; flex-shrink: 0; color: var(--blue2); font-weight: 900; }
.btn-pay { display: inline-block; width: 100%; margin-bottom: 14px; padding: 20px 36px; border-radius: var(--r-lg); color: var(--white); background: var(--blue2); font-size: 17px; font-weight: 800; text-align: center; text-decoration: none; }
.btn-pay:hover { color: var(--white); background: var(--blue3); }
.btn-wa-pay { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border: 2px solid var(--blue2); border-radius: var(--r-lg); color: var(--blue2); background: transparent; font-size: 15px; font-weight: 700; text-decoration: none; }
.btn-wa-pay:hover { color: var(--white); background: var(--blue2); }
.guar { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }

/* FAQ */
.faq-list { max-width: 620px; margin: 0 auto; }
.faq-item { margin-bottom: 8px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-md); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 18px; border: 0; color: var(--text); background: var(--white); cursor: pointer; font-size: 14px; font-weight: 700; text-align: left; }
.faq-q:hover { background: var(--off); }
.faq-arrow { color: var(--blue2); font-size: 16px; transition: transform .2s; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* Last CTA and footer */
.cta-final { padding: 70px 20px; color: var(--white); background: var(--blue4); text-align: center; }
.cta-final h2 { margin-bottom: 12px; color: var(--white); font-size: clamp(24px, 4vw, 36px); }
.cta-final p { max-width: 460px; margin: 0 auto 32px; font-size: 16px; opacity: .8; }
.cta-final .wa-big { margin-bottom: 8px; color: var(--blue1); font-size: 26px; font-weight: 900; letter-spacing: .5px; }
.cta-final .wa-label { margin-bottom: 28px; font-size: 13px; opacity: .65; }
.btn-final-mp { display: inline-block; width: 100%; max-width: 420px; margin-bottom: 14px; padding: 20px 44px; border-radius: var(--r-lg); color: var(--blue3); background: var(--white); font-size: 17px; font-weight: 800; text-align: center; text-decoration: none; }
.btn-final-mp:hover { color: var(--blue3); opacity: .92; }
.btn-final-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; padding: 14px 32px; border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--r-lg); color: var(--white); font-size: 15px; font-weight: 700; text-decoration: none; }
.btn-final-wa:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.site-footer { padding: 26px 20px; border-top: 1px solid var(--border); color: var(--muted); background: var(--off); font-size: 12px; text-align: center; }
.site-footer a { color: var(--blue2); text-decoration: none; }
.site-footer a:hover { color: var(--blue3); text-decoration: underline; }
.footer-logo { display: block; width: 50px; height: 50px; margin: 0 auto 10px; object-fit: contain; }
.footer-mark { width: 50px; height: 50px; margin-bottom: 10px; font-size: 16px; }
.site-footer p { margin: 0; }

@media (max-width: 480px) {
  .hero { padding: 44px 16px 36px; }
  .price-card { padding: 28px 18px; }
  .btn-hero, .btn-final-mp { padding: 16px 24px; font-size: 15px; }
  .tbl-head div, .tbl-row div { padding: 10px 8px; font-size: 11px; }
  .wa-float { padding: 14px 16px; }
  .wa-float-num { font-size: 15px; }
  .site-nav { padding: 12px 16px; }
}

@media (max-width: 360px) {
  .wa-float { flex-wrap: wrap; }
  .wa-float-btn { width: 100%; margin-left: 0; text-align: center; }
  .tbl-head, .tbl-row { grid-template-columns: 1fr 72px 72px; }
}
