:root {
    --primary: #0A1F3A;
    --primary-light: #162F50;
    --accent: #00C9B1;
    --cta: #FF6B35;
    --text-white: #FFFFFF;
    --text-muted: #A0AEC0;
    --text-dark: #2D3748;
    --bg-light: #F8FAFC;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.header-wrapper > img {
    height: 63px;
    width: auto;
    max-height: 63px;
    flex-shrink: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accent-text {
    color: var(--accent);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav a:hover {
    color: var(--accent);
    opacity: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-orange {
    background-color: var(--cta);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-orange:hover {
    background-color: #ff8255;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    background-color: var(--primary);
    overflow: hidden;
    min-height: -webkit-fill-available; 
    padding-top: 100px; 
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 40px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.hero-bullets i {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Problem Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 201, 177, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

/* Solution Section */
.solutions {
    background: var(--primary);
    color: var(--text-white);
}

.solutions .section-title {
    color: var(--text-white);
}

.solution-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.solution-card {
    flex: 1;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.solution-img {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.solution-connector {
    color: var(--accent);
    font-size: 2rem;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    margin-bottom: 60px;
}

.timeline-item {
    position: relative;
    padding: 20px;
}

.timeline-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 201, 177, 0.2);
    position: absolute;
    top: -10px;
    left: 0;
    line-height: 1;
}

.timeline-content {
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    margin-bottom: 8px;
    color: var(--accent);
}

.process .section-title {
    color: #3A567A;
}

.mobile-app .section-title {
    color: #3A567A;
}

.process.dark {
    background: #061528;
    color: white;
}

.process-footer {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Features */
.feature-item {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 1px solid #edf2f7;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    color: var(--accent);
}

.feature-text h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* CTA */
.cta {
    background: #061528;
}

.cta-wrapper {
    display: flex;
    gap: 60px;
    padding: 80px;
    border-radius: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    align-items: center;
}

.cta-content {
    flex: 1;
    color: var(--text-white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.cta-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 201, 177, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* Footer */
.footer {
    background: #050E1A;
    color: var(--text-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer h4 {
    margin-bottom: 24px;
}

.footer-contacts p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.footer-contacts i {
    color: var(--accent);
    width: 18px;
}

.footer-contacts a {
    color: inherit;
    text-decoration: none;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* Downloads Section */
.downloads {
    background: var(--primary);
    color: var(--text-white);
}

.downloads .section-title {
    color: var(--text-white);
    margin-bottom: 40px;
}

/* Windows Demo Block */
.downloads-windows {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.downloads-windows-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.download-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(0, 201, 177, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.windows-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.download-text {
    flex: 1;
}

.download-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.download-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.download-info {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.download-info i {
    width: 18px;
    height: 18px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.download-btn i {
    width: 20px;
    height: 20px;
}

/* Mobile App Block */
.downloads-mobile {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
}

.downloads-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.downloads-wrapper .mobile-app-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.downloads-wrapper .mobile-app-content ul {
    list-style: none;
    margin-top: 20px;
}

.downloads-wrapper .mobile-app-content li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.downloads-wrapper .mobile-app-content li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

.qr-image {
    width: 222px;
    height: 357px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid var(--glass-border);
}

.qr-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 200px;
}

/* Custom Additions */
.form-consent a {
    color: #2A5F9E;
    text-decoration: underline;
}

.form-consent a:hover {
    color: #0A1F3A;
}

.demo-loading {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .solution-grid { flex-direction: column; }
    .solution-connector { transform: rotate(90deg); margin: 10px 0; }
    .cta-wrapper { flex-direction: column; padding: 40px; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .header-right .phone { display: none; }
    .desktop-only { display: none; }
//    .mobile-toggle { display: flex; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero { text-align: center; height: auto; padding: 120px 0 80px; }
    .hero-bullets li { justify-content: center; text-align: left; }
    .hero-actions { flex-direction: column; }
    .section-title { font-size: 1.8rem; margin-bottom: 40px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.2rem; }
    .cta-content h2 { font-size: 2rem; }
    .cta-content { text-align: center; }
    .cta-form { width: 100%; padding: 24px; }
    .card:hover, .feature-item:hover {
        transform: none !important;
    }
    
    .downloads-windows-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
    }
    
    .windows-icon {
        width: 40px;
        height: 40px;
    }
    
    .download-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .downloads-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .downloads-windows,
    .downloads-mobile {
        padding: 30px 20px;
    }
    
    .download-text h3 {
        font-size: 1.5rem;
    }
    
    .qr-image {
        width: 200px;
        height: 322px;
    }
}