/* Shared by the home (index.html) and the YeidiPOS page (pos.html). */
/* Hero: atmospheric light with floating glass product cards */
.hero { position: relative; overflow: hidden; padding: 96px 0 120px; }
.hero .aura {
  position: absolute; inset: -20% -10% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 45% at 22% 40%, rgba(212,199,255,.75), transparent 70%),
    radial-gradient(30% 40% at 82% 30%, rgba(160,205,235,.55), transparent 70%),
    radial-gradient(40% 40% at 55% 95%, rgba(255,190,210,.5), transparent 70%),
    radial-gradient(30% 35% at 70% 70%, rgba(150,225,220,.4), transparent 70%);
  filter: saturate(1.1);
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 11em; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--violet); }
.hero .lede { max-width: 36em; margin: 24px auto 0; color: var(--stone); font-size: 18px; }
.hero .cta { margin-top: 36px; display: flex; justify-content: center; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--stone); }
.float { position: absolute; z-index: 1; padding: 16px; width: 232px; text-align: left; font-size: 14px; animation: drift 9s ease-in-out infinite; }
.float .k { font-size: 12px; color: var(--stone); }
.float .v { font-size: 22px; font-weight: 460; letter-spacing: -0.014em; margin-top: 2px; }
.float .row { display: flex; justify-content: space-between; margin-top: 6px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.float .ok { color: #0c6b4a; }
.float .warn { color: var(--wine); }
.f1 { left: max(16px, calc(50% - 690px)); top: 56px; transform: rotate(-3deg); }
.f2 { right: max(16px, calc(50% - 690px)); top: 150px; transform: rotate(2.5deg); animation-delay: -3s; }
.f3 { right: max(32px, calc(50% - 650px)); bottom: 48px; transform: rotate(2deg); animation-delay: -6s; }
@keyframes drift { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 1320px) { .float { display: none; } }

section { padding: clamp(64px, 9vw, 96px) 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--violet); margin-bottom: 16px; display: block; }
.head { max-width: 640px; margin-bottom: 48px; }
.head p { color: var(--stone); margin-top: 16px; font-size: 18px; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.strip > * { padding: 24px 8px; text-align: center; font-weight: 460; border-left: 1px solid var(--mist); }
.strip > *:first-child { border-left: 0; }

.demo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.demo-stage { position: relative; border-radius: 24px; padding: 32px; overflow: hidden; }
.demo-stage::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 20% 20%, rgba(212,199,255,.8), transparent 70%),
  radial-gradient(50% 60% at 90% 80%, rgba(255,200,215,.6), transparent 70%),
  radial-gradient(50% 50% at 80% 10%, rgba(160,210,235,.6), transparent 70%); }
.receipt { position: relative; padding: 24px; font-family: 'JetBrains Mono', monospace; font-size: 14px; }
.receipt h3 { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 460; }
.receipt .sub { color: var(--stone); font-family: 'Inter', sans-serif; margin: 4px 0 16px; }
.line { display: flex; justify-content: space-between; padding: 5px 0; }
.line.total { font-weight: 600; font-size: 16px; }
.dash { border: 0; border-top: 1px dashed #c9c6bf; margin: 10px 0; }
.equiv { color: var(--stone); text-align: right; font-size: 12px; }
.tray-label { margin: 20px 0 10px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--stone); }
.tray { display: flex; flex-wrap: wrap; gap: 8px; }
.bill { font: inherit; font-size: 13px; color: var(--ink); background: rgba(255,255,255,.75); border: 1px solid var(--mist); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.bill:hover { border-color: var(--ink); }
.bill::before, .paid-list li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.bill.usd::before, .paid-list li.usd::before { background: #0c6b4a; }
.bill.ves::before, .paid-list li.ves::before { background: var(--violet); }
.bill.cop::before, .paid-list li.cop::before { background: #c27c0e; }
.paid-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; min-height: 6px; }
.paid-list li { font-size: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--mist); border-radius: 999px; padding: 3px 10px; }
.status { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #c9c6bf; display: grid; gap: 4px; }
.status-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--wine); }
.status.is-change .status-label { color: var(--violet); }
.status-amount { font-family: 'Inter', sans-serif; font-weight: 460; font-size: 40px; letter-spacing: -0.027em; line-height: 1.05; }
.notes { color: var(--stone); font-size: 12px; margin: 0; }
.change-choice { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.change-choice button { font: inherit; font-size: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--mist); border-radius: 8px; padding: 5px 12px; cursor: pointer; color: var(--ink); }
.change-choice button[aria-pressed="true"] { background: var(--lilac); border-color: var(--ink); }
.reset { margin-top: 16px; background: none; border: 0; color: var(--violet); font: inherit; font-family: 'Inter', sans-serif; font-size: 14px; cursor: pointer; padding: 0; }
.reset:hover { text-decoration: underline; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--paper); border-radius: 16px; padding: 24px; border: 1px solid var(--mist); }
.card .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--lilac); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--stone); margin-top: 8px; }
.card .pain { color: var(--ink); font-weight: 460; margin-top: 0; }

