/* Documatica v12.0 Design System */

/* ========================================
   Font Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   Utility Classes (NEW - replaces inline styles)
   ======================================== */
@import url('/static/css/v12/utilities.css');

/* ========================================
   CSS Variables (Design Tokens)
   ======================================== */
:root {
  --docu-blue: #3b82f6;
  --docu-gold: #FBBF24;
  --docu-dark: #0f172a;
  --docu-base: #f1f5f9;
  --docu-radius-max: 3rem;
  --docu-radius-input: 1.5rem;
  
  /* Typography Colors */
  --docu-ink: #0f172a;        /* slate-900 */
  --docu-body: #64748b;       /* slate-500 */
  --docu-muted: #94a3b8;      /* slate-400 */
  --docu-subtle: #cbd5e1;     /* slate-300 */
}

/* ========================================
   Typography Manifest v12.0
   ======================================== */

/* H1 - Hero Headlines */
.docu-h1,
.typo-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--docu-ink);
}

@media (min-width: 768px) {
  .docu-h1,
  .typo-h1 {
    font-size: clamp(4rem, 12vw, 8rem);
  }
}

/* H2 - Section Headlines */
.docu-h2,
.typo-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--docu-ink);
}

@media (min-width: 768px) {
  .docu-h2,
  .typo-h2 {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
  }
}

/* H3 - Card/Block Headlines */
.docu-h3,
.typo-h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--docu-ink);
}

/* Primary Tag (Blue) */
.docu-tag,
.typo-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--docu-blue);
}

/* Secondary Tag (Gray) */
.docu-tag-muted,
.typo-tag-muted {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--docu-muted);
}

/* Micro Label */
.docu-micro,
.typo-micro {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--docu-muted);
}

/* Body Text */
.docu-body,
.typo-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--docu-body);
}

@media (min-width: 768px) {
  .docu-body,
  .typo-body {
    font-size: 1rem;
  }
}

/* Lead Text (Intro paragraphs) */
.docu-lead,
.typo-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--docu-body);
}

@media (min-width: 768px) {
  .docu-lead,
  .typo-lead {
    font-size: 1.25rem;
  }
}

/* Input Value */
.docu-input-value,
.typo-input-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--docu-ink);
}

/* Input Placeholder */
.docu-placeholder,
.typo-placeholder {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--docu-muted);
  opacity: 0.6;
}

/* Input Label */
.docu-input-label,
.typo-input-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--docu-muted);
  margin-left: 8px;
  margin-bottom: 8px;
  display: block;
}

/* Button Text */
.docu-btn-text,
.typo-btn {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Accent Text (Blue) */
.docu-accent {
  color: var(--docu-blue);
}

/* Gold Accent */
.docu-gold-accent {
  color: var(--docu-gold);
}

/* ========================================
   Base Styles
   ======================================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========================================
   Pattern Background
   ======================================== */
.pattern-bg {
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ========================================
   Typography - H1 Hero Style
   ======================================== */
.docu-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

/* Responsive sizing */
.docu-h1 {
  font-size: clamp(3rem, 10vw, 6rem);
}

@media (min-width: 768px) {
  .docu-h1 {
    font-size: clamp(4rem, 12vw, 8rem);
  }
}

/* ========================================
   Labels / Small Tags
   ======================================== */
.docu-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8; /* slate-400 */
}

/* ========================================
   Logo - Documatica
   ======================================== */
.docu-logo {
  font-family: 'Inter', sans-serif;
  text-transform: lowercase;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-flex;
}

.docu-logo-bold {
  font-weight: 700;
  color: var(--docu-dark);
}

.docu-logo-light {
  font-weight: 300;
  color: #94a3b8; /* slate-400 */
}

/* ========================================
   Primary Button
   ======================================== */
.docu-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: #2563eb; /* blue-600 */
  color: white;
  border-radius: 1rem; /* rounded-2xl */
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em; /* tracking-widest */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docu-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
  color: white;
}

.docu-btn-primary:active {
  transform: translateY(-1px);
}

/* ========================================
   Secondary Button (Outline)
   ======================================== */
.docu-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--docu-dark);
  border: 2px solid #e2e8f0; /* slate-200 */
  border-radius: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.docu-btn-secondary:hover {
  border-color: var(--docu-blue);
  color: var(--docu-blue);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-docu-blue { color: var(--docu-blue); }
.text-docu-gold { color: var(--docu-gold); }
.text-docu-dark { color: var(--docu-dark); }
.bg-docu-blue { background-color: var(--docu-blue); }
.bg-docu-gold { background-color: var(--docu-gold); }
.bg-docu-dark { background-color: var(--docu-dark); }
.bg-docu-base { background-color: var(--docu-base); }

/* ========================================
   Animated Logo (Preloader)
   ======================================== */
.logo-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-line 0.8s ease-out forwards;
}

.logo-path:nth-child(2) {
  animation-delay: 0.1s;
}

.logo-path:nth-child(3) {
  animation-delay: 0.2s;
}

.logo-path:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.ai-dot {
  opacity: 0;
  transform-origin: center;
  animation: pulse-dot 0.4s ease-out 0.5s forwards;
}

@keyframes pulse-dot {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Continuous pulse for loading state */
.ai-dot-pulse {
  animation: continuous-pulse 1.5s ease-in-out infinite;
}

@keyframes continuous-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* ========================================
   Preloader Container
   ======================================== */
.docu-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--docu-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.docu-preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ========================================
   v12.0 Section Blocks
   ======================================== */
.docu-section {
  border-radius: var(--docu-radius-max);
}

/* Gold status dot */
.docu-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--docu-gold);
  display: inline-block;
}

/* ========================================
   Pattern Light (for UPD Types Section)
   ======================================== */
.pattern-light {
  background-color: #f8fafc; /* slate-50 */
  background-image: radial-gradient(circle, #3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  position: relative;
}

/* Pattern Light on White background */
.pattern-light-white {
  background-color: #ffffff;
  background-image: radial-gradient(circle, #3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  position: relative;
}

/* Pattern Dark - Intelligent Grid for dark sections */
.pattern-dark {
  background-color: #0f172a; /* slate-900 */
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  position: relative;
}

/* Gradient Fade Overlay - Vignette for dark patterns */
.pattern-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 30%, #0f172a 75%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   UPD Types Section v12.0 (Hub Style)
   ======================================== */
.upd-types-section {
  padding: 100px 0;
  position: relative;
}

.upd-types-header {
  text-align: left;
  margin-bottom: 48px;
}

.upd-types-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #3b82f6;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.upd-types-label .ai-node {
  width: 10px;
  height: 10px;
  background: #FBBF24;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px rgba(251, 191, 36, 0.4);
}

.upd-types-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #0f172a;
}

.upd-types-subtitle {
  display: none;
}

/* UPD Types Grid - Hub Style */
.upd-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
}

@media (min-width: 768px) {
  .upd-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .upd-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* UPD Type Card - Hub Style */
.upd-type-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 28px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 200px;
}

.upd-type-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.15);
  text-decoration: none;
}

/* Card Header Row */
.upd-type-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.upd-type-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.upd-type-card-icon svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
}

.upd-type-card:hover .upd-type-card-icon {
  background: #3b82f6;
  color: white;
}

.upd-type-card-arrow {
  width: 24px;
  height: 24px;
  color: #cbd5e1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.upd-type-card:hover .upd-type-card-arrow {
  color: #3b82f6;
  transform: translateX(6px);
}

/* Card Content */
.upd-type-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.upd-type-card-tag {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #3b82f6;
  margin-bottom: 8px;
}

