/* =========================================
   Sizial Vision - Modern Pure CSS
   ========================================= */
:root {
    --primary: #00b8d4;
    --primary-dark: #00a3bb;
    --secondary: #6c5ce7;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #334155;
    --text-light: #64748b;
    --gradient: linear-gradient(135deg, #00b8d4 0%, #6c5ce7 100%);
    --gradient-text: linear-gradient(to right, #00b8d4, #6c5ce7);
    --shadow: 0 10px 40px -10px rgba(0, 184, 212, 0.15);
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header & Glassmorphism --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #e2e8f0;
}

.lang-switcher a {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
}

.lang-switcher a.active, .lang-switcher a:hover {
    background: var(--primary);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(0, 184, 212, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 40%);
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text { flex: 1; }

/* Стилизация текста с <br> и <b> */
.hero-content-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text);
}

.hero-content-text b {
    color: var(--primary-dark);
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons img {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
}

.hero-buttons img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 184, 212, 0.25);
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

/* СТРОГОЕ ОГРАНИЧЕНИЕ: максимум 300px */
.floating-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 184, 212, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* --- Sections General --- */
.section { padding: 80px 0; }
.bg-darker { background: white; }
.bg-gradient { 
    background: radial-gradient(circle at top right, rgba(108, 92, 231, 0.08) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 184, 212, 0.08) 0%, transparent 40%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gradient-text-main {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gradient-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Grids & Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 184, 212, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 184, 212, 0.2);
}

.feature-img, .card-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: var(--light);
    border-radius: 16px;
    padding: 12px;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* --- Download Section --- */
.download-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.download-content { flex: 1; }
.download-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.download-content p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 1rem; }
.download-visual { flex: 1; text-align: center; }
.download-visual img { max-width: 100%; border-radius: 20px; }

/* --- Steps --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 184, 212, 0.1);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.25rem;
}

/* --- Privacy Section --- */
.privacy-box {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 184, 212, 0.05);
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.privacy-box h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-box p { 
    margin-bottom: 1.5rem; 
    line-height: 1.8; 
}

.privacy-box strong { 
    color: var(--primary-dark); 
    display: block; 
    margin-bottom: 0.5rem; 
    font-size: 1.1rem; 
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #94a3b8;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid, .download-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons { justify-content: center; }
    .floating-img { max-width: 280px; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.active { transform: translateY(0); }
    .lang-switcher { margin-left: 0; padding-left: 0; border-left: none; }
    .hero { padding-top: 100px; min-height: auto; }
    .floating-img { max-width: 240px; }
    .gradient-text-main { font-size: 3rem; }
    .gradient-text { font-size: 2rem; }
    .hero-tagline { font-size: 1.2rem; }
}