.band { background: var(--lagoon); color: #fff; }
.band .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.8); margin-top: 20px; font-size: 18px; }
.band .btn { margin-top: 32px; }
.art { position: relative; aspect-ratio: 5 / 4; }
.art div { position: absolute; border-radius: 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.art .a { inset: 6% 30% 34% 4%; background: rgba(212,199,255,.45); }
.art .b { inset: 28% 8% 12% 34%; background: rgba(160,205,235,.35); }
.art .c { inset: 58% 46% 0 12%; background: rgba(255,190,210,.4); }
.art .note { inset: auto; left: 40%; top: 36%; padding: 14px 16px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 14px; border: 0; }
.art .note b { display: block; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans .plan { display: flex; flex-direction: column; }
.plans .cta-plan { margin-top: auto; align-self: flex-start; }
.plans .plan ul { margin-bottom: 24px; }
.plan-notes { margin-top: 20px; display: grid; gap: 6px; color: var(--stone); max-width: 880px; }
.plan-notes b { color: var(--ink); }
.plan { background: var(--paper); border: 1px solid var(--mist); border-radius: 16px; padding: 32px; }
.plan.pro { box-shadow: var(--shadow, none); border-color: var(--violet); }
.plan .tag { display: inline-block; font-size: 12px; font-weight: 600; background: var(--lilac); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; }
.plan .price { font-size: 49px; font-weight: 460; letter-spacing: -0.027em; margin-top: 16px; }
.plan .per { color: var(--stone); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--violet); font-weight: 600; }
.plan li.off { color: #a3a09a; }
.plan li.off::before { content: '–'; color: #a3a09a; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--wine); color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 20px; }

.faq { max-width: 820px; }
details { border-top: 1px solid var(--mist); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--mist); }
summary { cursor: pointer; list-style: none; font-size: 20px; font-weight: 460; letter-spacing: -0.007em; display: flex; justify-content: space-between; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--stone); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--stone); margin-top: 12px; max-width: 42em; }