.upd-type-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.upd-type-card-desc {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Special Card Colors */
.upd-type-card--green .upd-type-card-icon {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.upd-type-card--green:hover .upd-type-card-icon {
  background: #34d399;
  color: white;
}

.upd-type-card--green .upd-type-card-tag {
  color: #34d399;
}

.upd-type-card--gold .upd-type-card-icon {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.upd-type-card--gold:hover .upd-type-card-icon {
  background: #fbbf24;
  color: white;
}

.upd-type-card--gold .upd-type-card-tag {
  color: #fbbf24;
}

.upd-type-card--purple .upd-type-card-icon {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.upd-type-card--purple:hover .upd-type-card-icon {
  background: #a78bfa;
  color: white;
}

.upd-type-card--purple .upd-type-card-tag {
  color: #a78bfa;
}

/* ========================================
   Pricing Section v12.0
   ======================================== */
.pricing-section-v12 {
  padding: 100px 0;
  background-color: #f8fafc;
}

.pricing-header-v12 {
  margin-bottom: 64px;
}

.pricing-label-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #3b82f6;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-label-v12 .ai-node {
  width: 10px;
  height: 10px;
  background: #FBBF24;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px rgba(251, 191, 36, 0.4);
}

.pricing-title-v12 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #0f172a;
}

.pricing-title-v12 .accent {
  color: #3b82f6;
}

/* Pricing Grid */
.pricing-grid-v12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: end;
}

@media (min-width: 768px) {
  .pricing-grid-v12 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Base Pricing Card */
.pricing-card-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 3rem;
  padding: 48px 40px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-v12:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px -20px rgba(59, 130, 246, 0.15);
}

/* Featured Card (Professional) */
.pricing-card-v12.featured {
  border: 4px solid #3b82f6;
  border-radius: 3.5rem;
  padding: 56px 40px;
  z-index: 2;
}

@media (min-width: 768px) {
  .pricing-card-v12.featured {
    transform: translateY(-16px);
  }
  
  .pricing-card-v12.featured:hover {
    transform: translateY(-24px);
  }
}

.pricing-badge-v12 {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

/* Enterprise Card (Dark) */
.pricing-card-v12.enterprise {
  background: #0f172a;
  border-color: #0f172a;
}

.pricing-card-v12.enterprise .pricing-plan-v12 {
  color: #94a3b8;
}

.pricing-card-v12.enterprise .pricing-amount-v12 {
  color: white;
}

.pricing-card-v12.enterprise .pricing-period-v12 {
  color: #64748b;
}

.pricing-card-v12.enterprise .pricing-features-v12 li {
  color: #cbd5e1;
}

.pricing-card-v12.enterprise .pricing-features-v12 svg {
  color: #FBBF24;
}

.pricing-card-v12.enterprise .pricing-features-v12 .disabled {
  color: #475569;
}

.pricing-card-v12.enterprise .pricing-features-v12 .disabled svg {
  color: #475569;
}

/* Pricing Content */
.pricing-plan-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #64748b;
  margin-bottom: 24px;
}

.pricing-amount-v12 {
  font-size: 4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin-bottom: 32px;
}

.pricing-features-v12 {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.pricing-features-v12 li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  border-top: 1px solid #f1f5f9;
}

.pricing-card-v12.enterprise .pricing-features-v12 li {
  border-top-color: #1e293b;
}

.pricing-features-v12 li:first-child {
  border-top: none;
}

.pricing-features-v12 svg {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  flex-shrink: 0;
}

.pricing-features-v12 .disabled {
  color: #94a3b8;
}

.pricing-features-v12 .disabled svg {
  color: #cbd5e1;
}

/* Pricing Buttons */
.pricing-btn-v12 {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 1.25rem;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing-btn-v12.outline {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #0f172a;
}

.pricing-btn-v12.outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.pricing-btn-v12.primary {
  background: #3b82f6;
  border: 2px solid #3b82f6;
  color: white;
}

.pricing-btn-v12.primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.pricing-btn-v12.enterprise {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.pricing-btn-v12.enterprise:hover {
  background: white;
  border-color: white;
  color: #0f172a;
}

/* ========================================
   Knowledge Hub / Latest News Section v12.0
   ======================================== */
.knowledge-hub-section {
  padding: 120px 0;
}

.knowledge-hub-header {
  margin-bottom: 4rem;
  text-align: left;
}

.knowledge-hub-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #3b82f6;
}

.knowledge-hub-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #0f172a;
  margin: 0;
}

.knowledge-hub-title .accent {
  color: #3b82f6;
}

/* Knowledge Hub Grid */
.knowledge-hub-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .knowledge-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Article Cards */
.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 2.5rem;
  padding: 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.04);
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
  box-shadow: 0 40px 80px -20px rgba(59, 130, 246, 0.12);
}

/* Featured Article Card */
.article-card--featured {
  grid-column: span 1;
  min-height: 480px;
  padding: 3rem 4rem;
  border-radius: 4rem;
}

@media (max-width: 768px) {
  .article-card--featured {
    padding: 2rem;
    min-height: 360px;
  }
}

.article-card-bg-blob {
  position: absolute;
  bottom: -5rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background: #eff6ff;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.article-card:hover .article-card-bg-blob {
  opacity: 0.8;
}

/* Small Article Card */
.article-card--small {
  min-height: 240px;
}

.article-card-side-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Article Card Header */
.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Badges */
.article-card-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.article-card-badge--primary {
  background: #3b82f6;
  color: white;
  box-shadow: 0 8px 24px -4px rgba(59, 130, 246, 0.3);
}

/* Tags */
.article-card-tag {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
}

.article-card-tag--blue {
  color: #3b82f6;
}

.article-card-tag--amber {
  color: #f59e0b;
}

/* Arrow */
.article-card-arrow {
  color: #cbd5e1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-card-arrow {
  transform: translateX(8px);
  color: #3b82f6;
}

/* Article Card Content */
.article-card-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.article-card-category {
  display: block;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.article-card-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
}

.article-card-title--large {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.article-card-title--small {
  font-size: 1.125rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.article-card-excerpt {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0;
}

.article-card-meta {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 0;
}

/* Bottom Row */
.knowledge-hub-bottom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .knowledge-hub-bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .knowledge-hub-bottom-row {
    grid-template-columns: 1fr;
  }
}

/* CTA Card in Articles */
.article-card-cta {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border-radius: 2.5rem;
  padding: 2.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.article-card-cta:hover {
  background: #000;
}

@media (max-width: 1024px) {
  .article-card-cta {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .article-card-cta {
    grid-column: span 1;
  }
}

.article-card-cta-content {
  text-align: left;
}

.article-card-cta-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 0.5rem 0;
}

.article-card-cta-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

.article-card-cta-icon {
  width: 4rem;
  height: 4rem;
  background: #3b82f6;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 16px 40px -8px rgba(59, 130, 246, 0.4);
  transition: transform 0.3s ease;
}

.article-card-cta:hover .article-card-cta-icon {
  transform: scale(1.1);
}

/* Empty state */
.knowledge-hub-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
  font-size: 1rem;
}

/* ========================================
   CTA Section v12.0
   ======================================== */
.cta-section-v12 {
  padding: 100px 0;
  background-color: #f8fafc;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-card-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4rem;
  padding: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.08);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-card-v12 {
    padding: 96px;
  }
}

/* Decorative gradient */
.cta-card-v12::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-card-v12::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content-v12 {
  position: relative;
  z-index: 1;
}

.cta-label-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #3b82f6;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta-label-v12 .ai-node {
  width: 8px;
  height: 8px;
  background: #FBBF24;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(251, 191, 36, 1);
    transform: scale(1.2);
  }
}

.cta-title-v12 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #0f172a;
  margin-bottom: 24px;
}

.cta-title-v12 .accent {
  color: #3b82f6;
}

.cta-desc-v12 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .cta-desc-v12 {
    font-size: 1.25rem;
  }
}

.cta-btn-v12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 48px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 2.5rem;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-btn-v12:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

.cta-btn-v12 svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-btn-v12:hover svg {
  transform: translateX(4px);
}

/* ========================================
   Breadcrumbs v12.0
   ======================================== */
.breadcrumbs-v12 {
  padding: 24px 0;
  background: transparent;
}

