/*
 * Cloud Server Page Styling
 * Custom theme: Cyber Space (Deep Blue & Neon Cyan with Orange Accents)
 * Strict adherence to the Purple Ban: No violet or purple tones.
 */

:root {
    --cs-bg-color: #030712;
    --cs-surface-color: rgba(10, 25, 47, 0.45);
    --cs-surface-border: rgba(56, 189, 248, 0.12);
    --cs-neon-blue: #00d2ff;
    --cs-neon-blue-glow: rgba(0, 210, 255, 0.35);
    --cs-orange-gradient: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    --cs-orange-hover: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
    --cs-button-outline-bg: rgba(15, 23, 42, 0.6);
    --cs-text-light: #f3f4f6;
    --cs-text-muted: #9ca3af;
    --cs-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base resets/containers for page context */
.cs-page-wrapper {
    background-color: var(--cs-bg-color);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(12, 74, 110, 0.25) 0%, rgba(3, 7, 18, 0.95) 50%, #020617 100%),
        radial-gradient(circle at 10% 30%, rgba(14, 116, 144, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(3, 105, 161, 0.08) 0%, transparent 40%);
    color: var(--cs-text-light);
    font-family: var(--cs-font-sans);
    overflow: hidden;
    position: relative;
    padding-bottom: 80px;
}

/* Background Cyber-Circuit Decorators */
.cs-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cs-decor-circuit {
    position: absolute;
    width: 380px;
    height: 600px;
    opacity: 0.15;
    stroke: var(--cs-neon-blue);
    fill: none;
}

.cs-decor-circuit--left {
    top: 50px;
    left: -50px;
}

.cs-decor-circuit--right {
    top: 80px;
    right: -50px;
    transform: scaleX(-1);
}

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* HERO SECTION */
.cs-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.cs-hero__badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cs-neon-blue);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.cs-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cs-hero__subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.95;
}

.cs-hero__desc {
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cs-text-muted);
}

.cs-hero__ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cs-btn--primary {
    background: var(--cs-orange-gradient);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.35);
}

