/* ==========================================================================
   VibasaTech — brand stylesheet
   Primary Blue #0B3D91 · Secondary Blue #1E88E5 · Accent Orange #F97316
   ========================================================================== */
:root {
  --vb-primary: #0B3D91;
  --vb-primary-dark: #082c69;
  --vb-secondary: #1E88E5;
  --vb-accent: #F97316;
  --vb-accent-dark: #e05f07;
  --vb-ink: #142033;
  --vb-muted: #5b6b82;
  --vb-bg: #ffffff;
  --vb-soft: #f4f7fc;
  --vb-border: #e3e9f3;
  --vb-radius: 14px;
  --vb-shadow: 0 10px 30px rgba(11, 61, 145, .08);
  --vb-shadow-lg: 0 20px 50px rgba(11, 61, 145, .15);
  --bs-primary: #0B3D91;
  --bs-primary-rgb: 11, 61, 145;
  --bs-link-color: #1E88E5;
  --bs-link-hover-color: #0B3D91;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #142033;
}

body { background: var(--vb-bg); color: var(--vb-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .brand-text, .display-font { font-family: "Poppins", sans-serif; font-weight: 700; letter-spacing: -.01em; }
a { text-decoration: none; }
img { max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section-soft { background: var(--vb-soft); }
.text-accent { color: var(--vb-accent) !important; }
.text-primary { color: var(--vb-primary) !important; }
.bg-primary { background-color: var(--vb-primary) !important; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--vb-primary); --bs-btn-border-color: var(--vb-primary); --bs-btn-hover-bg: var(--vb-primary-dark);
  --bs-btn-hover-border-color: var(--vb-primary-dark); --bs-btn-active-bg: var(--vb-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--vb-primary); --bs-btn-border-color: var(--vb-primary); --bs-btn-hover-bg: var(--vb-primary);
  --bs-btn-hover-border-color: var(--vb-primary); --bs-btn-active-bg: var(--vb-primary); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--vb-accent); --bs-btn-border-color: var(--vb-accent); --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--vb-accent-dark); --bs-btn-hover-border-color: var(--vb-accent-dark); --bs-btn-active-bg: var(--vb-accent-dark);
  --bs-btn-active-color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, .3); }
.btn-whatsapp { --bs-btn-color: #fff; --bs-btn-bg: #25D366; --bs-btn-border-color: #25D366; --bs-btn-hover-bg: #1ebe5a;
  --bs-btn-hover-border-color: #1ebe5a; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #1ebe5a; }

/* ---------- Top bar & navbar ---------- */
.topbar { background: var(--vb-primary-dark); font-size: .85rem; padding: 6px 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.site-nav { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--vb-border); padding: 10px 0; transition: box-shadow .2s; }
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(11,61,145,.08); }
.brand-text { font-size: 1.55rem; font-weight: 800; line-height: 1; }
.b-blue { color: var(--vb-primary); }
.b-orange { color: var(--vb-accent); }
.site-nav .nav-link { color: var(--vb-ink); font-weight: 500; padding: .5rem .85rem !important; border-radius: 8px; }
.site-nav .nav-link:hover { color: var(--vb-secondary); }
.site-nav .nav-link.active { color: var(--vb-primary); font-weight: 600; }
.site-nav .nav-link.active::after { content: ""; display: block; height: 2px; background: var(--vb-accent); border-radius: 2px; margin-top: 2px; }
@media (max-width: 1199.98px) { .site-nav .nav-link.active::after { display: none; } .site-nav .navbar-collapse { padding: 12px 0; } }

.flash-wrap { padding-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 96px 0 110px;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(30,136,229,.55), transparent 60%),
              radial-gradient(800px 400px at -10% 110%, rgba(249,115,22,.22), transparent 60%),
              linear-gradient(135deg, #072a66 0%, var(--vb-primary) 55%, #1360b8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; font-weight: 800; }
.hero h1 .hl { color: var(--vb-accent); }
.growth-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 40px auto 0; max-width: 760px;
  padding: 16px 24px; border-radius: 14px; background: #fff; border: 1px solid rgba(249,115,22,.25);
  box-shadow: 0 6px 20px rgba(15,23,42,.06); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; text-align: center; }