.breadcrumbs-container-v12 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .breadcrumbs-container-v12 {
    padding: 0 40px;
  }
}

.breadcrumbs-list-v12 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-item-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-item-v12 a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-item-v12 a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.breadcrumbs-item-v12 svg {
  color: #cbd5e1;
}

.breadcrumbs-item-v12.active {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

/* ========================================
   Features Section v12.0 (for internal pages)
   ======================================== */
.features-section-v12 {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
}

.features-section-v12::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.15;
  pointer-events: none;
}

.features-container-v12 {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .features-container-v12 {
    padding: 0 40px;
  }
}

.features-header-v12 {
  text-align: center;
  margin-bottom: 48px;
}

.features-label-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
}

.features-grid-v12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid-v12 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .features-grid-v12 {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.feature-card-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  padding: 40px;
  transition: all 0.3s ease;
}

.feature-card-v12:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.feature-card-v12:hover .feature-icon-v12 {
  background: #3b82f6;
  color: white;
}

.feature-icon-v12 {
  width: 64px;
  height: 64px;
  background: #f1f5f9;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.feature-icon-v12 svg {
  width: 28px;
  height: 28px;
}

.feature-title-v12 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-text-v12 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Footer v12.0
   ======================================== */
.footer-v12 {
  padding: 80px 0 40px;
  background: #0f172a;
  position: relative;
}

.footer-v12::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
  pointer-events: none;
}

.footer-container-v12 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .footer-container-v12 {
    padding: 0 40px;
  }
}

.footer-grid-v12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .footer-grid-v12 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .footer-grid-v12 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .footer-grid-v12 {
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 48px;
  }
}

/* Footer Brand Column */
.footer-brand-v12 {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand-v12 {
    grid-column: span 1;
  }
}

.footer-logo-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-v12 svg {
  width: 32px;
  height: 32px;
}

.footer-logo-v12 .logo-text {
  font-size: 1.25rem;
  text-transform: lowercase;
}

.footer-logo-v12 .logo-bold {
  font-weight: 700;
  color: white;
}

.footer-logo-v12 .logo-light {
  font-weight: 300;
  color: #94a3b8;
}

.footer-desc-v12 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.7;
  max-width: 220px;
}

/* Footer Navigation Columns */
.footer-nav-v12 {
  min-width: 0;
}

.footer-nav-v12 h4 {
  font-size: 9px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: #94a3b8 !important;
  margin-bottom: 24px !important;
  white-space: nowrap;
}

.footer-nav-v12 ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-nav-v12 li {
  margin-bottom: 12px !important;
}

.footer-nav-v12 a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-nav-v12 a:hover {
  color: white !important;
  padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom-v12 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom-v12 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-v12 {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #cbd5e1;
}

.footer-legal-v12 a {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-v12 a:hover {
  color: #3b82f6;
}

/* System Status Node */
.footer-status-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 16px;
}

.footer-status-v12 .status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.footer-status-v12 .status-text {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

/* Footer Signature */
.footer-signature-v12 {
  text-align: center;
  padding-top: 40px;
}

.footer-signature-v12 p {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: #334155;
}

/* ========================================
   Auth Forms v12.0
   ======================================== */

/* Auth Page Background */
.auth-page-v12 {
  min-height: 100vh;
  background: #f8fafc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-page-v12::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

/* Auth Card */
.auth-card-v12 {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 3rem;
  padding: 48px;
  width: 100%;
  max-width: 650px;
  box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.05);
}

@media (min-width: 640px) {
  .auth-card-v12 {
    padding: 64px;
    border-radius: 4rem;
  }
}

/* Auth Header */
.auth-header-v12 {
  text-align: center;
  margin-bottom: 40px;
}

.auth-logo-v12 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 32px;
}

.auth-logo-v12 svg {
  width: 48px;
  height: 48px;
}

.auth-logo-v12 .logo-text {
  font-size: 1.5rem;
  text-transform: lowercase;
}

.auth-logo-v12 .logo-bold {
  font-weight: 700;
  color: #0f172a;
}

.auth-logo-v12 .logo-light {
  font-weight: 300;
  color: #94a3b8;
}

.auth-title-v12 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 8px;
}

.auth-subtitle-v12 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

/* Auth Form Fields */
.auth-form-v12 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field-v12 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label-v12 {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-left: 8px;
}

.auth-input-v12 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

.auth-input-v12::placeholder {
  font-weight: 500;
  color: #94a3b8;
  opacity: 0.6;
}

.auth-input-v12:focus {
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Auth Checkbox */
.auth-checkbox-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.auth-checkbox-v12 input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.auth-checkbox-v12 input[type="checkbox"]:checked {
  background: #3b82f6;
  border-color: #3b82f6;
}

.auth-checkbox-v12 input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.auth-checkbox-v12 span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.auth-checkbox-v12 a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 700;
}

.auth-checkbox-v12 a:hover {
  text-decoration: underline;
}

/* Auth Options Row */
.auth-options-v12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-forgot-v12 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-forgot-v12:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Auth Button */
.auth-btn-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 1.5rem;
  padding: 20px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.auth-btn-v12:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.4);
}

.auth-btn-v12:active {
  transform: translateY(-1px);
}

/* OAuth Divider */
.auth-divider-v12 {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 16px;
}

.auth-divider-v12::before,
.auth-divider-v12::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider-v12 span {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* OAuth Buttons */
.auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 1.5rem;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.auth-oauth-btn.yandex-btn {
  background: #FC3F1D;
  color: white;
  border-color: #FC3F1D;
}

.auth-oauth-btn.yandex-btn:hover {
  background: #E53517;
  border-color: #E53517;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(252, 63, 29, 0.35);
}

.auth-oauth-btn.yandex-btn:active {
  transform: translateY(0);
}

.auth-oauth-btn svg {
  flex-shrink: 0;
}

/* Auth Footer */
.auth-footer-v12 {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}

.auth-footer-v12 p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

.auth-footer-v12 a {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-footer-v12 a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* System Status in Auth */
.auth-status-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.auth-status-v12 .status-icon {
  width: 32px;
  height: 32px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-status-v12 .status-icon svg {
  width: 16px;
  height: 16px;
}

.auth-status-v12 .status-text {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

/* ========================================
   Public Header v12.0
   ======================================== */
.header-v12 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
}

.header-container-v12 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .header-container-v12 {
    padding: 20px 40px;
  }
}

/* Header Logo */
.header-logo-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-v12 svg {
  width: 40px;
  height: 40px;
}

.header-logo-v12 .logo-text {
  font-size: 1.25rem;
  text-transform: lowercase;
}

.header-logo-v12 .logo-bold {
  font-weight: 700;
  color: #0f172a;
}

.header-logo-v12 .logo-light {
  font-weight: 300;
  color: #94a3b8;
}

/* Header Navigation */
.header-nav-v12 {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1024px) {
  .header-nav-v12 {
    display: flex;
  }
}

.header-nav-v12 a {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.header-nav-v12 a:hover {
  color: #0f172a;
  background: #f8fafc;
}

.header-nav-v12 a.active {
  color: #3b82f6;
  background: #eff6ff;
}

/* Header Dropdown */
.header-dropdown-v12 {
  position: relative;
}

.header-dropdown-v12 .dropdown-toggle::after {
  display: inline-block;
  margin-left: 6px;
  content: '';
  border-top: 5px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.header-dropdown-v12:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.header-dropdown-menu-v12 {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  z-index: 100;
}

.header-dropdown-v12:hover .header-dropdown-menu-v12 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown-menu-v12 a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
}

.header-dropdown-menu-v12 a:hover {
  background: #f8fafc;
}

/* Header Auth Buttons */
.header-auth-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn-outline-v12 {
  display: none;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .header-btn-outline-v12 {
    display: block;
  }
}

.header-btn-outline-v12:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  background: #eff6ff;
}

.header-btn-primary-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  background: #3b82f6;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.header-btn-primary-v12:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3);
  color: white;
}

/* Mobile Menu Toggle */
.header-mobile-toggle-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .header-mobile-toggle-v12 {
    display: none;
  }
}

