:root {
  --blue: #2563eb;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-700: #1d4ed8;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f9ff;
  --border: #e6edf7;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(37, 99, 235, .35);
  --shadow-sm: 0 10px 30px -15px rgba(15, 23, 42, .25);
}

* { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; }

/* ---------- NAVBAR ---------- */
.navbar {
  transition: all .3s ease;
  padding: 18px 0;
}
#mainNav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .4);
  padding: 10px 0;
}
#mainNav:not(.scrolled) .nav-link,
#mainNav:not(.scrolled) .brand-text { color: #fff; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { font-size: 1.25rem; letter-spacing: .5px; }
.brand-text strong { color: var(--blue); }
.nav-link {
  font-weight: 500; color: var(--ink-2);
  padding: 8px 14px !important; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; bottom: 4px;
  width: 0; height: 2px; background: var(--blue); transition: width .25s;
}
.nav-link:hover::after { width: calc(100% - 28px); }
.btn-cta { padding: 9px 20px; border-radius: 999px; font-weight: 600; }
.navbar-toggler { border: 0; filter: invert(1); }
#mainNav.scrolled .navbar-toggler { filter: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, #1e3a8a 0%, #0f172a 55%);
  color: #fff;
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 460px; height: 460px; background: #2563eb; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #0ea5e9; bottom: -120px; left: -60px; opacity: .4; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent);
}
.hero .container { position: relative; z-index: 1; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(6px);
}
.badge-pill i { color: #93c5fd; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; margin: 22px 0 18px; }
.grad-text { background: linear-gradient(90deg, #60a5fa, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.1rem; color: #cbd5e1; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 36px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border: 0; border-radius: 12px; font-weight: 600;
  box-shadow: var(--shadow);
}
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-outline-light { border-radius: 12px; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; color: #fff; }
.stat small { color: #94a3b8; }

/* hero portfolio wall */
.portfolio-wall {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 440px; margin-left: auto;
}
.pw-tile {
  position: relative; border-radius: 18px; padding: 30px 22px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  color: #fff; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.6);
  transition: transform .3s, box-shadow .3s;
}
.pw-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 60%);
}
.pw-tile i { font-size: 2rem; z-index: 1; }
.pw-tile span { font-weight: 700; font-size: 1.05rem; z-index: 1; }
.pw-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); }
.t1 { background: linear-gradient(135deg, #2563eb, #1e40af); }
.t2 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.t3 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.t4 { background: linear-gradient(135deg, #2563eb, #0ea5e9); }

/* ---------- LOGOS STRIP ---------- */
.logos-strip { background: var(--bg-alt); padding: 30px 0; border-bottom: 1px solid var(--border); }
.logos-title { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; }
.logo-word { font-weight: 700; color: #94a3b8; font-size: 1.15rem; letter-spacing: 1px; opacity: .8; }

/* ---------- SECTIONS ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: 12px 0 12px; }
.section-title.text-start { text-align: left; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- FEATURES ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; height: 100%; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fc-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(37,99,235,.04));
  color: var(--blue); font-size: 1.6rem; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin: 0; }

/* ---------- ABOUT ---------- */
.about-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.about-ring { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.about-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.about-ring circle { fill: none; stroke: var(--border); stroke-width: 12; }
.about-ring .ring-prog { stroke: url(#g); stroke: var(--blue); stroke-dasharray: 565; stroke-dashoffset: 90; stroke-linecap: round; }
.ring-text { text-align: center; }
.ring-text strong { font-size: 2.6rem; font-weight: 800; color: var(--blue); display: block; }
.ring-text small { color: var(--muted); }
.about-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.about-badge i { color: #f59e0b; }
.about-text { color: var(--muted); margin: 16px 0 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-2); }
.check-list i { color: var(--blue); font-size: 1.25rem; flex-shrink: 0; }

/* ---------- PRICING ---------- */
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; height: 100%; position: relative; transition: all .3s;
}
.price-card:hover { box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-8px); }
.pc-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 16px; border-radius: 999px; }
.pc-name { font-size: 1.3rem; font-weight: 800; }
.pc-tag { color: var(--muted); margin-bottom: 14px; }
.pc-price { font-size: 1rem; color: var(--ink); font-weight: 700; margin-bottom: 20px; }
.pc-price span { font-size: 2.4rem; }
.pc-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pc-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--ink-2); font-size: .95rem; }
.pc-list li:last-child { border-bottom: 0; }
.btn-outline-primary { border-color: var(--blue); color: var(--blue); border-radius: 12px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--blue); color: #fff; }

/* ---------- PROCESS ---------- */
.process-row { counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; height: 100%; position: relative; transition: all .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.step-no { font-size: 2.4rem; font-weight: 800; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-card h4 { font-weight: 700; margin: 8px 0 6px; }
.step-card p { color: var(--muted); margin: 0; }

/* ---------- TESTIMONIALS ---------- */
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; height: 100%; }
.quote-text { font-size: 1.02rem; color: var(--ink-2); position: relative; padding-top: 18px; }
.quote-text::before { content: '“'; font-size: 3rem; color: var(--blue); opacity: .25; position: absolute; top: -14px; left: -4px; font-family: Georgia, serif; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.qa-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote-author strong { display: block; }
.quote-author small { color: var(--muted); }

/* ---------- CTA BANNER ---------- */
.cta-banner { padding: 20px 0 90px; }
.cta-inner {
  background: linear-gradient(135deg, var(--blue-700), #0ea5e9);
  border-radius: 24px; padding: 50px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff; box-shadow: var(--shadow);
}
.cta-inner h2 { font-weight: 800; margin-bottom: 6px; }
.cta-inner p { color: #e0f2fe; margin: 0; }
.btn-light { border-radius: 12px; font-weight: 600; color: var(--blue-700); }

/* ---------- CONTACT ---------- */
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(37,99,235,.1); color: var(--blue); font-size: 1.2rem; flex-shrink: 0; }
.contact-info small { color: var(--muted); display: block; }
.contact-info strong { font-size: 1.05rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-label { font-weight: 600; font-size: .9rem; }
.form-control { border-radius: 10px; padding: 11px 14px; border-color: var(--border); }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(37,99,235,.15); }
.form-note { font-size: .9rem; font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #cbd5e1; padding: 64px 0 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.2rem; }
.footer-about { color: #94a3b8; margin-top: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #94a3b8; font-size: .92rem; }
.footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cbd5e1; font-size: 1.1rem; transition: all .25s; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; color: #64748b; font-size: .85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  #mainNav .nav-link, #mainNav .brand-text { color: var(--ink-2) !important; }
  #mainNav { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(15,23,42,.4); }
  .navbar-toggler { filter: none; }
  .hero { padding: 140px 0 80px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cta-inner { padding: 36px 28px; }
  .hero-stats { gap: 24px; }
  .about-ring { width: 220px; height: 220px; }
  .portfolio-wall { margin: 0 auto; }
}
