/* ==========================================================================
   PRINTAK ROYAL - ELEVIQ DESIGN SYSTEM TOKENS
   Inspired by Eleviq: Soft warm-gray canvas, rounded Bento cards, pill controls,
   lime neon accents, crisp typography, and high-end industrial polish.
   ========================================================================== */

:root {
  /* Brand Colors (Printak Royal Official) */
  --brand-blue: #3564ad;
  --brand-blue-hover: #294f8c;
  --brand-blue-light: #edf3fc;
  --brand-blue-surface: #e4edf9;
  
  --brand-orange: #e28925;
  --brand-orange-hover: #c9741a;
  --brand-orange-light: #fef5ea;
  --brand-orange-surface: #fcecd6;

  /* Canvas & Backgrounds (Replaced gray with soft brand-tinted canvas) */
  --bg-canvas: #eef3fa;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #f4f8fd;
  --bg-pill: #FFFFFF;
  --bg-pill-hover: #e8f0fb;
  --bg-dark-pill: #3564ad;
  --bg-dark-pill-hover: #294f8c;
  
  /* Accent Mappings for Eleviq Components */
  --accent-primary: var(--brand-blue);
  --accent-primary-hover: var(--brand-blue-hover);
  --accent-secondary: var(--brand-orange);
  --accent-secondary-hover: var(--brand-orange-hover);
  
  /* Eleviq Pill Highlights & Badges */
  --accent-lime: #e28925;
  --accent-lime-hover: #c9741a;
  --accent-lime-text: #FFFFFF;
  --accent-blue: #3564ad;
  --accent-blue-subtle: rgba(53, 100, 173, 0.1);
  --accent-gold: #e28925;

  /* Typography Colors */
  --text-primary: #111215;
  --text-secondary: #52555C;
  --text-muted: #8E929B;
  --text-light: #FAFAFA;

  /* Borders & Dividers */
  --border-subtle: rgba(17, 18, 21, 0.07);
  --border-light: rgba(17, 18, 21, 0.12);
  --border-pill: rgba(17, 18, 21, 0.08);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
  --shadow-pill: 0 4px 16px rgba(0, 0, 0, 0.04);

  /* Radii */
  --radius-pill: 9999px;
  --radius-card-sm: 20px;
  --radius-card: 28px;
  --radius-card-lg: 36px;
  --radius-nested: 20px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-headline: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  padding: 8px 10px 32px;
}

@media (min-width: 640px) {
  body {
    padding: 16px 20px 40px;
  }
}

@media (min-width: 1400px) {
  body {
    padding: 24px 40px 60px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Typography Utilities */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(17, 18, 21, 0.06);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  width: fit-content;
}

.heading-hero {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-highlight-orange {
  color: var(--brand-orange);
  display: inline;
}

.hero-highlight-blue {
  color: var(--brand-blue);
  display: inline;
}

.heading-section {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.text-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.text-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Eleviq UI Pill Button Utilities */
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-dark-pill);
  color: var(--text-light);
  padding: 6px 8px 6px 24px;
  min-height: 52px;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn-pill-dark:hover {
  background: var(--bg-dark-pill-hover);
  transform: translateY(-1px);
}

.btn-pill-dark .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-pill-dark:hover .icon-badge {
  transform: rotate(45deg);
  background: var(--accent-lime);
  color: var(--accent-lime-text);
}

.btn-pill-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-lime);
  color: var(--accent-lime-text);
  padding: 6px 26px;
  min-height: 52px;
  box-sizing: border-box;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-pill-lime:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(228, 140, 36, 0.45);
}

.btn-pill-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-pill);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-pill-light:hover {
  background: var(--bg-card-subtle);
  transform: translateY(-1px);
}

.icon-round-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.icon-round-btn:hover {
  background: var(--bg-dark-pill);
  color: white;
  transform: scale(1.04);
}

/* Card Wrappers & Bento Framework */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .app-container {
    gap: 48px;
  }
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