.header-mobile-toggle-v12:hover {
  background: #e2e8f0;
}

.header-mobile-toggle-v12 svg {
  width: 24px;
  height: 24px;
  stroke: #0f172a;
}

/* Mobile Navigation Menu */
.header-mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
}

.header-mobile-nav.show {
  display: flex;
}

@media (min-width: 1024px) {
  .header-mobile-nav {
    display: none !important;
  }
}

.header-mobile-nav a {
  padding: 12px 0;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s ease;
}

.header-mobile-nav a:last-of-type {
  border-bottom: none;
}

.header-mobile-nav a:hover {
  color: #3b82f6;
}

.header-mobile-auth {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.header-mobile-auth a {
  flex: 1;
  text-align: center;
  border-bottom: none;
  padding: 12px 20px;
}

/* ========================================
   UPD Pages v12.0
   ======================================== */

/* UPD Hero Section */
.upd-hero-v12 {
  position: relative;
  background: #f8fafc;
  padding: 100px 0 120px;
  overflow: visible;
}

.upd-hero-v12::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

.upd-hero-content-v12 {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .upd-hero-v12 {
    padding: 120px 0 140px;
  }
  .upd-hero-content-v12 {
    padding: 0 40px;
  }
}

.upd-hero-tag-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #3b82f6;
  margin-bottom: 24px;
  display: inline-block;
}

.upd-hero-title-v12 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #0f172a;
  margin-bottom: 24px;
  max-width: 700px;
}

.upd-hero-desc-v12 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.upd-hero-actions-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* UPD Quick Links */
.upd-quick-links-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.upd-quick-link-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
  text-decoration: none;
  background: #eff6ff;
  padding: 10px 16px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.upd-quick-link-v12:hover {
  background: #3b82f6;
  color: white;
}

/* UPD Content Section */
.upd-content-v12 {
  padding: 80px 0;
  background: white;
}

.upd-content-container-v12 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 1024px) {
  .upd-content-container-v12 {
    grid-template-columns: 2fr 1fr;
    padding: 0 40px;
  }
}

/* Content Text */
.upd-text-v12 {
  font-family: 'Inter', sans-serif;
  color: #334155;
  line-height: 1.8;
}

.upd-text-v12 h2 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 48px 0 20px;
}

.upd-text-v12 h2:first-child {
  margin-top: 0;
}

.upd-text-v12 h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin: 32px 0 16px;
}

.upd-text-v12 p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.upd-text-v12 ul, .upd-text-v12 ol {
  margin: 24px 0;
  padding-left: 24px;
}

.upd-text-v12 li {
  margin-bottom: 12px;
  font-weight: 500;
}

.upd-text-v12 li::marker {
  color: #3b82f6;
}

/* UPD Sidebar */
.upd-sidebar-v12 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .upd-sidebar-v12 {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

/* Sidebar CTA Card */
.upd-sidebar-cta-v12 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  padding: 32px;
}

.upd-sidebar-cta-v12 h4 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f172a;
  margin-bottom: 12px;
}

.upd-sidebar-cta-v12 p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Related Links Card */
.upd-sidebar-related-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  padding: 32px;
}

.upd-sidebar-related-v12 h4 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f172a;
  margin-bottom: 20px;
}

.upd-sidebar-related-v12 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upd-sidebar-related-v12 li {
  margin-bottom: 12px;
}

.upd-sidebar-related-v12 a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.upd-sidebar-related-v12 a:hover {
  color: #2563eb;
  padding-left: 4px;
}

.upd-sidebar-related-v12 a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========================================
   Component Blocks v12.0
   ======================================== */

/* Features Block */
.features-block-v12 {
  padding: 80px 0;
  background: white;
}

.features-block-container-v12 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .features-block-container-v12 {
    padding: 0 40px;
  }
}

.features-block-title-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 48px;
}

.features-block-grid-v12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-block-grid-v12 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-block-grid-v12 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item-v12 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item-v12:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
  border-color: #3b82f6;
}

.feature-icon-v12 {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.feature-icon-v12 svg {
  width: 24px;
  height: 24px;
  stroke: #3b82f6;
}

.feature-title-v12 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-desc-v12 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
}

/* FAQ Block */
.faq-block-v12 {
  padding: 80px 0;
  background: #f8fafc;
}

.faq-block-container-v12 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-block-title-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 48px;
}

.faq-item-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-v12:hover {
  border-color: #3b82f6;
}

.faq-question-v12 {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question-v12 span {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-question-v12 svg {
  width: 20px;
  height: 20px;
  stroke: #94a3b8;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item-v12.open .faq-question-v12 svg {
  transform: rotate(180deg);
}

.faq-answer-v12 {
  padding: 0 32px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.7;
  display: none;
}

.faq-item-v12.open .faq-answer-v12 {
  display: block;
}

/* CTA Block */
.cta-block-v12 {
  padding: 80px 0;
  background: #f8fafc;
  position: relative;
}

.cta-block-v12::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

.cta-block-container-v12 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.cta-block-card-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 3rem;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.08);
}

@media (min-width: 640px) {
  .cta-block-card-v12 {
    padding: 80px 64px;
    border-radius: 4rem;
  }
}

.cta-block-tag-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  margin-bottom: 20px;
  display: inline-block;
}

.cta-block-title-v12 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 16px;
}

