@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Outfit:wght@100..900&display=swap');

:root {
  --font-inter: "Inter", ui-sans-serif, system-ui;
  --font-outfit: "Outfit", ui-sans-serif, system-ui;
  --color-brand-blue: #3b82f6;
  --color-brand-gold: #fbbf24;
  --color-brand-dark: #020617;
}

/* Luxury Global Reset */
@layer base {
  body.ds-dark {
    background: #020617;
    color: #f8fafc;
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    overflow-x: hidden;
  }
}

/* Premium Components */
@layer components {
  /* THE LICENSE PLATE (Exactly like user image) */
  .luxury-plate-container {
    background: #020617;
    border-radius: 14px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    display: flex;
    padding: 8px;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 520 / 112;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    container-type: inline-size;
  }

  .luxury-plate-inner {
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border: 2px solid #000000;
  }

  .luxury-plate-container:focus-within {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 100px -20px rgba(59, 130, 246, 0.3);
  }

  .plate-segment {
    background: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-weight: 900 !important;
    font-family: 'Inter', system-ui, sans-serif;
    text-align: center;
    padding: 0 !important;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
  }

  .plate-segment::placeholder {
    color: rgba(30, 58, 138, 0.18);
    opacity: 1 !important;
    text-shadow: none;
  }

  /* Segment Wrappers for stable vertical alignment */
  .segment-wrapper {
    display: flex;
    justify-content: center;
    height: 100%;
  }

  .char-wrapper { 
    width: 14cqi; 
    align-items: flex-end;
    padding-bottom: 2.2cqi; 
    padding-left: 2cqi;
  }
  .char-wrapper .plate-segment { 
    font-size: 12.5cqi !important;
    transform: translateY(2.5cqi);
  }
  
  .num-wrapper { 
    width: 38cqi; 
    align-items: flex-start;
    padding-top: 1cqi; 
    margin-left: -2cqi;
  }
  .num-wrapper .plate-segment { 
    font-size: 19cqi !important; 
    letter-spacing: -0.05em;
    transform: translateY(-0.5cqi);
  }
  
  .chars-wrapper { 
    width: 24cqi; 
    align-items: flex-end;
    padding-bottom: 2.2cqi; 
    margin-left: -1cqi;
  }
  .chars-wrapper .plate-segment { 
    font-size: 12.5cqi !important;
    transform: translateY(2.5cqi);
  }

  /* Dedicated stylish divider */
  .plate-divider {
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
  }

  .plate-aside {
    padding: 1.5cqi;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 24cqi;
    height: 100%;
    margin-left: auto;
  }

  .region-input {
    color: #000000 !important;
    background: transparent;
    border: none !important;
    outline: none !important;
    font-size: 10.5cqi;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    width: 100%;
    padding: 0 !important;
    opacity: 1 !important;
    margin-bottom: 0px;
  }

  .region-input::placeholder {
    color: rgba(30, 58, 138, 0.18);
    opacity: 1 !important;
    text-shadow: none;
  }

  .rus-section {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .rus-text {
    font-size: 1.6cqi;
    font-weight: 900;
    color: #94a3b8;
    letter-spacing: 0.05em;
  }

  .flag-box {
    width: 2.5cqi;
    height: 1.6cqi;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }

  /* Typography */
  .hero-title {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-family: 'Outfit', sans-serif;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .result-number-large {
    font-size: 140px;
    font-weight: 950;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 30px rgba(59, 130, 246, 0.4));
    display: inline-block;
    padding: 0 30px;
    letter-spacing: normal;
  }

  .header-label {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 4px;
    display: block;
  }

  .header-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
  }

  .stat-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 48px;
    padding: 20px;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(40px);
    overflow: hidden;
  }

  @media (min-width: 768px) {
    .stat-card { padding: 48px; }
  }

  .stat-plate-visual {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    min-height: 70px;
    max-width: 100%;
  }

  @media (min-width: 768px) {
    .stat-plate-visual { min-height: 90px; padding: 0 20px; }
  }

  .stat-plate-number {
    color: #000000 !important;
    font-weight: 950 !important;
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  @media (min-width: 768px) {
    .stat-plate-number { font-size: 44px; line-height: 1; }
  }

  .stat-plate-region {
    color: #000000 !important;
    font-weight: 950 !important;
    font-size: 18px;
    line-height: 1;
  }

  @media (min-width: 768px) {
    .stat-plate-region { font-size: 28px; }
  }

  .vibration-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    color: #3b82f6;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 10px;
    margin-top: 12px;
  }

  .btn-luxury {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 950;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  @media (min-width: 768px) {
    .btn-luxury {
      padding: 24px 72px;
      font-size: 16px;
      letter-spacing: 0.2em;
    }
  }

  .btn-luxury:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.6);
    filter: brightness(1.1);
  }

  .btn-luxury:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    cursor: not-allowed;
    filter: none;
    opacity: 1;
  }

  /* Premium Result Buttons */
  .btn-premium-blue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #3b82f6;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-premium-blue:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.6);
    filter: brightness(1.1);
  }

  .btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
  }

  .btn-premium-outline:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
  }
  /* Social Proof Bar */
  .social-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    height: 56px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    margin-top: 0;
    width: 240px; /* Unify width precisely */
  }

  .trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3b82f6;
  }

  /* Premium Card System */
  .premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
  }

  @media (max-width: 768px) {
    .premium-grid { grid-template-columns: 1fr; }
  }

  .premium-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .premium-card:hover {
    background: rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
  }

  .premium-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .premium-card:hover::after { opacity: 1; }

  .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
  }

  .premium-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
  }

  /* Target Audience Design */
  .audience-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
  }

  .audience-badge:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(8px);
  }

  .audience-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
  }

  /* How It Works Premium Design */
  .step-card {
    position: relative;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
  }

  .step-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  }

  .step-number-container {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-bg-number {
    font-size: 120px;
    font-weight: 950;
    line-height: 1;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
  }

  .step-card .icon-circle {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
    border: 4px solid #020617;
  }

  .step-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }

  .step-card p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 500;
  }
}

