/**
 * ==============================================================================
 * INFINEO DESIGN SYSTEM — PRODUCTION LIGHT MODE STYLESHEET (main.css)
 * Warm Cream Canvas + Blue Metallic Glass Primary CTA + Soft Gold Glass Secondary
 * ==============================================================================
 */

/* ==============================================================================
   1. DESIGN TOKENS & COLOR SYSTEM
   ============================================================================== */

:root,
[data-theme="light"] {
  /* Exact Infineo Brand Foundation */
  --color-infineo-black: #112B47;
  --color-infineo-gold: #BE8C4A;
  --color-infineo-blue: #276CB6;
  --color-infineo-gold-light: #E7B860;
  --color-infineo-gold-vibrant: #E4AA33;
  --color-infineo-cream: #F7DA99;
  --color-infineo-brown-dark: #413327;
  --color-infineo-brown: #885A2A;
  --color-infineo-taupe: #917864;
  --color-infineo-white: #FFFFFF;

  /* Semantic References */
  --color-primary: #276CB6;
  /* Primary Action = Infineo Blue #276CB6 */
  --color-primary-light: #3B82D1;
  --color-accent: #BE8C4A;
  /* Supporting Accent = Refined Gold */
  --color-bg-dark: #112B47;
  --color-bg-light: #F8FAFC;
  /* Atmospheric Light Background Canvas (#FDF1DD base) */
  --bg-canvas: #FDF1DD;
  --bg-canvas-warm: #FAF0DC;
  --bg-canvas-tint: #FDF1DD;
  --bg-glow-gold: rgba(231, 184, 96, 0.12);
  --bg-glow-blue: rgba(39, 108, 182, 0.04);
  --bg-highlight-white: rgba(255, 255, 255, 0.90);

  --bg-primary: #FDF8EE;
  --bg-secondary: #FDF1DD;
  --bg-surface: rgba(255, 255, 255, 0.72);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-matrix: rgba(255, 255, 255, 0.65);

  /* Primary Blue Metallic Glass Action System (Main CTA #276CB6) */
  --primary: #276CB6;
  --primary-hover: #3B82D1;
  --primary-dark: #1C5492;
  --primary-glow: rgba(39, 108, 182, 0.28);

  /* Secondary Soft Gold Glass Action System (Supporting Action) */
  --secondary: #BE8C4A;
  --secondary-hover: #E7B860;
  --secondary-light: rgba(247, 218, 153, 0.30);
  --secondary-glow: rgba(190, 140, 74, 0.25);

  /* Typography & Contrast Tokens */
  --heading-primary: #112B47;
  --heading-secondary: #112B47;
  --heading-tertiary: #39618D;
  --heading-quaternary: #5F7895;
  --text-primary: #112B47;
  --text-secondary: #39618D;
  --text-muted: #5F7895;
  --text-disabled: #917864;
  --caption: #5F7895;
  --link: #39618D;
  --link-hover: #BE8C4A;

  /* Glassmorphism Borders & Edges */
  --border-glass: rgba(255, 255, 255, 0.80);
  --border-glass-strong: rgba(255, 255, 255, 0.95);
  --border-primary: rgba(57, 97, 141, 0.16);
  --border-secondary: rgba(57, 97, 141, 0.10);
  --border-gold: rgba(190, 140, 74, 0.35);

  /* Glass Surface Tokens */
  --glass-white: rgba(255, 255, 255, 0.72);
  --glass-panel: rgba(255, 255, 255, 0.72);
  --glass-matrix: rgba(255, 255, 255, 0.65);
  --glass-modal: rgba(255, 255, 255, 0.90);
  --glass-blue: rgba(57, 97, 141, 0.06);
  --glass-gold: rgba(247, 218, 153, 0.25);

  /* Input Controls */
  --input-bg: rgba(255, 255, 255, 0.80);
  --input-border: rgba(57, 97, 141, 0.20);
  --input-border-focus: #39618D;

  /* Semantic Status Indicators */
  --success: #2E7D46;
  --error: #C74545;
  --warning: #BE8C4A;
  --info: #39618D;

  /* Shadows & Neumorphic Depth */
  --card-shadow: 0 16px 40px rgba(57, 97, 141, 0.06), 0 2px 6px rgba(190, 140, 74, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.90);
  --matrix-shadow: 0 18px 45px rgba(57, 97, 141, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  --btn-blue-shadow: 0 4px 14px rgba(57, 97, 141, 0.28), 0 2px 4px rgba(17, 43, 71, 0.10), inset 0 1px 1px rgba(255, 255, 255, 0.55);
  --btn-blue-shadow-hover: 0 8px 24px rgba(57, 97, 141, 0.38), 0 0 16px rgba(74, 122, 168, 0.30), inset 0 1px 1px rgba(255, 255, 255, 0.75);
  --btn-gold-shadow: 0 4px 14px rgba(190, 140, 74, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  --btn-gold-shadow-hover: 0 8px 24px rgba(190, 140, 74, 0.22), 0 0 14px rgba(231, 184, 96, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.95);

  /* Typography Families (Preserved from Project) */
  --font-cinzel: "Cinzel", serif;
  --font-alegreya: "Alegreya", serif;
  --font-alegreya-sans: "Alegreya Sans", sans-serif;
  --font-nunito: "Nunito", sans-serif;
  --font-poppins: "Poppins", sans-serif;
  --font-satoshi: "Poppins", "Satoshi", system-ui, sans-serif;
  --font-fredoka: "Fredoka", cursive, sans-serif;
  --font-neuton: "Neuton", serif;
  --font-crimson: "Crimson Pro", serif;
  --font-yrsa: "Yrsa", serif;
  --font-spectral: "Spectral", serif;
  --font-alegreya-sc: "Alegreya SC", serif;
  --font-bona-nova: "Bona Nova", serif;
  --font-bona-nova-sc: "Bona Nova SC", serif;
  --font-eb-garamond: "EB Garamond", serif;

  --font-primary: "Cinzel", serif;
  --font-secondary: "Nunito", sans-serif;
  --font-supporting: "Poppins", sans-serif;
  --font-decorative: "Fredoka", sans-serif;

  /* Metric Geometry */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --transition-fast: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================================================================
   2. BASE STYLES & ATMOSPHERIC WARM CREAM BACKGROUND (#FDF1DD)
   ============================================================================== */

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

html {
  scroll-behavior: smooth;
  background-color: #FDF1DD;
}

body {
  font-family: var(--font-alegreya-sans);
  background-color: #FDF1DD;
  background-image: url('bg6.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Soft Ambient Warm Blooms */
body::before {
  content: "";
  position: fixed;
  top: -10vw;
  right: -5vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(247, 218, 153, 0.15) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10vw;
  left: 5vw;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 218, 153, 0.20) 0%, rgba(231, 184, 96, 0.08) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Mandatory Headings Font-Weight: 500 */
h1,
h2,
h3,
h4,
h5,
h6,
.doc-title,
.section-title,
.hero-mock-h1,
.card-title,
.font-sample-cinzel,
.font-sample-alegreya,
.price-val,
.sidebar-brand-name {
  font-weight: 500 !important;
}

/* ==============================================================================
   3. LAYOUT STRUCTURE & PORTAL SHELL
   ============================================================================== */

.portal-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;

}

/* Fixed Left Sidebar with Glass Treatment */
.portal-sidebar {
  width: 270px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 4px 0 30px rgb(55 57 57 / 30%);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 18px;
  z-index: 500;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.sidebar-header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(57, 97, 141, 0.10);
}

.sidebar-brand-link {
  display: block;
  text-decoration: none;
}

.sidebar-logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(18, 75, 122, 0.12));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.sidebar-brand-link:hover .sidebar-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 5px 12px rgba(18, 75, 122, 0.20));
}

.sidebar-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #39618D;
  font-family: var(--font-satoshi);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.nav-item-link svg {
  width: 18px;
  height: 18px;
  color: #5F7895;
  transition: color var(--transition-fast);
}

.nav-item-link:hover {
  background: rgba(255, 255, 255, 0.70);
  color: var(--heading-primary);
  border-color: rgba(255, 255, 255, 0.90);
  box-shadow: 0 4px 14px rgba(57, 97, 141, 0.06);
}

.nav-item-link:hover svg {
  color: var(--primary);
}

.nav-item-link.active {
  background: rgba(255, 255, 255, 0.85);
  color: var(--heading-primary);
  border: 1px solid rgba(255, 255, 255, 0.95);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(57, 97, 141, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.nav-item-link.active svg {
  color: var(--primary);
}

.sidebar-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(57, 97, 141, 0.10);
}

/* Sidebar Theme Indicator Button */
.btn-sidebar-theme {
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--heading-primary);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-satoshi);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(57, 97, 141, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.btn-sidebar-theme:hover {
  background: rgba(255, 255, 255, 0.90);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(57, 97, 141, 0.15);
}

/* Main Portal Content */
.portal-content {
  margin-left: 360px;
  flex: 1;
  padding: 40px 48px 100px;
  max-width: 1320px;
}

/* ==============================================================================
   4. GLASSMORPHISM PANELS & SECTION CONTAINERS
   ============================================================================== */

/* Header Card */
.page-header-card {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.doc-eyebrow {
  display: inline-block;
  font-family: var(--font-satoshi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #39618D;
  background: rgba(57, 97, 141, 0.08);
  border: 1px solid rgba(57, 97, 141, 0.20);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(57, 97, 141, 0.06);
}

.doc-title {
  font-family: var(--font-cinzel);
  font-size: 32px;
  color: var(--heading-primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.doc-desc {
  font-family: var(--font-alegreya-sans);
  font-size: 16px;
  color: #5F7895;
  max-width: 860px;
}

/* Component Section Container */
.preview-section {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(7px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.section-title {
  font-family: var(--font-cinzel);
  font-size: 22px;
  color: var(--heading-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(57, 97, 141, 0.35);
}

.section-subtitle {
  font-family: var(--font-satoshi);
  font-size: 13px;
  color: #5F7895;
  margin-bottom: 24px;
}

.category-header {
  font-family: var(--font-satoshi);
  font-size: 12px;
  font-weight: 700;
  color: var(--heading-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-header::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 12px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {

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

/* ==============================================================================
   5. COLOR SWATCHES & TOKEN CARDS
   ============================================================================== */

.swatch-item {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(57, 97, 141, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.swatch-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 97, 141, 0.10);
}

.swatch-color {
  height: 60px;
  width: 100%;
}

.swatch-meta {
  padding: 10px 14px;
}

.swatch-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--heading-primary);
  font-family: var(--font-satoshi);
}

.swatch-val {
  font-family: monospace;
  font-size: 11px;
  color: #5F7895;
}

/* ==============================================================================
   6. BUTTON STATE MATRIX & GLASS TABLE SYSTEM
   ============================================================================== */

/* Button State Matrix Table & Container (Large Translucent Glass Panel) */
.btn-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--matrix-shadow);
}

.btn-matrix-table th,
.btn-matrix-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(57, 97, 141, 0.08);
}

.btn-matrix-table tr:last-child td {
  border-bottom: none;
}

.btn-matrix-table th {
  font-family: var(--font-satoshi);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #112B47;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(57, 97, 141, 0.12);
}

.btn-matrix-table td {
  color: #112B47;
  background: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.btn-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.45);
}

.variant-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-satoshi);
  font-weight: 700;
  color: #112B47;
  font-size: 13px;
  white-space: nowrap;
}

.variant-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(57, 97, 141, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.variant-icon-badge.blue {
  color: #39618D;
  background: rgba(57, 97, 141, 0.12);
  border-color: rgba(57, 97, 141, 0.25);
}

.variant-icon-badge.gold {
  color: #BE8C4A;
  background: rgba(247, 218, 153, 0.50);
  border-color: rgba(190, 140, 74, 0.35);
}

/* ==============================================================================
   7. BUTTON SYSTEM (PREMIUM METALLIC GLASS BLUE & TRANSLUCENT GOLD)
   ============================================================================== */

/* Base Infineo Button Geometry */
.btn-infineo {
  font-family: var(--font-satoshi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap !important;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  position: relative;
  border-radius: var(--radius-sm);
  user-select: none;
  overflow: hidden;
}

/* Subtle magical light sweep across glass surface */
.btn-infineo::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.20) 45%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0.20) 55%, transparent 80%);
  transform: rotate(25deg);
  transition: left 650ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
}

.btn-infineo:hover::after,
.btn-infineo.hover-mock::after {
  left: 140%;
  opacity: 1;
}

.btn-infineo:disabled::after,
.btn-infineo[disabled]::after,
.btn-infineo.disabled-mock::after,
.btn-infineo:focus::after,
.btn-infineo.focus-mock::after {
  display: none !important;
}

/* Button Icon Utilities (Subtle, Aligned & Secondary to Text) */
.btn-icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform 250ms ease;
}

.btn-arrow-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-left: 2px;
  transition: transform 250ms ease;
}

.btn-primary:hover .btn-arrow-svg,
.btn-primary.hover-mock .btn-arrow-svg {
  transform: translateX(2px);
}

/* Button Dimension Tokens (PRESERVED EXACTLY) */
.btn-lg {
  font-size: 14px;
  padding: 15px 32px;
}

.btn-md {
  font-size: 13px;
  padding: 12px 24px;
}

.btn-sm {
  font-size: 11px;
  padding: 8px 16px;
}

/* ------------------------------------------------------------------------------
   1. PRIMARY BUTTON: LUMINOUS BLUE METALLIC GLASS + SOFT GOLD SHIMMER
   Main CTA / Luminous Metallic Blue Glass / Top-Edge Specular / Soft Warm Accent
   ------------------------------------------------------------------------------ */
.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(120% 100% at 50% 0%, #78B9E8 0%, #2F73B7 48%, #124B7A 100%);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(120, 185, 232, 0.55);
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.40),
    0 5px 16px rgba(18, 75, 122, 0.26),
    0 2px 4px rgba(17, 43, 71, 0.10),
    0 0 10px rgba(231, 184, 96, 0.14),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.90),
    inset 1px 0 2px rgba(255, 255, 255, 0.25),
    inset -1px 0 2px rgba(255, 255, 255, 0.25),
    inset 0 -2.5px 4px rgba(12, 45, 75, 0.50);
  text-shadow: 0 1px 2px rgba(12, 45, 75, 0.50);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary.hover-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.26) 42%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.04) 100%),
    radial-gradient(120% 100% at 50% 0%, #8CC5F0 0%, #3681CB 48%, #16568C 100%);
  color: #FFFFFF !important;
  border-color: rgba(140, 197, 240, 0.75);
  transform: translateY(-2px);
  box-shadow:
    -2px -2px 8px rgba(255, 255, 255, 0.50),
    0 8px 22px rgba(18, 75, 122, 0.34),
    0 0 16px rgba(120, 185, 232, 0.35),
    0 0 12px rgba(231, 184, 96, 0.22),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.98),
    inset 1px 0 2.5px rgba(255, 255, 255, 0.35),
    inset -1px 0 2.5px rgba(255, 255, 255, 0.35),
    inset 0 -2.5px 4px rgba(12, 45, 75, 0.55);
}

