/* Marslia Hosting — Homepage Sections */
@import url('marslia-plans.css');

/* Products home */
.ml-products-home {
    position: relative;
}

.ml-group-section {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}

.ml-group-section-alt {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.ml-group-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ml-group-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.ml-group-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
}

.ml-group-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 70%);
}

.ml-group-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
}

.ml-plans-container {
    max-width: 1280px;
    position: relative;
    z-index: 1;
}

/* Domains section */
.ml-domains-section {
    padding: 4rem 0 5rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.ml-domain-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.ml-domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.ml-domain-card h5 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.ml-domain-card p {
    color: #64748b;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.ml-domain-link {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none !important;
}

.ml-domain-link:hover {
    color: #1d4ed8;
}

.ml-domain-card img {
    flex-shrink: 0;
    opacity: 0.85;
}

/* Categories section */
.ml-categories-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.ml-categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 20% 20%, rgba(37, 99, 235, 0.15), transparent 60%),
        radial-gradient(600px 300px at 80% 80%, rgba(14, 165, 233, 0.1), transparent 60%);
    pointer-events: none;
}

.ml-categories-section .ml-section-title {
    color: #fff;
}

.ml-categories-section .ml-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ml-categories-section .ml-section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
    border-color: rgba(255, 255, 255, 0.15);
}

.ml-category-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.ml-category-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.ml-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.ml-category-icon.accent-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.ml-category-icon.accent-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.ml-category-icon.accent-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ml-category-icon.accent-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }

.ml-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ml-category-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}

.ml-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none !important;
    transition: gap 0.25s ease, color 0.25s ease;
}

.ml-category-btn:hover {
    color: #fff;
    gap: 0.75rem;
}

.ml-category-btn i {
    font-size: 0.875rem;
}

/* Testimonials section */
.ml-testimonials-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.ml-testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ml-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.ml-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.ml-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ml-testimonial-text {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
    min-height: 4.5rem;
}

.ml-testimonial-stars {
    display: flex;
    gap: 0.2rem;
    justify-content: flex-end;
}

.ml-star-filled {
    color: #f59e0b;
}

.ml-star-empty {
    color: #cbd5e1;
}

.ml-review-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.ml-review-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.ml-star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.35rem;
}

.ml-star-input input {
    display: none;
}

.ml-star-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ml-star-input label:hover,
.ml-star-input label:hover ~ label,
.ml-star-input input:checked ~ label {
    color: #f59e0b;
}

.ml-star-input label:hover {
    transform: scale(1.1);
}

.ml-testimonials-swiper {
    padding-bottom: 2.5rem;
}

.ml-testimonials-swiper .swiper-pagination-bullet-active {
    background: #2563eb;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ml-group-section {
        padding: 4rem 0;
    }
}

@media (max-width: 575.98px) {
    .ml-domain-card {
        flex-direction: column;
        text-align: center;
    }
}
