/*
Theme Name: Marcar Horário
Theme URI: https://marcarhorario.com
Author: Você
Description: Tema SaaS claro e moderno para Marcar Horário (landing + blog).
Version: 1.0.3
Text Domain: marcar-horario
*/

:root{
  --bg: #f6fbff;
  --bg2:#f2fffb;
  --surface: rgba(255,255,255,.58);
  --surface-2: rgba(255,255,255,.72);
  --stroke: rgba(15, 23, 42, .10);
  --stroke-2: rgba(15, 23, 42, .14);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, .72);
  --muted2: rgba(15, 23, 42, .58);

  --blue:#2563eb;
  --cyan:#06b6d4;
  --green:#22c55e;

  --brand: linear-gradient(135deg, rgba(37,99,235,.95), rgba(6,182,212,.92), rgba(34,197,94,.90));
  --brand-soft: linear-gradient(135deg, rgba(37,99,235,.18), rgba(6,182,212,.16), rgba(34,197,94,.14));

  --shadow-sm: 0 10px 22px rgba(2, 8, 23, .06);
  --shadow-md: 0 18px 44px rgba(2, 8, 23, .10);
  --shadow-lg: 0 30px 80px rgba(2, 8, 23, .12);

  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 22px;

  --container: 1160px;
  --pad: clamp(18px, 3vw, 28px);

  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 280ms;

  --focus: 0 0 0 3px rgba(37,99,235,.20), 0 0 0 6px rgba(6,182,212,.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 12% 8%, rgba(37,99,235,.12), transparent 55%),
              radial-gradient(1000px 650px at 90% 12%, rgba(6,182,212,.12), transparent 55%),
              radial-gradient(980px 680px at 75% 86%, rgba(34,197,94,.10), transparent 56%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font:inherit; }
::selection{ background: rgba(6,182,212,.22); }

[hidden]{ display:none !important; }

.container{ width:min(var(--container), calc(100% - (var(--pad) * 2))); margin:0 auto; }
.section{ padding: clamp(56px, 7vw, 92px) 0; position:relative; }
.grid{ display:grid; gap: 18px; }

.aurora{
  position: fixed;
  inset: -20vh -20vw auto -20vw;
  height: 70vh;
  z-index: -3;
  pointer-events:none;
  filter: blur(28px);
  opacity:.95;
}
.aurora::before, .aurora::after{
  content:"";
  position:absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,.28), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(6,182,212,.24), transparent 58%),
              radial-gradient(circle at 45% 70%, rgba(34,197,94,.18), transparent 60%);
  transform: translate3d(0,0,0);
  animation: floaty 16s var(--ease) infinite alternate;
}
.aurora::after{
  width: 640px; height: 640px;
  left: 58%; top: 20%;
  opacity:.85;
  animation-duration: 22s;
  animation-delay: -6s;
}
.aurora::before{ left: 8%; top: 8%; }

@keyframes floaty{
  from{ transform: translate3d(-10px, -10px, 0) scale(1); }
  to  { transform: translate3d(26px, 18px, 0) scale(1.06); }
}

.cursor-blob{
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  left:0; top:0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, rgba(37,99,235,.16), transparent 60%),
              radial-gradient(circle at 70% 65%, rgba(6,182,212,.14), transparent 58%),
              radial-gradient(circle at 40% 70%, rgba(34,197,94,.12), transparent 62%);
  filter: blur(24px);
  opacity: .75;
  pointer-events:none;
  z-index:-2;
  will-change: transform;
}

.glass{
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(2,8,23,.05);
  width: fit-content;
  max-width: 100%;
}
.kicker .dot{
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(6,182,212,.14);
  flex: 0 0 auto;
}

h1,h2,h3{ margin:0; letter-spacing:-0.02em; }
h1{ font-size: clamp(34px, 4.4vw, 56px); line-height:1.02; font-weight:800; }
h2{ font-size: clamp(26px, 3.0vw, 40px); line-height:1.12; font-weight:800; }
h3{ font-size: 18px; line-height:1.25; font-weight:700; }
p{ margin:0; color: var(--muted); font-weight:450; line-height:1.55; }
.lead{ font-size: clamp(15px, 1.35vw, 18px); color: var(--muted); font-weight:500; line-height:1.55; }
.sub{ margin-top:12px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  user-select:none;
  white-space:nowrap;
  font-weight:600;
  letter-spacing:.1px;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  color:#fff;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(37,99,235,.16), 0 14px 30px rgba(6,182,212,.12);
  position:relative;
  overflow:hidden;
}
.btn-primary::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(280px 120px at 20% 20%, rgba(255,255,255,.35), transparent 60%);
  opacity:0;
  transition: opacity var(--dur) var(--ease);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 22px 54px rgba(37,99,235,.18), 0 18px 40px rgba(6,182,212,.14); }