.gradient-cta { position: relative; overflow: hidden; border-radius: 24px; padding: 64px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.gradient-cta::before { content: ''; position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(40% 80% at 68% 50%, rgba(160,130,240,.6), transparent 70%),
  radial-gradient(30% 80% at 93% 50%, rgba(120,170,240,.55), transparent 70%),
  radial-gradient(50% 60% at 50% 98%, rgba(255,170,200,.5), transparent 70%),
  radial-gradient(40% 60% at 50% 75%, rgba(130,220,225,.5), transparent 70%), #ece8f7; }
.gradient-cta > * { position: relative; }
.gradient-cta h2 { max-width: 14em; }
.gradient-cta .btn { background: #fff; color: var(--ink); }
.gradient-cta .btn:hover { background: #f7f5ff; }


/* Interaction layer (driven by animations.js) */
.float { cursor: grab; touch-action: none; user-select: none; }
.float:active { cursor: grabbing; }
.float .hint { position: absolute; top: -10px; right: 12px; font-size: 11px; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 8px; opacity: 0; pointer-events: none; }
.tilt { transform-style: preserve-3d; will-change: transform; position: relative; }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(212,199,255,.45), transparent 60%);
}
.tilt:hover::after { opacity: 1; }
.strip > * { position: relative; overflow: hidden; cursor: default; transition: color .3s; }
.strip > *::before { content: ''; position: absolute; inset: 0; background: var(--lilac); transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.strip > *:hover::before { transform: translateY(0); }
.strip > * { z-index: 0; }
.gradient-cta { --gx: 68%; --gy: 50%; }
.gradient-cta::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(320px circle at var(--gx) var(--gy), rgba(255,255,255,.55), transparent 60%); }
.gradient-cta > * { z-index: 1; }
details { overflow: hidden; }
.plan, .card { transition: border-color .25s; }
.plan:hover, .card:hover { border-color: #cfc6ee; }
header.top { will-change: transform; }
[hidden] { display: none !important; }
.strip > a { text-decoration: none; color: var(--violet); cursor: pointer; }
.verticals .card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.verticals .card p { flex: 1; margin-top: 0; }
.fit { margin-top: 48px; max-width: 880px; }
.fit table { width: 100%; border-collapse: collapse; margin-top: 16px; background: var(--paper); border: 1px solid var(--mist); border-radius: 16px; overflow: hidden; }
.fit th, .fit td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--mist); vertical-align: top; }
.fit thead th { border-top: 0; font-size: 13px; color: var(--stone); font-weight: 600; }
.fit tbody th { font-weight: 460; }
.fit td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.fit td:last-child { color: var(--stone); }
.fit > p { margin-top: 16px; color: var(--stone); }
@media (max-width: 640px) { .fit thead { display: none; } .fit tr { display: grid; padding: 8px 0; border-top: 1px solid var(--mist); } .fit th, .fit td { border: 0; padding: 4px 16px; } .fit tbody tr:first-child { border-top: 0; } }
@media (max-width: 960px) {
  .demo-grid, .band .grid { grid-template-columns: 1fr; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip > *:nth-child(4) { border-left: 0; }
  .strip > *:nth-child(n+4) { border-top: 1px solid var(--mist); }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 72px; }
  .cards, .plans, .steps { grid-template-columns: 1fr; }
  .demo-stage { padding: 16px; }
  .gradient-cta { padding: 40px 24px; }
  .nav-actions .btn-ghost { display: none; }
}
/* Hero: trust row and product shot */
.hero { padding-bottom: 96px; }
.trust { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14px; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23292827' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.shot { max-width: 820px; margin: 56px auto 0; text-align: left; border-radius: 20px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(41,40,39,.06), 0 30px 60px -20px rgba(66,29,36,.25); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(41,40,39,.08); font-size: 13px; }
.shot-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d9d5cc; }
.shot-bar b { margin-left: 10px; font-weight: 600; }
.shot-bar em { margin-left: auto; font-style: normal; color: var(--stone); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.shot-body { display: grid; grid-template-columns: 1.15fr 1fr; }
.shot-cart { padding: 20px; border-right: 1px solid rgba(41,40,39,.08); }
.shot-search { font-size: 13px; color: #9a968f; background: rgba(255,255,255,.7); border: 1px solid var(--mist); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.shot-item { display: grid; grid-template-columns: 1fr auto 64px; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #d6d2ca; font-size: 14px; }
.shot-item small { color: var(--stone); font-size: 13px; }
.shot-item b, .shot-line b { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 13px; text-align: right; }
.shot-total { display: flex; justify-content: space-between; margin-top: 14px; font-size: 15px; font-weight: 600; }
.shot-total b { font-size: 26px; font-weight: 460; letter-spacing: -0.02em; }
.shot-equiv { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--stone); }
.shot-pay { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.shot-k { font-size: 13px; font-weight: 600; color: var(--stone); }
.shot-line { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; background: rgba(255,255,255,.75); border: 1px solid var(--mist); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.shot-line i { width: 8px; height: 8px; border-radius: 50%; }
.shot-line i.usd { background: #0c6b4a; } .shot-line i.ves { background: var(--violet); }
.shot-ok { display: flex; gap: 10px; align-items: flex-start; background: #e4f3ec; border: 1px solid #bfe2d1; color: #0c4f37; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.shot-ok svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shot-ok b { display: block; font-size: 14px; }
.shot-done { margin-top: auto; background: var(--wine); color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 460; font-size: 15px; }
.f3 { bottom: auto; top: 420px; }

/* Business strip: one color, links marked with an arrow */
.strip > a { color: var(--ink); }
.strip > a::after { content: ' →'; color: var(--violet); }
.strip > span { color: var(--stone); }
.price-note { margin-top: 24px; color: var(--stone); }

/* Offline band panels */
.art div { padding: 18px; display: flex; flex-direction: column; gap: 2px; color: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.art div .t { font-size: 12px; opacity: .8; }
.art div strong { font-size: 26px; font-weight: 460; letter-spacing: -0.02em; }
.art div .s { font-size: 12px; opacity: .8; margin-top: auto; }
.art .off { align-self: flex-start; font-size: 11px; font-weight: 600; background: rgba(0,0,0,.25); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.art .note { z-index: 2; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); left: auto; right: 0; top: auto; bottom: 10%; }
.strip > * { white-space: nowrap; }
@media (max-width: 640px) { .strip > * { font-size: 14px; padding: 18px 4px; } }

/* Pricing: the recommended plan stands out */
.plan.pro { background: linear-gradient(180deg, #f7f3ff, #fff 40%); box-shadow: 0 24px 48px -24px rgba(113,76,182,.45); }

/* FAQ beside its heading */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-grid .head { position: sticky; top: 96px; margin-bottom: 0; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } .faq-grid .head { position: static; } }
@media (max-width: 640px) {
  .shot { margin-top: 40px; }
  .shot-body { grid-template-columns: 1fr; }
  .shot-cart { border-right: 0; border-bottom: 1px solid rgba(41,40,39,.08); }
  .shot-bar em { display: none; }
  .trust { gap: 8px 16px; font-size: 13px; }
}
