@import "tailwindcss";

:root {
    --bg: #0b0f17;
    --card: #111827;
    --muted: #a1a1aa;
    --primary: #22d3ee;
    --accent: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    margin: 0;
    color: #e5e7eb;
    background: radial-gradient(1200px 600px at 100% 0%, rgba(56,189,248,0.15), transparent 60%),
                radial-gradient(800px 400px at 0% 100%, rgba(34,211,238,0.12), transparent 60%),
                var(--bg);
}

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

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(11,15,23,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.brand { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

/* .brand .logo {
    width: 36px; 
    height: 36px; 
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 8px 24px rgba(34,211,238,0.25);
} */

.brand .title { 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: .3px; 
}

.nav a { 
    color: #cbd5e1; 
    text-decoration: none; 
    margin: 0 10px; 
    font-size: 14px; 
}

.nav a:hover { 
    color: #fff; 
}

.hero { 
    display: grid; 
    grid-template-columns: 1.1fr .9fr; 
    gap: 28px; 
    padding: 48px 0 28px; 
    align-items: center; 
}

.hero h1 { 
    font-size: 42px; 
    line-height: 1.1; 
    margin: 0 0 14px; 
    color: #fff; 
}

.hero p { 
    color: var(--muted); 
    margin: 0 0 24px; 
    font-size: 16px; 
}

.cta { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.btn { 
    border: 1px solid rgba(255,255,255,0.12); 
    color: #fff; 
    background: #111827; 
    padding: 12px 16px; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: .2s ease; 
    display: inline-flex; 
    gap: 8px; 
    align-items: center; 
}

.btn:hover { 
    transform: translateY(-1px); 
    border-color: rgba(255,255,255,0.2); 
}

.btn-primary { 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    border: none; 
    box-shadow: 0 14px 30px rgba(56,189,248,.25); 
}

.btn-outline { 
    background: transparent; 
}

.card { 
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); 
    border: 1px solid rgba(255,255,255,.06); 
    border-radius: 14px; 
    padding: 18px; 
}

.features { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 14px; 
}

.feature { 
    padding: 16px; 
}

.feature h3 { 
    margin: 8px 0 6px; 
    color: #fff; 
    font-size: 16px; 
}

.feature p { 
    margin: 0; 
    color: #cbd5e1; 
    font-size: 14px; 
}

.prices { 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 14px; 
}

.price .title { 
    color:#fff; 
    font-weight: 600; 
    margin:0 0 8px; 
}

.price .value { 
    font-size: 28px; 
    color:#fff; 
    margin: 0 0 6px; 
}

.muted { 
    color: var(--muted); 
}

.steps { 
    display:grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 14px; 
}

.step-num { 
    width: 36px; 
    height: 36px; 
    border-radius: 8px; 
    background: #0ea5e9; 
    display:inline-flex; 
    align-items:center; 
    justify-content:center; 
    font-weight:700; 
    box-shadow: 0 10px 22px rgba(14,165,233,.25) 
}

.grid-2 { 
    display:grid; 
    grid-template-columns: repeat(2,1fr); 
    gap: 14px; 
}

.faq-item summary { 
    cursor: pointer; 
    color:#fff; 
}

footer { 
    color:#94a3b8; 
    border-top:1px solid rgba(255,255,255,.06); 
    margin-top: 32px; 
}

.note { 
    font-size: 12px; 
    color:#94a3b8 
}

.offline-indicator { 
    position: fixed; 
    top: 10px; 
    right: 10px; 
    padding: 10px; 
    background: var(--danger); 
    color: white; 
    border-radius: 6px; 
    display: none; 
    font-size: 12px; 
}

.online { 
    background: var(--success) !important; 
}

/* Анимации для мобильного меню */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInFromTop 0.2s ease-out;
}

.slide-in-from-top-2 {
  animation: slideInFromTop 0.2s ease-out;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 900px) { 
    .hero { 
        grid-template-columns: 1fr 
    } 
    .features { 
        grid-template-columns: 1fr 1fr 
    } 
    .prices { 
        grid-template-columns: 1fr 
    } 
    .steps { 
        grid-template-columns: 1fr 
    } 
    .grid-2 { 
        grid-template-columns: 1fr 
    } 
}
