/* ════════════════════════════════════════════════════════
   TECHXYRA v2 — UI Pro Max Design System
   Style:    Trust & Authority + Feature-Rich (B2B Service)
   Fonts:    Outfit (headings) + Work Sans (body)
   Palette:  Navy #0F172A · Blue #0369A1 · Teal #0D9488
   Pattern:  Hero → Proof → Solution → CTA progression
════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Work+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  /* Core palette — B2B Service (skill: navy + trust blue) */
  --navy:       #0F172A;
  --navy-light: #1E293B;
  --blue:       #0369A1;
  --blue-mid:   #0284C7;
  --blue-light: #38BDF8;
  --teal:       #0D9488;
  --teal-light: #2DD4BF;
  --bg:         #F8FAFC;
  --surface:    #FFFFFF;
  --text:       #0F172A;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --muted-bg:   #E8ECF1;

  /* Gradients */
  --grad:     linear-gradient(135deg, #0369A1 0%, #0D9488 100%);
  --grad-h:   linear-gradient(135deg, #0284C7 0%, #14B8A6 100%);
  --grad-dark:linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);

  /* Shadows (skill: colored card shadows) */
  --shadow-sm: 0 1px 3px rgba(3,105,161,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(3,105,161,0.10), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(3,105,161,0.16), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(3,105,161,0.20), 0 8px 24px rgba(0,0,0,0.08);

  /* Radius (skill: Enterprise SaaS — card:16, button:999, input:8) */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-pill:999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

/* ── Typography (Outfit headings + Work Sans body) ── */
h1,h2,h3,h4,h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.13;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.78; }
a  { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 70px;
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(14px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  height: 100%; padding: 0 24px; gap: 8px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; margin-right: 24px;
}
.nav-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: .82rem; color: #fff; letter-spacing: -.5px;
}
.nav-brand {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: #fff; letter-spacing: -.3px;
}
.nav-links { display: flex; flex: 1; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.65); padding: 7px 13px;
  border-radius: 8px; font-size: .87rem; font-weight: 500;
  text-decoration: none; transition: all .18s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,.08);
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; margin-left: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px; transition: .3s;
}
@media(max-width:860px){
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn:not(.btn-pill-sm) { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--navy); padding: 16px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    gap: 4px;
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-pill);
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: .9rem; letter-spacing: .2px;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .22s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 18px rgba(3,105,161,.35);
}
.btn-primary:hover {
  background: var(--grad-h); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(3,105,161,.45);
}
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); }
.btn-lg  { padding: 15px 36px; font-size: 1rem; }
.btn-sm  { padding: 8px 18px; font-size: .8rem; }
.btn-pill-sm { padding: 7px 16px; font-size: .78rem; border-radius: var(--r-pill); }

/* ── LAYOUT ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 52px 0; }
.section-dark  { background: var(--navy); }
.section-light { background: var(--bg); }
.section-mid   { background: #F0F7FF; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media(max-width:920px){
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
}
@media(min-width:540px) and (max-width:920px){
  .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
}

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-accent { border-top: 3px solid; border-image: var(--grad) 1; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
}
.badge-blue  { background: rgba(3,105,161,.1);  color: var(--blue); }
.badge-teal  { background: rgba(13,148,136,.1);  color: var(--teal); }
.badge-white { background: rgba(255,255,255,.12); color: #fff; }
.badge-navy  { background: rgba(15,23,42,.08);   color: var(--navy); }

/* ── SECTION HEADING ── */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .badge { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  height: 3px; width: 52px; background: var(--grad);
  border-radius: 2px; margin: 14px auto;
}

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .8px; margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: 'Work Sans', sans-serif; font-size: .93rem;
  color: var(--text); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,105,161,.1);
}
.form-group textarea { min-height: 108px; resize: vertical; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 8% 25%, rgba(3,105,161,.24) 0%, transparent 58%),
    radial-gradient(ellipse 50% 45% at 92% 78%, rgba(13,148,136,.18) 0%, transparent 52%),
    radial-gradient(ellipse 40% 40% at 50% 105%, rgba(3,105,161,.12) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-content { position: relative; z-index: 1; }

/* page hero (inner pages) */
.page-hero {
  background: var(--navy); padding: 104px 0 56px;
  position: relative; overflow: hidden; text-align: center;
}
.page-hero .hero-bg { opacity: .7; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p  { color: rgba(255,255,255,.62); font-size: 1.1rem; max-width: 600px; margin: 14px auto 0; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand p { font-size: .87rem; line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-family: 'Outfit', sans-serif; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul li a { color: rgba(255,255,255,.5); font-size: .86rem; text-decoration: none; transition: color .2s; }
.footer ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: .8rem;
}
@media(max-width:820px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:500px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }
.fade-up   { animation: fadeUp .65s ease both; }
.fade-up-2 { animation: fadeUp .65s .12s ease both; }
.fade-up-3 { animation: fadeUp .65s .24s ease both; }
.fade-up-4 { animation: fadeUp .65s .36s ease both; }

/* ── SHARE BUTTONS ── */
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600; text-decoration: none; transition: all .2s;
}
.share-wa   { background: #25d366; color: #fff; }
.share-sms  { background: var(--blue); color: #fff; }
.share-mail { background: #ea4335; color: #fff; }
.share-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
