/* ===== Ali Baba (Hafiz) Internet — minimalist, multi-page ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #03045e;
  --muted: #47648f;
  --blue: #0077b6;
  --cyan: #00b4d8;
  --pale: #90e0ef;
  --ice: #caf0f8;
  --line: #a9e3f3;
  --bg: #ffffff;
  --soft: #ffffff;
  --wa: #25d366;
  --wa-dark: #1eb856;
  --radius: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink); background: var(--ice); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1080px, 92%); margin: 0 auto; }
a { text-decoration: none; color: inherit; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,27,42,.05); }
.header-in { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; }
.brand-text small { font-size: 11.5px; color: var(--muted); }
.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; top: 71px; left: 4%; right: 4%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13,27,42,.10); padding: 10px;
}
.nav a { padding: 10px 13px; border-radius: 9px; font-weight: 500; font-size: 14.5px; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.active { color: var(--blue); font-weight: 600; }
.call-btn {
  display: none; align-items: center; gap: 7px;
  border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 13.5px;
  padding: 8px 15px; border-radius: 999px; transition: .2s;
}
.call-btn:hover { border-color: var(--blue); color: var(--blue); }
.menu-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 10px 22px rgba(0,119,182,.28); }
.btn-primary:hover { background: linear-gradient(135deg, var(--ink), var(--blue)); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* ===== Hero (home) ===== */
.hero {
  padding: 64px 0 56px; text-align: center;
  background:
    radial-gradient(560px 300px at 85% -60px, rgba(0,180,216,.35), transparent 70%),
    radial-gradient(520px 280px at 8% -40px, rgba(144,224,239,.55), transparent 70%);
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ink); background: var(--pale);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1, .page-head h1 {
  font-size: clamp(32px, 7.4vw, 52px); font-weight: 700; letter-spacing: -1px; line-height: 1.14;
}
.hero h1 .accent, .page-head h1 .accent {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 600px; margin: 18px auto 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center;
  margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hstat { text-align: center; }
.hstat strong { display: block; font-size: 20px; font-weight: 700; }
.hstat small { color: var(--muted); font-size: 12.5px; }

/* ===== Page head (sub-pages) ===== */
.page-head { padding: 54px 0 8px; text-align: center; }
.page-head p { color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 16px; }

/* ===== Sections ===== */
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(24px, 5.4vw, 32px); font-weight: 700; letter-spacing: -.5px; }
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.more-link { text-align: center; margin-top: 30px; }
.more-link a { color: var(--blue); font-weight: 600; font-size: 15px; }
.more-link a:hover { text-decoration: underline; }

/* ===== Feature row ===== */
.features { display: grid; gap: 14px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff;
}
.feature .ficon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
  background: var(--ice); color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ===== Cards ===== */
.grid { display: grid; gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--cyan); box-shadow: 0 14px 34px rgba(0,119,182,.13); transform: translateY(-3px); }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { list-style: none; margin: 14px 0 20px; font-size: 14px; }
.card ul li { padding: 3px 0; color: var(--ink); }
.card ul li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 8px; }
.card-btn { margin-top: auto; width: 100%; }

