/* === U-Deco Master Stylesheet === */
/* Единый стиль для всех страниц */

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  line-height: 1.7;
  min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* === Header === */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: #f75c4c; }
.logo-img { height: 32px; }

/* === CTA Button === */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f75c4c, #ff6b6b);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,92,76,0.4);
}

/* === Hero Section === */
.article-hero {
  padding: 70px 0 40px;
  text-align: center;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  padding: 14px 32px;
  font-size: 16px;
}

/* === Article Content === */
.article-content {
  padding: 20px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 40px 0 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-content p {
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 1rem;
}
.article-content ul,
.article-content ol {
  margin: 16px 0 16px 24px;
  color: #cbd5e1;
}
.article-content li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.article-content strong {
  color: #fff;
  font-weight: 600;
}
.article-content a {
  color: #818cf8;
  text-decoration: none;
  border-bottom: 1px dashed #818cf8;
}
.article-content a:hover {
  color: #a5b4fc;
  border-bottom-style: solid;
}

/* === Step/Feature Cards === */
.step-card, .feature-card {
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  transition: transform 0.25s, border-color 0.25s;
}
.step-card:hover, .feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247,92,76,0.4);
}
.step-card h3, .feature-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-card p, .feature-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f75c4c, #ff6b6b);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}
.feature-icon { font-size: 1.5rem; }

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.gallery-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(247,92,76,0.2);
  border-color: rgba(247,92,76,0.4);
}
.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.gallery-card-info { padding: 16px; }
.gallery-card-info h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 600;
}
.gallery-card-info p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, rgba(247,92,76,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(247,92,76,0.3);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  margin: 50px 0;
}
.cta-section h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}
.cta-section p {
  color: #94a3b8;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* === See Also Box === */
.see-also {
  background: rgba(30,41,59,0.5);
  padding: 20px;
  border-radius: 12px;
  margin: 40px 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.see-also h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.see-also ul {
  margin: 0;
  padding-left: 20px;
  color: #94a3b8;
  line-height: 2;
}
.see-also a {
  color: #818cf8;
  text-decoration: none;
}
.see-also a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

/* === FAQ === */
.faq-item {
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  padding: 0 20px 16px;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* === Footer === */
footer {
  background: #0f172a;
  padding: 50px 20px 30px;
  margin-top: 40px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col ul { list-style: none; }
.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #818cf8; }
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 35px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 8px;
}
.footer-bottom a:hover { color: #818cf8; }

/* === Responsive === */
@media (max-width: 768px) {
  .article-hero { padding: 50px 0 30px; }
  .article-hero h1 { font-size: 1.8rem; }
  .cta-section { padding: 30px 20px; }
  .gallery { grid-template-columns: 1fr; }
  .header-content { flex-wrap: wrap; gap: 12px; }
}

/* === Accessibility === */
a:focus-visible, button:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
  border-radius: 8px;
}

/* === Additional Components === */
/* Price Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(30,41,59,0.5);
  border-radius: 12px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-table th {
  background: rgba(247,92,76,0.1);
  color: #fff;
  font-weight: 700;
}
.price-table td { color: #cbd5e1; }
.price-table tr:last-child td { border-bottom: none; }
.highlight { color: #f75c4c; font-weight: 600; }

/* Trend Card */
.trend-card {
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  transition: transform 0.25s, border-color 0.25s;
}
.trend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247,92,76,0.4);
}
.trend-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trend-card p { color: #94a3b8; font-size: 0.95rem; }
.trend-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f75c4c, #ff6b6b);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Free Card */
.free-card {
  background: linear-gradient(135deg, rgba(247,92,76,0.15), rgba(139,92,246,0.15));
  border: 2px solid rgba(247,92,76,0.4);
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.free-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(247,92,76,0.3);
}
.free-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.free-card p {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f75c4c, #ff6b6b);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 16px 0;
}
.free-total {
  display: inline-block;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  padding: 6px 16px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Steps Grid */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.step-card-grid {
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.step-card-grid:hover {
  transform: translateY(-3px);
  border-color: rgba(247,92,76,0.4);
}
.step-number-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f75c4c, #ff6b6b);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card-grid h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-card-grid p {
  color: #94a3b8;
  font-size: 0.9rem;
}
.bonus-badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Comparison Box */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
@media(max-width: 768px) { .comparison-box { grid-template-columns: 1fr; } }

.price-card {
  background: rgba(30,41,59,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  border: 2px solid #f75c4c;
  background: rgba(247,92,76,0.05);
}
.price-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}
.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 16px 0;
}
.price-tag span {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 400;
}
.price-list {
  list-style: none;
  margin: 24px 0;
}
.price-list li {
  margin-bottom: 12px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-list li::before {
  content: "•";
  color: #f75c4c;
  font-weight: bold;
}

.savings-banner {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin: 40px 0;
}
.savings-banner h2 { margin-bottom: 8px; }

/* Benefit List */
.benefit-list { list-style: none; margin: 40px 0; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(30,41,59,0.5);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #f75c4c;
}
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; }
.benefit-content h3 { color: #fff; margin-bottom: 8px; }
.benefit-content p { color: #94a3b8; font-size: 0.95rem; }