.cs-btn--primary:hover {
    background: var(--cs-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(234, 88, 12, 0.5);
}

.cs-btn--outline {
    background: var(--cs-button-outline-bg);
    color: var(--cs-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.cs-btn--outline:hover {
    border-color: var(--cs-neon-blue);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* BILLING TOGGLE & TABS */
.cs-billing-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.cs-billing-toggle {
    display: flex;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 8px;
}

.cs-billing-btn {
    background: transparent;
    border: none;
    color: var(--cs-text-muted);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-billing-btn--active {
    background: var(--cs-orange-gradient);
    color: #ffffff;
}

.cs-billing-badge {
    background: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.cs-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cs-tab-btn {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--cs-text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-tab-btn:hover {
    border-color: rgba(0, 210, 255, 0.3);
    color: var(--cs-text-light);
}

.cs-tab-btn--active {
    background: rgba(0, 210, 255, 0.08);
    border-color: var(--cs-neon-blue);
    color: var(--cs-neon-blue);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

/* PRICING GRID */
.cs-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .cs-pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD COMPONENT */
.cs-card {
    background: var(--cs-surface-color);
    border: 1px solid var(--cs-surface-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Featured Neon Glow Card */
.cs-card--featured {
    border-color: var(--cs-neon-blue);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.3), inset 0 0 10px rgba(0, 210, 255, 0.05);
}

.cs-card--featured:hover {
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.45), 0 12px 35px rgba(0, 0, 0, 0.4);
}

.cs-card__badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cs-neon-blue);
    color: #030712;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 20px;
    margin-top: 10px;
}

.cs-card__price-wrapper {
    margin-bottom: 28px;
}

.cs-card__price-original {
    font-size: 15px;
    color: var(--cs-text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
    height: 20px;
}

.cs-card__price {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.cs-card__period {
    font-size: 13px;
    color: var(--cs-text-muted);
    font-weight: 500;
    margin-top: 6px;
}

.cs-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cs-card__spec {
    font-size: 14px;
    color: var(--cs-text-light);
}

.cs-card__spec-name {
    color: var(--cs-text-muted);
    margin-right: 4px;
}

.cs-card__spec-val {
    font-weight: 700;
}

.cs-card__actions {
    margin-top: auto;
}

.cs-card__btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cs-card__btn--primary {
    background: var(--cs-orange-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
}

.cs-card__btn--primary:hover {
    background: var(--cs-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

/* FEATURE GRID SECTION */
.cs-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.cs-section-desc {
    text-align: center;
    color: var(--cs-text-muted);
    margin-bottom: 48px;
    font-size: 15px;
}

.cs-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-bottom: 90px;
}

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

.cs-feature-card {
    background: var(--cs-surface-color);
    border: 1px solid var(--cs-surface-border);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.cs-feature-card:hover {
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
}

.cs-feature-card--highlighted {
    border-color: var(--cs-neon-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.cs-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-neon-blue);
    flex-shrink: 0;
}

.cs-feature-card--highlighted .cs-feature-icon {
    background: rgba(0, 210, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

.cs-feature-content {
    flex-grow: 1;
}

.cs-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.cs-feature-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--cs-text-muted);
}

/* TESTIMONIALS SECTION */
.cs-testimonials {
    margin-bottom: 90px;
}

.cs-testimonials__wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.cs-testimonial-arrow {
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cs-text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cs-testimonial-arrow:hover {
    border-color: var(--cs-neon-blue);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.cs-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-grow: 1;
}

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

.cs-testimonial-card {
    background: rgba(10, 20, 40, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.cs-testimonial-card:hover {
    border-color: rgba(0, 210, 255, 0.15);
}

.cs-testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cs-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cs-testimonial-info {
    flex-grow: 1;
}

.cs-testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.cs-testimonial-role {
    font-size: 12px;
    color: var(--cs-text-muted);
}

.cs-testimonial-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.cs-testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cs-text-light);
    font-style: italic;
}

.cs-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.cs-testimonial-dot {
    width: 16px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-testimonial-dot--active {
    background: var(--cs-neon-blue);
    width: 32px;
    box-shadow: 0 0 8px var(--cs-neon-blue-glow);
}

/* FAQ SECTION */
.cs-faq {
    max-width: 800px;
    margin: 0 auto;
}

.cs-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-accordion-item {
    background: rgba(10, 20, 40, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cs-accordion-item--active {
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.cs-accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-accordion-header:hover {
    color: var(--cs-neon-blue);
}

.cs-accordion-chevron {
    width: 16px;
    height: 16px;
    color: var(--cs-text-muted);
    transition: transform 0.3s ease;
}

.cs-accordion-item--active .cs-accordion-chevron {
    transform: rotate(180deg);
    color: var(--cs-neon-blue);
}

.cs-accordion-body {
    padding: 0 24px 20px;
    color: var(--cs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.cs-accordion-item--active .cs-accordion-body {
    display: block;
}

/* CUSTOM CONFIG CTA BANNER */
.cs-custom-cta {
    position: relative;
    margin: 0 0 80px;
    padding: 40px 48px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 210, 255, 0.06) 0%, rgba(10, 25, 47, 0.5) 50%, rgba(0, 210, 255, 0.04) 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.cs-custom-cta:hover {
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow:
        0 0 30px rgba(0, 210, 255, 0.12),
        inset 0 0 40px rgba(0, 210, 255, 0.03);
}

/* Animated corner accent */
.cs-custom-cta::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 80px;
    height: 80px;
    border-top: 2px solid var(--cs-neon-blue);
    border-left: 2px solid var(--cs-neon-blue);
    border-radius: 16px 0 0 0;
    opacity: 0.6;
    pointer-events: none;
}

.cs-custom-cta::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 80px;
    height: 80px;
    border-bottom: 2px solid var(--cs-neon-blue);
    border-right: 2px solid var(--cs-neon-blue);
    border-radius: 0 0 16px 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Icon container */
.cs-custom-cta__icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-neon-blue);
    position: relative;
}

/* Pulsing live indicator */
.cs-custom-cta__icon::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    animation: cs-pulse 2s ease-in-out infinite;
}

@keyframes cs-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(34, 211, 238, 0);
    }
}

/* Text content */
.cs-custom-cta__content {
    flex-grow: 1;
}

.cs-custom-cta__title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-custom-cta__title-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--cs-neon-blue);
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-custom-cta__desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--cs-text-muted);
    max-width: 480px;
}

/* Action button */
.cs-custom-cta__action {
    flex-shrink: 0;
}

.cs-btn--neon {
    background: transparent;
    color: var(--cs-neon-blue) !important;
    border: 2px solid var(--cs-neon-blue);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cs-btn--neon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cs-neon-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cs-btn--neon:hover::before {
    opacity: 0.12;
}

.cs-btn--neon:hover {
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3), 0 0 40px rgba(0, 210, 255, 0.1);
    transform: translateY(-2px);
}

.cs-btn--neon svg,
.cs-btn--neon span {
    position: relative;
    z-index: 1;
}

/* Arrow bounce on hover */
.cs-btn--neon .cs-btn__arrow {
    transition: transform 0.3s ease;
}

.cs-btn--neon:hover .cs-btn__arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .cs-custom-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }

    .cs-custom-cta__desc {
        max-width: 100%;
    }

    .cs-custom-cta::before,
    .cs-custom-cta::after {
        width: 50px;
        height: 50px;
    }
}