.btn-primary:active,
.btn-primary.active-mock {
  transform: translateY(1px) scale(0.99);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(255, 255, 255, 0.05) 100%),
    radial-gradient(120% 100% at 50% 0%, #2566A6 0%, #124B7A 100%);
  border-color: rgba(120, 185, 232, 0.45);
  box-shadow:
    0 2px 4px rgba(17, 43, 71, 0.20),
    inset 0 2.5px 5px rgba(8, 30, 52, 0.60);
}

.btn-primary:focus,
.btn-primary.focus-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.10) 42%, rgba(0, 0, 0, 0.06) 100%),
    radial-gradient(120% 100% at 50% 0%, #78B9E8 0%, #2F73B7 48%, #124B7A 100%);
  color: #FFFFFF !important;
  outline: none;
  border: 1.5px solid rgba(120, 185, 232, 0.55);
  box-shadow:
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.65),
    inset -2.5px -2.5px 6px rgba(8, 28, 50, 0.65),
    inset 0 2px 4px rgba(8, 28, 50, 0.30),
    0 1px 3px rgba(18, 75, 122, 0.18);
  text-shadow: 0 1px 2px rgba(12, 45, 75, 0.50);
}

.btn-primary:disabled,
.btn-primary[disabled],
.btn-primary.disabled-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(180deg, #7188A2 0%, #5B728C 50%, #485E76 100%) !important;
  color: rgba(255, 255, 255, 0.70) !important;
  border: 1.5px solid rgba(165, 182, 202, 0.40) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(17, 43, 71, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------------------------
   2. SECONDARY BUTTON: TRANSLUCENT CREAM-GOLD GLASS (#BE8C4A / #F7DA99)
   Supporting CTA / Soft Translucent Cream-Gold Glass / Delicate Golden Reflections
   ------------------------------------------------------------------------------ */
.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(247, 218, 153, 0.18) 48%, rgba(220, 175, 95, 0.22) 100%),
    radial-gradient(120% 100% at 50% 0%, #FFFDF7 0%, #F8E5BD 50%, #E2BE76 100%);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  color: #7B5420 !important;
  border: 1.5px solid rgba(190, 140, 74, 0.85);
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.70),
    0 4px 14px rgba(190, 140, 74, 0.16),
    0 2px 4px rgba(65, 51, 39, 0.06),
    0 0 8px rgba(231, 184, 96, 0.15),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95),
    inset 1px 0 2px rgba(255, 255, 255, 0.25),
    inset -1px 0 2px rgba(255, 255, 255, 0.25),
    inset 0 -2.5px 4px rgba(160, 110, 45, 0.35);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.60);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover,
