:root {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #f59e0b; /* тёплый оранжевый — яркий акцент */
  --border: #334155;
  --glow: rgba(245, 158, 11, 0.2);
}

* { box-sizing: border-box; }
body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; color: #fff; margin: 3rem 0; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 8px auto 0; border-radius: 2px; }

/* HEADER */
header { background: rgba(15, 23, 42, 0.95); border-bottom: 1px solid var(--border); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo svg { height: 50px; width: auto; display: block; filter: drop-shadow(0 4px 6px rgba(245,158,11,0.3)); }
nav ul { display: flex; gap: 24px; }
nav a { font-weight: 600; transition: color 0.3s; }
nav a:hover { color: var(--accent); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--card); padding: 1rem; border-bottom: 1px solid var(--border); }
  nav ul.active { display: flex; }
  .mobile-toggle { display: block; }
}

/* HERO */
.hero { padding: 4rem 1rem; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(245,158,11,0.08) 0%, var(--bg) 70%); }
.hero h1 { font-size: 3.25rem; margin: 0 0 1rem; color: #fff; line-height: 1.1; text-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.hero p { font-size: 1.25rem; color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.btn { display: inline-block; background: var(--accent); color: #000; padding: 16px 36px; border-radius: 10px; font-weight: 700; text-transform: uppercase; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 14px rgba(245,158,11,0.25); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(245,158,11,0.4); }

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; transition: transform 0.3s, border-color 0.3s; overflow: hidden; }
.card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 1.5rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; }

/* COMPARISON TABLE */
.comp-table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 2rem 0; min-width: 600px; background: #111827; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: #fff; font-weight: 700; background: #0f172a; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.03); }
.highlight { color: var(--accent); font-weight: 700; }

/* ACCORDION */
.faq-item { border: 1px solid var(--border); margin-bottom: 1rem; border-radius: 10px; overflow: hidden; background: #111827; }
.faq-header { padding: 1rem 1.5rem; background: #0f172a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-header h3 { margin: 0; font-size: 1.1rem; }
.faq-body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s; padding: 0 1.5rem 1rem; color: var(--muted); }
.faq-item.open .faq-body { max-height: 200px; opacity: 1; padding-top: 0.5rem; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.review-card { background: #111827; border: 1px solid var(--border); padding: 1.5rem; border-radius: 12px; }
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 0.5rem; }
.reviewer { font-weight: 700; color: #fff; }
.review-text { color: var(--muted); }

/* FORM */
.contact-form { max-width: 500px; margin: 0 auto; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px; margin-bottom: 1rem; background: #0f172a; border: 1px solid var(--border); color: #fff; border-radius: 8px; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: #1e293b; }

footer { background: #0f172a; padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted); }
