/* Modern hosting cards styled to mirror the SSD sample layout */

/* Override Bootstrap container width for orderforms pages to match header (1400px) */
section#main-body > .container {
    max-width: 1400px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.row-product-selection {
    max-width: 100% !important;
    width: 100% !important;
}

.row-product-selection > .col-md-12 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

#order-cloud_slider {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
   
    color: #0f2d52;
    padding: 20px 0 40px;
}

/* Match header width (1400px) for all content areas */
#order-cloud_slider .main-container,
#order-cloud_slider .hosting-products,
.row-product-selection > .col-md-12,
#order-cloud_slider .plans-full-main,
#order-cloud_slider .pg-cont-container,
#order-cloud_slider .includes-container,
#order-cloud_slider .price-features-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hosting-products {
    margin-top: 10px;
    padding: 10px 6px 32px;
}

/* Hero */
.hosting-hero {
    background: transparent;
    color: #00c9b3;
    padding: 22px 26px;
    border-radius: 16px;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.hosting-hero__content {
    max-width: 760px;
}

.hosting-hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 6px;
    color: #00c9b3;
}

.hosting-hero__title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.hosting-hero__tagline {
    margin: 6px 0 0;
    color: #8ba3c7;
    font-size: 0.95rem;
}

.hosting-hero__meta {
    display: flex;
    gap: 12px;
}

.hosting-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 201, 179, 0.15);
    color: #00c9b3;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 201, 179, 0.3);
    font-weight: 700;
}

/* Card grid - 2 sütunlu daha geniş kart */
.hosting-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .hosting-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.hosting-card {
    --accent: #0b2f80;
    --accent-light: #5b7cc2;
    --cta-bg: #ffffff;
    --cta-color: #0b2f80;
    --cta-border: #e0e6ef;
    --icon-bg: #0b2f80;
    --icon-color: #ffffff;

    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hosting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.hosting-card__icon {
    display: none;
}

.hosting-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #00c9b3;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 201, 179, 0.3);
    z-index: 10;
}

.hosting-card__badge::before {
    display: none;
}

.hosting-card__badge i {
    display: none;
}

/* Header - paket adı ve açıklama */
.hosting-card__header {
    order: 1;
    padding: 20px 20px 12px;
    text-align: left;
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hosting-card__header::before {
    content: "→";
    color: #0066cc;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.hosting-card__header-content {
    flex: 1;
}

.hosting-card__name {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: #0b2f80;
    line-height: 1.3;
}

.hosting-card__description {
    margin: 2px 0 0;
    color: #6b7c93;
    font-weight: 500;
    font-size: 0.82rem;
}

.hosting-card__stock {
    display: none;
}

/* Kupon bandı - sarı arka plan */
.hosting-card__coupon {
    order: 2;
    margin: 0;
    padding: 10px 16px;
    border: 2px dashed #f5c842;
    background: #fff9e6;
    color: #d4a017;
    border-radius: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 0.78rem;
}

.hosting-card__coupon-label {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #d4a017;
    font-weight: 500;
}

.hosting-card__coupon-code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: #d4a017;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Fiyat - alt kısımda */
.hosting-card__pricing {
    order: 4;
    text-align: left;
    padding: 16px 20px;
    border-top: 1px solid #f0f3f7;
    background: #fafbfc;
}

.hosting-card__starting {
    display: none;
}

.hosting-card__price-wrapper {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px;
}

.hosting-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: #0b2f80;
}

.hosting-card__cycle {
    font-size: 0.85rem;
    color: #6b7c93;
    font-weight: 500;
}

.hosting-card__setup-fee {
    margin-top: 4px;
    color: #8a96a8;
    font-size: 0.78rem;
}

/* Eski fiyat ve indirim */
.hosting-card__old-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.hosting-card__old-price-value {
    text-decoration: line-through;
    color: #a0aab8;
    font-size: 0.85rem;
}

.hosting-card__discount {
    color: #00a38e;
    font-size: 0.78rem;
    font-weight: 600;
}

.hosting-card__divider {
    display: none;
}

/* Özellikler grid - 2 sütunlu daha geniş */
/* Özellikler - 2 sütunlu eşit dağıtımlı liste */
#order-cloud_slider .hosting-card__features,
.hosting-card__features {
    order: 3 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: column !important;
    gap: 12px 24px !important;
    border: none !important;
    border-radius: 0 !important;
    flex-grow: 1 !important;
    background: #fff !important;
}

/* Dinamik satır sayısı - her sütuna eşit dağıtım */
/* 2 madde için */
.hosting-card__features:has(li:nth-child(2)):not(:has(li:nth-child(3))) {
    grid-template-rows: repeat(1, auto) !important;
}

/* 3-4 madde için */
.hosting-card__features:has(li:nth-child(3)):not(:has(li:nth-child(5))) {
    grid-template-rows: repeat(2, auto) !important;
}