.btn-secondary.hover-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.30) 42%, rgba(247, 218, 153, 0.20) 48%, rgba(220, 175, 95, 0.20) 100%),
    radial-gradient(120% 100% at 50% 0%, #FFFFFF 0%, #FBF0D2 50%, #E8C682 100%);
  color: #6A4616 !important;
  border-color: #DFA850;
  transform: translateY(-2px);
  box-shadow:
    -2px -2px 8px rgba(255, 255, 255, 0.85),
    0 6px 18px rgba(190, 140, 74, 0.26),
    0 0 16px rgba(231, 184, 96, 0.35),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.98),
    inset 1px 0 2.5px rgba(255, 255, 255, 0.35),
    inset -1px 0 2.5px rgba(255, 255, 255, 0.35),
    inset 0 -2.5px 4px rgba(160, 110, 45, 0.40);
}

.btn-secondary:active,
.btn-secondary.active-mock {
  transform: translateY(1px) scale(0.99);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(255, 255, 255, 0.04) 100%),
    radial-gradient(120% 100% at 50% 0%, #F5DEAE 0%, #DCB368 100%);
  border-color: rgba(190, 140, 74, 0.80);
  box-shadow:
    0 2px 4px rgba(65, 51, 39, 0.15),
    inset 0 2.5px 5px rgba(140, 95, 35, 0.45);
}

