/* ============ HERO v2 — realistic device mockups + refined canvas background ============ */
.hero-v2 { background: radial-gradient(1100px 600px at 75% 15%, rgba(31,107,255,.28), transparent 60%), radial-gradient(800px 500px at 10% 95%, rgba(230,35,42,.22), transparent 60%), #0B1020; padding: 150px 0 110px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 30%, transparent 75%); }
.hero-v2 .container { grid-template-columns: 1fr 1.05fr; gap: 40px; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero-trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.72); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(94,234,212,.15); border: 1.5px solid #5EEAD4; display: inline-block; position: relative; }
.hero-trust li::after { content: ""; position: absolute; }

.hero-visual { min-height: 520px; perspective: 1600px; }
.device-stack { position: relative; width: 100%; height: 520px; transform-style: preserve-3d; transition: transform .25s ease-out; }

/* Laptop */
.laptop { position: absolute; left: 0; top: 30px; width: 86%; transform: rotateY(-6deg) rotateX(3deg); transform-style: preserve-3d; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.laptop-screen { background: #0B1020; border-radius: 16px 16px 6px 6px; padding: 10px 10px 14px; border: 1px solid rgba(255,255,255,.12); }
.laptop-screen::before { content: ""; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1a2340; }
.laptop-base { height: 14px; background: linear-gradient(#2a3353, #141b33); border-radius: 0 0 18px 18px; margin: 0 -4% ; box-shadow: 0 10px 20px rgba(0,0,0,.4); position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; margin-left: -9%; background: #0B1020; border-radius: 0 0 6px 6px; }

/* Fake website inside laptop */
.site { background: #fff; border-radius: 8px; overflow: hidden; font-family: var(--font); color: #0F172A; aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; font-size: 8px; border-bottom: 1px solid #EEF2F7; }
.site-logo { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; font-size: 9px; }
.site-logo i { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg,#E6232A,#1F6BFF); }
.site-links { display: flex; gap: 10px; color: #475569; }
.site-cta { background: #E6232A; color: #fff; padding: 4px 9px; border-radius: 999px; font-weight: 600; }
.site-hero { position: relative; height: 42%; }
.site-hero img { width: 100%; height: 100%; object-fit: cover; }
.site-hero-text { position: absolute; left: 14px; top: 14px; color: #fff; }
.site-hero-text small { font-size: 6px; letter-spacing: .12em; opacity: .85; display: block; margin-bottom: 3px; }
.site-hero-text strong { font-size: 15px; line-height: 1.1; display: block; max-width: 180px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.site-search { position: absolute; left: 14px; right: 14px; bottom: -12px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(15,23,42,.18); display: flex; align-items: center; padding: 6px 8px; gap: 10px; font-size: 6.5px; color: #64748B; }
.site-search span { display: flex; flex-direction: column; gap: 1px; padding-right: 10px; border-right: 1px solid #E2E8F0; }
.site-search span b { color: #0F172A; font-size: 7.5px; }
.site-search em { margin-left: auto; background: #1F6BFF; color: #fff; font-style: normal; font-weight: 600; padding: 5px 10px; border-radius: 6px; font-size: 7px; }
.site-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 24px 14px 12px; flex: 1; }
.pcard { border: 1px solid #EEF2F7; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(15,23,42,.06); display: flex; flex-direction: column; }
.pcard img { height: 56%; width: 100%; object-fit: cover; }
.pcard div { padding: 6px 7px; display: flex; flex-direction: column; gap: 2px; }
.pcard b { font-size: 7.5px; }
.pcard span { font-size: 6px; color: #64748B; }
.pcard em { font-style: normal; font-weight: 700; font-size: 8px; color: #1F6BFF; margin-top: 2px; }
.pcard em small { font-weight: 500; color: #64748B; font-size: 6px; }

/* Phone */
.phone { position: absolute; right: -2%; bottom: 0; width: 24%; min-width: 150px; aspect-ratio: 9 / 19; background: #0B1020; border-radius: 26px; border: 3px solid #27314f; transform: translateZ(80px) rotateY(-10deg); box-shadow: 0 40px 70px rgba(0,0,0,.6), inset 0 0 0 2px #000; overflow: hidden; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 36%; height: 10px; margin-left: -18%; background: #000; border-radius: 999px; z-index: 2; }
.app { position: absolute; inset: 0; background: #F6F8FC; font-family: var(--font); color: #0F172A; display: flex; flex-direction: column; font-size: 7px; }
.app-status { display: flex; justify-content: space-between; padding: 8px 12px 0; font-size: 6.5px; font-weight: 600; color: #0F172A; }
.app-head { padding: 12px 12px 6px; }
.app-head small { color: #64748B; display: block; font-size: 6.5px; }
.app-head strong { font-size: 9px; }
.app-stay { margin: 4px 10px 8px; background: linear-gradient(135deg,#0B1020,#1F3A8A); color: #fff; border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-stay small { font-size: 5.5px; letter-spacing: .1em; opacity: .75; }
.app-stay b { font-size: 8px; }
.app-stay span { font-size: 6px; opacity: .85; }
.app-stay em { font-style: normal; font-size: 6.5px; color: #8EB4FF; margin-top: 3px; font-weight: 600; }
.app-sec { padding: 0 10px 4px; font-weight: 600; font-size: 7px; }
.app-list { display: flex; flex-direction: column; gap: 6px; padding: 0 10px; flex: 1; }
.app-list > div { background: #fff; border-radius: 8px; display: flex; gap: 7px; align-items: center; padding: 5px; box-shadow: 0 2px 8px rgba(15,23,42,.06); }
.app-list img { width: 34px; height: 28px; object-fit: cover; border-radius: 5px; }
.app-list b { display: block; font-size: 6.5px; }
.app-list small { font-size: 5.5px; color: #1F6BFF; font-weight: 600; }
.app-nav { display: flex; justify-content: space-around; padding: 7px 4px 10px; background: #fff; border-top: 1px solid #EEF2F7; font-size: 5.5px; color: #94A3B8; }
.app-nav .on { color: #E6232A; font-weight: 700; }

/* Floating cards */
.float-card { position: absolute; background: rgba(255,255,255,.96); color: #0F172A; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: 12px 14px; transform: translateZ(120px); }
.float-card.dash { left: -4%; bottom: 36px; width: 160px; }
.float-card.dash small { color: #64748B; font-size: .68rem; display: block; }
.float-card.dash strong { font-size: 1.15rem; display: block; margin: 2px 0 6px; }
.float-card .bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.float-card .bars i { flex: 1; background: linear-gradient(#1F6BFF, #E6232A); border-radius: 3px 3px 0 0; opacity: .9; }
.float-card.dash span { font-size: .7rem; color: #64748B; display: block; margin-top: 6px; }
.float-card.dash span b { color: #16A34A; }
.float-card.notif { right: 6%; top: -8px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; }
.float-card.notif i { width: 28px; height: 28px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.float-card.notif b { display: block; font-size: .8rem; }
.float-card.notif span { font-size: .7rem; color: #64748B; }

/* gentle drift (subtle, not bouncy) */
@keyframes drift { 0%,100% { transform: translateZ(120px) translateY(0) } 50% { transform: translateZ(120px) translateY(-8px) } }
.float-card.dash { animation: drift 9s ease-in-out infinite; }
.float-card.notif { animation: drift 11s ease-in-out infinite reverse; }

@media (max-width: 1100px) { .hero-copy h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); } }
@media (max-width: 920px) {
  .hero-v2 .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 10px; }
  .device-stack { height: auto; aspect-ratio: 1 / .78; }
  .laptop { width: 88%; top: 10px; }
  .phone { min-width: 110px; width: 28%; bottom: 0; }
  .float-card.dash { display: none; }
  .float-card.notif { top: -14px; right: 0; transform: none; }
  .hero-trust { gap: 12px; }
}

/* WhatsApp + email floating buttons */
.float-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-stack .float-mail { position: static; }
.float-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: .9rem; box-shadow: 0 14px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.float-wa:hover { transform: translateY(-3px) scale(1.03); color: #fff; }
.float-wa svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 600px) { .float-wa span { display: none; } .float-wa { padding: 14px; } }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; }

/* refinements */
.hero-trust li::before { content: "✓"; font-size: 10px; color: #5EEAD4; display: inline-grid; place-items: center; }
@media (max-width: 920px) {
  .device-stack { aspect-ratio: 1 / .92; }
  .laptop { width: 90%; top: 20px; }
  .site { zoom: .8; }
  .phone { width: 34%; min-width: 128px; right: 0; bottom: -6px; }
  .app { zoom: .85; }
  .float-card.notif { top: -18px; right: 0; padding: 8px 12px; }
  .float-card.notif b { font-size: .75rem; } .float-card.notif span { font-size: .65rem; }
}
@media (max-width: 480px) {
  .site { zoom: .66; } .app { zoom: .7; }
  .device-stack { aspect-ratio: 1 / 1; }
  .laptop { width: 92%; top: 26px; }
  .phone { width: 36%; min-width: 118px; }
}
