:root {
  --blue-500: #3080ff;
  --blue-600: #155dfc;
  --blue-700: #1447e6;
  --blue-900: #1c398e;
  --teal: #00b7d7;
  --cyan: #53eafd;
  --navy: #0b1120;
  --navy-2: #101a33;
  --ink: #0f172b;
  --muted: #5b6b83;
  --line: #e4e9f2;
  --bg: #f6f8fc;
  --card: #ffffff;
  --grad: linear-gradient(120deg, #155dfc 0%, #00b7d7 100%);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 84px; }

/* ---------- Header & Nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark svg { width: 38px; height: 38px; }
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.brand-accent { color: var(--blue-600); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--blue-600); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 10px 20px; border-radius: 999px; box-shadow: 0 6px 18px rgba(21, 93, 252, .3); transition: transform .2s, box-shadow .2s !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21, 93, 252, .4); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; color: #fff; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 520px at 85% -10%, rgba(0, 183, 215, .35), transparent 60%), radial-gradient(820px 520px at 8% 115%, rgba(21, 93, 252, .5), transparent 60%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%); }
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.hero-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); background: rgba(83, 234, 253, .1); border: 1px solid rgba(83, 234, 253, .25); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.1rem; color: #b8c4dd; max-width: 660px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(21, 93, 252, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21, 93, 252, .45); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- Hero stats ---------- */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fb0cc; }

/* ---------- Section headings ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(21, 93, 252, .35); outline: none; }
.service-card:hover::after, .service-card:focus-visible::after { opacity: 1; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(21, 93, 252, .08); color: var(--blue-600); margin-bottom: 20px; }
.card-icon svg { width: 27px; height: 27px; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card-desc { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-600); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Why section ---------- */
.why { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; }
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Global ---------- */
.global-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.global-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.global-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.global-flag { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.global-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.global-card p { color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.about-text > p { color: var(--muted); margin-bottom: 22px; }
.about-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.about-list li::after { content: '✓'; position: absolute; left: 4px; top: 5px; font-size: 11px; color: #fff; font-weight: 800; }
.about-card { background: linear-gradient(150deg, var(--blue-700), var(--teal)); color: #fff; border-radius: 24px; padding: 44px 38px; box-shadow: var(--shadow-lg); }
.about-quote { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.about-card-text { opacity: .92; margin-bottom: 26px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { color: #fff; }
.eyebrow-light { color: var(--cyan); }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.contact-info > p { color: #b8c4dd; margin-bottom: 26px; }
.contact-list li { margin-bottom: 12px; color: #d7e0f2; }
.contact-list a { color: var(--cyan); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: var(--card); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .95rem; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(21, 93, 252, .12); }
.form-note { margin-top: 14px; font-size: .9rem; color: #008138; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #070c17; color: #b8c4dd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.brand-light .brand-name { color: #fff; }
.footer-desc { margin: 16px 0 20px; font-size: .92rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--blue-600); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: .92rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; color: #7d8ba6; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .28s ease, visibility .28s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 17, 32, .65); backdrop-filter: blur(5px); }
.modal-panel { position: relative; background: #fff; border-radius: 22px; max-width: 580px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 40px; transform: translateY(18px) scale(.98); transition: transform .28s ease; box-shadow: var(--shadow-lg); }
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.modal-close:hover { background: #e8edf7; transform: rotate(90deg); }
.modal-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: rgba(21, 93, 252, .1); color: var(--blue-600); margin-bottom: 20px; }
.modal-icon svg { width: 30px; height: 30px; }
.modal-panel h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.modal-tagline { color: var(--blue-600); font-weight: 700; margin-bottom: 14px; }
.modal-desc { color: var(--muted); margin-bottom: 20px; }
.modal-points li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--ink); font-weight: 500; }
.modal-points svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 4px; }
.modal-cta { margin-top: 24px; }
body.modal-open { overflow: hidden; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(21, 93, 252, .4); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .global-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; box-shadow: var(--shadow-lg); }
  .nav-links.open { max-height: 420px; padding: 12px 24px 20px; }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero { padding: 140px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .section { padding: 72px 0; }
}