.btn-secondary:focus,
.btn-secondary.focus-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.15) 42%, rgba(220, 175, 95, 0.15) 100%),
    radial-gradient(120% 100% at 50% 0%, #FFF8EC 0%, #F8E5BD 50%, #E2BE76 100%);
  color: #7B5420 !important;
  border: 1.5px solid rgba(190, 140, 74, 0.85);
  outline: none;
  box-shadow:
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.90),
    inset -2.5px -2.5px 5px rgba(140, 95, 35, 0.45),
    inset 0 2px 3px rgba(140, 95, 35, 0.25),
    0 1px 3px rgba(190, 140, 74, 0.12);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.60);
}

.btn-secondary:disabled,
.btn-secondary[disabled],
.btn-secondary.disabled-mock {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(240, 230, 215, 0.25) 100%),
    linear-gradient(180deg, #EEE5D6 0%, #E2D6C2 50%, #D5C6B0 100%) !important;
  color: #8C7862 !important;
  border: 1.5px solid rgba(190, 140, 74, 0.28) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(65, 51, 39, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.50) !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------------------------
   3. OUTLINE BUTTON: TRANSLUCENT GLASS + BLUE BORDER (#276CB6)
   ------------------------------------------------------------------------------ */
.btn-outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.38) 45%, rgba(235, 243, 252, 0.45) 100%);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  color: #174C80 !important;
  border: 1.5px solid #276CB6;
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.80),
    0 3px 10px rgba(39, 108, 182, 0.10),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px rgba(39, 108, 182, 0.08);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover,
