/* Bizwy Enterprise Design System */
:root {
  --bizwy-blue: #006FC0;
  --bizwy-blue-dark: #005299;
  --bizwy-blue-light: #E6F3FA;
  --bizwy-yellow: #F5D600;
  --bizwy-yellow-muted: #FDF6B8;
  --bizwy-navy: #0A1628;
  --bizwy-navy-mid: #1A2B47;
  --bizwy-white: #FFFFFF;
  --bizwy-off-white: #F8FAFC;
  --bizwy-gray-100: #F1F5F9;
  --bizwy-gray-200: #E2E8F0;
  --bizwy-gray-300: #CBD5E1;
  --bizwy-gray-500: #64748B;
  --bizwy-gray-700: #334155;
  --bizwy-text: #0F172A;
  --bizwy-text-muted: #475569;

  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "IBM Plex Sans", var(--font-sans);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --shadow-glow: 0 0 80px rgba(0, 111, 192, 0.15);

  --header-height: 72px;
  --announce-height: 34px;
  --site-chrome-height: calc(var(--announce-height) + var(--header-height));
  --container-max: 1280px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.bizwy-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bizwy-text);
  background: var(--bizwy-white);
  overflow-x: clip;
  padding-top: var(--site-chrome-height);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bizwy-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .bizwy-container {
    padding: 0 var(--space-lg);
  }
}

/* Typography */
.text-display {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.text-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.text-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.text-h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

.text-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--bizwy-text-muted);
}

.text-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bizwy-blue);
}

.text-accent {
  color: var(--bizwy-blue);
}

.text-muted {
  color: var(--bizwy-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--bizwy-blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--bizwy-blue);
  color: var(--bizwy-white);
  border-color: var(--bizwy-blue);
}

.btn-primary:hover {
  background: var(--bizwy-blue-dark);
  border-color: var(--bizwy-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--bizwy-navy);
  border-color: var(--bizwy-gray-300);
}

.btn-secondary:hover {
  border-color: var(--bizwy-blue);
  color: var(--bizwy-blue);
}

.btn-accent {
  background: var(--bizwy-yellow);
  color: var(--bizwy-navy);
  border-color: var(--bizwy-yellow);
}

.btn-accent:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bizwy-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Section utilities */
.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-dark {
  background: var(--bizwy-navy);
  color: var(--bizwy-white);
}

.section-alt {
  background: var(--bizwy-off-white);
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .text-lead {
  margin-top: var(--space-sm);
}

/* Cards */
.card {
  background: var(--bizwy-white);
  border: 1px solid var(--bizwy-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--bizwy-blue-light);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bizwy-blue-light);
  color: var(--bizwy-blue);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: 0.9375rem;
  color: var(--bizwy-text-muted);
}

/* Grid */
.grid-2 {
  display: grid;
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  gap: var(--space-md);
}

.grid-5 {
  display: grid;
  gap: var(--space-md);
}

.grid-6 {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bizwy-blue-light);
  color: var(--bizwy-blue);
}

.badge-yellow {
  background: var(--bizwy-yellow-muted);
  color: var(--bizwy-navy);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--bizwy-blue) 0%, #00A3E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 0.6s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
  }

  @keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
  }
}
