/* =========================================================
   Astra — Corporate Website Stylesheet
   Palette: white, black, navy blue + variations of blue only
   ========================================================= */

:root {
  --navy-900: #04102e;
  --navy-800: #081a47;
  --navy-700: #0b2466;
  --navy-600: #122d80;
  --navy-500: #1a3aa3;
  --blue-400: #2f55c4;
  --blue-300: #5b7fe0;
  --blue-200: #a8bdf0;
  --blue-100: #dde6fb;
  --blue-050: #f1f5ff;
  --white: #ffffff;
  --black: #000000;
  --ink: #0a1230;
  --muted: #4a5680;
  --border: #d9e0f3;
  --shadow-sm: 0 1px 2px rgba(8, 26, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 26, 71, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 26, 71, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --container: 1200px;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --transition: 200ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-400); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--ink); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Top Bar
   ========================================================= */
.topbar {
  background: var(--navy-900);
  color: var(--blue-100);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--navy-700);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: var(--blue-100); }
.topbar a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 18px; align-items: center; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-400) 100%);
  border-radius: 9px;
  color: var(--white);
  font-weight: 800;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.logo-mark svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.logo-text {
  display: inline-flex;
  align-items: baseline;
}
.logo-text .a-mark { color: var(--blue-400); }
.logo-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: -4px;
  font-weight: 500;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav > li { position: relative; }
.primary-nav > li > a,
.primary-nav > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.primary-nav > li > a:hover,
.primary-nav > li > button:hover,
.primary-nav > li.has-menu:hover > button { background: var(--blue-050); color: var(--navy-700); }
.caret { width: 10px; height: 10px; }

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.dropdown.wide { min-width: 460px; }
.has-menu:hover > .dropdown,
.has-menu:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background var(--transition);
}
.dropdown-item:hover { background: var(--blue-050); }
.dropdown-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-400));
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(8, 26, 71, 0.15);
}
.dropdown-icon svg { width: 18px; height: 18px; }
.dropdown-title { font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.dropdown-desc { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* Header actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--navy-700); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-700); border: 1.5px solid var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost { color: var(--navy-700); }
.btn-ghost:hover { background: var(--blue-050); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--blue-100); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }


/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(47, 85, 196, 0.18), transparent 50%),
    radial-gradient(ellipse at 90% 30%, rgba(91, 127, 224, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--blue-100);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--blue-300); border-radius: 50%; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue-200); }
.hero .lede {
  font-size: 1.15rem;
  color: var(--blue-100);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-stat .label { color: var(--blue-200); font-size: 0.88rem; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  background: var(--blue-050);
  border-color: var(--blue-100);
  color: var(--navy-700);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.section-alt { background: var(--blue-050); }
.section-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--blue-100); }

/* =========================================================
   Product Grid
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}
.product-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card:hover::before { transform: scaleX(1); }
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-400));
  color: var(--white);
  margin-bottom: 20px;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-700);
}
.product-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.product-link:hover svg { transform: translateX(3px); }

/* =========================================================
   Trusted by (Customer Logos)
   ========================================================= */
.trusted {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-title {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 600;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
  color: var(--navy-800);
}
.client-logo:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }
.client-logo .brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.1;
}

/* =========================================================
   Features / Value props
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.feature {
  padding: 24px 0;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-400);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   Split / About teaser
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-400));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split-media .pattern-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.25) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.split-media .floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  color: var(--navy-900);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.split-media .floating-card svg { width: 22px; height: 22px; color: var(--blue-400); }
.split-media .fc-1 { top: 14%; left: -6%; }
.split-media .fc-2 { bottom: 18%; right: -8%; }
.split-content h2 { margin-bottom: 18px; }
.split-content p { color: var(--muted); margin-bottom: 18px; }
.split-content ul.bullets { display: grid; gap: 12px; margin: 20px 0 28px; }
.split-content ul.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.97rem;
}
.split-content ul.bullets svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--blue-400);
  margin-top: 3px;
}

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(47, 85, 196, 0.4), transparent 50%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); max-width: 600px; }
.cta-banner p { color: var(--blue-100); margin-top: 8px; }

/* =========================================================
   Page Header (interior pages)
   ========================================================= */
.page-header {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(47, 85, 196, 0.15), transparent 50%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--navy-700);
}
.page-header h1 { color: var(--white); margin-bottom: 14px; }
.page-header p { color: var(--blue-100); max-width: 720px; font-size: 1.1rem; }
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--blue-200);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--blue-200); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

/* =========================================================
   Product detail page
   ========================================================= */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-hero-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-400));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .ic {
  width: 44px; height: 44px;
  background: var(--blue-050);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
  margin-bottom: 16px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy-900); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-info {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-block { margin-bottom: 26px; }
.contact-block .label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 6px;
}
.contact-block a { font-weight: 600; color: var(--navy-800); }

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.location-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--transition), transform var(--transition);
}
.location-card:hover { border-color: var(--blue-200); transform: translateY(-2px); }
.location-card .city { font-weight: 700; color: var(--navy-900); font-size: 1.05rem; }
.location-card .country { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.location-card .pin {
  width: 36px; height: 36px;
  background: var(--blue-050);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  margin-bottom: 14px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: var(--blue-100);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { color: var(--white); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: var(--blue-200); margin-top: 16px; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: var(--blue-200);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--blue-200);
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.social a:hover {
  background: var(--blue-400);
  transform: translateY(-2px);
  color: var(--white);
}
.social svg { width: 16px; height: 16px; }

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 32px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .product-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { padding: 40px 32px; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .primary-nav { gap: 0; flex-wrap: wrap; justify-content: center; }
  .primary-nav > li > a,
  .primary-nav > li > button { padding: 8px 10px; font-size: 0.9rem; }
  .nav { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .logo { font-size: 1.3rem; }
  .logo-tag { display: none; }
  .nav-actions .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
  .dropdown, .dropdown.wide { min-width: 260px; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