.btn-outline.hover-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 236, 255, 0.65) 45%, rgba(195, 222, 255, 0.75) 100%);
  border-color: #1C5492;
  color: #10385F !important;
  transform: translateY(-2px);
  box-shadow:
    -2px -2px 8px rgba(255, 255, 255, 0.90),
    0 6px 18px rgba(39, 108, 182, 0.20),
    0 0 12px rgba(59, 130, 209, 0.22),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.98),
    inset 0 -1.5px 2px rgba(39, 108, 182, 0.16);
}

.btn-outline:active,
.btn-outline.active-mock {
  transform: translateY(1px) scale(0.99);
  background: rgba(220, 236, 255, 0.50);
}

.btn-outline:focus,
.btn-outline.focus-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(235, 243, 252, 0.50) 100%);
  color: #174C80 !important;
  border: 1.5px solid #276CB6;
  outline: none;
  box-shadow:
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.95),
    inset -2px -2px 5px rgba(39, 108, 182, 0.22),
    inset 0 2px 3px rgba(39, 108, 182, 0.12),
    0 1px 2px rgba(39, 108, 182, 0.06);
}

.btn-outline:disabled,
.btn-outline[disabled],
.btn-outline.disabled-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 245, 250, 0.30) 100%) !important;
  color: #7B8F9F !important;
  border: 1.5px solid rgba(57, 97, 141, 0.20) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(57, 97, 141, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.50) !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------------------------
   4. GHOST BUTTON: TRANSLUCENT GLASS + DARK NAVY TEXT (#112B47)
   ------------------------------------------------------------------------------ */
.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.22) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #112B47 !important;
  border: 1.5px solid rgba(17, 43, 71, 0.12);
  box-shadow:
    -2px -2px 5px rgba(255, 255, 255, 0.80),
    0 2px 8px rgba(17, 43, 71, 0.05),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.90);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost:hover,
.btn-ghost.hover-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 218, 153, 0.28) 45%, rgba(235, 195, 130, 0.32) 100%);
  border-color: rgba(190, 140, 74, 0.55);
  color: #7B5420 !important;
  transform: translateY(-2px);
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.85),
    0 4px 14px rgba(190, 140, 74, 0.16),
    0 0 10px rgba(231, 184, 96, 0.20),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
}

.btn-ghost:active,
.btn-ghost.active-mock {
  transform: translateY(1px) scale(0.99);
  background: rgba(247, 218, 153, 0.35);
  border-color: #BE8C4A;
}

