.hosting-cards-ref {
    --bg-surface: #101424;
    --bg-surface-glass: rgba(16, 20, 36, 0.6);
    --bg-elevated: #1a1f35;
    --primary: #00e5ff;
    --primary-hover: #00b4cc;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #7c3aed;
    --secondary-glow: rgba(124, 58, 237, 0.4);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0 3rem;
}

.hosting-cards-ref .hero {
    min-height: 30vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-top: 120px;
    text-align: center;
    overflow: hidden;
}

.hosting-cards-ref .hero--compact {
    padding-bottom: 1.2rem;
}

.hosting-cards-ref .hero-content {
    position: relative;
    z-index: 2;
}

.hosting-cards-ref .hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hosting-cards-ref .hero-subtitle {
    font-size: 1.25rem;
    margin: 0 auto;
    color: var(--text-muted);
    max-width: 600px;
}

.hosting-cards-ref .hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hosting-cards-ref .shape-1 {
    position: absolute;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(60px);
}

.hosting-cards-ref .shape-1--hosting {
    top: 0;
    right: 20%;
    width: 400px;
    height: 400px;
}

.hosting-cards-ref .section {
    padding: 3.6rem 0;
    position: relative;
}

.hosting-cards-ref .text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hosting-cards-ref .grid-3,
.hosting-cards-ref .grid-4 {
    display: grid;
    gap: 2rem;
}

.hosting-cards-ref .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hosting-cards-ref .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.hosting-cards-ref .glass-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hosting-cards-ref .glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.hosting-cards-ref .glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.hosting-cards-ref .glass-card:hover::before {
    left: 150%;
}

.hosting-cards-ref .plan-card {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
}

.hosting-cards-ref .plan-card h3 {
    color: var(--text-main);
    margin-top: 0;
}

.hosting-cards-ref .popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.hosting-cards-ref .popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-lg);
}

.hosting-cards-ref .plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hosting-cards-ref .plan-currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.hosting-cards-ref .plan-period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.hosting-cards-ref .plan-features {
    margin: 2rem 0;
    text-align: left;
}

.hosting-cards-ref .plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hosting-cards-ref .plan-features li:last-child {
    border-bottom: none;
}

.hosting-cards-ref .plan-features i {
    color: var(--primary);
}

.hosting-cards-ref .plans-grid {
    padding-top: 0;
}

.hosting-cards-ref .cards-bottom {
    margin-top: 2rem;
    padding: 1.2rem 0 0;
}

.hosting-cards-ref .hosting-includes-shell {
    background: linear-gradient(160deg, rgba(12, 21, 36, 0.92), rgba(8, 14, 24, 0.82));
    border: 1px solid rgba(84, 122, 185, 0.18);
    border-radius: 2rem;
    padding: clamp(1.2rem, 2.3vw, 2rem);
    box-shadow: var(--shadow-lg);
}

.hosting-cards-ref .cards-bottom .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.hosting-cards-ref .cards-bottom ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hosting-cards-ref .cards-bottom ul li {
    margin: 0;
}

.hosting-cards-ref .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: transform var(--transition-normal);
}

.hosting-cards-ref .feature-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.hosting-cards-ref .glass-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    box-shadow: 0 0 20px var(--primary-glow);
}

.hosting-cards-ref .glass-card:hover .feature-icon i {
    color: #fff;
}

.hosting-cards-ref .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

.hosting-cards-ref .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    border-radius: inherit;
}

.hosting-cards-ref .btn:hover::before {
    opacity: 1;
}

.hosting-cards-ref .btn:active {
    transform: translateY(2px);
}

.hosting-cards-ref .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0099cc 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
    -webkit-text-fill-color: var(--text-dark);
}

.hosting-cards-ref .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.hosting-cards-ref .btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    -webkit-text-fill-color: var(--text-main);
}

.hosting-cards-ref .btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: var(--primary);
}

.hosting-cards-ref .hosting-faq {
    padding-top: 2rem;
}

.hosting-cards-ref .hosting-faq-shell {
    background: linear-gradient(160deg, rgba(12, 21, 36, 0.92), rgba(8, 14, 24, 0.82));
    border: 1px solid rgba(84, 122, 185, 0.18);
    border-radius: 2rem;
    padding: clamp(1.2rem, 2.3vw, 2rem);
    box-shadow: var(--shadow-lg);
}

.hosting-cards-ref .hosting-faq .section-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    text-align: center;
    margin-bottom: 1.2rem;
}

