*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: #fff;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

@keyframes meshFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(3%, -4%) scale(1.08); }
  66%  { transform: translate(-3%, 3%) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
  will-change: transform;
}
.tilt-card:hover { box-shadow: 0 40px 80px -30px rgba(0,0,0,.3); }
.tilt-card > * { transform: translateZ(40px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-logo { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 400; color: #1d1d1f; text-decoration: none; opacity: .85; }
.nav-cta {
  font-size: 13px; font-weight: 500; color: #fff !important; background: #0071e3;
  padding: 7px 16px; border-radius: 980px; text-decoration: none; opacity: 1 !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: #fff;
}
.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(80px);
  opacity: .5;
  background:
    radial-gradient(40% 40% at 25% 30%, #1e4fff 0%, transparent 60%),
    radial-gradient(45% 45% at 75% 25%, #3a2bd6 0%, transparent 60%),
    radial-gradient(50% 50% at 60% 75%, #0fb5c4 0%, transparent 60%),
    radial-gradient(40% 40% at 20% 80%, #0b6bff 0%, transparent 60%);
  animation: meshFloat 36s ease-in-out infinite;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 80% at 50% 50%, transparent 30%, rgba(255,255,255,.5) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { font-size: 15px; font-weight: 600; color: #0071e3; margin-bottom: 18px; }
.hero-title {
  font-size: clamp(38px, 6.2vw, 80px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto;
  color: #1d1d1f;
  text-wrap: balance;
}
.hero-title-accent { color: #0b6bff; }
.hero-sub {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 400;
  color: #515154;
  line-height: 1.4;
  max-width: 32ch;
  margin: 28px auto 0;
}
.hero-actions {
  display: flex; gap: 24px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-top: 40px;
}
.btn-primary {
  font-size: 17px; font-weight: 500; color: #fff; background: #0071e3;
  padding: 13px 28px; border-radius: 980px; text-decoration: none;
}
.btn-link { font-size: 17px; font-weight: 400; color: #0071e3; text-decoration: none; }

/* ---------- Shared section layout ---------- */
section { padding: 120px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner--narrow { max-width: 980px; margin: 0 auto; }
.section-inner--faq { max-width: 760px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-head--tight { margin-bottom: 64px; }
.section-kicker { font-size: 15px; font-weight: 600; color: #0071e3; margin-bottom: 12px; }
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-title--sm { font-size: clamp(30px, 4vw, 46px); }
.section-desc { font-size: clamp(20px, 2.4vw, 28px); color: #86868b; font-weight: 400; margin-top: 12px; }
.section-desc--sm { font-size: clamp(19px, 2.2vw, 24px); color: #86868b; margin-top: 12px; }
.section-note { font-size: 16px; color: #86868b; margin-top: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- User stories ---------- */
.stories { background: #f5f5f7; }
.story-card {
  background: #fff;
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px -16px rgba(0,0,0,.18);
}
.story-num {
  display: inline-flex; width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 16px;
}
.story-num--1 { background: #0b6bff; }
.story-num--2 { background: #3d8bff; }
.story-num--3 { background: #7bb0ff; }
.story-quote { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 14px; }
.story-copy { font-size: 15px; color: #86868b; line-height: 1.6; }

/* ---------- Services ---------- */
.services { background: #fff; }
.service-card { background: #f5f5f7; border-radius: 24px; padding: 48px; }
.service-card h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.service-card p { font-size: 17px; color: #86868b; line-height: 1.6; }
.service-card--cta {
  background: linear-gradient(135deg, #1d1d1f, #2b2b3d);
  display: flex; flex-direction: column; justify-content: center;
}
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: #a1a1a6; margin-bottom: 24px; }
.service-card--cta a { font-size: 16px; font-weight: 500; color: #2997ff; text-decoration: none; }

/* ---------- Portfolio ---------- */
.portfolio { background: #000; color: #fff; }
.portfolio .section-kicker { color: #2997ff; }
.portfolio .section-title { color: #f5f5f7; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Featured projects ---------- */
.projects { background: #fff; }
.project-list { display: flex; flex-direction: column; gap: 20px; }
.project-card {
  background: #f5f5f7; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.project-index { font-size: clamp(40px, 6vw, 72px); font-weight: 700; color: #d2d2d7; letter-spacing: -0.03em; line-height: 1; }
.project-heading { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.project-heading h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.project-role { font-size: 13px; font-weight: 500; color: #0071e3; }
.project-desc { font-size: 18px; color: #515154; line-height: 1.6; }

/* ---------- About ---------- */
.about { background: #f5f5f7; }
.about-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center;
}
.about-photo {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
}
.about-kicker { font-size: 15px; font-weight: 600; color: #0071e3; margin-bottom: 16px; }
.about-title { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 24px; }
.about-lead { font-size: 19px; color: #1d1d1f; line-height: 1.6; margin-bottom: 20px; }
.about-copy { font-size: 17px; color: #86868b; line-height: 1.6; margin-bottom: 36px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-values dt { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.about-values dd { font-size: 14px; color: #86868b; }

/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.price-grid { align-items: start; }
.price-card { background: #f5f5f7; border-radius: 24px; padding: 44px 36px; }
.price-card--featured { background: #1d1d1f; color: #fff; position: relative; }
.price-badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 12px; font-weight: 600; color: #1d1d1f; background: #2997ff;
  padding: 5px 12px; border-radius: 980px;
}
.price-tier { font-size: 15px; font-weight: 600; color: #86868b; margin-bottom: 16px; }
.price-card--featured .price-tier { color: #2997ff; }
.price-amount { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount span { font-size: 22px; font-weight: 600; }
.price-period { font-size: 15px; color: #86868b; margin-top: 6px; margin-bottom: 32px; }
.price-card--featured .price-period { color: #a1a1a6; }
.price-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.price-features li { font-size: 15px; color: #1d1d1f; list-style: none; }
.price-card--featured .price-features li { color: #f5f5f7; }
.price-btn {
  display: block; text-align: center; font-size: 16px; font-weight: 500;
  color: #0071e3; border: 1px solid #0071e3; padding: 12px; border-radius: 980px; text-decoration: none;
}
.price-btn--solid { color: #fff; background: #0071e3; border: none; padding: 13px; }
.pricing-note { text-align: center; font-size: 14px; color: #86868b; margin-top: 32px; }

/* ---------- Testimonials ---------- */
.testimonials { background: #f5f8ff; }
.review-card {
  background: #fff; border-radius: 22px; padding: 36px 32px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 18px; color: #ffb400; font-size: 16px; letter-spacing: 2px; }
.review-quote { font-size: 17px; line-height: 1.6; color: #1d1d1f; font-weight: 500; flex: 1; }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #e6eefc;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #0b6bff; font-size: 18px;
}
.review-name { font-size: 15px; font-weight: 600; }
.review-role { font-size: 13px; color: #86868b; }

/* ---------- FAQ ---------- */
.faq { background: #f5f5f7; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: 1px solid #d2d2d7; padding: 28px 4px; }
.faq-item:last-child { border-bottom: 1px solid #d2d2d7; }
.faq-item dt { font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; }
.faq-item dd { font-size: 16px; color: #86868b; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { padding: 40px 24px; background: #f5f5f7; }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand { font-size: 13px; color: #86868b; }
.footer-contact { display: flex; gap: 24px; align-items: center; }
.footer-contact a { font-size: 13px; text-decoration: none; }
.footer-phone { color: #86868b; }
.footer-zalo { color: #0071e3; }
.footer-copy { font-size: 13px; color: #86868b; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  section { padding-block: 76px !important; padding-inline: 20px !important; }
  .nav { padding-inline: 18px !important; }
  .footer { padding-inline: 20px !important; }
  .nav-links { gap: 14px !important; }
  .nav-links a:not(.nav-cta) { display: none !important; }
  .grid-3, .grid-2, .price-grid { grid-template-columns: 1fr !important; }
  .about-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
  .project-card { grid-template-columns: 1fr !important; gap: 16px !important; text-align: center; }
  .hero { min-height: auto !important; padding-top: 108px !important; }
}