.btn-primary:hover::after{ opacity:.85; }

.btn-secondary{
  color: var(--text);
  background: rgba(255,255,255,.65);
  border-color: var(--stroke);
  box-shadow: 0 12px 24px rgba(2,8,23,.06);
}
.btn-secondary:hover{ transform: translateY(-1px); box-shadow: 0 18px 40px rgba(2,8,23,.10); border-color: var(--stroke-2); }

:focus{ outline:none; }
:focus-visible{ box-shadow: var(--focus); border-radius: 12px; }

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(246,251,255,.70);
  border-bottom: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand--logo-only{
  min-width:auto;
}
.brand--logo-only .brand-name{
  display:none;
}

.brand-badge{
  width: 42px; height:42px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(37,99,235,.18);
  display:grid;
  place-items:center;
  box-shadow: 0 14px 30px rgba(37,99,235,.09);
  position:relative;
  overflow:hidden;
  flex: 0 0 auto;
}
.brand-badge::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.55), transparent 62%);
  opacity:.7;
}
.brand-badge span{
  position:relative;
  font-weight:800;
  letter-spacing:-0.04em;
  color: rgba(15,23,42,.92);
}

.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}
.brand-name strong{ font-weight:800; }
.brand-name small{
  font-size:12px;
  color: var(--muted2);
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 220px;
}

/* LOGO (WordPress) — funciona tanto com span.brand-logo quanto quando o WP solta .custom-logo-link direto no header */
.brand-logo,
.header-inner .custom-logo-link{
  display:inline-flex;
  align-items:center;
  line-height:0;
  max-width: 44px;
  flex: 0 0 auto;
}
.brand-logo img,
.brand-logo .custom-logo,
.header-inner .custom-logo,
.header-inner .custom-logo-link img{
  height: 44px !important;
  width: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  box-shadow: 0 14px 30px rgba(37,99,235,.09);
}
@media (max-width: 560px){
  .brand-logo,
  .header-inner .custom-logo-link{
    max-width: 40px;
  }
  .brand-logo img,
  .brand-logo .custom-logo,
  .header-inner .custom-logo,
  .header-inner .custom-logo-link img{
    height: 40px !important;
    width: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 13px;
  }
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a,
.nav li a{
  font-size:14px;
  color: rgba(15,23,42,.80);
  font-weight:550;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  display:inline-flex;
}
.nav a:hover,
.nav li a:hover{
  background: rgba(255,255,255,.55);
  color: rgba(15,23,42,.92);
}
.nav ul, .nav li{ list-style:none; margin:0; padding:0; }
.nav ul{ display:flex; gap:18px; align-items:center; }

.header-cta{ display:flex; gap:10px; align-items:center; }

.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.65);
  box-shadow: 0 12px 24px rgba(2,8,23,.06);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.burger:hover{ transform: translateY(-1px); box-shadow: 0 18px 40px rgba(2,8,23,.10); }
.burger svg{ width:20px; height:20px; opacity:.86; }

.mobile-panel{ display:none; padding: 10px 0 14px; }
.mobile-panel .glass{ padding: 12px; border-radius: 16px; }
.mobile-links{ display:flex; flex-direction:column; gap:6px; padding: 10px 6px 8px; }
.mobile-links a,
.mobile-links li a{
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 600;
  color: rgba(15,23,42,.82);
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(15,23,42,.07);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display:block;
}
.mobile-links ul, .mobile-links li{ list-style:none; margin:0; padding:0; }
.mobile-links a:hover,
.mobile-links li a:hover{ background: rgba(255,255,255,.72); border-color: rgba(15,23,42,.12); transform: translateY(-1px); }
.mobile-cta{ display:flex; gap:10px; padding: 8px 6px 6px; flex-wrap:wrap; }
.mobile-cta .btn{ flex:1; min-width:150px; }

/* Hero */
.hero{ padding: clamp(42px, 6vw, 72px) 0 0; }
.hero-wrap{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(18px, 3vw, 28px);
  align-items:start;
}
.hero-left{ padding: 10px 0; }
.hero h1{
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius:999px;
  border: 1px solid rgba(15,23,42,.09);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
  font-size:13px;
  color: rgba(15,23,42,.76);
  font-weight:550;
}
.chip svg{ width:16px; height:16px; flex:0 0 auto; }
.chip svg path{ fill: rgba(34,197,94,.85); }

