/* =========================================================
   Alvexo Technologies — marketing site design system
   ========================================================= */

:root {
  --color-primary: #6c63ff;
  --color-primary-dark: #564fd8;
  --color-primary-light: #ecebff;
  --color-ink: #1c2135;
  --color-navy: #232946;
  --color-navy-800: #1a1f38;
  --color-text: #3b3f52;
  --color-muted: #6b7086;
  --color-border: #e6e7f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f7fc;
  --color-success: #16a34a;

  --font-heading: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(28, 33, 53, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 33, 53, 0.08);
  --shadow-lg: 0 20px 45px rgba(35, 41, 70, 0.14);

  --container-width: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { color: var(--color-text); }

.text-muted { color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(108, 99, 255, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(28, 33, 53, 0.08);
  border-bottom-color: var(--color-border);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #8f88ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 96px) 0 100px;
  background: radial-gradient(circle at 15% 20%, #2f2a6b 0%, var(--color-navy) 45%, var(--color-navy-800) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(108, 99, 255, 0.35), transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(108, 99, 255, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d9d7ff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #c8c9e0;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-strip {
  position: relative;
  z-index: 1;
  margin: 4rem auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #b9baD6;
  color: #b6b7d9;
  letter-spacing: 0.02em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 64px) 0 64px;
  background: linear-gradient(135deg, var(--color-navy) 0%, #2f2a6b 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(108, 99, 255, 0.3), transparent 45%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: #c8c9e0; font-size: 1.1rem; }

.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: #a9abcf;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow-light {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-badge svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); font-size: 0.97rem; margin: 0; }

/* ---------- Approach / process steps ---------- */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.approach-step {
  text-align: center;
  position: relative;
}

.approach-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.approach-step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.approach-step p { color: var(--color-muted); font-size: 0.94rem; }

/* ---------- Checklist ("Why work with us") ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--color-text);
}

.checklist .check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist .check-icon svg { width: 14px; height: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-primary) 0%, #8f5cff 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; font-size: 1.05rem; }

/* ---------- Status badge ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff3cd;
  color: #8a6100;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d18700;
}

/* ---------- Company info / definition list ---------- */
.info-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.info-grid dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.info-grid dd {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-ink);
  font-size: 1.02rem;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.contact-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 0.3rem; }
.contact-card a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.contact-card .note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--color-border);
}

.form-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { margin-bottom: 1.35rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--color-text);
  background: var(--color-surface-alt);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.consent-group label { font-size: 0.87rem; color: var(--color-muted); font-weight: 400; }
.consent-group a { color: var(--color-primary); font-weight: 600; text-decoration: none; }

.form-success {
  display: none;
  background: #ecfdf3;
  border: 1px solid #b7ecc9;
  color: #15803d;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1.25rem;
}

.form-success.visible { display: block; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-meta {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p { margin-bottom: 1rem; color: var(--color-text); }

.legal-content ul {
  margin: 0 0 1.25rem 0;
  padding-left: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.legal-callout {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 3rem;
}

.legal-callout p { margin-bottom: 0.35rem; font-size: 0.94rem; }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout a { color: var(--color-primary); text-decoration: none; font-weight: 600; }

.legal-effective-date {
  margin-top: 2rem;
  text-align: right;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-800);
  color: #b7b8d1;
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #9294b8; font-size: 0.92rem; margin-bottom: 1.25rem; max-width: 280px; }
.footer-brand .footer-ids { font-size: 0.8rem; color: #7d7fa3; line-height: 1.8; }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: #b7b8d1; text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: #fff; }

.footer-col address { font-style: normal; font-size: 0.9rem; color: #9294b8; line-height: 1.8; }
.footer-col address a { color: #b7b8d1; text-decoration: none; }
.footer-col address a:hover { color: #fff; }

.footer-bottom {
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #7d7fa3;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 24px;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active { display: flex; }

  .nav-actions .btn-primary { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: calc(var(--header-height) + 56px) 0 70px; }
  .page-hero { padding: calc(var(--header-height) + 40px) 0 48px; }

  .section { padding: 64px 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .cta-banner { padding: 2.75rem 1.75rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