.growth-note i { color: var(--vb-accent); font-size: 1.4em; }
.footer-punchline { color: var(--vb-accent); font-weight: 600; font-style: italic; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 20px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vb-accent); box-shadow: 0 0 0 4px rgba(249,115,22,.25); }
.hero-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 30px; max-width: 560px; }
.hero-highlights li { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.92); font-size: .95rem; }
.hero-highlights i { color: var(--vb-accent); }
.hero-visual { position: relative; }
.hero-card { background: #fff; color: var(--vb-ink); border-radius: 20px; box-shadow: var(--vb-shadow-lg); padding: 28px; position: relative; z-index: 2; }
.hero-card img { display: block; margin: 0 auto; max-width: 300px; width: 100%; }
.hero-float { position: absolute; z-index: 3; background: #fff; color: var(--vb-ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--vb-shadow-lg);
  display: flex; gap: 10px; align-items: center; font-size: .9rem; font-weight: 600; animation: float 5s ease-in-out infinite; }
.hero-float i { font-size: 1.4rem; }
.hero-float.f1 { left: -24px; top: 18%; }
.hero-float.f2 { right: -18px; bottom: 14%; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) { .hero { padding: 64px 0 80px; } .hero-float { display: none; } }
@media (max-width: 575.98px) { .hero-highlights { grid-template-columns: 1fr; } }

/* ---------- Section titles ---------- */
.section-title { max-width: 720px; margin-bottom: 48px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--vb-primary); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vb-accent);
  background: rgba(249,115,22,.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- Page header ---------- */
.page-header { background: linear-gradient(135deg, #072a66, var(--vb-primary) 60%, #1360b8); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 40px solid rgba(249,115,22,.18); }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); position: relative; z-index: 1; }
.page-header .lead { color: rgba(255,255,255,.85); max-width: 720px; position: relative; z-index: 1; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.8); margin-bottom: 10px; font-size: .9rem; }
.page-header .breadcrumb a { color: #fff; }

/* ---------- Cards ---------- */
.vb-card { background: #fff; border: 1px solid var(--vb-border); border-radius: var(--vb-radius); padding: 28px; height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.vb-card:hover { transform: translateY(-4px); box-shadow: var(--vb-shadow); border-color: transparent; }
.icon-box { width: 56px; height: 56px; border-radius: 14px; display: inline-grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(11,61,145,.12)); color: var(--vb-primary); }
.vb-card:hover .icon-box { background: linear-gradient(135deg, var(--vb-secondary), var(--vb-primary)); color: #fff; }
.icon-box.accent { background: rgba(249,115,22,.12); color: var(--vb-accent); }
.vb-card h3 { font-size: 1.2rem; color: var(--vb-primary); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--vb-muted); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--vb-accent); }
.check-list.cols-2 { columns: 2; column-gap: 24px; }
.check-list.cols-2 li { break-inside: avoid; }
@media (max-width: 575.98px) { .check-list.cols-2 { columns: 1; } }

.service-card .card-link { font-weight: 600; color: var(--vb-secondary); }
.service-card .card-link i { transition: transform .2s; }
.service-card:hover .card-link i { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats-strip { margin-top: -56px; position: relative; z-index: 5; }
.stats-strip .inner { background: #fff; border-radius: 18px; box-shadow: var(--vb-shadow-lg); padding: 28px 16px; }
.stat-num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--vb-primary); line-height: 1; }
.stat-num span { color: var(--vb-accent); }
.stat-label { color: var(--vb-muted); font-size: .92rem; margin-top: 6px; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 24px 12px; }
.process-step .num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1;
  background: #fff; border: 2px solid var(--vb-secondary); color: var(--vb-primary); font-size: 1.5rem; transition: .25s; }
.process-step:hover .num { background: var(--vb-primary); color: #fff; border-color: var(--vb-primary); }
.process-step .step-no { position: absolute; top: -6px; right: -6px; background: var(--vb-accent); color: #fff; font-size: .72rem; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.process-step h3 { font-size: 1rem; color: var(--vb-primary); margin-bottom: 6px; }
.process-step p { font-size: .88rem; color: var(--vb-muted); margin: 0; }
@media (min-width: 992px) {
  .process-row { position: relative; }
  .process-row::before { content: ""; position: absolute; top: 56px; left: 7%; right: 7%; border-top: 2px dashed rgba(30,136,229,.35); }
}

/* ---------- Timeline cards ---------- */
.time-card { text-align: center; }
.time-card .time { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--vb-accent); }

/* ---------- Tech ---------- */
.tech-group { background: #fff; border-radius: var(--vb-radius); border: 1px solid var(--vb-border); padding: 22px; height: 100%; }
.tech-group h3 { font-size: 1rem; color: var(--vb-primary); display: flex; gap: 8px; align-items: center; }
.tech-chip { display: inline-block; padding: 6px 12px; margin: 4px 4px 0 0; border-radius: 999px; background: var(--vb-soft); color: var(--vb-ink);
  font-size: .85rem; font-weight: 500; border: 1px solid var(--vb-border); }

/* ---------- Portfolio ---------- */
.portfolio-card { border-radius: var(--vb-radius); overflow: hidden; background: #fff; border: 1px solid var(--vb-border); height: 100%;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--vb-shadow-lg); }
.portfolio-thumb { aspect-ratio: 16/9; display: grid; place-items: center; font-size: 3.2rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary)); }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(249,115,22,.35); right: -60px; bottom: -70px; }
.portfolio-body { padding: 22px; flex: 1; }
.portfolio-body h3 { font-size: 1.1rem; color: var(--vb-primary); }
.badge-cat { background: rgba(249,115,22,.12); color: var(--vb-accent-dark); font-weight: 600; }
.filter-btns .btn { border-radius: 999px; }
.filter-btns .btn.active { background: var(--vb-primary); color: #fff; border-color: var(--vb-primary); }

/* ---------- Customers & testimonials ---------- */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--vb-secondary), var(--vb-primary)); color: #fff;
  font-weight: 700; font-family: "Poppins", sans-serif; }