.btn-ghost:focus,
.btn-ghost.focus-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.20) 100%);
  color: #112B47 !important;
  border: 1.5px solid rgba(17, 43, 71, 0.12);
  outline: none;
  box-shadow:
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.90),
    inset -2px -2px 5px rgba(17, 43, 71, 0.15),
    inset 0 2px 3px rgba(17, 43, 71, 0.08),
    0 1px 2px rgba(17, 43, 71, 0.03);
}

.btn-ghost:disabled,
.btn-ghost[disabled],
.btn-ghost.disabled-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(245, 240, 230, 0.20) 100%) !important;
  color: #8C8074 !important;
  border: 1.5px solid rgba(17, 43, 71, 0.10) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(17, 43, 71, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.40) !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------------------------
   5. ICON BUTTON: TRANSLUCENT GLASS BUTTON
   ------------------------------------------------------------------------------ */
.btn-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(245, 249, 255, 0.42) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #174C80 !important;
  border: 1.5px solid rgba(39, 108, 182, 0.22);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow:
    -2px -2px 5px rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(39, 108, 182, 0.08),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon:hover,
.btn-icon.hover-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(220, 236, 255, 0.55) 100%);
  border-color: rgba(39, 108, 182, 0.55);
  color: #10385F !important;
  transform: translateY(-2px);
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.90),
    0 4px 14px rgba(39, 108, 182, 0.18),
    0 0 10px rgba(59, 130, 209, 0.20),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
}

.btn-icon:active,
.btn-icon.active-mock {
  transform: translateY(1px) scale(0.99);
  background: rgba(220, 236, 255, 0.45);
}

.btn-icon:focus,
.btn-icon.focus-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(245, 249, 255, 0.35) 100%);
  color: #174C80 !important;
  border: 1.5px solid rgba(39, 108, 182, 0.22);
  outline: none;
  box-shadow:
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.95),
    inset -2px -2px 5px rgba(39, 108, 182, 0.18),
    inset 0 2px 3px rgba(39, 108, 182, 0.10),
    0 1px 2px rgba(17, 43, 71, 0.04);
}

.btn-icon:disabled,
.btn-icon[disabled],
.btn-icon.disabled-mock {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 245, 250, 0.30) 100%) !important;
  border: 1.5px solid rgba(57, 97, 141, 0.18) !important;
  color: #7B8F9F !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(57, 97, 141, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.50) !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.btn-icon:disabled svg,
.btn-icon[disabled] svg,
.btn-icon.disabled-mock svg {
  color: #7B8F9F !important;
  opacity: 0.85;
}

/* Inactive State Behavior: Non-reactive, No Pointer/Hover Reactions */
.btn-infineo:disabled,
.btn-infineo[disabled],
.btn-infineo.disabled-mock,
.btn-disabled {
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

.btn-infineo:disabled:hover,
.btn-infineo[disabled]:hover,
.btn-infineo.disabled-mock:hover,
.btn-disabled:hover {
  transform: none !important;
}

/* 4 Highlight Feature Cards under Button Matrix */
.matrix-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 992px) {
  .matrix-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .matrix-feature-grid {
    grid-template-columns: 1fr;
  }
}

.matrix-feature-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(57, 97, 141, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.matrix-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 97, 141, 0.10);
}

.matrix-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(57, 97, 141, 0.06);
}

.matrix-feature-icon.wand {
  color: #39618D;
}

.matrix-feature-icon.shield {
  color: #BE8C4A;
}

.matrix-feature-icon.metrics {
  color: #39618D;
}

.matrix-feature-icon.palette {
  color: #BE8C4A;
}

.matrix-feature-title {
  font-family: var(--font-satoshi);
  font-size: 13px;
  font-weight: 700;
  color: #112B47;
  margin-bottom: 2px;
}

.matrix-feature-desc {
  font-family: var(--font-alegreya-sans);
  font-size: 12px;
  color: #5F7895;
  line-height: 1.35;
}

/* ==============================================================================
   8. HERO BANNER, SHOWCASE CARDS & PRICING
   ============================================================================== */

