/* Global Styles */
:root {
    --primary-color: #6a4fff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-color: #2d2d3a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #5a3de0;
    color: white;
    transform: translateY(-2px);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
    filter: brightness(1.1);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
    list-style: none;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a3a4e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Hosting Types */
.hosting-types {
    padding: 40px 0;
    background-color: white;
}

.hosting-types .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.type {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    flex: 1;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.type:hover, .type.active {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.type.active {
    background-color: #f0f2ff;
}

.type .discount {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.type h3 {
    margin-top: 15px;
    font-size: 20px;
}

.type p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Billing Cycle */
.billing-cycle {
    padding: 40px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.billing-cycle h3 {
    margin-bottom: 20px;
}

.cycle-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cycle-options .option {
    padding: 10px 20px;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.cycle-options .option:hover, .cycle-options .option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cycle-info {
    color: var(--gray-color);
    font-size: 14px;
}

/* Pricing Plans */
.pricing-plans {
    padding: 60px 0;
    background-color: white;
}

.pricing-plans .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.plan:hover {
    transform: translateY(-10px);
}

.plan.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.plan > p {
    color: var(--gray-color);
    margin-bottom: 20px;
    min-height: 50px;
}

.price {
    margin-bottom: 20px;
}

.price h2 {
    font-size: 36px;
    color: var(--primary-color);
}

.price h2 span {
    font-size: 16px;
    color: var(--gray-color);
}

.price p {
    color: var(--gray-color);
    font-size: 14px;
    text-decoration: line-through;
}

.powered-by {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.powered-by p {
    color: var(--gray-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.specs, .features, .security {
    margin-bottom: 20px;
}

.specs h4, .features h4, .security h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.specs ul, .features ul, .security ul {
    margin-bottom: 20px;
}

.specs ul li, .features ul li, .security ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs ul li i, .features ul li i, .security ul li i {
    color: var(--primary-color);
}

.btn-plan {
    display: block;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.btn-plan:hover {
    background-color: #5a3de0;
    color: white;
}

.btn-plan.featured {
    background-color: var(--secondary-color);
}

.btn-plan.featured:hover {
    background-color: #ff5252;
}

.compare-link {
    display: block;
    text-align: center;
    font-size: 14px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature p {
    color: var(--gray-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.stars {
    margin-bottom: 20px;
    color: #ffc107;
}

.testimonial p {
    margin-bottom: 20px;
    font-style: italic;
}

.author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-style: normal;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--gray-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8a70ff 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 30px;
}

.cta .btn-primary:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #b3b3b3;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #b3b3b3;
    font-size: 14px;
}

.footer-bottom ul {
    display: flex;
    gap: 20px;
}

.footer-bottom ul li a {
    color: #b3b3b3;
    font-size: 14px;
}

.footer-bottom ul li a:hover {
    color: white;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pricing-plans .container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .plan.featured {
        transform: scale(1);
    }
    
    .plan.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    header .container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hosting-types .container {
        flex-direction: column;
    }
    
    .type {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom ul {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cycle-options {
        flex-direction: column;
    }
    
    .cycle-options .option {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .comparison-table-wrapper {
        margin: 0 -20px;
        width: calc(100% + 40px);
        overflow-x: auto;
    }
    
    .comparison-table {
        min-width: 800px;
    }
}

/* Comparison Table Styles */
.comparison-table-wrapper {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 20px 15px;
}

.comparison-table th:first-child {
    text-align: left;
    width: 25%;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--dark-color);
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: #f0f2ff;
}

.comparison-table .fa-check {
    color: var(--success-color);
    font-size: 18px;
}

.comparison-table .fa-times {
    color: var(--gray-color);
    font-size: 18px;
}

.comparison-table .price-row td {
    padding: 25px 15px;
    border-bottom: none;
    background-color: #f0f2ff;
}