/* 5-6 madde için */
.hosting-card__features:has(li:nth-child(5)):not(:has(li:nth-child(7))) {
    grid-template-rows: repeat(3, auto) !important;
}

/* 7-8 madde için */
.hosting-card__features:has(li:nth-child(7)):not(:has(li:nth-child(9))) {
    grid-template-rows: repeat(4, auto) !important;
}

/* 9-10 madde için */
.hosting-card__features:has(li:nth-child(9)):not(:has(li:nth-child(11))) {
    grid-template-rows: repeat(5, auto) !important;
}

/* 11-12 madde için */
.hosting-card__features:has(li:nth-child(11)):not(:has(li:nth-child(13))) {
    grid-template-rows: repeat(6, auto) !important;
}

/* 13-14 madde için */
.hosting-card__features:has(li:nth-child(13)):not(:has(li:nth-child(15))) {
    grid-template-rows: repeat(7, auto) !important;
}

/* 15+ madde için */
.hosting-card__features:has(li:nth-child(15)) {
    grid-template-rows: repeat(8, auto) !important;
}

@media (max-width: 768px) {
    #order-cloud_slider .hosting-card__features,
    .hosting-card__features {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        grid-template-rows: auto !important;
    }
}

#order-cloud_slider .hosting-card__features li,
.hosting-card__features li {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
    background: #fff;
    border: none !important;
    min-height: auto !important;
    width: auto !important;
}


.hosting-card__feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0b2f80;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hosting-card__feature-check i {
    font-size: 0.6rem;
    color: inherit;
}

.hosting-card__feature-text {
    color: #0b2f80;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.hosting-card__feature-text strong {
    display: inline;
    color: #0b2f80;
    font-weight: 600;
    font-size: 0.9rem;
}

.hosting-card__feature-label {
    display: inline;
    color: #0b2f80;
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 4px;
}

/* Footer ve Buton */
.hosting-card__footer {
    order: 5;
    margin-top: auto;
    padding: 0 20px 20px;
}

.hosting-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #e0e6ef;
    background: #ffffff;
    color: #0b2f80;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: none;
    transition: all 0.2s ease;
}

.hosting-card__cta:hover {
    background: #f5f7fa;
    color: #0b2f80;
    transform: none;
    box-shadow: none;
    border-color: #0b2f80;
}

.hosting-card__cta i {
    font-size: 0.85rem;
}

.hosting-card__cta--disabled {
    background: #f5f7fa !important;
    color: #a0aab8 !important;
    border: 1px solid #e0e6ef !important;
    box-shadow: none;
    cursor: not-allowed;
}

/* Popüler/Professional kart - turkuaz kenarlık */
.hosting-card--professional {
    --accent: #00c9b3;
    border: 2px solid #00c9b3;
    box-shadow: 0 8px 32px rgba(0, 201, 179, 0.15);
}

.hosting-card--professional .hosting-card__header::before {
    color: #00c9b3;
}

.hosting-card--professional .hosting-card__name {
    color: #0b2f80;
}

.hosting-card--professional .hosting-card__feature-check {
    background: #0b2f80;
}

.hosting-card--professional .hosting-card__feature-text strong {
    color: #0b2f80;
}

.hosting-card--professional .hosting-card__cta {
    background: #00c9b3;
    color: #ffffff;
    border-color: #00c9b3;
}

.hosting-card--professional .hosting-card__cta:hover {
    background: #00b3a0;
    color: #ffffff;
    border-color: #00b3a0;
}

.hosting-card--professional .price {
    color: #0b2f80;
}

/* Diğer kart temaları için ikon renkleri */
.hosting-card--starter .hosting-card__feature-check {
    background: #0b2f80;
}

.hosting-card--business .hosting-card__feature-check {
    background: #0b2f80;
}

.hosting-card--enterprise .hosting-card__feature-check {
    background: #0b2f80;
}

.hosting-card--default .hosting-card__feature-check {
    background: #0b2f80;
}

.hosting-card--professional .hosting-card__feature-check {
    background: #00c9b3;
}

/* Extras - Grup özellikleri */
.hosting-group-features {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hosting-group-features__title {
    margin-bottom: 16px;
}

.hosting-group-features__title span {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
}

.hosting-group-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
}

.hosting-group-features__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.95rem;
}

.hosting-group-features__list li i {
    color: #00c9b3;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hosting-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    #order-cloud_slider {
        padding: 8px 0 24px;
    }

    .hosting-card {
        padding: 0;
        border-radius: 12px;
    }

    .hosting-card__header {
        padding: 16px 16px 10px;
    }

    .hosting-card__name {
        font-size: 1rem;
    }

    .hosting-card .price {
        font-size: 1.5rem;
    }

    .hosting-card__features li {
        padding: 12px 8px;
    }

    .hosting-card__footer {
        padding: 0 16px 16px;
    }
}
