/* =============================================
   BOTAUTO ARTICLE STYLES - PREMIUM DARK THEME
   ============================================= */

/* Background Effects */
body {
  position: relative;
  overflow-x: hidden;
}

/* Animated Background Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(31, 111, 242, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 242, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -2;
}

/* Floating Orbs */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(31, 111, 242, 0.12) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 198, 174, 0.1) 0%, transparent 70%);
  top: 40%;
  right: -100px;
  animation-delay: -7s;
}
.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  bottom: 20%;
  left: -50px;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -20px) scale(1.03); }
  50% { transform: translate(-15px, 15px) scale(0.97); }
  75% { transform: translate(15px, 20px) scale(1.02); }
}

/* Animated Stars */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

/* =============================================
   ARTICLE HERO
   ============================================= */
.article-hero {
  position: relative;
  padding: 140px 20px 100px;
  text-align: center;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(31, 111, 242, 0.18) 0%, rgba(0, 198, 174, 0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: pulse 10s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.article-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #fff 0%, rgba(226, 232, 255, 0.95) 50%, #00c6ae 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease-in-out infinite;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.article-hero .meta {
  color: rgba(226, 232, 255, 0.6);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Reading time badge */
.reading-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 111, 242, 0.15);
  border: 1px solid rgba(31, 111, 242, 0.3);
  padding: 8px 16px;
  border-radius: 9999px;
  margin-top: 20px;
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 500;
}

/* =============================================
   ARTICLE CONTENT
   ============================================= */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  position: relative;
  z-index: 1;
}

.article-content h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  margin: 60px 0 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.article-content h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1f6ff2, #00c6ae);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 18px;
}

.article-content p {
  color: rgba(226, 232, 255, 0.8);
  line-height: 1.95;
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.article-content strong {
  color: #fff;
  font-weight: 600;
}

.article-content a {
  color: #00c6ae;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 198, 174, 0.3);
  transition: all 0.2s;
}
.article-content a:hover {
  color: #22d3ee;
  border-bottom-color: #22d3ee;
}

/* Lists */
.article-content ul, .article-content ol {
  margin: 25px 0;
  padding-left: 0;
  list-style: none;
}
.article-content li {
  color: rgba(226, 232, 255, 0.8);
  line-height: 1.85;
  margin-bottom: 14px;
  padding-left: 32px;
  position: relative;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1f6ff2, #00c6ae);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(31, 111, 242, 0.4);
}
.article-content ol {
  counter-reset: item;
}
.article-content ol li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #1f6ff2, #00c6ae);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(31, 111, 242, 0.3);
}

/* =============================================
   INFO BOXES
   ============================================= */
.info-box {
  background: rgba(31, 111, 242, 0.1);
  border: 1px solid rgba(31, 111, 242, 0.25);
  border-left: 4px solid #1f6ff2;
  padding: 28px;
  margin: 35px 0;
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(10px);
}
.info-box strong {
  color: #60a5fa;
}

.warning-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 4px solid #f59e0b;
  padding: 28px;
  margin: 35px 0;
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(10px);
}
.warning-box strong {
  color: #fbbf24;
}

.success-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-left: 4px solid #22c55e;
  padding: 28px;
  margin: 35px 0;
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(10px);
}
.success-box strong {
  color: #4ade80;
}
.success-box h3 {
  color: #4ade80;
  margin: 0 0 15px 0;
  border: none;
  padding: 0;
}

/* =============================================
   CTA BLOCK - PREMIUM
   ============================================= */
