/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0a0c10;
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    z-index: 100;
    padding: 0.8rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #38bdf8;
    font-size: 1.6rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #38bdf8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1e293b;
    color: #f1f5f9;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border-color: #38bdf8;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #0a0c10 0%, #111827 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #38bdf8;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content h1 span {
    color: #38bdf8;
}

.hero-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #38bdf8;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
}

.phone-mockup {
    background: #1e293b;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 25px 40px -15px rgba(0,0,0,0.5);
    border: 1px solid #334155;
    max-width: 320px;
    width: 100%;
}

.mockup-screen {
    background: #0f172a;
    border-radius: 1.2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.message {
    background: #1e293b;
    padding: 0.7rem;
    border-radius: 0.8rem;
    font-size: 0.75rem;
    border-left: 3px solid #38bdf8;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message i {
    font-size: 1rem;
}

.message.alert {
    border-left-color: #ef4444;
}
.message.alert i {
    color: #ef4444;
}
.message.report {
    border-left-color: #10b981;
}
.message.report i {
    color: #10b981;
}

/* Features */
.features {
    padding: 5rem 0;
    background: #0f172a;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title span {
    color: #38bdf8;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #1e293b;
    padding: 1.8rem;
    border-radius: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #334155;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.4);
    border-color: #38bdf8;
}

.feature-card i {
    font-size: 2.2rem;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Why */
.why {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0c10, #111827);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(4px);
    padding: 1.8rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid #2d3a5e;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    background: rgba(30, 41, 59, 0.8);
}

.why-card i {
    font-size: 2rem;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.why-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Howto */
.howto {
    padding: 5rem 0;
    background: #0f172a;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    background: #1e293b;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    width: 220px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.85rem;
    color: #94a3b8;
}

code {
    background: #0f172a;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-family: monospace;
    font-size: 0.8rem;
}

/* CTA */
.cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    color: #94a3b8;
}

/* Footer */
.footer {
    border-top: 1px solid #1e293b;
    padding: 2rem 0;
    background: #0a0c10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-logo p {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-copy {
    font-size: 0.7rem;
    color: #64748b;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (min-width: 1025px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}