.stars { color: #f5a623; letter-spacing: 2px; }
.customer-card .logo { max-height: 40px; max-width: 120px; object-fit: contain; }
.customer-card blockquote { color: var(--vb-muted); font-style: italic; }
.testimonial-section { background: linear-gradient(135deg, #072a66, var(--vb-primary)); color: #fff; }
.testimonial-section .section-title h2 { color: #fff; }
.testimonial-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 40px; max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial-card .quote-icon { font-size: 2.6rem; color: var(--vb-accent); line-height: 1; }
.testimonial-card p.feedback { font-size: 1.2rem; line-height: 1.7; margin: 16px 0 24px; }
.testimonial-section .carousel-indicators [data-bs-target] { background-color: var(--vb-accent); }
.testimonial-section .carousel-control-prev, .testimonial-section .carousel-control-next { width: 6%; }

/* ---------- Blog ---------- */
.blog-card { border-radius: var(--vb-radius); overflow: hidden; border: 1px solid var(--vb-border); background: #fff; height: 100%; display: flex; flex-direction: column; transition: .25s; }
.blog-card:hover { box-shadow: var(--vb-shadow); transform: translateY(-4px); }
.blog-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--vb-secondary), var(--vb-primary)); display: grid; place-items: center; color: #fff; font-size: 2.6rem; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.12rem; }
.blog-card h3 a { color: var(--vb-ink); }
.blog-card h3 a:hover { color: var(--vb-secondary); }
.blog-meta { font-size: .82rem; color: var(--vb-muted); }
.article { font-size: 1.08rem; line-height: 1.85; }
.article p { margin-bottom: 1.3rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--vb-shadow); padding: 36px; border: 1px solid var(--vb-border); }
.form-control, .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: #d4dcea; }
.form-control:focus, .form-select:focus { border-color: var(--vb-secondary); box-shadow: 0 0 0 .2rem rgba(30,136,229,.18); }
.form-label { font-weight: 500; font-size: .92rem; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-info-card { background: linear-gradient(160deg, var(--vb-primary), #072a66); color: #fff; border-radius: 20px; padding: 36px; height: 100%; }
.contact-info-card:not(:only-child) { height: auto; } /* stacked under another card: don't overflow the column */
/* Cards stacked in a sidebar column must not stretch to the full column height, or the next card overflows */
.vb-card.mb-1, .vb-card.mb-2, .vb-card.mb-3, .vb-card.mb-4, .vb-card.mb-5 { height: auto; }
.contact-info-card a { color: #fff; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-item small { display: block; opacity: .7; }

/* ---------- FAQ ---------- */
.accordion-button { font-weight: 600; color: var(--vb-primary); }
.accordion-button:not(.collapsed) { background: rgba(30,136,229,.08); color: var(--vb-primary); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(30,136,229,.18); }
.accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--vb-border); }

/* ---------- Careers ---------- */
.job-card { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.job-meta span { font-size: .85rem; color: var(--vb-muted); margin-right: 14px; }

/* ---------- Legal ---------- */
.legal-content h2 { font-size: 1.3rem; color: var(--vb-primary); margin-top: 2rem; }
.legal-nav .list-group-item.active { background: var(--vb-primary); border-color: var(--vb-primary); }

/* ---------- CTA & footer ---------- */
.cta-band { background: linear-gradient(90deg, var(--vb-accent), #fb923c); color: #fff; padding: 44px 0; }
.cta-band .btn-accent { --bs-btn-bg: var(--vb-primary); --bs-btn-border-color: var(--vb-primary); --bs-btn-hover-bg: var(--vb-primary-dark);
  --bs-btn-hover-border-color: var(--vb-primary-dark); box-shadow: none; }
.site-footer { background: #061f4d; color: rgba(255,255,255,.72); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--vb-accent); }
.footer-head { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-tagline { color: #fff; font-weight: 500; }
.footer-links li { margin-bottom: 9px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: var(--vb-accent); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.05rem; transition: .2s; }
.social a:hover { background: var(--vb-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .88rem; }

/* ---------- Floating widgets ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; align-items: center; gap: 8px; background: #25D366; color: #fff;
  border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 10px 25px rgba(37,211,102,.4); font-weight: 600; transition: transform .2s; }
.whatsapp-float i { font-size: 1.6rem; line-height: 1; }
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
@media (max-width: 575.98px) { .whatsapp-label { display: none; } .whatsapp-float { padding: 14px; } }
.back-to-top { position: fixed; right: 24px; bottom: 90px; z-index: 1039; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--vb-primary);
  color: #fff; opacity: 0; visibility: hidden; transition: .25s; box-shadow: var(--vb-shadow); }
.back-to-top.show { opacity: 1; visibility: visible; }
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 1050; max-width: 420px; background: #fff; border-radius: 14px; box-shadow: var(--vb-shadow-lg);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: .9rem; border: 1px solid var(--vb-border); }
@media (max-width: 575.98px) { .cookie-banner { right: 20px; bottom: 90px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float, .whatsapp-float::before { animation: none; }
}

/* ---------- Portal ---------- */
.portal-shell { background: var(--vb-soft); min-height: 70vh; padding: 48px 0 72px; }
.progress { height: 10px; border-radius: 999px; background: #e5ebf5; }
.progress-bar { background: linear-gradient(90deg, var(--vb-secondary), var(--vb-primary)); }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(30,136,229,.12); color: var(--vb-primary); }
.status-pill.done { background: rgba(25,135,84,.12); color: #146c43; }
.status-pill.hold { background: rgba(108,117,125,.15); color: #495057; }
.update-item { border-left: 3px solid var(--vb-secondary); padding: 6px 0 6px 16px; margin-bottom: 18px; }
.update-item.client { border-left-color: var(--vb-accent); }
.stage-track { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-track span { flex: 1 1 110px; font-size: .74rem; text-align: center; padding: 8px 4px; border-radius: 8px; background: #e9eef7; color: var(--vb-muted); }
.stage-track span.done { background: rgba(30,136,229,.15); color: var(--vb-primary); }
.stage-track span.current { background: var(--vb-accent); color: #fff; font-weight: 600; }

.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 48px 16px; background: var(--vb-soft); }
.auth-card { width: 100%; max-width: 440px; }

/* ==========================================================================
   Positioning update: made-for-you, screens, hosting, AI pipeline, case studies
   ========================================================================== */
.lead-sm { font-size: 1.08rem; color: var(--vb-ink); }
.site-nav .dropdown-menu { border: 1px solid var(--vb-border); border-radius: 12px; box-shadow: var(--vb-shadow); padding: 6px; }
.site-nav .dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-weight: 500; }
.site-nav .dropdown-item.active, .site-nav .dropdown-item:active { background: var(--vb-primary); color: #fff; }

/* Note / callout box */
.note-box { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; background: rgba(30,136,229,.07);
  border: 1px solid rgba(30,136,229,.2); border-radius: var(--vb-radius); padding: 18px 22px; color: var(--vb-ink); }
.note-box > i { font-size: 1.5rem; color: var(--vb-secondary); line-height: 1.2; }

/* Made for you */
.made-card { position: relative; overflow: hidden; }
.made-no { position: absolute; right: 18px; top: 6px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 4.5rem;
  line-height: 1; color: rgba(11,61,145,.06); pointer-events: none; }

/* Every screen band */
.screens-band { background: linear-gradient(135deg, #072a66, var(--vb-primary) 60%, #1360b8); color: #fff; }
.screens-band .section-title h2 { color: #fff; }
.screens-band .section-title .text-muted { color: rgba(255,255,255,.78) !important; }
.screen-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 22px 16px; text-align: center; height: 100%;
  transition: transform .25s, background .25s; }
.screen-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.screen-card h3 { font-size: 1.1rem; margin: 10px 0 4px; }
.screen-card p { font-size: .9rem; color: rgba(255,255,255,.78); }
.device { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; }
.device .d-frame { fill: #fff; }
.device .d-screen { fill: #dbe8fb; }
.device .d-ui { fill: var(--vb-secondary); opacity: .55; }
.device .d-ui2 { fill: var(--vb-accent); opacity: .85; }
.device .d-dot { fill: #b9c8e2; }
.screen-card:hover .d-ui2 { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .4; } }

/* Hosting cards and comparison */
a.hosting-card { color: inherit; }
.hosting-card .card-link { font-weight: 600; color: var(--vb-secondary); }
.compare-wrap { background: #fff; border-radius: 18px; border: 1px solid var(--vb-border); box-shadow: var(--vb-shadow); overflow: hidden; }
.compare-table { --bs-table-bg: transparent; }
.compare-table th, .compare-table td { padding: 18px 20px; border-color: var(--vb-border); }
.compare-table thead th { background: var(--vb-soft); color: var(--vb-primary); font-family: "Poppins", sans-serif; font-size: 1rem; }
.compare-table tbody th { color: var(--vb-primary); font-weight: 600; width: 20%; white-space: nowrap; }
.compare-table td { color: var(--vb-muted); }
.compare-dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vb-accent-dark); margin-top: 10px; }
.compare-dl dd { color: var(--vb-muted); margin-bottom: 0; }
.choose-card .choose-q { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--vb-primary); font-size: 1.05rem; }

/* AI pipeline band (home) */
.pipeline-band { background: #061f4d; color: #fff; }
.pipeline-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pipe-flow { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pipe-node { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; text-align: center; }
.pipe-ic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  animation: pipeGlow 4s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
.pipe-label { font-weight: 600; font-size: .95rem; }
.pipe-link { flex: 1 1 auto; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; min-width: 24px; margin-bottom: 30px; }
.pipe-link span { position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--vb-accent), transparent);
  animation: pipeMove 4s linear infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes pipeGlow { 0%, 18% { background: var(--vb-accent); border-color: var(--vb-accent); box-shadow: 0 0 0 8px rgba(249,115,22,.18); }
                      30%, 100% { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: none; } }
@keyframes pipeMove { 0% { transform: translateX(-100%); } 25%, 100% { transform: translateX(260%); } }
@keyframes pipeMoveV { 0% { transform: translateY(-100%); } 25%, 100% { transform: translateY(260%); } }
@media (max-width: 575.98px) {
  .pipe-flow { flex-direction: column; align-items: stretch; }
  .pipe-node { flex-direction: row; gap: 14px; }
  .pipe-ic { width: 56px; height: 56px; font-size: 1.4rem; border-radius: 16px; }
  .pipe-link { width: 4px; height: 22px; min-width: 0; margin: 0 0 0 26px; flex: 0 0 auto; }
  .pipe-link span { width: 100%; height: 40%; animation-name: pipeMoveV; }
}

/* AI pipeline page: vertical step flow */
.pipe-steps { list-style: none; padding: 0; margin: 0 auto 48px; max-width: 760px; position: relative; }
.pipe-steps::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--vb-secondary), var(--vb-accent)); opacity: .35; }
.pipe-step { display: flex; gap: 22px; align-items: flex-start; padding: 14px 0; position: relative; }
.pipe-step-marker { position: relative; flex-shrink: 0; }
.pipe-step-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: #fff;
  border: 2px solid var(--vb-secondary); color: var(--vb-primary); position: relative; z-index: 1; transition: .3s; }
.pipe-step.visible .pipe-step-ic { animation: stepPop .6s ease both; animation-delay: calc(var(--i) * .15s); }
.pipe-step:hover .pipe-step-ic { background: var(--vb-primary); color: #fff; border-color: var(--vb-primary); }
.pipe-step-no { position: absolute; top: -4px; right: -4px; z-index: 2; background: var(--vb-accent); color: #fff; font-size: .72rem; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.pipe-step-body { background: #fff; border: 1px solid var(--vb-border); border-radius: var(--vb-radius); padding: 18px 22px; flex: 1; }
.pipe-step-body h3 { font-size: 1.12rem; color: var(--vb-primary); margin-bottom: 4px; }
@keyframes stepPop { 0% { transform: scale(.7); } 60% { transform: scale(1.1); background: var(--vb-accent); color: #fff; border-color: var(--vb-accent); } 100% { transform: scale(1); } }
.human-note { display: flex; gap: 16px; align-items: center; max-width: 760px; background: rgba(249,115,22,.08); border: 1px solid rgba(249,115,22,.25);
  border-radius: var(--vb-radius); padding: 20px 24px; }
.human-note > i { font-size: 2rem; color: var(--vb-accent); }
.benefit-box { max-width: 980px; background: #fff; border-radius: 20px; border: 2px solid rgba(30,136,229,.2); box-shadow: var(--vb-shadow); padding: 40px 32px; }
@media (max-width: 575.98px) { .pipe-step { gap: 14px; } .benefit-box { padding: 28px 18px; } }

/* Private server diagram */
.onsite-diagram { max-width: 460px; margin: 0 auto; }
.onsite-office { position: relative; border: 2px dashed rgba(30,136,229,.4); border-radius: 22px; padding: 46px 20px 22px; background: var(--vb-soft);
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "server wifi usb" "devices devices devices"; gap: 18px; align-items: center; }
.onsite-tag { position: absolute; top: 12px; left: 18px; font-weight: 600; color: var(--vb-primary); font-size: .9rem; }
.onsite-server, .onsite-usb { background: #fff; border: 1px solid var(--vb-border); border-radius: 14px; padding: 14px 8px; text-align: center; box-shadow: var(--vb-shadow); }
.onsite-server { grid-area: server; }
.onsite-usb { grid-area: usb; }
.onsite-server i, .onsite-usb i { display: block; font-size: 1.8rem; color: var(--vb-primary); }
.onsite-usb i { color: var(--vb-accent); }
.onsite-server span, .onsite-usb span { font-size: .82rem; font-weight: 600; color: var(--vb-muted); }
.onsite-wifi { grid-area: wifi; font-size: 2rem; color: var(--vb-secondary); animation: wifiPulse 2.4s ease-in-out infinite; }
@keyframes wifiPulse { 50% { opacity: .35; } }
.onsite-devices { grid-area: devices; display: flex; justify-content: space-around; gap: 8px; }
.onsite-devices span { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--vb-border); display: grid; place-items: center;
  font-size: 1.4rem; color: var(--vb-primary); }
.onsite-remote { margin: 14px auto 0; text-align: center; font-size: .88rem; color: var(--vb-muted); }
.onsite-remote i { color: var(--vb-accent); }

/* Portfolio case studies */
.portfolio-thumb .example-flag { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: .74rem; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; background: rgba(255,255,255,.92); color: var(--vb-muted); }
.portfolio-thumb .example-flag.real { background: var(--vb-accent); color: #fff; }
.case-steps { list-style: none; padding: 0; margin: 0 0 14px; }
.case-steps li { position: relative; padding: 0 0 12px 18px; font-size: .88rem; color: var(--vb-muted); border-left: 2px solid var(--vb-border); margin-left: 6px; }
.case-steps li:last-child { padding-bottom: 0; }
.case-steps li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--vb-secondary); }
.case-steps li:last-child::before { background: var(--vb-accent); }
.case-label { display: block; font-weight: 600; color: var(--vb-primary); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.case-label i { margin-right: 4px; }
.case-pending { color: var(--vb-accent-dark); font-weight: 500; }
.example-note { color: var(--vb-muted); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .pipe-ic, .pipe-step.visible .pipe-step-ic, .onsite-wifi, .screen-card:hover .d-ui2 { animation: none; }
  .pipe-link span { display: none; }
}

/* Brand wordmark: "Vibasa" + "Tech" */
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-text .brand-sub { font-family: "Inter", sans-serif; font-size: .5em; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--vb-muted); margin-top: 3px; }
@media (max-width: 380px) { .site-nav .brand-text { font-size: 1.3rem; } }
.hero-card .hero-mark { max-width: 240px; }
.hero-wordmark { font-size: clamp(2rem, 4vw, 2.7rem); align-items: center; margin-top: 18px; }
.hero-card-tag { color: var(--vb-muted); font-weight: 600; letter-spacing: .08em; margin-top: 14px; font-size: .95rem; }