/* Background Stars & Magic */
.star-field {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  opacity: 0.5;
}

.magic-dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dust-particle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: stardust-drift infinite linear;
}

@keyframes stardust-drift {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-500px) rotate(360deg); opacity: 0; }
}

.universe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  animation: universe-float 15s infinite ease-in-out;
}

@keyframes universe-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-48%, -52%) scale(1.1); opacity: 0.6; }
}

/* Analysis Content Styling */
.analysis-content {
  max-width: 900px;
  margin: 0 auto;
}

.analysis-content h1, .analysis-content h2, .analysis-content h3 {
  color: #3b82f6;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .analysis-content h1, .analysis-content h2, .analysis-content h3 {
    font-size: 1.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
  }
}

.analysis-content h1::after, .analysis-content h2::after, .analysis-content h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), transparent);
}

.analysis-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.8rem;
}

@media (max-width: 767px) {
  .analysis-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.4rem;
  }
}

/* Markers and Lists */
.analysis-content ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 3rem 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  .analysis-content ul { 
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Specific styling for list items (CARDS) */
.analysis-content li {
  background: rgba(59, 130, 246, 0.04) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  padding: 28px 28px 28px 56px !important;
  border-radius: 24px !important;
  color: #ffffff !important;
  display: block !important;
  position: relative !important;
  height: 100% !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .analysis-content li {
    padding: 20px 20px 20px 48px !important;
    border-radius: 18px !important;
  }
}

.analysis-content li p {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  margin-bottom: 0.8rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.analysis-content li p:last-child {
  margin-bottom: 0 !important;
}

/* First paragraph in card = bold thesis */
.analysis-content li p:first-of-type {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  font-size: 1.1rem !important;
}

.analysis-content li::before {
  content: "✦";
  color: #3b82f6;
  font-size: 1.2rem;
  position: absolute !important;
  left: 24px !important;
  top: 32px !important;
}

.analysis-content li strong:first-child {
  display: block !important;
  margin-bottom: 10px !important;
  font-size: 1.15rem !important;
  color: #3b82f6 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.analysis-content strong {
  color: #ffffff;
  font-weight: 700;
}

.analysis-content em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 500;
}

/* Insight Plate (Blockquote) */
.analysis-content blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 100%);
  border-radius: 20px;
  border-left: 4px solid #3b82f6;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
  .analysis-content blockquote {
    padding: 1.5rem 1.5rem;
    margin: 2rem 0;
    border-radius: 16px;
  }
}