/* Hero Banner Mockup */
.hero-mock-banner {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.hero-mock-eyebrow {
  font-family: var(--font-fredoka);
  font-size: 13px;
  color: #BE8C4A;
  background: rgba(247, 218, 153, 0.40);
  border: 1px solid rgba(190, 140, 74, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(190, 140, 74, 0.10);
}

.hero-mock-h1 {
  font-family: var(--font-cinzel);
  font-size: 38px;
  color: #112B47;
  margin-bottom: 14px;
  line-height: 1.15;
}

.hero-mock-desc {
  font-family: var(--font-alegreya-sans);
  font-size: 18px;
  color: #112B47;
  max-width: 680px;
  margin: 0 auto 24px;
}

/* Pricing Cards */
.pricing-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 12px 32px rgba(57, 97, 141, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(57, 97, 141, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.pricing-card.featured {
  border: 2px solid #39618D;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 45px rgba(57, 97, 141, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-family: var(--font-fredoka);
  font-size: 11px;
  background: linear-gradient(135deg, #4F7EA8 0%, #39618D 100%);
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(57, 97, 141, 0.35);
  font-weight: 700;
}

.price-val {
  font-family: var(--font-cinzel);
  font-size: 36px;
  color: #112B47;
  margin: 12px 0 4px;
}

.price-period {
  font-size: 13px;
  color: #5F7895;
  font-family: var(--font-satoshi);
}

/* Feature Headings */
.card-title,
.feature-card h3,
.feature-card h4,
.feature-card .card-title,
.pricing-card h3,
.pricing-card h4,
.pricing-card .card-title,
.modal-dialog h3,
.modal-dialog h4 {
  font-family: var(--font-alegreya);
  font-size: 25px;
  color: #112B47;
  margin-bottom: 6px;
}

/* Feature Cards */
.feature-card {
  background: rgb(220 238 255 / 30%);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(57, 97, 141, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(57, 97, 141, 0.10);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(57, 97, 141, 0.10);
  color: #39618D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(57, 97, 141, 0.18);
}

/* ==============================================================================
   9. FORM CONTROLS & INPUTS
   ============================================================================== */

.form-field {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-satoshi);
  font-size: 13px;
  font-weight: 600;
  color: #112B47;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(57, 97, 141, 0.12);
  color: #112B47;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-alegreya-sans);
  font-size: 15px;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow:
    -2px -2px 6px rgba(255, 255, 255, 0.90),
    2px 3px 8px rgba(57, 97, 141, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(57, 97, 141, 0.18);
  box-shadow:
    -2px -2px 7px rgba(255, 255, 255, 1.0),
    3px 4px 10px rgba(57, 97, 141, 0.09),
    inset 0 1px 1px rgba(255, 255, 255, 1.0);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(253, 248, 238, 0.75);
  border-color: rgba(57, 97, 141, 0.24);
  outline: none;
  box-shadow:
    inset 2px 2px 5px rgba(57, 97, 141, 0.10),
    inset -2px -2px 5px rgba(255, 255, 255, 0.90),
    0 1px 2px rgba(57, 97, 141, 0.03);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: rgba(247, 243, 234, 0.50);
  color: #917864;
  border-color: rgba(57, 97, 141, 0.08);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.70;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #7A90A4;
  opacity: 0.85;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-satoshi);
  font-size: 13px;
  color: #112B47;
}

.custom-checkbox,
.custom-radio {
  width: 18px;
  height: 18px;
  accent-color: #39618D;
  cursor: pointer;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(57, 97, 141, 0.18);
  border: 1px solid rgba(57, 97, 141, 0.25);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(17, 43, 71, 0.15);
}

input:checked+.slider {
  background-color: #39618D;
  border-color: #39618D;
}

input:checked+.slider:before {
  transform: translateX(20px);
  background-color: #FFFFFF;
}

/* ==============================================================================
   10. FEEDBACK ALERTS, BADGES & CHIPS
   ============================================================================== */

.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-satoshi);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(57, 97, 141, 0.04);
}

.alert-success {
  background: rgba(46, 125, 70, 0.08);
  border: 1px solid rgba(46, 125, 70, 0.32);
  color: #1D5B31;
}

.alert-error {
  background: rgba(199, 69, 69, 0.08);
  border: 1px solid rgba(199, 69, 69, 0.32);
  color: #992626;
}

.alert-warning {
  background: rgba(190, 140, 74, 0.10);
  border: 1px solid rgba(190, 140, 74, 0.35);
  color: #7D5321;
}

.alert-info {
  background: rgba(57, 97, 141, 0.08);
  border: 1px solid rgba(57, 97, 141, 0.28);
  color: #112B47;
}

/* Status Badges */
.badge {
  display: inline-block;
  font-family: var(--font-satoshi);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: rgba(57, 97, 141, 0.10);
  color: #39618D;
  border: 1px solid rgba(57, 97, 141, 0.22);
}

.badge-success {
  background: rgba(46, 125, 70, 0.10);
  color: #1D5B31;
  border: 1px solid rgba(46, 125, 70, 0.25);
}

.badge-warning {
  background: rgba(190, 140, 74, 0.12);
  color: #7D5321;
  border: 1px solid rgba(190, 140, 74, 0.28);
}

.badge-error {
  background: rgba(199, 69, 69, 0.10);
  color: #992626;
  border: 1px solid rgba(199, 69, 69, 0.25);
}

.badge-info {
  background: rgba(57, 97, 141, 0.10);
  color: #112B47;
  border: 1px solid rgba(57, 97, 141, 0.22);
}

/* Fredoka Gamification Badges */
.fredoka-badge {
  font-family: var(--font-fredoka);
  font-size: 13px;
  color: #BE8C4A;
  background: rgba(247, 218, 153, 0.35);
  border: 1px dashed #BE8C4A;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(190, 140, 74, 0.08);
}

/* ==============================================================================
   11. DATA TABLES, PAGINATION, MODAL & TOOLTIPS
   ============================================================================== */

/* Tooltip Demo */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  width: 170px;
  background-color: #112B47;
  color: #FFFFFF;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-satoshi);
  font-size: 11px;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  margin-left: -85px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 4px 14px rgba(17, 43, 71, 0.20);
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.page-num-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(57, 97, 141, 0.18);
  color: #112B47;
  font-family: var(--font-satoshi);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-num-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #39618D;
  color: #39618D;
}

.page-num-btn.active {
  background: #39618D;
  color: #FFFFFF;
  font-weight: 700;
  border-color: #39618D;
  box-shadow: 0 2px 8px rgba(57, 97, 141, 0.30);
}

/* Modal Overlay Dialog */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 43, 71, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(17, 43, 71, 0.15), inset 0 1px 1px rgba(255, 255, 255, 1.0);
}

/* Data Table Container */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  box-shadow: 0 12px 32px rgba(57, 97, 141, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.90);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
}