.cta-block {
  background: linear-gradient(135deg, rgba(31, 111, 242, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 55px 45px;
  border-radius: 2rem;
  text-align: center;
  margin: 55px 0;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
  animation: shine 10s linear infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.cta-block h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 15px 0;
  border: none;
  padding: 0;
  position: relative;
}
.cta-block p {
  color: rgba(226, 232, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 28px;
  position: relative;
}
.cta-block .btn {
  display: inline-block;
  background: linear-gradient(135deg, #1f6ff2 0%, #00c6ae 100%);
  color: #fff;
  padding: 18px 45px;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s;
  box-shadow: 0 25px 50px -20px rgba(31, 111, 242, 0.5);
  position: relative;
  overflow: hidden;
}
.cta-block .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.cta-block .btn:hover::before {
  left: 100%;
}
.cta-block .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -20px rgba(31, 111, 242, 0.6);
}

.cta-block.green {
  background: linear-gradient(135deg, rgba(0, 198, 174, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
}
.cta-block.green .btn {
  background: linear-gradient(135deg, #00c6ae 0%, #22c55e 100%);
  box-shadow: 0 25px 50px -20px rgba(0, 198, 174, 0.5);
}
.cta-block.green .btn:hover {
  box-shadow: 0 30px 60px -20px rgba(0, 198, 174, 0.6);
}

/* =============================================
   TABLES - ENHANCED
   ============================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(9, 16, 32, 0.6);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
th, td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
th {
  background: rgba(31, 111, 242, 0.2);
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
td {
  color: rgba(226, 232, 255, 0.8);
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* =============================================
   NAVIGATION
   ============================================= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 24px;
  color: rgba(226, 232, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  z-index: 10;
}
.back-link:hover {
  color: #00c6ae;
}
.back-link svg {
  transition: transform 0.3s;
}
.back-link:hover svg {
  transform: translateX(-5px);
}

/* =============================================
   FOOTER - ENHANCED
   ============================================= */
.site-footer {
  background: rgba(9, 14, 26, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 20px;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1f6ff2, #00c6ae, transparent);
}
.site-footer p {
  color: rgba(226, 232, 255, 0.5);
  margin-bottom: 15px;
}
.site-footer a {
  color: rgba(226, 232, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #00c6ae;
}

/* =============================================
   STEP CARDS - PREMIUM
   ============================================= */
.step {
  background: rgba(9, 16, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 16px;
  margin: 28px 0;
  border-left: 4px solid #1f6ff2;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.step:hover {
  transform: translateX(5px);
  border-left-color: #00c6ae;
  box-shadow: 0 10px 40px -15px rgba(31, 111, 242, 0.2);
}
.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1f6ff2, #00c6ae);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 18px;
  box-shadow: 0 8px 25px -8px rgba(31, 111, 242, 0.5);
}
.step h3 {
  display: inline;
  color: #fff;
  font-size: 1.25rem;
  margin: 0;
  border: none;
  padding: 0;
}
.step p {
  margin-top: 18px;
  margin-bottom: 0;
}

/* =============================================
   TIP CARDS
   ============================================= */
.tip-card {
  background: rgba(9, 16, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px;
  border-radius: 20px;
  margin: 35px 0;
  border-left: 5px solid #1f6ff2;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.tip-card:hover {
  border-left-color: #00c6ae;
  box-shadow: 0 15px 50px -20px rgba(31, 111, 242, 0.2);
}
.tip-card h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  padding: 0;
}
.tip-number {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #1f6ff2, #00c6ae);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px -8px rgba(31, 111, 242, 0.5);
}
.savings {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 18px;
  box-shadow: 0 5px 20px -5px rgba(34, 197, 94, 0.4);
}

/* =============================================
   CHECKLIST
   ============================================= */
.checklist {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 30px;
  border-radius: 16px;
  margin: 30px 0;
  backdrop-filter: blur(10px);
}
.checklist h3 {
  color: #4ade80;
  margin: 0 0 20px 0;
  border: none;
  padding: 0;
}
.checklist ul {
  margin: 0;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px -5px rgba(34, 197, 94, 0.4);
}

/* =============================================
   VS BLOCK
   ============================================= */
.vs-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 35px 0;
}
.vs-card {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.vs-card:hover {
  transform: translateY(-5px);
}
.vs-osago {
  background: rgba(31, 111, 242, 0.1);
  border-color: rgba(31, 111, 242, 0.25);
}
.vs-osago:hover {
  box-shadow: 0 15px 40px -15px rgba(31, 111, 242, 0.3);
}
.vs-kasko {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}
.vs-kasko:hover {
  box-shadow: 0 15px 40px -15px rgba(34, 197, 94, 0.3);
}
.vs-card h3 {
  margin: 0 0 18px 0;
  border: none;
  padding: 0;
}

/* =============================================
   SUMMARY BOX
   ============================================= */
.summary-box {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 30px;
  border-radius: 16px;
  margin: 35px 0;
  backdrop-filter: blur(10px);
}
.summary-box h3 {
  color: #4ade80;
  margin: 0 0 18px 0;
  border: none;
  padding: 0;
}

/* =============================================
   RECOMMENDATION
   ============================================= */
.recommendation {
  background: rgba(9, 16, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: 16px;
  margin: 25px 0;
  backdrop-filter: blur(10px);
}
.recommendation h4 {
  color: #fff;
  margin: 0 0 15px 0;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison-table th:nth-child(2) {
  background: rgba(31, 111, 242, 0.25);
}
.comparison-table th:nth-child(3) {
  background: rgba(34, 197, 94, 0.25);
}

/* =============================================
   FAQ
   ============================================= */
.faq-item {
  background: rgba(9, 16, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin: 18px 0;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.faq-item:hover {
  border-color: rgba(31, 111, 242, 0.3);
}
.faq-item summary {
  padding: 22px 25px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #1f6ff2;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 25px 22px;
  color: rgba(226, 232, 255, 0.8);
}

/* =============================================
   QUOTE / HIGHLIGHT
   ============================================= */
blockquote, .highlight-box {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-left: 4px solid #8b5cf6;
  padding: 28px;
  margin: 35px 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: rgba(226, 232, 255, 0.85);
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   ARTICLE NAVIGATION
   ============================================= */
.article-nav {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.article-nav h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  border: none;
  padding: 0;
}
.related-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}
.related-link {
  display: block;
  padding: 16px 20px;
  background: rgba(31, 111, 242, 0.08);
  border: 1px solid rgba(31, 111, 242, 0.2);
  border-radius: 12px;
  color: rgba(226, 232, 255, 0.9) !important;
  text-decoration: none !important;
  transition: all 0.3s;
  border-bottom: none !important;
}
.related-link:hover {
  background: rgba(31, 111, 242, 0.15);
  border-color: rgba(31, 111, 242, 0.4);
  transform: translateX(5px);
  color: #fff !important;
}
.related-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-cities a {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(0, 198, 174, 0.1);
  border: 1px solid rgba(0, 198, 174, 0.25);
  border-radius: 8px;
  color: #00c6ae !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: all 0.3s;
  border-bottom: none !important;
}
.related-cities a:hover {
  background: rgba(0, 198, 174, 0.2);
  border-color: rgba(0, 198, 174, 0.5);
}

@media (max-width: 768px) {
  .article-hero h1 {
    font-size: 2.2rem;
    line-height: 1.35;
  }
  .article-hero {
    padding: 100px 20px 70px;
  }
  .article-content {
    padding: 40px 20px 70px;
  }
  .article-content h2 {
    font-size: 1.5rem;
    margin: 45px 0 20px;
  }
  .cta-block {
    padding: 40px 25px;
  }
  .cta-block h3 {
    font-size: 1.4rem;
  }
  .vs-block {
    grid-template-columns: 1fr;
  }
  .step, .tip-card {
    padding: 25px;
  }
  table {
    font-size: 0.9rem;
  }
  th, td {
    padding: 14px 16px;
  }
}
