/* ═══════════════════════════════════════════════════════════
   LOGISAM DESIGN SYSTEM — Copilot 365
   Orange → Pink gradient · Inter · Slate neutrals
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --orange:        #F97316;
  --orange-light:  #FB923C;
  --orange-dark:   #EA580C;
  --pink:          #EC4899;
  --pink-light:    #F472B6;
  --pink-dark:     #DB2777;
  --gradient:      linear-gradient(135deg,#F97316 0%,#EC4899 100%);
  --gradient-soft: linear-gradient(135deg,rgba(249,115,22,.12),rgba(236,72,153,.12));

  /* Ink */
  --ink:       #0F172A;
  --ink-soft:  #475569;
  --ink-faint: #94A3B8;

  /* Surface */
  --surface:        #FFFFFF;
  --surface-muted:  #F8FAFC;
  --surface-sunken: #F1F5F9;

  /* Border */
  --border: #E2E8F0;

  /* Shadows */
  --shadow-card:  0 1px 2px rgb(15 23 42/.04),0 1px 3px rgb(15 23 42/.06);
  --shadow-hover: 0 4px 12px -2px rgb(15 23 42/.08),0 2px 6px -2px rgb(15 23 42/.06);
  --shadow-glow:  0 8px 24px -6px rgb(236 72 153/.35);

  /* Radius */
  --r-sm:  0.5rem;
  --r-md:  0.875rem;
  --r-lg:  1.125rem;
  --r-xl:  1.5rem;
  --r-full: 9999px;

  /* Semantic */
  --emerald: #10B981;
  --amber:   #F59E0B;
  --rose:    #F43F5E;
  --violet:  #8B5CF6;
}

/* ── Reset & Base ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1,h2,h3,h4,h5,h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

/* ── Brand gradient text ─────────────────────────────────── */
.brand-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

section { padding-block: 5rem; }

/* ── Eyebrow pill ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink-dark);
  background: var(--gradient-soft);
  border: 1px solid rgba(236,72,153,.15);
  border-radius: var(--r-full);
  padding: .28rem .85rem;
  margin-bottom: 1rem;
}

/* ── Icon chips ──────────────────────────────────────────── */
.chip {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  color: var(--pink-dark);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.chip-solid {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.chip-lg { width: 3.5rem; height: 3.5rem; border-radius: 1rem; font-size: 1.4rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-md);
  font-size: .925rem; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 10px 28px -6px rgb(236 72 153/.5); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { color: var(--ink); }

/* CTA band white variants */
.btn-white {
  background: #fff;
  color: var(--orange-dark);
  font-weight: 700;
}
.btn-white:hover { box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-group { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(249,115,22,.2);
}

/* ── Emerald check list ──────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: .5rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .925rem; color: var(--ink-soft); line-height: 1.55;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 1.125rem; height: 1.125rem;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: .175rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Ambient blobs ───────────────────────────────────────── */
.blob-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: blob 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: rgba(249,115,22,.08); top: -100px; left: -120px; animation-delay: 0s; }
.blob-2 { width: 480px; height: 480px; background: rgba(236,72,153,.08); top: 20%; right: -100px; animation-delay: -6s; }

@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.07); }
  66%      { transform: translate(-20px,20px) scale(.96); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* ── Header (replaced by mega-nav.js) ───────────────────── */
/* Old .site-header styles kept as fallback for any pages not yet migrated */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(6,8,18,.94); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  max-width: 90rem; margin: 0 auto;
  padding-inline: clamp(1.25rem,5vw,2rem); height: 4.25rem;
  display: flex; align-items: center; gap: 2rem;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 1.75rem; width: auto; }
.header-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.header-nav a { font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.65); transition: color .2s; }
.header-nav a:hover { color: #fff; }
.header-ctas { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 2rem; height: 2rem; padding: 0; cursor: pointer;
  background: transparent; border: none; margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; width: 1.5rem; background: rgba(255,255,255,.8); border-radius: 2px; }
.mobile-nav { display: none; }
.mobile-nav.open { display: flex; flex-direction: column; padding: 1rem; gap: .25rem;
  background: rgba(6,8,18,.98); border-top: 1px solid rgba(255,255,255,.07); }
.mobile-nav a { padding: .625rem .75rem; font-size: .925rem; color: rgba(255,255,255,.6);
  border-radius: .5rem; transition: background .15s, color .15s; }
.mobile-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
@media (max-width: 768px) { .header-nav, .header-ctas { display: none; } .nav-toggle { display: flex; } }

/* ── Section headers ────────────────────────────────────── */
.section-hd { margin-bottom: 3rem; }
.section-hd h2 { font-size: clamp(1.85rem,3.5vw,2.5rem); margin-bottom: .75rem; }
.section-hd p { color: var(--ink-soft); font-size: 1.05rem; max-width: 42rem; }
.section-hd.center { text-align: center; }
.section-hd.center p { margin-inline: auto; }

/* ── Testimonial ─────────────────────────────────────────── */
.stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: .625rem; }
.stars svg { width: .875rem; height: .875rem; fill: currentColor; }

/* ── Dark CTA band ───────────────────────────────────────── */
.cta-band {
  background: var(--gradient);
  text-align: center;
  color: #fff;
  padding-block: 5rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: .875rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 38rem; margin-inline: auto; margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: #e2e8f0;
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .875rem; color: #94a3b8; margin-top: .75rem; line-height: 1.65; max-width: 18rem; }
.footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .875rem; color: #94a3b8; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: #f1f5f9; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: #64748b;
}
.footer-bottom a { color: #64748b; transition: color .2s; }
.footer-bottom a:hover { color: #94a3b8; }
.footer-logisam { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: #64748b; }
.footer-logisam img { height: 1.1rem; filter: brightness(0) invert(.4); }

/* ── Responsive breakpoints ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding-block: 3.5rem; }
  .header-nav, .header-ctas { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .btn-group { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-group { align-items: center; }
}