.hosting-cards-ref .streaming-demo-shell {
    background: linear-gradient(160deg, rgba(12, 21, 36, 0.92), rgba(8, 14, 24, 0.82));
    border: 1px solid rgba(84, 122, 185, 0.18);
    border-radius: 2rem;
    padding: clamp(1.2rem, 2.3vw, 2rem);
    box-shadow: var(--shadow-lg);
}

.hosting-cards-ref .streaming-demo-heading {
    max-width: 720px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.hosting-cards-ref .streaming-demo-heading .section-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    margin-bottom: 0.8rem;
}

.hosting-cards-ref .streaming-demo-heading p {
    margin: 0;
    color: var(--text-muted);
}

.hosting-cards-ref .streaming-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.hosting-cards-ref .streaming-demo-grid--stacked {
    grid-template-columns: 1fr;
}

.hosting-cards-ref .streaming-demo-card {
    padding: 1.5rem;
}

.hosting-cards-ref .streaming-demo-card h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

.hosting-cards-ref .streaming-demo-card p {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.hosting-cards-ref .streaming-player-shell {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(7, 14, 24, 0.92), rgba(15, 26, 42, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1rem;
}

.hosting-cards-ref .streaming-player-shell--compact {
    min-height: 110px;
}

.hosting-cards-ref .streaming-player-shell--showcase {
    min-height: 640px;
}

.hosting-cards-ref .streaming-player-embed {
    width: 100%;
    overflow: hidden;
}

.hosting-cards-ref .streaming-player-embed--small {
    height: 70px;
    min-height: 70px;
}

.hosting-cards-ref .streaming-player-embed--big {
    height: 600px;
    min-height: 600px;
}

.hosting-cards-ref .streaming-demo-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.hosting-cards-ref .streaming-demo-actions .btn {
    max-width: 320px;
}

.hosting-cards-ref .streaming-demo-link {
    width: min(100%, 420px);
    min-height: 3.7rem;
    gap: 0.85rem;
    padding-inline: 1.4rem;
    border: 1px solid rgba(0, 229, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(124, 58, 237, 0.18)),
        rgba(10, 16, 28, 0.92);
    color: var(--text-main);
    box-shadow: 0 16px 30px -18px rgba(0, 229, 255, 0.55);
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 1rem;
}

.hosting-cards-ref .streaming-demo-link i {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    flex: 0 0 auto;
}

.hosting-cards-ref .streaming-demo-link span {
    white-space: nowrap;
}

.hosting-cards-ref .streaming-demo-link:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.5);
    color: #fff;
    box-shadow: 0 20px 36px -18px rgba(0, 229, 255, 0.72);
}

.hosting-cards-ref .streaming-demo-link:hover i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #06111d;
}

.hosting-cards-ref .faq-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.9rem;
}

.hosting-cards-ref .faq-item {
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hosting-cards-ref .faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.hosting-cards-ref .faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.hosting-cards-ref .faq-item:hover::before {
    left: 150%;
}

.hosting-cards-ref .faq-item details {
    display: block;
}

.hosting-cards-ref .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 2.6rem 1rem 1.1rem;
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
}

.hosting-cards-ref .faq-item summary::-webkit-details-marker {
    display: none;
}

.hosting-cards-ref .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
    transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.hosting-cards-ref .faq-item details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.35);
}

.hosting-cards-ref .faq-item .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-normal);
}

.hosting-cards-ref .faq-item details[open] .faq-answer {
    grid-template-rows: 1fr;
}

.hosting-cards-ref .faq-item .faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.58;
}

@media (max-width: 1024px) {
    .hosting-cards-ref .hero {
        min-height: 34vh;
        padding-top: 100px;
    }

    .hosting-cards-ref .streaming-player-shell--showcase {
        min-height: 520px;
    }

    .hosting-cards-ref .streaming-player-embed--big {
        height: 480px;
        min-height: 480px;
    }
}

@media (max-width: 720px) {
    .hosting-cards-ref .popular {
        transform: none;
    }

    .hosting-cards-ref .streaming-player-shell {
        padding: 0.8rem;
    }

    .hosting-cards-ref .streaming-player-shell--showcase {
        min-height: 420px;
    }

    .hosting-cards-ref .streaming-player-embed--big {
        height: 380px;
        min-height: 380px;
    }

    .hosting-cards-ref .streaming-demo-link {
        width: 100%;
        padding-inline: 1.1rem;
        font-size: 0.95rem;
    }

    .hosting-cards-ref .streaming-demo-link span {
        white-space: normal;
        text-align: left;
    }
}