.preview-table th {
  background: rgba(255, 255, 255, 0.70);
  color: #112B47;
  font-family: var(--font-satoshi);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(57, 97, 141, 0.12);
}

.preview-table td {
  padding: 14px 18px;
  font-family: var(--font-alegreya-sans);
  font-size: 15px;
  color: #112B47;
  border-bottom: 1px solid rgba(57, 97, 141, 0.08);
}

.preview-table tr:hover td {
  background: rgba(255, 255, 255, 0.45);
}

/* ==============================================================================
   12. TYPOGRAPHY COMPARISON SHOWCASE
   ============================================================================== */

.typo-compare-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(57, 97, 141, 0.10);
}

.typo-tag {
  font-family: var(--font-satoshi);
  font-weight: 700;
  font-size: 12px;
  color: #5F7895;
}

.font-sample-cinzel {
  font-family: var(--font-cinzel);
  color: #112B47;
}

.font-sample-alegreya {
  font-family: var(--font-alegreya);
  color: #39618D;
}

/* ==============================================================================
   12B. ACCORDION DROPDOWN COMPONENT (DESIGN EXPLORATION)
   Translucent glass surface, soft depth, metallic highlights & smooth transitions
   ============================================================================== */

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin-top: 12px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(57, 97, 141, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.90);
  transition: background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

/* Hover State */
.accordion-item:hover {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(57, 97, 141, 0.09),
    0 0 12px rgba(231, 184, 96, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Open / Expanded State */
.accordion-item.is-open {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(39, 108, 182, 0.35);
  box-shadow: 0 12px 36px rgba(39, 108, 182, 0.12),
    0 0 18px rgba(231, 184, 96, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 1.0);
}

/* Accordion Header Button */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: color var(--transition-fast);
  border-radius: var(--radius-md);
}

.accordion-title {
  font-family: var(--font-alegreya);
  font-size: 20px;
  font-weight: 500;
  color: var(--heading-primary);
  transition: color var(--transition-fast);
  line-height: 1.35;
}

.accordion-item:hover .accordion-title {
  color: var(--primary-hover);
}

.accordion-item.is-open .accordion-title {
  color: var(--primary);
}

/* Indicator Icon */
.accordion-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(57, 97, 141, 0.08);
  border: 1px solid rgba(57, 97, 141, 0.15);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.accordion-item:hover .accordion-indicator {
  background: rgba(39, 108, 182, 0.14);
  border-color: rgba(39, 108, 182, 0.30);
  color: var(--primary-hover);
}

.accordion-item.is-open .accordion-indicator {
  transform: rotate(180deg);
  background: var(--primary);
  border-color: var(--primary-hover);
  color: var(--color-infineo-white);
  box-shadow: 0 4px 12px rgba(39, 108, 182, 0.30);
}

/* Focus State Accessibility */
.accordion-header:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

/* Expandable Panel Grid Technique for Smooth Animated Height */
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
  font-family: var(--font-alegreya-sans);
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.6;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 300ms ease, padding 350ms ease;
}

.accordion-item.is-open .accordion-content {
  padding: 4px 24px 22px 24px;
  opacity: 1;
}

/* ==============================================================================
   13. RESPONSIVE LAYOUT & MEDIA QUERIES
   ============================================================================== */

@media (max-width: 900px) {
  .portal-container {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  }

  .portal-content {
    margin-left: 0;
    padding: 24px 16px;
  }
}