/* Main CSS file for freefta brand upgrade */
/* IE9 compatible styles */

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Basic typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }

p {
    margin-bottom: 15px;
}

a {
    color: #007acc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Utility classes */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner Styles */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* IE9 fallback */
    background: #667eea;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    color:white;
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-title>a{
    color:white;
    font-size: 1em;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Selling Points */
.selling-points {
    margin: 50px 0;
    text-align: center;
}

.selling-point {
    display: inline-block;
    width: 22%;
    margin: 0 1.5%;
    vertical-align: top;
    text-align: center;
}

.selling-point-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.selling-point-text {
    font-size: 1.1em;
    font-weight: 500;
}

/* CTA Button */
.hero-cta {
    margin-top: 40px;
}

.cta-button {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* IE9 fallback */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b', endColorstr='#ee5a52');
}

.cta-button:hover {
    background-color: #ee5a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    /* IE9 fallback */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5a52', endColorstr='#dd4b42');
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .selling-point {
        width: 45%;
        margin: 10px 2.5%;
    }
    
    .selling-point-icon {
        font-size: 2em;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .selling-point {
        width: 100%;
        margin: 15px 0;
    }
}

/* IE9 specific fixes */
.ie9 .container {
    width: 1200px;
}

/* IE9 specific hero banner fixes */
.ie9 .selling-point {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/* Legacy Download Page Styles */
.breadcrumb {
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #007acc;
}

.breadcrumb span {
    color: #6c757d;
}

.legacy-download {
    max-width: 800px;
    margin: 0 auto;
}

.legacy-download h2 {
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007acc;
}

.deprecation-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.deprecation-notice h3 {
    color: #856404;
    margin-bottom: 10px;
}

.deprecation-notice p {
    color: #856404;
    margin-bottom: 0;
}

.software-info {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.software-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.software-info ul {
    list-style: none;
}

.software-info li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.software-info li:last-child {
    border-bottom: none;
}

.download-links {
    margin-bottom: 30px;
}

.download-links h3 {
    color: #333;
    margin-bottom: 20px;
}

.download-buttons {
    text-align: center;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-btn.primary {
    background-color: #007acc;
    color: #fff;
}

.download-btn.primary:hover {
    background-color: #005a9e;
    text-decoration: none;
}

.download-btn.secondary {
    background-color: #6c757d;
    color: #fff;
}

.download-btn.secondary:hover {
    background-color: #545b62;
    text-decoration: none;
}

.migration-recommendations {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    padding: 20px;
}

.migration-recommendations h3 {
    color: #0c5460;
    margin-bottom: 15px;
}

.migration-recommendations p {
    color: #0c5460;
    margin-bottom: 10px;
}

.migration-recommendations ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.migration-recommendations li {
    color: #0c5460;
    margin-bottom: 5px;
}

.migration-cta {
    display: inline-block;
    background-color: #17a2b8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.migration-cta:hover {
    background-color: #138496;
    text-decoration: none;
}