/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-xs-6, .col-xs-12, .col-md-4, .col-md-5, .col-md-6, .col-lg-3, .col-lg-4 {
    padding: 0 15px;
    flex: 1;
}

.col-xs-6 { flex: 0 0 50%; }
.col-xs-12 { flex: 0 0 100%; }
.col-md-4 { flex: 0 0 33.333%; }
.col-md-5 { flex: 0 0 41.667%; }
.col-md-6 { flex: 0 0 50%; }
.col-lg-3 { flex: 0 0 25%; }
.col-lg-4 { flex: 0 0 33.333%; }

.col-md-offset-2 { margin-left: 16.667%; }

/* Header */
.header {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__logo .header__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.header__logo i {
    color: #d4af37;
    margin-right: 0.5rem;
    font-size: 2rem;
}

.header__slogan {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
    opacity: 0.9;
}

/* Hero Section */
.hero-top {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.hero-top__content {
    padding-right: 2rem;
}

.hero-top__title {
    font-size: 3rem;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 1rem;
}

.hero-top__subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.free-trial-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    animation: pulse 3s infinite;
}

.free-trial-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.free-trial-text {
    font-size: 1.1rem;
    color: #856404;
    font-weight: 500;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero-top__list {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-top__item {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.hero-top__item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Download Button */
.dl-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    color: white;
}

.dl-btn__icon {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.hero-top__details {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.hero-top__details a {
    color: #1a365d;
    text-decoration: underline;
}

/* App Preview */
.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.app-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.app-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-controls {
    display: flex;
    gap: 0.5rem;
}

.app-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.app-title {
    font-weight: bold;
    font-size: 1rem;
}

.app-content {
    padding: 2rem 1.5rem;
}

.document-type h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.radio-group label {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.radio-group label.active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    color: #856404;
}

.file-drop {
    border: 2px dashed #d4af37;
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    background: rgba(212, 175, 55, 0.05);
}

.file-drop i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    display: block;
}

.task-input h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.task-input textarea {
    width: 100%;
    height: 80px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    resize: vertical;
    font-family: inherit;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 3rem;
    font-weight: bold;
}

/* Capabilities Section */
.capabilities {
    padding: 4rem 0;
    background: white;
}

.capability-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

.capability-card:hover {
    transform: translateY(-5px);
}

.capability-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.capability-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.capability-card p {
    color: #666;
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    padding: 4rem 0;
    background: #f8f9fa;
}

.advantages__item {
    text-align: center;
    padding: 2rem 1rem;
}

.advantages__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.advantages__title {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: bold;
}

.advantages__descr {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Economics Section */
.economics {
    padding: 4rem 0;
    background: white;
}

.economics-card {
    text-align: center;
    padding: 2rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    height: 100%;
    transition: border-color 0.3s ease;
}

.economics-card:hover {
    border-color: #d4af37;
}

.economics-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.economics-card h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.economics-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.before, .after {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
}

.before {
    background: #f8d7da;
    color: #721c24;
}

.after {
    background: #d4edda;
    color: #155724;
}

.arrow {
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: bold;
}

.savings {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.economics-card ul {
    list-style: none;
    text-align: left;
}

.economics-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.economics-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Audience Section */
.audience {
    padding: 4rem 0;
    background: #f8f9fa;
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.audience-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6f42c1 0%, #8e44ad 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.audience-card h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.audience-card ul {
    list-style: none;
    text-align: left;
}

.audience-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.audience-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6f42c1;
    font-weight: bold;
}

/* Download Section */
.dl-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
}

.dl-section__btn {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
    padding: 1.5rem 2rem;
}

.dl-section__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 2rem;
}

.dl-section__info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dl-section__info a {
    color: #d4af37;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__copy {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer__copy-icon {
    margin-right: 0.5rem;
}

.footer__copy-title {
    font-weight: bold;
    color: #d4af37;
}

.footer__rights {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #d4af37;
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

.chat-label {
    margin-top: 0.5rem;
    color: #333;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-type-selector {
    display: flex;
    margin: 1rem 0;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.contact-type {
    flex: 1;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.contact-type input {
    display: none;
}

.contact-type span {
    display: block;
    font-weight: 500;
}

.contact-type input:checked + span {
    background-color: rgba(212, 175, 55, 0.1);
    color: #856404;
}

.contact-type input:checked {
    background-color: rgba(212, 175, 55, 0.1);
}

.styled-input {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.styled-input:focus {
    border-color: #d4af37;
    outline: none;
}

.styled-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.styled-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.privacy-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.privacy-notice a {
    color: #1a365d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header__slogan {
        display: none;
    }
    
    .hero-top__title {
        font-size: 2rem;
    }
    
    .hero-top__subtitle {
        font-size: 1.2rem;
    }
    
    .hero-top__content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .col-xs-12, .col-md-4, .col-md-5, .col-md-6, .col-lg-3, .col-lg-4 {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    
    .col-md-offset-2 {
        margin-left: 0;
    }
    
    .dl-section__info {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .footer .row {
        flex-direction: column;
    }
    
    .chat-button {
        bottom: 20px;
        right: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-top__title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .dl-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}