/* Packages */
.pkg { text-align: center; align-items: center; }
.pkg-speed { font-size: 50px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; color: var(--ink); }
.pkg-speed span { font-size: 19px; color: var(--blue); font-weight: 600; margin-left: 2px; }
.pkg .pname { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; margin: 8px 0 4px; }
.pkg ul { text-align: left; }
/* One colour per speed — light to deep as speed grows (palette order) */
.pkg.c10 { background: linear-gradient(170deg, #caf0f8, #eefdff); border-color: var(--pale); }
.pkg.c15 { background: linear-gradient(170deg, #90e0ef, #caf0f8); border-color: var(--cyan); }
.pkg.c20 { background: linear-gradient(165deg, #00b4d8, #4cc9e8); border-color: var(--blue); box-shadow: 0 16px 34px rgba(0,180,216,.35); }
.pkg.c20 .pkg-speed span { color: var(--ink); }
.pkg.c20 .pname { color: var(--ink); }
.pkg.c20 p { color: #07304e; }
.pkg.c20 ul li::before { color: var(--ink); }
.pkg.c20 .badge { background: var(--ink); }
.pkg.c25 { background: linear-gradient(165deg, #0077b6, #005f92); border-color: var(--ink); }
.pkg.c100 { background: linear-gradient(165deg, #03045e 35%, #0077b6); border-color: var(--ink); box-shadow: 0 18px 38px rgba(3,4,94,.32); }
.pkg.c25 .pkg-speed, .pkg.c100 .pkg-speed { color: #fff; }
.pkg.c25 .pkg-speed span, .pkg.c100 .pkg-speed span { color: var(--pale); }
.pkg.c25 .pname, .pkg.c100 .pname { color: var(--pale); }
.pkg.c25 p, .pkg.c100 p { color: #d9f3fb; }
.pkg.c25 ul li, .pkg.c100 ul li { color: #eaf9fd; }
.pkg.c25 ul li::before, .pkg.c100 ul li::before { color: var(--pale); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 13px; border-radius: 999px; white-space: nowrap; letter-spacing: .4px;
}

/* Products */
.prod-icon {
  width: 62px; height: 62px; border-radius: 15px; margin-bottom: 15px;
  background: var(--ice); color: var(--blue); display: flex; align-items: center; justify-content: center;
}

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 19px; font-weight: 500; font-size: 14.5px;
}
.area-card { text-align: left; }
.area-card .pin { color: var(--blue); margin-bottom: 10px; }
.area-card .status { color: #128c4a; font-size: 13px; font-weight: 600; margin-bottom: 14px; display: block; }

/* Notes / steps */
.note {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 22px 24px; max-width: 720px; margin: 34px auto 0; text-align: center;
  color: var(--muted); font-size: 15px;
}
.note strong { color: var(--ink); }
.steps { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.step .num {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 15.5px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14.5px; }

/* CTA band */
.cta-band { text-align: center; padding: 58px 0; }
.cta-band h2 { font-size: clamp(24px, 5.4vw, 32px); font-weight: 700; letter-spacing: -.5px; }
.cta-band p { color: var(--muted); margin: 10px auto 26px; max-width: 480px; font-size: 15.5px; }

/* Contact */
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; max-width: 500px; margin: 0 auto; text-align: center; background: #fff;
}
.contact-person { display: flex; align-items: center; gap: 15px; justify-content: center; margin-bottom: 20px; }
.contact-person img { width: 58px; height: 58px; border-radius: 15px; }
.contact-person strong { display: block; font-size: 19px; text-align: left; }
.contact-person small { color: var(--muted); display: block; text-align: left; }
.contact-nums { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; font-size: 17px; font-weight: 600; }
.contact-nums a { color: var(--blue); }
.btn.big { width: 100%; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 96px; text-align: center; color: var(--muted); font-size: 14px; }
.footer .fbrand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.footer .fbrand img { width: 26px; height: 26px; border-radius: 7px; }
.footer nav { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--blue); }
.foot-small { font-size: 12.5px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px 22px; }
.faq-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.faq-item p { color: var(--muted); font-size: 14.5px; }
.faq-item a { color: var(--blue); font-weight: 500; }

/* ===== Blog ===== */
.blog-grid { display: grid; gap: 16px; }
.post-card { display: flex; flex-direction: column; }
.post-card .tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); background: var(--pale); padding: 4px 11px; border-radius: 999px; margin-bottom: 13px;
}
.post-card h3 { font-size: 18px; line-height: 1.4; }
.post-card .meta { color: var(--muted); font-size: 12.5px; margin: 7px 0 9px; }
.post-card .read { margin-top: auto; padding-top: 14px; color: var(--blue); font-weight: 600; font-size: 14.5px; }
.article { max-width: 730px; margin: 0 auto; }
.article h2 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; margin: 30px 0 10px; }
.article p { color: #33465c; font-size: 16px; margin-bottom: 14px; }
.article ul { margin: 0 0 16px 20px; color: #33465c; font-size: 16px; }
.article ul li { padding: 3px 0; }
.article a { color: var(--blue); font-weight: 500; }
.article .lead { font-size: 17.5px; color: var(--ink); }
.back-link { display: inline-block; margin-bottom: 8px; color: var(--blue); font-weight: 500; font-size: 14.5px; }
@media (min-width: 760px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Assistant bot ===== */
.bot-fab {
  position: fixed; right: 14px; bottom: 86px; z-index: 65;
  width: 68px; height: 68px; border: none; background: transparent;
  cursor: pointer; padding: 0; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.bot-fab:active { transform: scale(.94); }
.bot-fab img { width: 100%; height: 100%; object-fit: contain; }
.bot-fab #botAnim { position: absolute; inset: 0; pointer-events: none; }
.bot-dot {
  position: absolute; top: 1px; right: 1px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--wa); border: 2px solid #fff;
}
.bot-panel {
  position: fixed; right: 18px; bottom: 162px; z-index: 70;
  width: min(92vw, 342px); max-height: min(66vh, 540px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 54px rgba(13,27,42,.20);
  display: none; flex-direction: column; overflow: hidden;
}
.bot-panel.open { display: flex; animation: botUp .25s ease; }
@keyframes botUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bot-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff;
}
.bot-head strong { display: block; font-size: 15px; line-height: 1.3; }
.bot-head small { display: block; font-size: 12px; opacity: .88; }
.bot-close {
  width: 30px; height: 30px; flex: none; border: none; border-radius: 50%;
  background: rgba(255,255,255,.22); color: #fff; font-size: 14px; cursor: pointer;
}
.bot-body { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; background: var(--ice); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.55; animation: botUp .3s ease; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--blue); font-weight: 600; }
.bot-chips {
  display: flex; flex-wrap: wrap; gap: 7px; overflow-y: auto; overflow-x: hidden;
  max-height: 132px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: inset 0 -14px 12px -12px rgba(13,27,42,.14);
}
.chip {
  white-space: normal; text-align: left;
  border: 1px solid var(--pale); background: var(--ice); color: var(--blue);
  font-family: inherit; font-size: 13px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.chip:hover { background: var(--blue); color: #fff; }
.bot-wa {
  display: block; text-align: center; background: var(--wa); color: #fff;
  font-weight: 600; font-size: 14px; padding: 13px 12px;
}
.bot-wa:hover { background: var(--wa-dark); }

/* ===== Scroll animations ===== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.rv-l.in { opacity: 1; transform: none; }
.hero .rv { transform: translateY(16px); }

/* ===== Desktop ===== */
@media (min-width: 760px) {
  .nav { display: flex; gap: 4px; margin-right: 10px; }
  .menu-btn { display: none; }
  .call-btn { display: inline-flex; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; gap: 12px; }
}
@media (min-width: 760px) and (max-width: 1020px) {
  .pkg-grid, .prod-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
}