/* Preview */
.preview{
  padding:16px;
  border-radius: var(--r-lg);
  position:relative;
  overflow:hidden;
}
.preview::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(520px 180px at 10% 10%, rgba(37,99,235,.18), transparent 60%),
              radial-gradient(520px 180px at 90% 0%, rgba(6,182,212,.16), transparent 60%),
              radial-gradient(520px 220px at 40% 95%, rgba(34,197,94,.14), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.preview > *{ position:relative; }

.preview-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 8px 8px 12px;
}
.preview-title{ display:flex; flex-direction:column; gap:3px; min-width:210px; }
.preview-title strong{ font-weight:800; letter-spacing:-0.02em; }

.rotator{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color: var(--muted2);
  font-weight:550;
}
.rotator b{
  font-weight:800;
  color: rgba(15,23,42,.86);
  display:inline-block;
  min-width: 92px;
  position:relative;
}
.rotator b::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  border-radius:99px;
  background: linear-gradient(90deg, rgba(37,99,235,.65), rgba(6,182,212,.55), rgba(34,197,94,.55));
  opacity:.55;
}

.tabs{
  display:flex;
  gap:6px;
  padding:8px;
  border-radius:16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
}
.tab{
  flex:1;
  text-align:center;
  padding: 10px 10px;
  border-radius:14px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  font-weight:650;
  font-size:13px;
  color: rgba(15,23,42,.75);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tab:hover{ background: rgba(255,255,255,.65); transform: translateY(-1px); }
.tab[aria-selected="true"]{
  background: rgba(255,255,255,.80);
  border-color: rgba(37,99,235,.16);
  color: rgba(15,23,42,.88);
  box-shadow: 0 10px 22px rgba(37,99,235,.08);
}

.preview-body{ margin-top:12px; display:grid; gap:12px; }

.panel{
  border-radius:18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.62);
  padding:14px;
  box-shadow: 0 14px 30px rgba(2,8,23,.06);
  min-height:154px;
  position:relative;
  overflow:hidden;
}
.panel .row{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.panel h4{
  margin:0;
  font-size:14px;
  font-weight:800;
  letter-spacing:-0.01em;
  color: rgba(15,23,42,.88);
}
.panel p{ margin-top:8px; font-size:13px; color: rgba(15,23,42,.66); font-weight:500; }

.pill{
  font-size:12px;
  padding: 6px 10px;
  border-radius:999px;
  border: 1px solid rgba(15,23,42,.09);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.70);
  font-weight:650;
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.pill svg{ width:14px; height:14px; opacity:.9; }

.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.kpi{
  border-radius:16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.62);
  padding: 12px 12px;
  box-shadow: 0 14px 30px rgba(2,8,23,.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.kpi:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(2,8,23,.10);
  border-color: rgba(15,23,42,.12);
}
.kpi small{
  display:block;
  color: rgba(15,23,42,.62);
  font-weight:650;
  font-size:12px;
  letter-spacing:.1px;
}
.kpi b{
  display:block;
  margin-top:6px;
  font-size:20px;
  letter-spacing:-0.02em;
  font-weight:800;
  color: rgba(15,23,42,.88);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}
.section-head .left{
  display:grid;
  gap:10px;
  max-width:720px;
  justify-items:start;
}
.section-head .left p{ max-width:62ch; }

/* Features */
.features{ grid-template-columns: repeat(3, 1fr); gap:16px; }
.feature-card{
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position:relative;
  overflow:hidden;
  min-width:0;
}
.feature-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15,23,42,.14);
}
.icon{
  width:44px; height:44px;
  border-radius:14px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(15,23,42,.10);
  display:grid;
  place-items:center;
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
  margin-bottom:12px;
  position:relative;
  overflow:hidden;
}
.icon::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,.16), transparent 62%),
              radial-gradient(circle at 80% 70%, rgba(6,182,212,.14), transparent 60%),
              radial-gradient(circle at 35% 80%, rgba(34,197,94,.12), transparent 60%);
  opacity:.9;
}
.icon svg{ width:20px; height:20px; position:relative; }
.icon svg path{ fill: rgba(15,23,42,.84); }
.feature-card h3, .feature-card p{ overflow-wrap:anywhere; }
.tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.tag{
  font-size:12px;
  padding: 6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(15,23,42,.09);
  color: rgba(15,23,42,.70);
  font-weight:650;
}

