/* app/web/static/css/tailwind.min.css */
@import url('https://googleapis.com');

:root {
    --bg-main: #020617;
    --bg-card: #0f172a;
    --border-color: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #2563eb;
    --accent-emerald: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 4rem;
}

/* ОГРАНИЧИТЕЛИ И СЕТКА */
.max-w-7xl {
    max-w: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ШАПКА САЙТА */
header {
    background-color: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    height: 4rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #3b82f6;
}

/* HERO РАЗДЕЛ */
.hero-section {
    text-align: center;
    padding: 6rem 1rem 5rem;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.1), transparent);
    border-bottom: 1px solid #0f172a;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

/* КНОПКИ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-blue {
    background-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-blue:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: rgba(15, 23, 42, 0.4);
    color: #cbd5e1;
}

.btn-outline:hover {
    background-color: #0f172a;
}

/* КАРТОЧНЫЕ СЕТКИ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
}

/* КАРТОЧКИ САТ */
.card-sat {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
    position: relative;
}

.card-sat:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-sat h3, .card-sat h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.card-sat p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ИИ-КОНТУР */
.ai-section {
    background-color: rgba(15, 23, 42, 0.3);
    border-top: 1px solid #0f172a;
    border-bottom: 1px solid #0f172a;
    padding: 4rem 0;
    margin: 4rem 0;
}

.ai-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .ai-container { grid-template-columns: 1fr; }
}

.ai-terminal {
    background-color: #020617;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: #a855f7;
}

/* ФУТЕР БЛОКОВ И СТРАНИЦЫ */
.footer-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    margin-bottom: 1rem;
}

footer {
    border-top: 1px solid var(--border-color);
    background-color: #020617;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #475569;
}
