:root {
  --ff-navy-grad: linear-gradient(135deg, #0D1F52 0%, #1B2B6B 55%, #2441A0 100%);
  --ff-navy: #0D1F52;
  --ff-blue: #2441A0;
  --ff-blue-soft: #eef1fb;
  --ff-accent: #16c0a6;
  --ff-ink: #16203f;
  --ff-muted: #5b657f;
  --ff-line: #e7eaf3;
}

* { -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ff-ink);
  background: #fff;
}

h1, h2, h3, h4, h5, .display-5, .navbar-brand {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-muted-2 { color: var(--ff-muted) !important; }
.bg-grad { background: var(--ff-navy-grad) !important; }
.text-accent { color: var(--ff-accent) !important; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; padding: .7rem 1.4rem; }
.btn-brand { background: var(--ff-navy-grad); color: #fff; border: none; box-shadow: 0 8px 22px rgba(36,65,160,.28); }
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36,65,160,.36); }
.btn-accent { background: var(--ff-accent); color: #04221c; border: none; }
.btn-accent:hover { background: #12a892; color: #04221c; }
.btn-light-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn-light-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--ff-blue); color: var(--ff-blue); }
.btn-outline-brand:hover { background: var(--ff-blue); color: #fff; }
.btn, .card, .feature-icon, .badge-pill, .nav-link { transition: all .25s ease; }

/* ---------- Navbar ---------- */
.navbar { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ff-line); }
.navbar-brand { font-size: 1.4rem; color: var(--ff-navy) !important; display: flex; align-items: center; gap: .5rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--ff-navy-grad);
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.navbar .nav-link { color: var(--ff-ink); font-weight: 500; padding: .5rem .9rem !important; border-radius: 8px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ff-blue); background: var(--ff-blue-soft); }
.lang-toggle .btn { padding: .35rem .7rem; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { background: var(--ff-navy-grad); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,192,166,.35), transparent 70%);
  top: -160px; right: -120px; filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  bottom: -140px; left: -80px;
}
.hero .container { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); padding: .45rem 1rem; border-radius: 50px; font-size: .85rem;
}
.hero-checks li { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; color: rgba(255,255,255,.92); }
.hero-checks i { color: var(--ff-accent); }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-float {
  position: absolute; background: #fff; color: var(--ff-ink); border-radius: 14px;
  padding: .8rem 1rem; box-shadow: 0 16px 34px rgba(0,0,0,.18); display: flex; align-items: center; gap: .7rem;
}
.hero-float i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ff-blue-soft); color: var(--ff-blue); }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--ff-line); }
.trust-item { display: flex; align-items: center; gap: .7rem; color: var(--ff-muted); font-weight: 600; }
.trust-item i { color: var(--ff-blue); font-size: 1.25rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.kicker { color: var(--ff-blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ---------- Service / category cards (ecommerce) ---------- */
.card { border: 1px solid var(--ff-line); border-radius: 18px; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,31,82,.12); border-color: transparent; }
.service-card .service-img { height: 190px; object-fit: cover; border-radius: 18px 18px 0 0; }
.price-tag { font-weight: 800; color: var(--ff-navy); font-size: 1.15rem; }
.price-old { color: var(--ff-muted); text-decoration: line-through; font-size: .9rem; }
.tag-pop { background: #fff3e0; color: #c75b00; font-weight: 700; font-size: .72rem; padding: .25rem .55rem; border-radius: 50px; }
.tag-express { background: #e7f8f4; color: #0a8c76; font-weight: 700; font-size: .72rem; padding: .25rem .55rem; border-radius: 50px; }

.cat-chip {
  display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border: 1px solid var(--ff-line);
  border-radius: 14px; font-weight: 600; background: #fff; cursor: pointer; height: 100%;
}
.cat-chip:hover { border-color: var(--ff-blue); background: var(--ff-blue-soft); }
.cat-chip .cat-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--ff-blue-soft); color: var(--ff-blue); display: grid; place-items: center; font-size: 1.1rem; }
.cat-chip .count { margin-left: auto; color: var(--ff-muted); font-size: .85rem; }

/* ---------- Feature cards ---------- */
.feature-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.4rem; background: var(--ff-blue-soft); color: var(--ff-blue); margin-bottom: 1rem;
}
.feature-card:hover .feature-icon { background: var(--ff-navy-grad); color: #fff; }

/* ---------- How it works ---------- */
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ff-navy-grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: 'Plus Jakarta Sans'; flex: 0 0 auto;
}
.step-card { position: relative; }
.step-meta { font-size: .8rem; color: var(--ff-muted); }
.step-meta strong { color: var(--ff-ink); display: block; }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--ff-line); border-radius: 18px; padding: 1.6rem; height: 100%; }
.t-stars { color: #f5a623; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-name { font-weight: 700; font-size: .95rem; }
.t-role { color: var(--ff-muted); font-size: .82rem; }

/* ---------- CTA ---------- */
.cta { background: var(--ff-navy-grad); color: #fff; border-radius: 28px; overflow: hidden; position: relative; }
.cta::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(22,192,166,.3), transparent 70%); top:-120px; right:-60px; }
.store-btn { display: inline-flex; align-items: center; gap: .6rem; background: #000; color: #fff; padding: .6rem 1.1rem; border-radius: 12px; text-decoration: none; }
.store-btn:hover { color: #fff; opacity: .9; }
.store-btn i { font-size: 1.5rem; }
.store-btn small { display: block; font-size: .65rem; opacity: .8; line-height: 1; }
.store-btn span { font-weight: 700; font-size: .95rem; }

/* ---------- Footer ---------- */
footer { background: #0a1633; color: rgba(255,255,255,.72); }
footer a { color: rgba(255,255,255,.72); text-decoration: none; }
footer a:hover { color: #fff; }
footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-soc { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-soc:hover { background: var(--ff-blue); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact i { color: var(--ff-accent); margin-top: .25rem; }

/* ---------- Reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 991px) {
  .section { padding: 60px 0; }
  .hero-float { display: none; }
}

/* ---------- Page header (subpages) ---------- */
.page-head { background: var(--ff-navy-grad); color: #fff; position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(22,192,166,.3), transparent 70%); top:-160px; right:-100px; }
.page-head .container { position: relative; z-index: 2; }
.page-head .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-head .breadcrumb .active { color: #fff; }
.page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Services sidebar / filters ---------- */
.filter-card { border: 1px solid var(--ff-line); border-radius: 16px; padding: 1.3rem; }
.filter-card h6 { font-weight: 700; font-family: 'Plus Jakarta Sans'; }
.cat-list .cat-row {
  display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px;
  cursor: pointer; font-weight: 500; color: var(--ff-ink);
}
.cat-list .cat-row:hover { background: var(--ff-blue-soft); }
.cat-list .cat-row.active { background: var(--ff-blue-soft); color: var(--ff-blue); font-weight: 700; }
.cat-list .cat-row .count { margin-left: auto; font-size: .8rem; color: var(--ff-muted); background: #f1f3f9; padding: .1rem .5rem; border-radius: 50px; }
.cat-list .cat-row.active .count { background: #fff; color: var(--ff-blue); }

/* express toggle */
.speed-box { border: 1px solid var(--ff-line); border-radius: 16px; padding: 1.3rem; }
.speed-pill { display:flex; align-items:center; justify-content:space-between; padding:.6rem .9rem; border-radius:12px; border:1px solid var(--ff-line); cursor:pointer; }
.speed-pill.active { border-color: var(--ff-accent); background: #e7f8f4; }
.form-switch .form-check-input:checked { background-color: var(--ff-accent); border-color: var(--ff-accent); }

.urgent-banner { background: #fff3e0; border: 1px solid #ffd9a8; color: #c75b00; border-radius: 12px; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 70px); }
.auth-visual { background: var(--ff-navy-grad); color: #fff; position: relative; overflow: hidden; }
.auth-visual::before { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(22,192,166,.28), transparent 70%); top:-120px; left:-80px; }
.auth-visual .auth-visual-inner { position: relative; z-index: 2; }
.auth-feat li { display:flex; gap:.7rem; align-items:flex-start; margin-bottom:1rem; color:rgba(255,255,255,.9); }
.auth-feat i { color: var(--ff-accent); margin-top:.25rem; }
.auth-card { max-width: 460px; width: 100%; }
.auth-card .form-control, .auth-card .form-select { border-radius: 11px; padding: .75rem .9rem; border-color: var(--ff-line); }
.auth-card .form-control:focus { border-color: var(--ff-blue); box-shadow: 0 0 0 .2rem rgba(36,65,160,.12); }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--ff-muted); }
.input-icon .form-control { padding-left: 2.5rem; }
.social-btn { border: 1px solid var(--ff-line); border-radius: 11px; padding: .7rem; font-weight: 600; background: #fff; width: 100%; color: var(--ff-ink); }
.social-btn:hover { background: var(--ff-blue-soft); }
.divider-or { display:flex; align-items:center; gap:1rem; color:var(--ff-muted); font-size:.85rem; }
.divider-or::before, .divider-or::after { content:""; flex:1; height:1px; background:var(--ff-line); }

/* ---------- Cart / Checkout / Profile ---------- */
.panel { border: 1px solid var(--ff-line); border-radius: 16px; }
.panel-pad { padding: 1.4rem; }
.summary-card { border: 1px solid var(--ff-line); border-radius: 16px; padding: 1.4rem; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: .7rem; color: var(--ff-muted); }
.summary-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; color: var(--ff-navy); font-family: 'Plus Jakarta Sans'; }

.cart-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ff-line); }
.cart-item:last-child { border-bottom: none; }
.cart-thumb { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--ff-line); border-radius: 10px; overflow: hidden; }
.qty-box button { border: none; background: #fff; width: 34px; height: 34px; color: var(--ff-ink); font-weight: 700; }
.qty-box button:hover { background: var(--ff-blue-soft); color: var(--ff-blue); }
.qty-box span { width: 38px; text-align: center; font-weight: 700; }
.icon-btn { border: none; background: transparent; color: var(--ff-muted); width: 34px; height: 34px; border-radius: 8px; }
.icon-btn:hover { background: #fdeaea; color: #d9534f; }

/* steps progress */
.steps-bar { display: flex; align-items: center; gap: 0; }
.steps-bar .step { display: flex; align-items: center; gap: .6rem; color: var(--ff-muted); font-weight: 600; font-size: .9rem; }
.steps-bar .step .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eef1f7; color: var(--ff-muted); font-size: .85rem; font-weight: 700; }
.steps-bar .step.active .dot { background: var(--ff-navy-grad); color: #fff; }
.steps-bar .step.done .dot { background: var(--ff-accent); color: #04221c; }
.steps-bar .step.active, .steps-bar .step.done { color: var(--ff-ink); }
.steps-bar .line { flex: 1; height: 2px; background: var(--ff-line); margin: 0 .8rem; min-width: 24px; }

.pay-opt { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--ff-line); border-radius: 12px; padding: 1rem; cursor: pointer; }
.pay-opt.active { border-color: var(--ff-blue); background: var(--ff-blue-soft); }
.pay-opt .pay-ic { width: 40px; height: 40px; border-radius: 10px; background:#fff; border:1px solid var(--ff-line); display:grid; place-items:center; color: var(--ff-blue); }
.addr-card { border: 1px solid var(--ff-line); border-radius: 12px; padding: 1rem 1.1rem; cursor: pointer; }
.addr-card.active { border-color: var(--ff-blue); background: var(--ff-blue-soft); }

/* profile */
.profile-aside { border: 1px solid var(--ff-line); border-radius: 16px; overflow: hidden; }
.profile-banner { background: var(--ff-navy-grad); height: 90px; }
.profile-ava { width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; margin-top: -52px; }
.profile-nav a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem; color: var(--ff-ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; }
.profile-nav a:hover { background: var(--ff-blue-soft); }
.profile-nav a.active { background: var(--ff-blue-soft); color: var(--ff-blue); border-left-color: var(--ff-blue); font-weight: 700; }
.stat-box { border: 1px solid var(--ff-line); border-radius: 14px; padding: 1.1rem; text-align: center; }
.stat-box .num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.6rem; color: var(--ff-navy); }
.order-row { border: 1px solid var(--ff-line); border-radius: 14px; padding: 1.1rem; }
.status-pill { font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 50px; }
.status-progress { background: #e7f0ff; color: #1d5fd6; }
.status-done { background: #e7f8f4; color: #0a8c76; }
.status-pending { background: #fff3e0; color: #c75b00; }

/* ---------- Blog ---------- */
.blog-card { border: 1px solid var(--ff-line); border-radius: 18px; overflow: hidden; background: #fff; height: 100%; }
.blog-card .blog-img { height: 210px; object-fit: cover; width: 100%; }
.blog-card .blog-body { padding: 1.3rem; }
.blog-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ff-blue); }
.blog-meta { color: var(--ff-muted); font-size: .82rem; }
.blog-feature { border: 1px solid var(--ff-line); border-radius: 20px; overflow: hidden; background: #fff; }
.blog-feature img { height: 100%; min-height: 320px; object-fit: cover; width: 100%; }
.read-link { color: var(--ff-blue); font-weight: 600; text-decoration: none; }
.read-link:hover { color: var(--ff-navy); }

/* ---------- About ---------- */
.about-img { border-radius: 20px; object-fit: cover; width: 100%; }
.value-card { border: 1px solid var(--ff-line); border-radius: 16px; padding: 1.5rem; height: 100%; background: #fff; }
.value-card .v-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--ff-blue-soft); color: var(--ff-blue); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
.stat-band { background: var(--ff-navy-grad); border-radius: 24px; color: #fff; }
.stat-band .big { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--ff-line); }
.timeline .t-item { position: relative; padding-bottom: 1.8rem; }
.timeline .t-item::before { content:""; position:absolute; left:-2rem; top:4px; width:16px; height:16px; border-radius:50%; background:var(--ff-navy-grad); border:3px solid #fff; box-shadow:0 0 0 2px var(--ff-line); }
.team-card { text-align: center; }
.team-card img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; margin-bottom: .8rem; }

/* ---------- Thank you ---------- */
.thanks-wrap { min-height: calc(100vh - 70px); display: grid; place-items: center; }
.thanks-check { width: 100px; height: 100px; border-radius: 50%; background: #e7f8f4; color: #0a8c76; display: grid; place-items: center; font-size: 3rem; margin: 0 auto 1.5rem; }
.track-step { display: flex; gap: 1rem; align-items: flex-start; text-align: left; }
.track-step .ts-ic { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--ff-blue-soft); color: var(--ff-blue); }
.track-step.active .ts-ic { background: var(--ff-navy-grad); color: #fff; }

/* ---------- Service detail ---------- */
.gallery-main { border-radius: 18px; overflow: hidden; border: 1px solid var(--ff-line); }
.gallery-main img { width: 100%; height: 420px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: .8rem; }
.gallery-thumbs img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--ff-blue); }
.detail-price { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2rem; color: var(--ff-navy); }
.opt-pill { border: 1px solid var(--ff-line); border-radius: 10px; padding: .5rem 1rem; cursor: pointer; font-weight: 600; font-size: .9rem; background: #fff; }
.opt-pill.active { border-color: var(--ff-blue); background: var(--ff-blue-soft); color: var(--ff-blue); }
.spec-row { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--ff-line); }
.spec-row:last-child { border-bottom: none; }
.detail-tabs .nav-link { color: var(--ff-muted); font-weight: 600; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: .7rem 1.1rem; }
.detail-tabs .nav-link.active { color: var(--ff-blue); border-bottom-color: var(--ff-blue); background: transparent; }
.trust-mini { display: flex; align-items: center; gap: .6rem; color: var(--ff-muted); font-size: .85rem; }
.trust-mini i { color: var(--ff-blue); }