.analysis-content blockquote p {
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 767px) {
  .analysis-content blockquote p {
    font-size: 1rem;
  }
}

.analysis-content blockquote::before {
  content: "ИНСАЙТ";
  position: absolute;
  top: -12px;
  left: 24px;
  background: #3b82f6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 15px;
  border-radius: 100px;
  letter-spacing: 0.25em;
}

.final-essence-block blockquote::before {
  content: "СУТЬ НОМЕРА" !important;
  background: #fbbf24 !important;
  color: #020617 !important;
}

.final-essence-block blockquote {
  border-left-color: #fbbf24 !important;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.03) 100%) !important;
}

/* Hero Section Typography */
.analysis-hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 950;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: 'Outfit', sans-serif;
}

/* Final CTA Blob replacement */
/* Value Props Section */
/* Forced Grid for Results Page */
.premium-value-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .premium-value-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.value-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 48px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-16px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.value-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  margin-bottom: 40px;
  transition: all 0.4s ease;
}

.value-card:hover .value-card-icon {
  background: #3b82f6;
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.value-card-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 100px;
  font-weight: 950;
  color: white;
  opacity: 0.02;
  pointer-events: none;
}

.anchor-nav {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, black 85%, transparent);
}

.anchor-nav::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  font-size: 10px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5)); }
  50% { opacity: 1; filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8)); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes portal-rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes portal-rotate-reverse { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
@keyframes portal-pulse { 0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); } 50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); } }

.mystic-portal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  z-index: 0;
  pointer-events: none;
}

.portal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.portal-ring-1 {
  width: 100%;
  height: 100%;
  border-top: 2px solid rgba(59, 130, 246, 0.4);
  animation: portal-rotate 10s linear infinite;
}

.portal-ring-2 {
  width: 85%;
  height: 85%;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  animation: portal-rotate-reverse 15s linear infinite;
}

.portal-ring-3 {
  width: 70%;
  height: 70%;
  border-right: 2px solid rgba(59, 130, 246, 0.2);
  animation: portal-rotate 20s linear infinite;
}

.portal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  animation: portal-pulse 4s ease-in-out infinite;
}

.portal-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(59, 130, 246, 0.05) 100%);
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

.mystic-ring-outer {
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3b82f6;
  animation: spin 1.2s linear infinite;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.mystic-ring-inner {
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(96, 165, 250, 0.6);
  animation: spin-reverse 1.8s linear infinite;
}

.mystic-particle {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #3b82f6;
}

.mystic-orbit {
  animation: spin 3s linear infinite;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .avatar-mobile-hidden {
    display: none !important;
  }
  
  /* Fix anchor navigation overflow */
  .anchor-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding-bottom: 8px;
  }
  
  .anchor-nav::-webkit-scrollbar {
    display: none;
  }
  
  /* Responsive hero title */
  .analysis-hero-title, .premium-main-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  /* Button text wrapping */
  .btn-premium-blue,
  .btn-premium-outline {
    font-size: 11px !important;
    padding: 14px 24px !important;
    white-space: normal !important;
    text-align: center !important;
    min-height: 48px !important;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden !important;
  }
  
  * {
    max-width: 100vw;
  }
}

/* ===========================================
   PREMIUM PRICING SECTION STYLES
   =========================================== */

.pricing-section {
  position: relative;
}

/* Pricing Grid Layout */
.pricing-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
    display: grid !important;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    gap: 32px !important;
  }
}

/* Base Card Styles */
.pricing-card {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  transition: all 0.4s ease;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.pricing-card-inner {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 30, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  padding: 24px 20px !important;
  z-index: 10;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
}

@media (min-width: 768px) {
  .pricing-card-inner {
    padding: 48px 36px 44px 36px !important;
  }
}

.pricing-card:hover .pricing-card-inner {
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Glow Effects */
.pricing-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(40px);
  pointer-events: none;
  border-radius: 24px;
}

.pricing-card:hover .pricing-card-glow {
  opacity: 0.4;
}

.pricing-card-glow-green {
  background: rgba(16, 185, 129, 0.3);
}

.pricing-card-glow-gold {
  background: rgba(245, 158, 11, 0.3);
}

.pricing-card-glow-red {
  background: rgba(244, 63, 94, 0.3);
}

/* Featured Card */
.pricing-card-featured {
  z-index: 20;
}

.pricing-card-featured .pricing-card-inner {
  background: linear-gradient(145deg, rgba(20, 28, 50, 0.98), rgba(15, 20, 40, 1)) !important;
  border: 2px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 60px -10px rgba(245, 158, 11, 0.3);
}

.pricing-card-featured:hover .pricing-card-inner {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 0 80px -10px rgba(245, 158, 11, 0.4);
}

@media (min-width: 1024px) {
  .pricing-card-featured {
    transform: scale(1.03);
  }
  .pricing-card-featured:hover {
    transform: scale(1.05);
  }
}

/* Icon Circles */
.pricing-icon {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 28px auto !important;
  border-width: 2px !important;
  border-style: solid !important;
}

.pricing-icon-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.1)) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.3) !important;
}

