/* BitLogic Tech - colors sampled from the logo */
:root {
  --navy: #081538;
  --navy-2: #0e1f4d;
  --navy-3: #16295f;
  --gold: #e1b701;
  --gold-2: #f4cc2a;
  --ink: #101828;
  --muted: #5b6577;
  --line: #e4e7ee;
  --soft: #f4f6fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(8, 21, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 21, 56, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 8px 24px rgba(225, 183, 1, 0.35); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }

.eyebrow {
  margin: 0 0 0.6em; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
}
.muted { color: rgba(255, 255, 255, 0.72); }

/* ---------- header ---------- */
.announcement {
  background: var(--gold); color: var(--navy); text-align: center;
  font-weight: 600; font-size: 0.9rem; padding: 0.5em 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  transition: box-shadow 0.2s;
}
.site-header { transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: var(--white); color: var(--navy); box-shadow: 0 6px 24px rgba(8, 21, 56, 0.12); }
.site-header.scrolled .nav-toggle { color: var(--navy); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { display: inline-block; }
.brand-logo img { height: 52px; width: auto; }
.site-header .brand-logo { display: grid; }
.site-header .brand-logo img { grid-area: 1 / 1; transition: opacity 0.3s; }
.site-header .logo-light { opacity: 0; }
.site-header .logo-light.boxed { border-radius: 8px; }
.site-header.scrolled .logo-light { opacity: 1; }
.site-header.scrolled .logo-dark { opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white);
  font-size: 1.6rem; cursor: pointer; padding: 6px;
}

/* ---------- gradient + floating shapes (inspired by YouBee) ---------- */
.gradient-bg {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 520px at 100% 100%, rgba(225, 183, 1, 0.55), transparent 65%),
    radial-gradient(600px 400px at 85% 10%, rgba(225, 183, 1, 0.10), transparent 70%),
    linear-gradient(135deg, #040b22 0%, var(--navy) 40%, var(--navy-2) 70%, #3b3a2c 100%);
}
.gradient-bg > .container { position: relative; z-index: 1; }
.shapes { position: absolute; inset: 0; pointer-events: none; }
.sh { position: absolute; display: block; animation: drift 9s ease-in-out infinite; }
.sh-ring { width: 18px; height: 18px; border: 2px solid rgba(244, 204, 42, 0.7); border-radius: 50%; }
.sh-square { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 3px; transform: rotate(20deg); }
.sh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(225, 183, 1, 0.8); }
.sh-plus { width: 16px; height: 16px; }
.sh-plus::before, .sh-plus::after { content: ''; position: absolute; background: rgba(255, 255, 255, 0.45); border-radius: 2px; }
.sh-plus::before { left: 7px; top: 0; width: 2px; height: 16px; }
.sh-plus::after { top: 7px; left: 0; height: 2px; width: 16px; }
.s1 { top: 16%; left: 6%; }
.s2 { top: 72%; left: 12%; animation-delay: -2s; animation-duration: 11s; }
.s3 { top: 22%; left: 46%; animation-delay: -4s; }
.s4 { top: 12%; right: 10%; animation-delay: -1s; animation-duration: 12s; }
.s5 { bottom: 14%; right: 38%; animation-delay: -6s; }
.s6 { bottom: 26%; left: 34%; animation-delay: -3s; animation-duration: 10s; }
@keyframes drift {
  0%, 100% { translate: 0 0; }
  33% { translate: 14px -18px; }
  66% { translate: -10px 10px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.iso-art { width: 100%; max-width: 520px; height: auto; margin-inline: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.iso-float { animation: bob 4s ease-in-out infinite; }
.iso-float.f2 { animation-delay: -1.3s; }
.iso-float.f3 { animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.iso-wave { animation: wave 2.4s ease-in-out infinite; }
.iso-wave.w2 { animation-delay: 0.3s; }
.iso-wave.w3 { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.iso-led { animation: blink 1.8s ease-in-out infinite; }
.iso-led:nth-of-type(3n) { animation-delay: -0.6s; }
@keyframes blink { 50% { opacity: 0.35; } }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 9vw, 100px) 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service { position: relative; padding: 36px 28px 32px; text-align: center; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.service::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transition: transform 0.3s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service:hover::before { transform: scaleX(1); }
.service p { color: var(--muted); margin: 0; }
.service-icon {
  display: inline-grid; place-items: center; width: 68px; height: 68px;
  border-radius: 20px; background: var(--navy); color: var(--gold);
  font-size: 1.9rem; margin-bottom: 20px; transition: transform 0.3s, background 0.3s, color 0.3s;
}
.service:hover .service-icon { transform: rotate(-6deg) scale(1.06); background: var(--gold); color: var(--navy); }

/* tabs */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%; margin: -16px auto 40px; padding: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08);
}
.tabs.light { background: var(--soft); }
.tab {
  border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600;
  padding: 0.55em 1.4em; border-radius: 999px; cursor: pointer;
}
.tab.active { background: var(--gold); color: var(--navy); }

/* bundles */
/* Bundles share one row (up to 5 on desktop), wrapping only when there is no room. */
.bundles-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; align-items: stretch;
}
.bundle {
  position: relative; display: flex; flex-direction: column;
  flex: 1 1 0; min-width: 200px; max-width: 340px;
  padding: 32px 22px 26px; border-radius: var(--radius);
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, border-color 0.2s;
}
.bundle:hover { transform: translateY(-4px); border-color: rgba(225, 183, 1, 0.6); }
.bundle.featured {
  background: linear-gradient(170deg, var(--navy-3), var(--navy-2));
  border: 2px solid var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.bundle h3 { font-size: 1.3rem; }
.bundle .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.bundle-speed { display: flex; align-items: center; gap: 0.5em; color: var(--gold); font-weight: 600; font-size: 1.1rem; }
.bundle-price { margin: 18px 0 4px; }
.bundle-price strong { font-size: clamp(2rem, 2.6vw, 2.5rem); font-weight: 700; }
.bundle-price span { color: rgba(255, 255, 255, 0.65); margin-left: 4px; }
.bundle-price .ask, .price .ask { font-size: 1.4rem; }
.bundle-data { margin: 0 0 12px; color: rgba(255, 255, 255, 0.75); }
.bundle-data b { color: var(--white); }
.checklist { list-style: none; padding: 0; margin: 8px 0 28px; flex: 1; }
.checklist li { display: flex; gap: 0.6em; align-items: flex-start; padding: 6px 0; color: rgba(255, 255, 255, 0.85); }
.checklist .icon { color: var(--gold); margin-top: 0.2em; }

.badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.35em 0.9em; border-radius: 999px;
}

/* products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--soft), #e6eaf4);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .placeholder { width: 38%; height: 38%; color: var(--navy-3); opacity: 0.6; stroke-width: 1.2; }
.product-media .badge { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { margin: 0 0 4px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.specs { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); font-size: 0.92rem; flex: 1; }
.specs li { padding: 2px 0; }
.specs li::marker { color: var(--gold); }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price strong { font-size: 1.45rem; color: var(--navy); }
.price s { color: var(--muted); margin-left: 6px; font-size: 0.95rem; }
.stock { display: block; font-size: 0.8rem; font-weight: 600; }
.stock.in { color: #138a4b; }
.stock.out { color: #c0392b; }

/* why us (about) */
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.why-visual { border-radius: 24px; padding: 40px 32px; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; box-shadow: var(--shadow-lg); }
.why-visual > :not(.shapes) { position: relative; z-index: 1; }
.why-logo img { height: 64px; width: auto; }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.counter { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px 16px; backdrop-filter: blur(6px); }
.counter strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.counter span { color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; }
.why-text { color: var(--muted); }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 30px; }
.highlight h3 { font-size: 1.02rem; margin: 12px 0 4px; }
.highlight p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.hl-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #fff6d6; color: #a07a00; font-size: 1.45rem; }

/* call to action band */
.cta { padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.cta-inner { max-width: 760px; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta .lead { margin-inline: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon {
  width: 46px; height: 46px; padding: 12px; border-radius: 14px;
  background: var(--navy); color: var(--gold);
}
.contact-list li { font-weight: 500; color: var(--navy); }
.contact-intro { color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.contact-form { padding: 30px; color: var(--ink); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 0.75em 0.9em;
  border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink);
  width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(225, 183, 1, 0.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.92rem; text-align: center; }
.form-status.success { color: #138a4b; }
.form-status.error { color: #c0392b; }

/* footer */
.site-footer { padding: 72px 0 0; color: rgba(255, 255, 255, 0.75); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand .brand-logo img { height: 60px; }
.footer-brand p { margin: 14px 0 20px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin: 6px 0 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: var(--white); transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--gold); color: var(--navy); }
.copyright { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 56px; padding: 22px 0; font-size: 0.85rem; text-align: center; }

/* scroll reveal */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise 0.7s ease backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 340px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .why-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .highlights { grid-template-columns: 1fr; }
  .bundle { max-width: none; flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sh, .iso-float, .iso-wave, .iso-led { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-header.open .nav-links { display: flex; }
  .site-header.scrolled .nav-links { background: var(--white); border-top-color: var(--line); box-shadow: 0 12px 24px rgba(8, 21, 56, 0.12); }
  .site-header.scrolled .nav-links a:not(.btn) { border-bottom-color: var(--line); }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-links a.btn { margin-top: 14px; border: 0; }
  .brand-logo img { height: 44px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
