* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #0b0b10;
    color: #ffffff;
    line-height: 1.6;
}

/* ====== CONTAINER ====== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 22px;
    font-weight: 800;
}

.logo span {
    color: #a855f7;
}

.nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: #a855f7;
}

.btn {
    background: #a855f7;
    padding: 10px 18px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #a855f7;
    padding: 10px 18px;
    border-radius: 10px;
    color: #a855f7;
    text-decoration: none;
}

/* ====== HERO ====== */
.hero {
    padding: 140px 0 80px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-text p {
    color: #bbb;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-card {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 25px;
    border-radius: 15px;
    min-width: 250px;
}

.hero-card .price {
    font-size: 40px;
    font-weight: 800;
    margin: 10px 0;
}

.hero-card ul {
    list-style: none;
    color: #ccc;
}

.hero-card li {
    margin: 8px 0;
}

/* ====== SECTIONS ====== */
.section {
    padding: 80px 0;
}

.section.dark {
    background: #0f0f18;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.section-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #bbb;
}

/* ====== GRID ====== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
}

/* ====== TIMELINE ====== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
}

.step span {
    background: #a855f7;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* ====== CONTACTS ====== */
.contacts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contacts a {
    color: #a855f7;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
}

.contact-info {
    text-align: center;
    color: #bbb;
}

/* ====== FOOTER ====== */
footer {
    padding: 30px 0;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    text-align: center;
    color: #888;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}
/* =========================
   PREMIUM THEME TOGGLE
========================= */

.theme-toggle {
    position: relative;
    width: 68px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    overflow: hidden;
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        transform 0.25s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    left: 4px;
    top: 3px;
    border-radius: 50%;
    background: #a855f7;
    transition:
        transform 0.45s cubic-bezier(.22,.61,.36,1),
        background 0.4s ease;
}

.theme-toggle .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    transition: opacity .3s ease;
    pointer-events: none;
}

.theme-toggle .sun {
    right: 10px;
    opacity: .4;
}

.theme-toggle .moon {
    left: 10px;
    opacity: 1;
}

/* Светлая тема */

body.light-theme .theme-toggle {
    background: rgba(124,58,237,0.08);
}

body.light-theme .theme-toggle::before {
    transform: translateX(32px);
    background: #facc15;
}

body.light-theme .theme-toggle .sun {
    opacity: 1;
}

body.light-theme .theme-toggle .moon {
    opacity: .35;
}
/* =========================
   WHITE + BLUE THEME
========================= */

body.light-theme {
    background: #f5fbff;
    color: #111827;
}

body.light-theme .header {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid #dbeafe;
}
body.light-theme .header {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #dbeafe;
    backdrop-filter: blur(15px);
}

body.light-theme .logo {
    color: #111827;
}

body.light-theme .logo span {
    color: #3b82f6;
}

body.light-theme .nav a {
    color: #374151;
}

body.light-theme .nav a:hover {
    color: #3b82f6;
}

body.light-theme .hero {
    background:
        radial-gradient(circle at top right,
        rgba(59,130,246,.15),
        transparent 40%);
}

body.light-theme .section.dark {
    background: #eef7ff;
}

body.light-theme .card,
body.light-theme .step,
body.light-theme .hero-card {
    background: #ffffff;
    color: #111827;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 30px rgba(59,130,246,.08);
}

body.light-theme .card:hover {
    border-color: #60a5fa;
    box-shadow: 0 15px 40px rgba(59,130,246,.15);
}

body.light-theme .section-text,
body.light-theme .hero-text p,
body.light-theme .contact-info {
    color: #4b5563;
}

body.light-theme .btn {
    background: #3b82f6;
}

body.light-theme .btn:hover {
    background: #2563eb;
}

body.light-theme .btn-secondary {
    border-color: #3b82f6;
    color: #3b82f6;
}

body.light-theme .contacts a {
    color: #3b82f6;
    border-color: #bfdbfe;
}

body.light-theme .step span {
    background: #3b82f6;
}

body.light-theme footer {
    background: #ffffff;
    color: #6b7280;
    border-top: 1px solid #dbeafe;
}

/* Переключатель */

body.light-theme .theme-toggle {
    border-color: #93c5fd;
}

body.light-theme .theme-toggle::before {
    background: #3b82f6;
}
body,
.header,
.hero,
.card,
.step,
.hero-card,
footer,
.section,
.nav a,
.logo,
.btn,
.btn-secondary,
.contacts a {
    transition:
        background-color 0.6s ease,
        color 0.6s ease,
        border-color 0.6s ease,
        box-shadow 0.6s ease;
}
.review-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.review-link .card {
    cursor: pointer;
}

.review-link:hover .card {
    transform: translateY(-6px);
}