.cta-block-desc-v12 {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Form System v12.0 - Documatica Forms
   ======================================== */

/* Page Background with Pattern */
.form-page-v12 {
  min-height: 100vh;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #3b82f6 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  padding: 40px 0 80px;
}

/* Form Container */
.form-container-v12 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Form Card */
.form-card-v12 {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .form-card-v12 {
    padding: 40px;
  }
}

/* Form Header */
.form-header-v12 {
  margin-bottom: 48px;
}

.form-tag-v12 {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-tag-v12 .gold-dot {
  width: 8px;
  height: 8px;
  background: #FBBF24;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.form-title-v12 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #0f172a;
}

.form-title-v12 .accent {
  color: #3b82f6;
}

/* Form Sections */
.form-section-v12 {
  padding: 32px 0;
  border-bottom: 1px solid #e2e8f0;
}

.form-section-v12:last-of-type {
  border-bottom: none;
}

.form-section-header-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  margin-bottom: 32px;
}

/* Form Labels */
.form-label-v12 {
  display: block;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-left: 8px;
  margin-bottom: 8px;
}

/* Form Inputs */
.form-input-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input-v12::placeholder {
  font-weight: 500;
  color: #94a3b8;
  opacity: 0.6;
}

.form-input-v12:focus {
  outline: none;
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Form Select */
.form-select-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 12px 40px 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-select-v12:focus {
  outline: none;
  background-color: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Form Textarea */
.form-textarea-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  resize: none;
  min-height: 120px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-textarea-v12::placeholder {
  font-weight: 500;
  color: #94a3b8;
  opacity: 0.6;
}

.form-textarea-v12:focus {
  outline: none;
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Form Row - Grid */
.form-row-v12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .form-row-v12.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row-v12.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .form-row-v12.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.form-group-v12 {
  display: flex;
  flex-direction: column;
}

/* Checkbox v12.0 */
.form-checkbox-v12 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-checkbox-v12:hover {
  background: #f1f5f9;
}

.form-checkbox-v12 input[type="checkbox"] {
  display: none;
}

.form-checkbox-v12 .checkbox-box {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-checkbox-v12 .checkbox-box svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 4;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.form-checkbox-v12 input:checked + .checkbox-box {
  background: #3b82f6;
  border-color: #3b82f6;
}

.form-checkbox-v12 input:checked + .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.form-checkbox-v12 .checkbox-content {
  flex: 1;
}

.form-checkbox-v12 .checkbox-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.form-checkbox-v12 .checkbox-desc {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

/* Radio Button v12.0 */
.form-radio-group-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-radio-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8fafc;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-radio-v12:hover {
  background: #f1f5f9;
}

.form-radio-v12 input[type="radio"] {
  display: none;
}

.form-radio-v12 .radio-circle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-radio-v12 .radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.2s ease;
}

.form-radio-v12 input:checked + .radio-circle {
  border-color: #3b82f6;
}

.form-radio-v12 input:checked + .radio-circle::after {
  transform: scale(1);
}

.form-radio-v12 .radio-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* Form Footer */
.form-footer-v12 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .form-footer-v12 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* System Status Node */
.form-status-v12 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-status-v12 .status-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.form-status-v12 .status-icon svg {
  width: 24px;
  height: 24px;
}

.form-status-v12 .status-text {
  display: flex;
  flex-direction: column;
}

.form-status-v12 .status-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
}

.form-status-v12 .status-desc {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #10b981;
}

/* Form Buttons */
.form-actions-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-btn-primary-v12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 1rem;
  padding: 20px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.form-btn-primary-v12:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
  color: white;
}

.form-btn-primary-v12 svg {
  width: 18px;
  height: 18px;
}

.form-btn-secondary-v12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 20px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.form-btn-secondary-v12:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Product Row v12.0 */
.product-row-v12 {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.product-row-v12:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.product-row-v12 .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}

@media (min-width: 768px) {
  .product-row-v12 .product-grid {
    grid-template-columns: 1fr 100px 90px 120px 48px;
  }
}

.product-row-v12 .remove-btn {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #fecaca;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-row-v12 .remove-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* Add Product Button */
.add-product-v12 {
  width: 100%;
  background: white;
  border: 2px dashed #cbd5e1;
  border-radius: 1.5rem;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-product-v12:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #f8fafc;
}

.add-product-v12 svg {
  width: 20px;
  height: 20px;
}

/* Totals Section */
.form-totals-v12 {
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 24px;
  margin-top: 24px;
}

.form-totals-v12 .total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.form-totals-v12 .total-row:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

.form-totals-v12 .total-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.form-totals-v12 .total-value {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.form-totals-v12 .total-row.grand .total-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.form-totals-v12 .total-row.grand .total-value {
  font-size: 18px;
  font-weight: 900;
  color: #3b82f6;
}

/* Input with Button */
.input-with-btn-v12 {
  display: flex;
  gap: 8px;
}

.input-with-btn-v12 .form-input-v12 {
  flex: 1;
}

.input-with-btn-v12 .input-btn {
  width: 52px;
  height: 52px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.input-with-btn-v12 .input-btn:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

/* Preview Panel */
.preview-panel-v12 {
  position: sticky;
  top: 100px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
}

.preview-header-v12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.preview-title-v12 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0f172a;
}

.preview-body-v12 {
  background: white;
  overflow: hidden;
  min-height: 400px;
}

/* Modal v12.0 */
.modal-v12 .modal-content {
  border: none;
  border-radius: 2rem;
  overflow: hidden;
}

.modal-v12 .modal-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 32px;
}

.modal-v12 .modal-title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
}

.modal-v12 .modal-body {
  padding: 32px;
}

.modal-v12 .modal-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 20px 32px;
}


/* ========================================
   Sidebar v12.0 - Professional Engineering Style
   ======================================== */
.sidebar-v12 {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: white;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  z-index: 50;
  padding: 32px;
  transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
  .sidebar-v12 {
    transform: translateX(-100%);
    z-index: 1000;
  }
  
  body.sidebar-open .sidebar-v12 {
    transform: translateX(0);
  }
  
  body.sidebar-open .sidebar-overlay-v12 {
    opacity: 1;
    visibility: visible;
  }
}

.sidebar-overlay-v12 {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Logo */
.sidebar-logo-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.sidebar-logo-icon-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-text-v12 {
  font-size: 1.25rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.sidebar-logo-text-v12 .logo-bold {
  font-weight: 700;
  color: #0f172a;
}

.sidebar-logo-text-v12 .logo-light {
  font-weight: 300;
  color: #94a3b8;
}

/* Navigation */
.sidebar-nav-v12 {
  flex: 1;
  overflow-y: auto;
}

.sidebar-section-v12 {
  margin-bottom: 32px;
}

.sidebar-section-label-v12 {
  display: block;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #cbd5e1;
  padding-left: 16px;
  margin-bottom: 16px;
}

.sidebar-nav-v12 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-v12 li {
  margin-bottom: 4px;
}

/* Nav Links */
.sidebar-link-v12 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link-v12 svg {
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sidebar-link-v12:hover {
  background: #f8fafc;
  color: #3b82f6;
  transform: translateX(4px);
}

.sidebar-link-v12.active {
  background: #3b82f6;
  color: white;
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.5);
}

.sidebar-link-v12.active svg {
  stroke: white;
}

/* Footer */
.sidebar-footer-v12 {
  margin-top: auto;
  padding-top: 24px;
}

/* Tariff Block */
.sidebar-tariff-v12 {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 16px;
  margin: 0 8px 16px 8px;
}

.tariff-header-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tariff-header-v12 svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.tariff-header-v12 span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

.tariff-progress-v12 {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.tariff-progress-bar-v12 {
  height: 100%;
  background: #3b82f6;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.tariff-progress-bar-v12.warning {
  background: #f59e0b;
}

.tariff-progress-bar-v12.danger {
  background: #ef4444;
}

.tariff-info-v12 {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 12px;
}

.tariff-info-v12 strong {
  color: #0f172a;
  font-weight: 700;
}

.tariff-btn-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tariff-btn-v12:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-1px);
}

/* AI Status */
.sidebar-ai-status-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  margin-bottom: 16px;
}

.ai-status-dot-v12 {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ai-status-text-v12 {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
}

/* Profile Card */
.sidebar-profile-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 2rem;
  padding: 16px;
}

.sidebar-profile-avatar-v12 {
  width: 40px;
  height: 40px;
  background: #3b82f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-profile-avatar-v12 span {
  font-size: 13px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
}

.sidebar-profile-info-v12 {
  flex: 1;
  min-width: 0;
}

.profile-name-v12 {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-role-v12 {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
}

.sidebar-profile-logout-v12 {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar-profile-logout-v12:hover {
  color: #ef4444;
}

/* ========================================
   Dashboard Header v12.0
   ======================================== */
.dashboard-header-v12 {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
}

.dashboard-header-container-v12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .dashboard-header-container-v12 {
    padding: 20px 32px;
  }
}

.dashboard-header-left-v12 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #f8fafc;
  border-radius: 12px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.sidebar-toggle-v12:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.sidebar-toggle-v12 iconify-icon {
  font-size: 24px;
}

@media (min-width: 1024px) {
  .sidebar-toggle-v12 {
    display: none;
  }
}

.breadcrumb-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.breadcrumb-v12 a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-v12 a:hover {
  color: #3b82f6;
}

.breadcrumb-v12 .separator {
  color: #cbd5e1;
}

.breadcrumb-v12 .current {
  font-weight: 600;
  color: #0f172a;
}

.dashboard-header-right-v12 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-btn-v12 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.header-icon-btn-v12:hover {
  background: #f8fafc;
  color: #0f172a;
}

.header-icon-btn-v12 iconify-icon {
  font-size: 22px;
}

.header-icon-btn-v12 .notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid white;
}

/* User Menu v12 */
.user-menu-v12 {
  position: relative;
}

.user-avatar-v12 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #3b82f6;
  border-radius: 12px;
  cursor: pointer;
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.user-avatar-v12:hover {
  background: #2563eb;
}

.user-dropdown-v12 {
  min-width: 240px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.user-dropdown-header-v12 {
  padding: 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.user-dropdown-header-v12 .user-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.user-dropdown-header-v12 .user-email {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.user-dropdown-body-v12 {
  padding: 8px;
}

.user-dropdown-body-v12 a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
}

.user-dropdown-body-v12 a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.user-dropdown-body-v12 a iconify-icon {
  font-size: 18px;
}

.user-dropdown-footer-v12 {
  padding: 8px;
  border-top: 1px solid #e2e8f0;
}

.user-dropdown-footer-v12 .logout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #ef4444;
  transition: all 0.2s ease;
}

.user-dropdown-footer-v12 .logout-link:hover {
  background: #fef2f2;
}

.user-dropdown-footer-v12 .logout-link iconify-icon {
  font-size: 18px;
}

/* ========================================
   Dashboard Layout v12.0
   ======================================== */
.constructor-page-v12 {
  padding: 0 !important;
  margin: 0 !important;
}

.dashboard-layout-v12 {
  display: flex;
  min-height: 100vh;
}

.dashboard-main-v12 {
  flex: 1;
  margin-left: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

@media (min-width: 1024px) {
  .dashboard-main-v12 {
    margin-left: 320px;
  }
}

.dashboard-header-v12 {
  flex-shrink: 0;
}

.dashboard-content-v12 {
  flex: 1;
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .dashboard-content-v12 {
    padding: 32px;
  }
}

/* Page Title v12 */
.page-title-v12 {
  margin-bottom: 32px;
}

.page-title-v12 h1 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.page-title-v12 p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* ========================================
   UPD Constructor v12.0
   ======================================== */

/* Page Background with Pattern */
.constructor-page-v12 {
  background: #f8fafc;
  min-height: 100vh;
  position: relative;
}

.constructor-page-v12::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.constructor-page-v12 > * {
  position: relative;
  z-index: 1;
}

/* Form Container */
.constructor-form-v12 {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 3rem;
  padding: 40px;
  box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.05);
}

@media (min-width: 1024px) {
  .constructor-form-v12 {
    padding: 48px;
    border-radius: 4rem;
  }
}

/* Form Section */
.constructor-section-v12 {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
}

.constructor-section-v12:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Section Header */
.constructor-section-header-v12 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #94a3b8;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.constructor-section-header-v12::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

/* Form Labels */
.constructor-label-v12 {
  display: block;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-left: 8px;
  margin-bottom: 8px;
}

.constructor-label-v12.required::after {
  content: ' *';
  color: #ef4444;
}

/* Form Inputs */
.constructor-input-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.3s ease;
}

.constructor-input-v12::placeholder {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  opacity: 0.6;
}

.constructor-input-v12:focus {
  outline: none;
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Select */
.constructor-select-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 16px 48px 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  transition: all 0.3s ease;
}

.constructor-select-v12:focus {
  outline: none;
  background-color: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Textarea */
.constructor-textarea-v12 {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  resize: none;
  transition: all 0.3s ease;
}

.constructor-textarea-v12:focus {
  outline: none;
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Radio Group */
.constructor-radio-group-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.constructor-radio-v12 {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.constructor-radio-v12:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.constructor-radio-v12.active {
  background: #eff6ff;
  border-color: #3b82f6;
}

.constructor-radio-v12 input {
  display: none;
}

.constructor-radio-v12 .radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.constructor-radio-v12.active .radio-circle {
  border-color: #3b82f6;
}

.constructor-radio-v12 .radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.constructor-radio-v12.active .radio-circle::after {
  transform: scale(1);
}

.constructor-radio-v12 .radio-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.constructor-radio-v12.active .radio-label {
  color: #3b82f6;
}

/* Checkbox */
.constructor-checkbox-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.constructor-checkbox-v12 input {
  display: none;
}

.constructor-checkbox-v12 .checkbox-box {
  width: 24px;
  height: 24px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.constructor-checkbox-v12 input:checked + .checkbox-box {
  background: #3b82f6;
  border-color: #3b82f6;
}

.constructor-checkbox-v12 .checkbox-box svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.constructor-checkbox-v12 input:checked + .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.constructor-checkbox-v12 .checkbox-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

/* Card v12 for sections */
.constructor-card-v12 {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 2rem;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.constructor-card-header-v12 {
  padding: 20px 28px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.constructor-card-header-v12 h3 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #64748b;
  margin: 0;
}

.constructor-card-body-v12 {
  padding: 28px;
}

/* Product Row v12 */
.constructor-product-v12 {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1.5rem;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.constructor-product-v12:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.constructor-product-v12:last-child {
  margin-bottom: 0;
}

/* Add Product Button */
.constructor-add-btn-v12 {
  width: 100%;
  background: transparent;
  border: 2px dashed #e2e8f0;
  border-radius: 1.5rem;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
}

.constructor-add-btn-v12:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #3b82f6;
}

.constructor-add-btn-v12 iconify-icon {
  font-size: 20px;
}

/* Remove Button */
.constructor-remove-btn-v12 {
  width: 40px;
  height: 40px;
  background: #fef2f2;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.constructor-remove-btn-v12:hover {
  background: #fee2e2;
}

.constructor-remove-btn-v12 iconify-icon {
  font-size: 18px;
}

/* Form Footer */
.constructor-footer-v12 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
  margin-top: 32px;
}

.constructor-status-v12 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.constructor-status-icon-v12 {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.constructor-status-icon-v12 iconify-icon {
  font-size: 20px;
}

.constructor-status-text-v12 {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
}

.constructor-status-text-v12 span {
  color: #10b981;
}

.constructor-actions-v12 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.constructor-btn-primary-v12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 1rem;
  padding: 18px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.constructor-btn-primary-v12:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  color: white;
}

.constructor-btn-secondary-v12 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 18px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.constructor-btn-secondary-v12:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Preview Panel */
.constructor-preview-v12 {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 2rem;
  overflow: hidden;
  position: sticky;
  top: 100px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.05);
}

.constructor-preview-header-v12 {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.constructor-preview-header-v12 h3 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #64748b;
  margin: 0;
}

.constructor-preview-body-v12 {
  padding: 16px;
  background: #f8fafc;
  min-height: 400px;
}

.constructor-preview-body-v12 iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: white;
}

/* Organization/Contractor Select Cards */
.constructor-entity-card-v12 {
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  border-radius: 1.5rem;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.constructor-entity-card-v12:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.constructor-entity-card-v12.selected {
  background: #eff6ff;
  border-color: #3b82f6;
}

.constructor-entity-card-v12 .entity-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.constructor-entity-card-v12.selected .entity-icon {
  background: #3b82f6;
  color: white;
}

.constructor-entity-card-v12 .entity-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.constructor-entity-card-v12 .entity-info {
  font-size: 12px;
  color: #94a3b8;
}

/* Input Group (prefix/suffix) */
.constructor-input-group-v12 {
  display: flex;
  align-items: stretch;
}

.constructor-input-group-v12 .constructor-input-v12 {
  border-radius: 1rem 0 0 1rem;
}

.constructor-input-group-v12 .input-suffix {
  background: #f1f5f9;
  border: 1px solid #f1f5f9;
  border-left: none;
  border-radius: 0 1rem 1rem 0;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
}

/* Row Grid */
.constructor-row-v12 {
  display: grid;
  gap: 20px;
}

.constructor-row-v12.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.constructor-row-v12.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.constructor-row-v12.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .constructor-row-v12.cols-2,
  .constructor-row-v12.cols-3,
  .constructor-row-v12.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Invoice Constructor v12.0
   ======================================== */

/* Products Table */
.invoice-products-header-v12 {
  display: grid;
  grid-template-columns: 1fr 100px 80px 120px 120px 50px;
  gap: 12px;
  padding: 16px 20px;
  background: #f1f5f9;
  border-radius: 1rem;
  margin-bottom: 12px;
}

.invoice-products-header-v12 span {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

.invoice-products-header-v12 span:not(:first-child) {
  text-align: center;
}

.invoice-product-row-v12 {
  display: grid;
  grid-template-columns: 1fr 100px 80px 120px 120px 50px;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.invoice-product-row-v12:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.invoice-product-row-v12 .form-control {
  padding: 10px 14px !important;
  font-size: 13px !important;
}

.invoice-product-row-v12 .product-amount {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  padding: 10px;
}

/* Remove Product Button */
.invoice-remove-btn-v12 {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #fef2f2;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.invoice-remove-btn-v12:hover {
  background: #fee2e2;
}

/* Add Product Button */
.invoice-add-btn-v12 {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: 2px dashed #e2e8f0;
  border-radius: 1rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.invoice-add-btn-v12:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #3b82f6;
}

/* Totals Section */
.invoice-totals-v12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 1.5rem;
  margin-top: 24px;
}

.invoice-totals-row-v12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #64748b;
}

.invoice-totals-row-v12 span:last-child {
  font-weight: 600;
  color: #0f172a;
}

.invoice-totals-row-v12.total {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 2px solid #e2e8f0;
}

.invoice-totals-row-v12.total span:last-child {
  color: #3b82f6;
}

/* VAT Select inline */
.invoice-vat-select-v12 {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
}

/* Card with action button in header */
.constructor-card-header-v12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #f1f5f9;
}

.constructor-card-header-v12 h6 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #94a3b8;
  margin: 0;
}

.constructor-card-action-btn-v12 {
  background: #e2e8f0;
  border: none;
  border-radius: 0.75rem;
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.constructor-card-action-btn-v12:hover {
  background: #3b82f6;
  color: white;
}

/* Modal v12 */
.modal-v12 .modal-content {
  border-radius: 2rem;
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.modal-v12 .modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.modal-v12 .modal-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.modal-v12 .modal-body {
  padding: 32px;
}

/* Responsive products */
@media (max-width: 1200px) {
  .invoice-products-header-v12,
  .invoice-product-row-v12 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .invoice-products-header-v12 {
    display: none;
  }
  
  .invoice-product-row-v12 .form-control::placeholder {
    font-size: 11px;
  }
}

/* ========================================
   MOBILE RESPONSIVE v12.0 - Documatica Core
   ======================================== */

/* === AUTH PAGES - Tablet === */
@media (max-width: 768px) {
  .auth-page-v12 {
    padding: 24px 16px;
  }
  
  .auth-card-v12 {
    padding: 32px 24px;
    border-radius: 2rem;
  }
  
  .auth-header-v12 {
    margin-bottom: 28px;
  }
  
  .auth-logo-v12 {
    margin-bottom: 24px;
  }
  
  .auth-logo-v12 svg {
    width: 40px;
    height: 40px;
  }
  
  .auth-logo-v12 .logo-text {
    font-size: 1.25rem;
  }
  
  .auth-title-v12 {
    font-size: 1.25rem;
  }
  
  .auth-subtitle-v12 {
    font-size: 0.8125rem;
  }
  
  .auth-form-v12 {
    gap: 16px;
  }
  
  .auth-input-v12 {
    padding: 14px 20px;
    font-size: 0.8125rem;
    border-radius: 0.875rem;
  }
  
  .auth-checkbox-v12 input[type="checkbox"] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  
  .auth-checkbox-v12 span {
    font-size: 0.6875rem;
  }
  
  .auth-btn-v12 {
    padding: 16px 24px;
    font-size: 10px;
    border-radius: 1.25rem;
  }
  
  .auth-footer-v12 {
    margin-top: 24px;
    padding-top: 24px;
  }
  
  .auth-footer-v12 p {
    font-size: 0.8125rem;
  }
}

/* === AUTH PAGES - Small Mobile === */
@media (max-width: 480px) {
  .auth-page-v12 {
    padding: 16px 12px;
    align-items: flex-start;
    padding-top: 48px;
  }
  
  .auth-card-v12 {
    padding: 28px 20px;
    border-radius: 1.75rem;
  }
  
  .auth-header-v12 {
    margin-bottom: 24px;
  }
  
  .auth-logo-v12 {
    margin-bottom: 20px;
  }
  
  .auth-logo-v12 svg {
    width: 36px;
    height: 36px;
  }
  
  .auth-logo-v12 .logo-text {
    font-size: 1.125rem;
  }
  
  .auth-title-v12 {
    font-size: 1.125rem;
    margin-bottom: 6px;
  }
  
  .auth-subtitle-v12 {
    font-size: 0.75rem;
  }
  
  .auth-form-v12 {
    gap: 14px;
  }
  
  .auth-label-v12 {
    font-size: 8px;
    letter-spacing: 0.12em;
    margin-left: 6px;
    margin-bottom: 6px;
  }
  
  .auth-input-v12 {
    padding: 12px 16px;
    font-size: 0.8125rem;
    border-radius: 0.75rem;
  }
  
  .auth-options-v12 {
    gap: 8px;
  }
  
  .auth-checkbox-v12 input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
  
  .auth-checkbox-v12 input[type="checkbox"]:checked::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
  }
  
  .auth-checkbox-v12 span {
    font-size: 0.625rem;
  }
  
  .auth-forgot-v12 {
    font-size: 0.6875rem;
  }
  
  .auth-btn-v12 {
    padding: 14px 20px;
    font-size: 9px;
    letter-spacing: 0.15em;
    border-radius: 1rem;
  }
  
  .auth-footer-v12 {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .auth-footer-v12 p {
    font-size: 0.75rem;
  }
  
  .auth-status-v12 {
    margin-top: 16px;
    gap: 6px;
  }
  
  .auth-status-v12 .status-icon {
    width: 28px;
    height: 28px;
  }
  
  .auth-status-v12 .status-text {
    font-size: 8px;
  }
}

/* === HEADER v12 Mobile === */
@media (max-width: 768px) {
  .header-v12 {
    border-bottom-width: 1px;
  }
  
  .header-container-v12 {
    padding: 12px 16px;
  }
  
  .header-logo-v12 svg {
    width: 32px;
    height: 32px;
  }
  
  .header-logo-v12 .logo-text {
    font-size: 1.125rem;
  }
  
  .header-btn-primary-v12 {
    padding: 10px 16px;
    font-size: 9px;
    border-radius: 0.75rem;
  }
  
  .header-mobile-toggle-v12 {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .header-mobile-nav {
    padding: 12px 16px;
  }
  
  .header-mobile-nav a {
    padding: 14px 0;
    font-size: 0.9375rem;
  }
  
  .header-mobile-auth {
    gap: 10px;
    padding-top: 14px;
    margin-top: 6px;
  }
  
  .header-mobile-auth a {
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 700;
  }
}

/* === UPD PAGES Mobile === */
@media (max-width: 768px) {
  .upd-hero-v12 {
    padding: 80px 0 60px;
  }
  
  .upd-hero-content-v12 {
    padding: 0 20px;
    text-align: center;
  }
  
  .upd-hero-tag-v12 {
    font-size: 9px;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
  }
  
  .upd-hero-title-v12 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    max-width: 100%;
  }
  
  .upd-hero-desc-v12 {
    font-size: 1rem;
    margin-bottom: 28px;
    max-width: 100%;
  }
  
  .upd-hero-actions-v12 {
    flex-direction: column;
    gap: 12px;
  }
  
  .upd-hero-actions-v12 .docu-btn-primary,
  .upd-hero-actions-v12 .docu-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.6875rem;
  }
  
  .upd-quick-links-v12 {
    justify-content: center;
    margin-top: 28px;
  }
  
  .upd-quick-link-v12 {
    font-size: 9px;
    padding: 8px 12px;
  }
  
  /* UPD Content */
  .upd-content-v12 {
    padding: 48px 0;
  }
  
  .upd-content-container-v12 {
    padding: 0 20px;
    gap: 40px;
  }
  
  .upd-text-v12 h2 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
  }
  
  .upd-text-v12 h3 {
    font-size: 1rem;
    margin: 24px 0 12px;
  }
  
  .upd-text-v12 p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .upd-hero-v12 {
    padding: 64px 0 48px;
  }
  
  .upd-hero-content-v12 {
    padding: 0 16px;
  }
  
  .upd-hero-tag-v12 {
    font-size: 8px;
    margin-bottom: 12px;
  }
  
  .upd-hero-title-v12 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .upd-hero-desc-v12 {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }
  
  .upd-hero-actions-v12 .docu-btn-primary,
  .upd-hero-actions-v12 .docu-btn-secondary {
    padding: 0.875rem 1.25rem;
    font-size: 0.625rem;
    border-radius: 0.875rem;
  }
  
  .upd-quick-links-v12 {
    margin-top: 24px;
    gap: 6px;
  }
  
  .upd-quick-link-v12 {
    font-size: 8px;
    padding: 6px 10px;
  }
  
  .upd-content-v12 {
    padding: 40px 0;
  }
  
  .upd-content-container-v12 {
    padding: 0 16px;
  }
  
  .upd-text-v12 h2 {
    font-size: 1.125rem;
    margin: 28px 0 14px;
  }
  
  .upd-text-v12 h3 {
    font-size: 0.9375rem;
    margin: 20px 0 10px;
  }
  
  .upd-text-v12 p {
    font-size: 0.875rem;
  }
  
  .upd-text-v12 ul,
  .upd-text-v12 ol {
    padding-left: 20px;
  }
}

/* === BREADCRUMBS Mobile === */
@media (max-width: 768px) {
  .breadcrumbs-v12 {
    padding: 16px 0;
  }
  
  .breadcrumbs-container-v12 {
    padding: 0 16px;
  }
  
  .breadcrumbs-list-v12 {
    gap: 6px;
  }
  
  .breadcrumbs-item-v12 a,
  .breadcrumbs-item-v12.active {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  
  .breadcrumbs-item-v12 svg {
    width: 12px;
    height: 12px;
  }
}

/* === FEATURES SECTION Mobile === */
@media (max-width: 768px) {
  .features-section-v12 {
    padding: 48px 0;
  }
  
  .features-container-v12 {
    padding: 0 20px;
  }
  
  .features-header-v12 {
    margin-bottom: 32px;
  }
  
  .features-label-v12 {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  
  .feature-card-v12 {
    padding: 28px;
    border-radius: 1.5rem;
  }
  
  .feature-icon-v12 {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .feature-icon-v12 svg {
    width: 22px;
    height: 22px;
  }
  
  .feature-title-v12 {
    font-size: 0.9375rem;
    margin-bottom: 8px;
  }
  
  .feature-text-v12 {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .features-section-v12 {
    padding: 40px 0;
  }
  
  .features-container-v12 {
    padding: 0 16px;
  }
  
  .features-grid-v12 {
    gap: 12px;
  }
  
  .feature-card-v12 {
    padding: 24px;
    border-radius: 1.25rem;
  }
  
  .feature-icon-v12 {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 0.75rem;
  }
  
  .feature-icon-v12 svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-title-v12 {
    font-size: 0.875rem;
  }
  
  .feature-text-v12 {
    font-size: 0.75rem;
  }
}

/* === LEGAL PAGES Mobile === */
@media (max-width: 768px) {
  .legal-hero-v12 {
    padding: 80px 0 48px;
  }
  
  .legal-hero-v12 .container {
    padding: 0 20px;
  }
  
  .legal-title-v12 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }
  
  .legal-meta-v12 {
    font-size: 11px;
  }
  
  .legal-content-v12 {
    padding: 48px 0;
  }
  
  .legal-content-v12 .container {
    padding: 0 20px;
  }
  
  .legal-text-v12 h2 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
  }
  
  .legal-text-v12 p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
  }
  
  .legal-text-v12 ul {
    padding-left: 20px;
  }
  
  .legal-text-v12 li {
    font-size: 0.9375rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .legal-hero-v12 {
    padding: 64px 0 40px;
  }
  
  .legal-hero-v12 .container {
    padding: 0 16px;
  }
  
  .legal-title-v12 {
    font-size: 1.5rem;
  }
  
  .legal-meta-v12 {
    font-size: 10px;
  }
  
  .legal-content-v12 {
    padding: 40px 0;
  }
  
  .legal-content-v12 .container {
    padding: 0 16px;
  }
  
  .legal-text-v12 h2 {
    font-size: 1.125rem;
  }
  
  .legal-text-v12 p,
  .legal-text-v12 li {
    font-size: 0.875rem;
  }
}

/* === BUTTONS Mobile === */
@media (max-width: 768px) {
  .docu-btn-primary {
    padding: 0.875rem 1.75rem;
    font-size: 0.6875rem;
    border-radius: 0.875rem;
  }
  
  .docu-btn-secondary {
    padding: 0.875rem 1.75rem;
    font-size: 0.6875rem;
    border-radius: 0.875rem;
  }
}

@media (max-width: 480px) {
  .docu-btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
  }
  
  .docu-btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
  }
}

/* === TYPOGRAPHY Mobile adjustments === */
@media (max-width: 768px) {
  .docu-h1,
  .typo-h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .docu-h2,
  .typo-h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .docu-h3,
  .typo-h3 {
    font-size: 1.125rem;
  }
  
  .docu-tag,
  .typo-tag {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  
  .docu-lead,
  .typo-lead {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .docu-h1,
  .typo-h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  
  .docu-h2,
  .typo-h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }
  
  .docu-h3,
  .typo-h3 {
    font-size: 1rem;
  }
  
  .docu-tag,
  .typo-tag {
    font-size: 8px;
    letter-spacing: 0.25em;
  }
  
  .docu-lead,
  .typo-lead {
    font-size: 0.9375rem;
  }
  
  .docu-body,
  .typo-body {
    font-size: 0.8125rem;
  }
}

/* ========================================
   Toast Notifications v12.0
   ======================================== */

/* Контейнер для уведомлений */
#notification-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
  max-width: 420px;
}

@media (max-width: 480px) {
  #notification-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Анимация появления */
@keyframes toastSlideIn {
  from {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* Анимация прогресс-бара */
@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* Базовый стиль toast */
.toast-v12 {
  pointer-events: auto;
  animation: toastSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  min-width: 320px;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .toast-v12 {
    min-width: auto;
    max-width: none;
    padding: 1rem;
    gap: 1rem;
    border-radius: 1rem;
  }
}

/* Анимация исчезновения */
.toast-v12.toast--removing {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in;
}

/* Иконка */
.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon-svg {
  width: 20px;
  height: 20px;
}

/* Контент */
.toast-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.toast-label {
  display: block;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
}

.toast-title {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--docu-ink);
  line-height: 1.3;
  margin: 0 0 4px 0;
}

.toast-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--docu-body);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

/* Кнопка закрытия */
.toast-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #cbd5e1;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  color: var(--docu-ink);
}

.toast-close svg {
  width: 16px;
  height: 16px;
}

/* Прогресс-бар */
.toast-progress {
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 1.5rem;
  animation: toastProgress linear forwards;
}

/* === Цветовые варианты === */

/* Success */
.toast--success .toast-icon {
  background-color: #ecfdf5;
  color: #10b981;
}
.toast--success .toast-label {
  color: #10b981;
}
.toast--success .toast-progress {
  background-color: #10b981;
}

/* Error */
.toast--error .toast-icon {
  background-color: #fef2f2;
  color: #ef4444;
}
.toast--error .toast-label {
  color: #ef4444;
}
.toast--error .toast-progress {
  background-color: #ef4444;
}

/* Warning */
.toast--warning .toast-icon {
  background-color: #fffbeb;
  color: #f59e0b;
}
.toast--warning .toast-label {
  color: #f59e0b;
}
.toast--warning .toast-progress {
  background-color: #f59e0b;
}

/* Info */
.toast--info .toast-icon {
  background-color: #eff6ff;
  color: #3b82f6;
}
.toast--info .toast-label {
  color: #3b82f6;
}
.toast--info .toast-progress {
  background-color: #3b82f6;
}
