/* Landing Page CSS for freefta brand upgrade */
/* IE9 compatible layout styles using float and clearfix techniques */

/* Product Landing Hero Section */
.product-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* IE9 fallback */
    background: #667eea;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.product-hero h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-hero .hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.4;
}

/* White color for hyperlinks in product hero section */
.product-hero h2 a {
    color: #fff !important;
    text-decoration: none;
}

.product-hero h2 a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.cta-section {
    margin-top: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background-color: #ff6b6b;
    color: #fff;
}

.cta-btn.primary:hover {
    background-color: #ee5a52;
    text-decoration: none;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-btn.secondary:hover {
    background-color: #fff;
    color: #667eea;
    text-decoration: none;
}

.cta-btn.large {
    padding: 20px 40px;
    font-size: 1.3em;
}

/* Main Content Sections */
.main-content section {
    margin-bottom: 60px;
    padding: 0 20px;
}

.main-content h3 {
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007acc;
    display: inline-block;
    width: 100%;
}

/* Multi-column layout using float and clearfix */
.two-column-layout {
    width: 100%;
}

.two-column-layout:after {
    content: "";
    display: table;
    clear: both;
}

.column-left {
    float: left;
    width: 48%;
    margin-right: 4%;
}

.column-right {
    float: right;
    width: 48%;
}

.three-column-layout {
    width: 100%;
}

.three-column-layout:after {
    content: "";
    display: table;
    clear: both;
}

.column-third {
    float: left;
    width: 30%;
    margin-right: 5%;
}

.column-third:last-child {
    margin-right: 0;
}

/* Comparison Section Placeholder */
.comparison-section {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
}

.comparison-section p {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}



/* Features Section */
.features-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
    border-radius: 8px;
}

.features-section h3 {
    text-align: center;
    margin-bottom: 40px;
}

/* Feature Cards */
.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    height: auto;
    min-height: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-image {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto;
    background-color: #007acc;
    border-radius: 50%;
    line-height: 64px;
    text-align: center;
    font-size: 32px;
    color: #fff;
}

/* CSS-based icons using Unicode characters - IE9 compatible */
.feature-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin: 0 auto 20px auto;
    text-align: center;
    font-size: 32px;
    color: #fff;
    font-weight: normal;
}

/* IE9 fallback for border-radius */
.ie9 .feature-icon-circle {
    border-radius: 40px;
    behavior: url(PIE.htc); /* If PIE.htc is available */
}

/* Individual icon styles */
.icon-cloud-sync {
    background-color: #4285f4;
}

.icon-collaboration {
    background-color: #34a853;
}

.icon-unlimited {
    background-color: #ea4335;
}

.icon-browser {
    background-color: #fbbc04;
}

.icon-security {
    background-color: #9c27b0;
}

.icon-analytics {
    background-color: #ff9800;
}

/* Icon text positioning - using flexbox for perfect centering */
.feature-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle .icon-text {
    display: block;
    line-height: 1;
    font-size: 32px;
    text-align: center;
}

/* IE9 fallback - no flexbox support */
.ie9 .feature-icon-circle {
    display: inline-block;
    line-height: 80px;
    text-align: center;
}

.ie9 .feature-icon-circle .icon-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 32px;
}

.feature-card h4 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.feature-list li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 5px;
}

.feature-description {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.5;
    margin-top: 15px;
    text-align: left;
}

/* Registration CTA Section */
.registration-cta {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    /* IE9 fallback */
    background: #28a745;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
}

.registration-cta h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
    border: none;
    color: #fff;
}

.registration-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* White color for all links in registration CTA section */
.registration-cta a {
    color: #fff !important;
}

.registration-cta a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .product-hero h2 {
        font-size: 2em;
    }
    
    .product-hero .hero-subtitle {
        font-size: 1.1em;
    }
    
    .cta-btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        text-align: center;
    }
    
    .column-left,
    .column-right {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .column-third {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .feature-card {
        min-height: auto;
        padding: 25px 15px;
    }
    
    .feature-card h4 {
        font-size: 1.2em;
    }
    
    .main-content h3 {
        font-size: 1.6em;
    }
    
    .registration-cta h3 {
        font-size: 1.8em;
    }
    

}

@media (max-width: 480px) {
    .product-hero {
        padding: 40px 0;
    }
    
    .product-hero h2 {
        font-size: 1.6em;
    }
    
    .cta-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .cta-btn.large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    
    .main-content section {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .registration-cta {
        padding: 30px 10px;
    }
}

/* IE9 specific fixes */
.ie9 .two-column-layout,
.ie9 .three-column-layout {
    zoom: 1;
}

.ie9 .column-left,
.ie9 .column-right,
.ie9 .column-third {
    display: inline;
    zoom: 1;
}

.ie9 .feature-card {
    zoom: 1;
}

.ie9 .feature-card:hover {
    transform: none;
}

/* IE9 gradient fallbacks */
.ie9 .product-hero {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#667eea', endColorstr='#764ba2');
}

.ie9 .registration-cta {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#28a745', endColorstr='#20c997');
}

/* Additional styles for skeleton structure */
.comparison-container,
.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure proper clearfix for all layout containers */
.comparison-container:after,
.features-container:after {
    content: "";
    display: table;
    clear: both;
}