/* =============================================
   HOSTING REDESIGN — Premium Sales-Oriented
   ============================================= */

/* =============================================
   HERO SECTION — Full Impact
   ============================================= */
.hosting-hero-redesign {
    position: relative;
    padding: 10rem 0 7rem;
    background: linear-gradient(160deg, #020617 0%, #0f172a 40%, #1e1b4b 100%);
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-glow-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent 70%);
    top: -10%;
    left: -5%;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-glow-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Trust Badge */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
    backdrop-filter: blur(4px);
}

.trust-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero Headline */
.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #f472b6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subheadline {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-subheadline strong {
    color: #e2e8f0;
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.hero-stat__label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(148, 163, 184, 0.2);
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px -4px rgba(14, 165, 233, 0.5);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px -4px rgba(14, 165, 233, 0.6);
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: transparent;
    color: #94a3b8;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* =============================================
   PROBLEM/SOLUTION SECTION
   ============================================= */
.hosting-problem-section {
    padding: 6rem 0;
    background: #ffffff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.problem-card {
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.problem-card--bad {
    background: linear-gradient(135deg, #fff1f2, #fef2f2);
    border: 1px solid #fecdd3;
}

.problem-card--good {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border: 1px solid #a7f3d0;
}

.problem-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-card--bad .problem-card__icon {
    background: linear-gradient(135deg, #fca5a5, #f87171);
    color: #ffffff;
}

.problem-card--good .problem-card__icon {
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    color: #ffffff;
}

.problem-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.problem-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-card ul li {
    font-size: 1rem;
    color: #475569;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.problem-card--bad ul li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.85rem;
}

.problem-card--good ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
    font-size: 0.85rem;
}

/* =============================================
   PLANS SECTION
   ============================================= */
.hosting-plans-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
    color: #6366f1;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-eyebrow--light {
    background: rgba(255, 255, 255, 0.15);
    color: #a5f3fc;
    border-color: rgba(165, 243, 252, 0.2);
}

.section-title-hosting {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-subtitle-hosting {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Plans Grid */
.plans-grid-hosting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card-hosting {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.plan-card-hosting:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.plan-card-hosting--featured {
    border: 2px solid #6366f1;
    box-shadow: 0 10px 40px -8px rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
    z-index: 2;
}

.plan-card-hosting--featured:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 25px 60px -12px rgba(99, 102, 241, 0.25);
}

.plan-popular-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 0.35rem 1.25rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.plan-card__header {
    margin-bottom: 1.5rem;
}

.plan-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.plan-card-hosting--featured .plan-card__name {
    color: #6366f1;
}

.plan-card__tagline {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

/* Pricing */
.plan-card__pricing {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.plan-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.plan-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.plan-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.plan-card-hosting--featured .plan-amount {
    color: #6366f1;
}

.plan-period {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    margin-left: 0.15rem;
}

.plan-original-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 0.35rem;
}

/* Benefits */
.plan-card__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-card__benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.plan-card__benefits li svg {
    color: #10b981;
    flex-shrink: 0;
}

.plan-card-hosting--featured .plan-card__benefits li svg {
    color: #6366f1;
}

/* CTA Button */
.plan-card__footer {
    margin-top: auto;
}

.plan-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-cta-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.plan-cta-btn--primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.plan-cta-btn--primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    filter: brightness(1.05);
}

.plan-renewal-note {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Guarantee */
.plans-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.plans-guarantee svg {
    color: #10b981;
    flex-shrink: 0;
}

.plans-guarantee span {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

/* =============================================
   WHY SECTION
   ============================================= */
.hosting-why-section {
    padding: 7rem 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    padding: 2.25rem;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}

.why-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.why-card__icon--cyan {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
    color: #06b6d4;
}

.why-card__icon--emerald {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
}

.why-card__icon--violet {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
}

.why-card__icon--amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* =============================================
   MOODLE TEASER
   ============================================= */
.hosting-moodle-section {
    padding: 5rem 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 100%);
}

.moodle-teaser {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.moodle-teaser__content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.moodle-teaser__content p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.moodle-teaser__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moodle-icon-cluster {
    position: relative;
    width: 200px;
    height: 200px;
}

.moodle-float-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.moodle-float-icon--1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    animation: moodleFloat 4s ease-in-out infinite;
}

.moodle-float-icon--2 {
    bottom: 10%;
    left: 5%;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #7dd3fc;
    animation: moodleFloat 5s ease-in-out infinite 1s;
}

.moodle-float-icon--3 {
    bottom: 10%;
    right: 5%;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    animation: moodleFloat 4.5s ease-in-out infinite 0.5s;
}

@keyframes moodleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.moodle-float-icon--1 {
    animation: moodleFloat 4s ease-in-out infinite;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .moodle-teaser {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .moodle-teaser__content h2 {
        font-size: 2rem;
    }
    .moodle-icon-cluster {
        margin: 0 auto;
    }
}

/* =============================================
   FINAL CTA
   ============================================= */
.hosting-final-cta {
    padding: 7rem 0;
    background: linear-gradient(160deg, #020617 0%, #0f172a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hosting-final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.final-cta-content p strong {
    color: #e2e8f0;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hosting-hero-redesign {
        padding: 8rem 0 5rem;
        min-height: auto;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-stats-row {
        gap: 1.25rem;
    }

    .hero-stat__number {
        font-size: 1.6rem;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .hosting-problem-section {
        padding: 4rem 0;
    }

    .hosting-plans-section {
        padding: 5rem 0;
    }

    .plan-card-hosting--featured {
        transform: none;
    }

    .plan-card-hosting--featured:hover {
        transform: translateY(-8px);
    }

    .hosting-why-section {
        padding: 5rem 0;
    }

    .hosting-final-cta {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .plans-grid-hosting {
        grid-template-columns: 1fr;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   LEGACY SUPPORT — Existing pricing cards (show.php)
   Keep for backward compatibility
   ============================================= */
.hosting-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.1), transparent 50%),
                radial-gradient(circle at 10% 30%, rgba(168, 85, 247, 0.05), transparent 30%);
    text-align: center;
    overflow: hidden;
}

.hosting-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    align-items: center;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.9));
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.15);
}

.comparison-section {
    padding: 6rem 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: none;
        margin: 1rem 0;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

.spec-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