.pricing-icon-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.1)) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 10px 40px -10px rgba(245, 158, 11, 0.3) !important;
}

.pricing-icon-red {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(236, 72, 153, 0.1)) !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
  box-shadow: 0 10px 40px -10px rgba(244, 63, 94, 0.3) !important;
}

.pricing-icon svg {
  width: 36px !important;
  height: 36px !important;
}

/* Price Display */
.pricing-price {
  font-size: 64px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.pricing-price-green {
  background: linear-gradient(135deg, #34d399, #14b8a6) !important;
}

.pricing-price-gold {
  background: linear-gradient(135deg, #fbbf24, #f97316) !important;
}

.pricing-price-red {
  background: linear-gradient(135deg, #fb7185, #ec4899) !important;
}

.pricing-currency {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  margin-left: 4px !important;
}

/* Section Labels */
.pricing-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 14px !important;
  display: block !important;
}

.pricing-label-green { color: #34d399 !important; }
.pricing-label-gold { color: #fbbf24 !important; }
.pricing-label-red { color: #fb7185 !important; }

/* For Whom Box */
.pricing-for-whom {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
  min-height: 140px !important;
  display: flex !important;
  flex-direction: column !important;
}

.pricing-for-whom p {
  color: #e2e8f0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Feature List - STRONG OVERRIDES */
.pricing-features-wrapper {
  margin-bottom: 32px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.pricing-card ul,
.pricing-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 36px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.pricing-card li,
.pricing-section li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

.pricing-card li::before,
.pricing-section li::before {
  display: none !important;
  content: none !important;
}

/* Checkmark Circles */
.pricing-check {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.pricing-check svg {
  width: 14px !important;
  height: 14px !important;
}

.pricing-check-green {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}

.pricing-check-gold {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
}

.pricing-check-red {
  background: rgba(244, 63, 94, 0.2) !important;
  color: #fb7185 !important;
}

.pricing-feature-text {
  color: #e2e8f0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Result Box */
.pricing-result {
  border-radius: 18px !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
  min-height: 130px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.pricing-result-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.08)) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.pricing-result-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.08)) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.pricing-result-red {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(236, 72, 153, 0.08)) !important;
  border: 1px solid rgba(244, 63, 94, 0.25) !important;
}

.pricing-result p {
  margin: 0 !important;
}

.pricing-result-text {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* CTA Buttons */
.pricing-btn {
  width: 100% !important;
  padding: 20px 24px !important;
  border-radius: 18px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

/* Price in button should not wrap */
.pricing-btn-price {
  white-space: nowrap !important;
  display: inline !important;
}

@media (max-width: 768px) {
  .pricing-btn {
    font-size: 12px !important;
    padding: 16px 16px !important;
    letter-spacing: 0.02em !important;
  }
}

.pricing-btn-green {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

.pricing-btn-green:hover {
  box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-3px) !important;
}

.pricing-btn-gold {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

.pricing-btn-gold:hover {
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-3px) !important;
}

.pricing-btn-red {
  background: linear-gradient(135deg, #f43f5e, #ec4899) !important;
}

.pricing-btn-red:hover {
  box-shadow: 0 20px 50px -10px rgba(244, 63, 94, 0.5) !important;
  transform: translateY(-3px) !important;
}

/* Popular Badge */
.pricing-badge {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 30px -5px rgba(245, 158, 11, 0.5) !important;
}

/* Card Title */
.pricing-title {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.02em !important;
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Price Row */
.pricing-price-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-bottom: 40px !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .pricing-card-inner {
    padding: 32px 24px !important;
  }
  
  .pricing-price {
    font-size: 48px !important;
  }
  
  .pricing-icon {
    width: 64px !important;
    height: 64px !important;
  }
  
  .pricing-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  
  .pricing-title {
    font-size: 20px !important;
  }
}

/* ===========================================
   PREMIUM HEADER OVERRIDES
   =========================================== */

.premium-header-section {
  padding-top: 60px !important;
  margin-bottom: 80px !important;
  text-align: center !important;
}

.premium-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 24px !important;
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 99px !important;
  margin-bottom: 40px !important;
}

.premium-badge span {
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3em !important;
  color: #60a5fa !important;
  margin: 0 !important;
}

.premium-main-title, .analysis-hero-title {
  font-size: 72px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin-bottom: 30px !important;
  letter-spacing: -0.04em !important;
  display: block !important;
}

@media (max-width: 768px) {
  .premium-main-title, .analysis-hero-title { font-size: 36px !important; }
}

.title-gradient {
  display: block !important;
  margin-top: 10px !important;
  background: linear-gradient(to right, #60a5fa, #a855f7, #f472b6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.premium-subtitle, .hero-intro-text {
  font-size: 20px !important;
  color: #94a3b8 !important;
  max-width: 800px !important;
  margin: 0 auto 50px auto !important;
  line-height: 1.8 !important;
  font-weight: 300 !important;
}

@media (max-width: 768px) {
  .premium-subtitle, .hero-intro-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

.benefit-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 24px !important;
  margin-bottom: 80px !important;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .benefit-group {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    max-width: none;
  }
}

.benefit-item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.benefit-icon-box {
  width: 52px !important;
  height: 52px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.benefit-text {
  font-size: 18px !important;
}

/* Magical Formula Styles */
.formula-mystic-container {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.4), rgba(5, 10, 20, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 40px;
  padding: 60px 40px;
  margin: 80px auto;
  max-width: 1000px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 50px rgba(59, 130, 246, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formula-mystic-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

@media (min-width: 768px) {
  .formula-mystic-grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}

.formula-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  min-width: 220px;
  transition: transform 0.4s ease;
}

.formula-part:hover {
  transform: translateY(-8px);
}

.formula-part .label {
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #60a5fa;
  margin-bottom: 20px;
  opacity: 0.7;
}

.formula-part .value {
  font-size: 24px;
  font-weight: 950;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.formula-connector {
  font-size: 40px;
  font-weight: 900;
  color: #3b82f6;
  padding: 0 30px;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  animation: formula-pulse 2s ease-in-out infinite;
}

.formula-result-part {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px dashed rgba(96, 165, 250, 0.4);
  border-radius: 30px;
  padding: 30px 40px;
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.formula-result-part .value {
  background: linear-gradient(135deg, #60a5fa, #a855f7, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
}

@keyframes formula-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6)); }
}

.formula-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}


.choose-format-divider {
  position: relative !important;
  padding: 40px 0 !important;
}

.divider-line {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent) !important;
}

.choose-format-text {
  position: relative !important;
  z-index: 10 !important;
  background: #020617 !important; /* Насыщенный цвет фона страницы */
  padding: 0 40px !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4em !important;
  display: inline-block !important;
}

/* ===========================================
   STICKY ANCHOR NAVIGATION
   =========================================== */

.sticky-nav-wrapper {
  position: sticky !important;
  top: 20px !important;
  z-index: 100 !important;
  margin-bottom: 60px !important;
  display: flex !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.sticky-nav-container {
  display: flex !important;
  gap: 8px !important;
  padding: 6px !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-blur: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 99px !important;
  pointer-events: auto !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}

.nav-tab {
  padding: 8px 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  border-radius: 99px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.nav-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.nav-tab.active {
  background: #3b82f6 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

/* ===========================================
   TECHNICAL CODE BLOCK
   =========================================== */

.tech-calc-box {
  background: rgba(15, 23, 42, 0.4) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  border-radius: 20px !important;
  padding: 40px 30px !important;
  margin-bottom: 80px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.05), inset 0 0 20px rgba(59, 130, 246, 0.05) !important;
}

/* Magical Grid Background */
.tech-calc-box::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  mask-image: radial-gradient(circle at center, black, transparent 80%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.tech-calc-box::before {
  content: "MAGICAL FORMULA v3.1" !important;
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;
  font-size: 10px !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  color: #3b82f6 !important;
  opacity: 0.4 !important;
  letter-spacing: 0.1em !important;
}

.tech-label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  color: #3b82f6 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4em !important;
  margin-bottom: 20px !important;
  position: relative !important;
  z-index: 10 !important;
}

.tech-formula {
  font-family: "JetBrains Mono", "Courier New", monospace !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #e2e8f0 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 768px) {
  .tech-formula { font-size: 12px !important; }
}

/* ===========================================
   BOTTOM SOCIAL PROOF
   =========================================== */

.bottom-social-proof {
  margin-top: 100px !important;
  padding: 40px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 32px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 24px !important;
}

.avatar-stack {
  display: flex !important;
  margin-right: -10px !important;
}

.avatar-stack img, .avatar-stack .more-badge {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 3px solid #020617 !important;
  margin-left: -12px !important;
}

.avatar-stack .more-badge {
  background: #3b82f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  color: white !important;
}
/* ===========================================
   PREMIUM FOOTER STYLES
   =========================================== */

.premium-footer {
  margin-top: 40px !important;
  padding-bottom: 0 !important;
  border-top: none !important;
  position: relative !important;
  z-index: 10 !important;
}

.footer-container {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

.footer-technical {
  padding: 30px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  margin-bottom: 40px !important;
}

.footer-main-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 40px !important;
}

@media (min-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 100px !important;
  }
}

.footer-column-title {
  font-size: 10px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  color: #475569 !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.footer-link {
  display: block !important;
  color: #64748b !important;
  font-size: 13px !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  transition: all 0.2s ease !important;
}

.footer-link:hover {
  color: #ffffff !important;
}

.footer-legal-item {
  margin-bottom: 6px !important;
  display: flex !important;
  justify-content: space-between !important;
  padding-bottom: 6px !important;
}

.footer-legal-label {
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.footer-legal-value {
  color: #64748b !important;
  font-size: 11px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.footer-bottom {
  margin-top: 40px !important;
  padding-top: 30px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.footer-copyright {
  font-size: 11px !important;
  color: #334155 !important;
  letter-spacing: 0.05em !important;
}

/* Magicial Orb Animation */
.magic-orb-container {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magic-orb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3b82f6, #1e40af 80%);
  box-shadow: 
    0 0 40px rgba(59, 130, 246, 0.5),
    inset -10px -10px 20px rgba(0, 0, 0, 0.5),
    inset 10px 10px 20px rgba(255, 255, 255, 0.2);
  position: relative;
  animation: orb-float 4s infinite ease-in-out;
  overflow: hidden;
}

.magic-orb::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(200, 220, 255, 0.1), transparent 30%, rgba(200, 220, 255, 0.1), transparent 70%);
  animation: orb-rotate 5s infinite linear;
}

.magic-orb-inner {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.4), transparent 70%);
  filter: blur(5px);
  animation: orb-pulse 2s infinite ease-in-out;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes orb-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===========================================
   TRUST FACTOR BLOCKS
   =========================================== */

/* Instant Result Badge */
.instant-result-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  margin-bottom: 16px;
}

.instant-result-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3b82f6;
  font-size: 16px;
}

.instant-result-badge p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* Individual Analysis Badge */
.individual-analysis-block {
  padding: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  margin-bottom: 32px;
  position: relative;
}

.individual-analysis-block .badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.individual-analysis-block .method-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.individual-analysis-block p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.individual-analysis-block strong {
  color: #ffffff;
}

/* Transparent Formula Calculator */
.formula-transparent-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.formula-transparent-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
}

.formula-section-title {
  font-size: 11px;
  font-weight: 900;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.formula-steps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.formula-step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  min-width: 44px;
  transition: all 0.3s ease;
}

.formula-step:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.formula-step .char {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.formula-step .value {
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
}

.formula-step.is-operator {
  background: transparent;
  border: none;
  padding: 4px;
  min-width: auto;
  color: #475569;
  font-size: 18px;
  font-weight: 300;
}

.formula-step.is-operator:hover {
  background: transparent;
  transform: none;
}

.formula-result-line {
  text-align: center;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

.formula-result-line .result-text {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.03em;
}

.formula-result-line .result-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  margin-left: 8px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.formula-trust-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

/* Progress Bar 40% → 100% */
.progress-insight-section {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  margin-bottom: 48px;
}

.progress-insight-section .progress-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.progress-insight-section .section-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.progress-bar-container {
  position: relative;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  position: relative;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.progress-bar-fill::after {
  content: '40%';
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.progress-bar-container::after {
  content: '100%';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 900;
  color: rgba(251, 191, 36, 0.5);
  letter-spacing: 0.05em;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.progress-label.free {
  color: #3b82f6;
}

.progress-label.full {
  color: #fbbf24;
}

/* Testimonial Cards */
.testimonials-section {
  margin-bottom: 48px;
}

.testimonials-section .section-header {
  font-size: 10px;
  font-weight: 900;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(59, 130, 246, 0.04);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.testimonial-card .person {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.testimonial-card .story {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.testimonials-counter {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.testimonials-counter strong {
  color: #3b82f6;
  font-weight: 800;
}

/* Method Block (Scientific/Historical) */
.method-block {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  margin-bottom: 48px;
}

.method-block .method-title {
  font-size: 10px;
  font-weight: 900;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-block p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 12px;
}

.method-block p:last-child {
  margin-bottom: 0;
}

.method-block strong {
  color: #cbd5e1;
}

.method-block em {
  color: #fbbf24;
  font-style: normal;
}

/* Privacy Line */
.privacy-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 14px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.privacy-line svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.privacy-line p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Guarantee Badge */
.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.12);
  border-radius: 14px;
  margin-bottom: 32px;
}

.guarantee-badge svg {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  flex-shrink: 0;
}

.guarantee-badge p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Bestseller badge on pricing card */
.pricing-bestseller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ===========================================
   P7: ANCHOR NAVIGATION
   =========================================== */
.section-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.anchor-pill:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .anchor-pill {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ===========================================
   P3: LETTER BLOCK STRONG ACCENT
   =========================================== */
/* Make letter names (bold elements in paragraphs) pop with left border */
.analysis-content p > strong:first-child {
  display: inline;
  color: #3b82f6;
}

/* ===========================================
   P5: PRICING MOBILE ACCORDION
   =========================================== */
@media (max-width: 767px) {
  .pricing-features-wrapper ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .pricing-features-wrapper.expanded ul {
    max-height: 1000px;
  }

  .pricing-features-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    transition: all 0.2s ease;
  }

  .pricing-features-toggle:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
  }
  
  /* Increase mobile padding for cards */
  .pricing-card-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (min-width: 768px) {
  .pricing-features-toggle {
    display: none;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ===========================================
   PAYWALL: Мягкая полупрозрачная стена
   =========================================== */
.paywall-container {
  position: relative;
  max-height: 220px;
  overflow: hidden;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 0;
}

.paywall-container .paywall-teaser-content {
  position: relative;
  z-index: 1;
}

/* Градиентная стена — перекрывает текст снизу */
.paywall-gradient-wall {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  z-index: 2;
  pointer-events: none;
}

/* Тёмно-тиловый (Число судьбы) */
.paywall-gradient-wall--teal {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 22, 40, 0.4) 25%,
    rgba(10, 22, 40, 0.85) 55%,
    rgba(10, 22, 40, 1) 100%
  );
}

/* Тёмно-фиолетовый (Матрица судьбы) */
.paywall-gradient-wall--purple {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 11, 46, 0.4) 25%,
    rgba(26, 11, 46, 0.85) 55%,
    rgba(26, 11, 46, 1) 100%
  );
}

/* CTA блок под стеной */
.paywall-cta {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: -20px;
  padding-top: 0;
}

/* Разблокированная версия — нет ограничений */
.paywall-unlocked {
  max-height: none;
  overflow: visible;
}

.paywall-unlocked .paywall-gradient-wall {
  display: none;
}

/* ═══════════════════════════════════════════
   Homepage Badges
   ═══════════════════════════════════════════ */

.numefy-badge-soon {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: rgba(252, 211, 77, 0.8);
}

.numefy-badge-soon-sm {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.15);
  color: rgba(252, 211, 77, 0.6);
}

.numefy-badge-pro {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: rgba(252, 211, 77, 0.9);
}