/* How */
.how{ display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:start; }
.steps{ padding:18px; border-radius: var(--r-lg); }
.step{
  display:flex;
  gap:12px;
  padding: 12px 8px;
  border-radius:16px;
  transition: background var(--dur) var(--ease);
}
.step:hover{ background: rgba(255,255,255,.50); }
.num{
  width:34px; height:34px;
  border-radius:12px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(15,23,42,.10);
  display:grid;
  place-items:center;
  font-weight:800;
  color: rgba(15,23,42,.86);
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
  flex: 0 0 auto;
}
.step .txt{ display:grid; gap:6px; }
.step .txt b{ font-weight:750; color: rgba(15,23,42,.88); }
.step .txt span{ font-size:13px; color: rgba(15,23,42,.64); font-weight:500; }

.support{ padding:18px; border-radius: var(--r-lg); }
.support .head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.support .list{ display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.support li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding: 10px 10px;
  border-radius:16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
  min-width:0;
}
.support li svg{ width:18px; height:18px; margin-top:2px; flex:0 0 auto; }
.support li svg path{ fill: rgba(34,197,94,.86); }
.support li b{ font-weight:700; color: rgba(15,23,42,.86); font-size:13px; }
.support li span{ display:block; font-size:13px; color: rgba(15,23,42,.62); font-weight:500; margin-top:3px; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  color: rgba(15,23,42,.78);
  padding: 7px 10px;
  border-radius:999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.65);
  white-space:nowrap;
  box-shadow: 0 12px 22px rgba(2,8,23,.05);
}
.badge svg{ width:14px; height:14px; }
.badge svg path{ fill: rgba(37,99,235,.86); }

/* Plans */
.plans{ grid-template-columns: repeat(4, 1fr); gap:16px; align-items:stretch; }
.plan{
  padding:18px;
  border-radius: var(--r-lg);
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  overflow:hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  min-width:0;
}
.plan:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(15,23,42,.14); }
.plan .top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.plan .name{ display:grid; gap:6px; min-width:0; }
.plan .name b{ font-weight:800; letter-spacing:-0.01em; }
.plan .price{
  font-size:28px;
  font-weight:800;
  letter-spacing:-0.03em;
  color: rgba(15,23,42,.92);
  text-align:right;
  white-space:nowrap;
}
.plan .price small{ font-size:12px; font-weight:700; color: rgba(15,23,42,.62); margin-left:4px; }

.plan ul{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.plan li{
  display:flex; gap:10px; align-items:flex-start;
  font-size:13px; color: rgba(15,23,42,.66);
  font-weight:520; line-height:1.35;
  min-width:0;
}
.plan li svg{ width:18px; height:18px; margin-top:1px; flex:0 0 auto; }
.plan li svg path{ fill: rgba(34,197,94,.86); }
.plan .cta{ margin-top:auto; display:flex; gap:10px; align-items:center; }
.plan .cta .btn{ width:100%; justify-content:center; }

.plan.featured{
  border-color: rgba(37,99,235,.22);
  box-shadow: 0 22px 60px rgba(37,99,235,.12);
}
.plan.featured::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(520px 220px at 15% 10%, rgba(37,99,235,.18), transparent 58%),
              radial-gradient(520px 220px at 80% 10%, rgba(6,182,212,.16), transparent 58%),
              radial-gradient(520px 220px at 55% 95%, rgba(34,197,94,.14), transparent 58%);
  opacity:.95;
  pointer-events:none;
}
.plan.featured > *{ position:relative; }

/* Blog */
.blog-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.posts{ grid-template-columns: repeat(3, 1fr); gap:16px; }
.post{
  padding:16px;
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
.post:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(15,23,42,.14); }

.thumb{
  height: 130px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(220px 140px at 20% 30%, rgba(37,99,235,.22), transparent 62%),
    radial-gradient(220px 160px at 80% 20%, rgba(6,182,212,.20), transparent 62%),
    radial-gradient(220px 160px at 60% 90%, rgba(34,197,94,.18), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.40));
  box-shadow: 0 16px 44px rgba(2,8,23,.08);
  position:relative;
  overflow:hidden;
}
.thumb::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 180px at 10% 10%, rgba(255,255,255,.55), transparent 60%);
  opacity:.55;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius: 18px;
}

.meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: rgba(15,23,42,.62);
  font-size:12px;
  font-weight:650;
}
.meta .tag2{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.62);
  color: rgba(15,23,42,.72);
  font-weight:800;
}
.post h3{ margin-top:2px; overflow-wrap:anywhere; }
.post p{ font-size:13px; color: rgba(15,23,42,.64); font-weight:500; overflow-wrap:anywhere; }
.post .read{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:750;
  color: rgba(15,23,42,.78);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.62);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: fit-content;
}
.post .read:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(2,8,23,.10); }
.post .read svg{ width:16px; height:16px; opacity:.88; }

/* CTA */
.cta{
  padding:18px;
  border-radius: var(--r-lg);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  overflow:hidden;
  position:relative;
}
.cta::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(700px 260px at 12% 10%, rgba(37,99,235,.16), transparent 58%),
              radial-gradient(700px 260px at 92% 0%, rgba(6,182,212,.14), transparent 58%),
              radial-gradient(700px 300px at 50% 110%, rgba(34,197,94,.12), transparent 58%);
  opacity:.95;
  pointer-events:none;
}
.cta > *{ position:relative; }
.cta .txt{ display:grid; gap:8px; justify-items:start; }
.cta .actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Footer */
footer{
  padding: 30px 0 18px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(246,251,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.foot{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr .9fr;
  gap:16px;
  align-items:start;
  padding: 18px 0;
}
.foot h4{
  margin:0 0 10px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.1px;
  color: rgba(15,23,42,.86);
}
.foot p{ font-size:13px; color: rgba(15,23,42,.64); font-weight:500; }
.foot a{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(15,23,42,.72);
  font-weight:600;
  font-size:13px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.foot a:hover{
  background: rgba(255,255,255,.62);
  border-color: rgba(15,23,42,.10);
  transform: translateY(-1px);
  color: rgba(15,23,42,.84);
}
.copyright{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0 10px;
  color: rgba(15,23,42,.60);
  font-size:12px;
  font-weight:550;
  border-top: 1px solid rgba(15,23,42,.08);
}
.support-line{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.support-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.62);
  color: rgba(15,23,42,.70);
  font-weight:700;
  max-width: 100%;
}
.support-pill svg{ width:16px; height:16px; opacity:.9; }
.support-pill.email{
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Reveal */
[data-reveal]{ opacity: 1; transform: none; }
.js [data-reveal]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Blog pages */
.blog-shell{ padding: clamp(26px, 4vw, 42px) 0 0; }
.blog-title{ margin-top: 14px; }
.blog-list{ margin-top: 18px; }
.post-content{
  padding: 18px;
  border-radius: var(--r-lg);
}
.post-content .entry-meta{
  margin-top: 8px;
  color: rgba(15,23,42,.62);
  font-size: 12px;
  font-weight: 650;
}
.post-content .entry-content{
  margin-top: 14px;
  color: rgba(15,23,42,.72);
  font-weight: 500;
  line-height: 1.75;
}
.post-content .entry-content p{ margin: 0 0 14px; }
.post-content .entry-content h2,
.post-content .entry-content h3{ margin: 18px 0 10px; }
.post-content .entry-content a{ color: rgba(37,99,235,.92); text-decoration: underline; text-underline-offset: 3px; }
.post-content .entry-content img{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 16px 44px rgba(2,8,23,.08);
}

/* Responsive */
@media (max-width: 980px){
  .hero-wrap{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .header-cta{ display:none; }
  .burger{ display:flex; }

  .mobile-panel{ display:block; }

  .how{ grid-template-columns: 1fr; }

  .plans{ grid-template-columns: repeat(2, 1fr); }
  .posts{ grid-template-columns: repeat(2, 1fr); }
  .foot{ grid-template-columns: 1fr 1fr; }

  .cta{ flex-direction: column; align-items:flex-start; }
  .cta .actions{ width: 100%; }
  .cta .actions .btn{ flex:1; min-width:180px; }

  .features{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .plans{ grid-template-columns: 1fr; }
  .posts{ grid-template-columns: 1fr; }
  .kpis{ grid-template-columns: 1fr; }
  .chip{ width: 100%; justify-content:flex-start; }

  .foot{ grid-template-columns: 1fr; gap: 12px; }
  .copyright{ flex-direction: column; align-items:flex-start; }
  .support-line{ justify-content:flex-start; }
  .support-pill{ width: 100%; justify-content:flex-start; }

  .features{ grid-template-columns: 1fr; }
  h3{ font-size: 17px; }
  .feature-card{ padding: 16px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
  .cursor-blob{ display:none; }
  .js [data-reveal]{ opacity:1; transform:none; }
}

