/* =============================================
   CLOUD.CSS — DONHOSTER
   Brand colors: #6B3DBB · #8E2FE4 · #10B981
   Same architecture as vps.css / dedicated-servers.css
   All containers square (border-radius: 0)
   ============================================= */

/* ── SHARED UTILITIES ───────────────────────── */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header p strong { color: var(--text-primary); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.cl-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6B3DBB 0%, #4C1D95 50%, #1E3A8A 100%);
    overflow: hidden;
    padding: 80px 20px;
}

.cl-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=70');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.cl-uptime-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.2);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%       { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.cl-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 24px;
    line-height: 1.15;
}

.cl-gradient-text {
    background: linear-gradient(135deg, #FCD34D 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.cl-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cl-hero-subtitle strong { color: #FCD34D; font-weight: 700; }

.cl-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-large.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}
.btn-large.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,185,129,0.5); }

.btn-large.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}
.btn-large.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); }

.cl-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cl-rating-stars { display: inline-flex; align-items: center; gap: 2px; }
.cl-rating-text { color: rgba(255,255,255,0.88); font-size: 0.9375rem; }
.cl-rating-text strong { color: white; font-weight: 700; }
.cl-rating-text strong:last-child { color: #FCD34D; }

/* ════════════════════════════════════════════
   TRUST BAR
   ════════════════════════════════════════════ */
.cl-trust-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.trust-bar-track {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.trust-bar-clone { display: none; }

.trust-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.trust-bar-item svg    { stroke: #10B981; flex-shrink: 0; }
.trust-bar-item strong { color: var(--text-primary); }
.trust-bar-payments    { gap: 10px; }
.payment-icons { display: inline-flex; align-items: center; gap: 8px; }

.trust-bar-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Mobile ticker */
@media (max-width: 900px) {
    .cl-trust-bar {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    }

    .trust-bar-clone { display: contents; }

    .trust-bar-track {
        width: max-content;
        max-width: none;
        margin: 0;
        justify-content: flex-start;
        animation: trustTicker 28s linear infinite;
    }

    .trust-bar-track:hover { animation-play-state: paused; }

    @keyframes trustTicker {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

/* ════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════ */
.cl-pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cl-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card base */
.cl-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 28px 22px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #6B3DBB;
}

/* Featured — purple gradient */
.cl-card--featured {
    background: linear-gradient(160deg, #5B2FA6 0%, #7E22CE 60%, #6B21A8 100%);
    border-color: #F59E0B;
    border-width: 3px;
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(107,61,187,0.4);
    color: white;
}

.cl-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 28px 60px rgba(107,61,187,0.5);
}

.cl-card--featured .cl-plan-name,
.cl-card--featured .cl-currency,
.cl-card--featured .cl-amount,
.cl-card--featured .cl-period,
.cl-card--featured .cl-plan-desc { color: white; }

.cl-card--featured .cl-specs { background: rgba(255,255,255,0.12); }
.cl-card--featured .cl-spec-row { color: rgba(255,255,255,0.9); }
.cl-card--featured .cl-spec-highlight svg { stroke: #FCD34D; }
.cl-card--featured .cl-features li { color: rgba(255,255,255,0.9); }
.cl-card--featured .cl-features li::before { color: #FCD34D; }

/* Enterprise card */
.cl-card--enterprise {
    border-color: #6B3DBB;
    border-width: 2px;
}

.cl-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: white;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}

.cl-plan-name {
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin: 8px 0 12px;
}

.cl-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.cl-currency { font-size: 1.5rem; font-weight: 600; color: var(--text-secondary); }
.cl-amount   { font-size: 3.5rem; font-weight: 900; line-height: 1; color: var(--text-primary); }
.cl-period   { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; margin-left: 2px; }

.cl-price-custom { margin-bottom: 10px; }
.cl-amount-custom {
    font-size: 2.25rem;
    font-weight: 900;
    color: #6B3DBB;
    display: block;
    text-align: center;
    margin: 8px 0;
}

.cl-plan-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
}

/* Specs box */
.cl-specs {
    background: var(--bg-secondary);
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cl-spec-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cl-spec-row svg { stroke: #9CA3AF; flex-shrink: 0; }

.cl-spec-highlight {
    color: var(--text-primary);
    font-weight: 600;
}
.cl-spec-highlight svg { stroke: #10B981; }

/* Feature list */
.cl-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cl-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}

.cl-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 800;
    font-size: 1rem;
}

/* Buttons */
.cl-btn-order {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    font-weight: 700;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 100%);
    color: white;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(107,61,187,0.3);
    margin-top: auto;
}
.cl-btn-order:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,61,187,0.4); }

.cl-card--featured .cl-btn-order {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}

.cl-btn-contact {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    font-weight: 700;
    font-size: 0.9375rem;
    background: transparent;
    color: #6B3DBB;
    border: 2px solid #6B3DBB;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-top: auto;
}
.cl-btn-contact:hover { background: #6B3DBB; color: white; }

/* ════════════════════════════════════════════
   WHY CLOUD
   ════════════════════════════════════════════ */
.cl-why { padding: 80px 0; background: var(--bg-primary); }

.cl-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cl-why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cl-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #6B3DBB, #8E2FE4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cl-why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: #6B3DBB;
}

.cl-why-card:hover::before { opacity: 1; }

.cl-why-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cl-icon--purple { background: rgba(107,61,187,0.1); }
.cl-icon--purple svg { stroke: #6B3DBB; }
.cl-icon--blue   { background: rgba(59,130,246,0.1); }
.cl-icon--blue svg { stroke: #3B82F6; }
.cl-icon--green  { background: rgba(16,185,129,0.1); }
.cl-icon--green svg { stroke: #10B981; }
.cl-icon--yellow { background: rgba(245,158,11,0.1); }
.cl-icon--yellow svg { stroke: #F59E0B; }

.cl-why-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.3; }
.cl-why-card p  { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75; margin: 0; }

/* ════════════════════════════════════════════
   USE CASES
   ════════════════════════════════════════════ */
.cl-usecases { padding: 80px 0; background: var(--bg-secondary); }

.cl-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cl-usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.cl-usecase-card:hover { border-color: #6B3DBB; transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.cl-usecase-icon {
    width: 60px;
    height: 60px;
    background: rgba(107,61,187,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background 0.3s ease;
}

.cl-usecase-icon svg { stroke: #6B3DBB; }
.cl-usecase-card:hover .cl-usecase-icon { background: rgba(107,61,187,0.15); }

.cl-usecase-card h4 { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.cl-usecase-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.cl-testimonials { padding: 80px 0; background: var(--bg-primary); }

.cl-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: #6B3DBB; }

.testimonial-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 16px; }

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 20px;
    flex: 1;
    font-style: italic;
}
.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B3DBB, #8E2FE4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); font-style: normal; display: block; }
.author-role { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 2px; }

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.cl-faq { padding: 80px 0; background: var(--bg-secondary); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }

.faq-item { border: 1px solid var(--border-color); overflow: hidden; background: var(--bg-card); transition: border-color 0.2s ease; }
.faq-item.active { border-color: #6B3DBB; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
    font-family: inherit;
}
.faq-question:hover { color: #6B3DBB; }
.faq-item.active .faq-question { color: #6B3DBB; }

.faq-chevron { flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease; }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: #6B3DBB; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 24px 20px; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75; margin: 0; }

/* ════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════ */
.cl-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 50%, #6B3DBB 100%);
    position: relative;
    overflow: hidden;
}

.cl-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-final-content { text-align: center; position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final-content h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.2; }
.cta-final-content > p { font-size: 1.0625rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; line-height: 1.65; }

.cta-final-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-final-buttons .btn-large.btn-primary { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.cta-final-buttons .btn-large.btn-secondary { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.cta-final-buttons .btn-large.btn-secondary:hover { background: rgba(255,255,255,0.22); }

.cta-reassurance { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.875rem; color: rgba(255,255,255,0.72); margin: 0; }
.cta-reassurance svg { stroke: rgba(255,255,255,0.72); }

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cl-pricing-grid      { grid-template-columns: repeat(2, 1fr); }
    .cl-card--featured    { transform: none; }
    .cl-card--featured:hover { transform: translateY(-6px); }
    .cl-why-grid          { grid-template-columns: repeat(2, 1fr); }
    .cl-usecases-grid     { grid-template-columns: repeat(2, 1fr); }
    .cl-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
    .cl-hero     { padding: 60px 20px; min-height: auto; }
    .cl-hero-cta { flex-direction: column; align-items: center; }
    .btn-large   { width: 100%; max-width: 320px; justify-content: center; }

    .cl-pricing-grid      { grid-template-columns: 1fr; }
    .cl-why-grid          { grid-template-columns: 1fr; }
    .cl-usecases-grid     { grid-template-columns: repeat(2, 1fr); }
    .cl-testimonials-grid { grid-template-columns: 1fr; }

    .cta-final-buttons { flex-direction: column; align-items: center; }
    .section-container { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
    .cl-usecases-grid { grid-template-columns: 1fr; }
}