/* ============================================================
   CMS Development Page - Modern Redesign
   ============================================================ */

/* --- Hero Banner --- */
.cms-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background: linear-gradient(135deg, #004d5e 0%, #006d82 40%, #00a9a5 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cms-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.95;
}

.cms-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 50px 0 40px;
}

.cms-hero-content {
    max-width: 560px;
}

.cms-hero-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cms-hero-subtitle {
    color: rgba(255,255,255,0.90);
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 500px;
}

.cms-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.cms-hero-bullets li {
    color: #e0f7f8;
    font-size: 0.94rem;
    padding: 5px 0 5px 28px;
    position: relative;
    font-weight: 600;
}

.cms-hero-bullets li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: #7fffda;
    font-weight: 700;
    font-size: 1rem;
}

/* Download CTA Button */
.cms-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(247,151,30,0.40);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.cms-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247,151,30,0.55);
    color: #1a1a1a;
    text-decoration: none;
}

/* --- Features Section --- */
.cms-features-section {
    background: #f7fbfc;
    padding: 56px 0 50px;
}

.cms-section-title {
    text-align: center;
    margin-bottom: 12px;
}

.cms-section-title h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #144f64;
    margin-bottom: 6px;
}

.cms-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    margin: 0 auto 36px;
    gap: 8px;
}

.cms-section-divider::before,
.cms-section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #c5dde5;
}

.cms-section-divider span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0a9396;
    flex-shrink: 0;
}

/* Feature Card Grid */
.cms-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.cms-feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 22px 26px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(10,147,150,0.10);
    border: 1px solid #e0eff2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cms-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a9396, #48cae4);
    border-radius: 14px 14px 0 0;
}

.cms-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(10,147,150,0.20);
    border-color: #b0dde4;
}

.cms-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.4s ease;
    border: 2px solid rgba(10,147,150,0.15);
}

.cms-feature-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.cms-feature-card:hover .cms-feature-icon {
    background: linear-gradient(135deg, #0a9396, #48cae4);
    transform: rotate(10deg) scale(1.1);
    border-color: transparent;
}

.cms-feature-card:hover .cms-feature-icon img {
    filter: brightness(0) invert(1);
}

.cms-feature-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #144f64;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.cms-feature-desc {
    font-size: 0.88rem;
    color: #6b8a95;
    line-height: 1.55;
    margin: 0;
}

/* --- Preview / Demo Section --- */
.cms-preview-section {
    background: #fff;
    padding: 50px 0 60px;
}

.cms-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 36px;
}

.cms-preview-card {
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e0eff2;
    box-shadow: 0 6px 24px rgba(10,147,150,0.12);
    transition: all 0.35s ease;
    position: relative;
}

.cms-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(10,147,150,0.22);
    border-color: #0a9396;
}

.cms-preview-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.cms-preview-card:hover img {
    transform: scale(1.04);
}

.cms-preview-card-footer {
    background: #f7fbfc;
    padding: 16px 20px;
    border-top: 1px solid #e0eff2;
    text-align: center;
}

.cms-preview-card-footer a {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.cms-live-btn {
    background: linear-gradient(135deg, #dba336, #f7c948);
    color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(219,163,54,0.35);
}

.cms-live-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(219,163,54,0.55);
    color: #1a1a1a;
}

.cms-admin-btn {
    background: linear-gradient(135deg, #539b2f, #72c948);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(83,155,47,0.35);
}

.cms-admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(83,155,47,0.55);
    color: #ffffff;
}

.cms-preview-label {
    font-size: 0.85rem;
    color: #8aa4ac;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* --- Hire Section (re-styled) --- */
.cms-hire-section {
    background: linear-gradient(135deg, #004d5e 0%, #006d82 60%, #0a9396 100%);
    padding: 56px 0 52px;
    text-align: center;
}

.cms-hire-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cms-hire-section hr {
    border-color: rgba(255,255,255,0.25);
    margin: 12px auto 40px;
    max-width: 200px;
}

.cms-hire-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cms-hire-item {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    padding: 28px 24px 22px;
    width: 160px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.cms-hire-item:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
    border-color: rgba(255,255,255,0.5);
}

.cms-hire-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.cms-hire-item p {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* ============================================================
   RESPONSIVE RULES
   ============================================================ */

@media (max-width: 991px) {
    .cms-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .cms-hero-content h1 {
        font-size: 1.9rem;
    }

    .cms-preview-wrapper {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .cms-hero {
        min-height: 380px;
    }

    .cms-hero::before {
        opacity: 0.25;
    }

    .cms-hero-content {
        text-align: center;
        max-width: 100%;
    }

    .cms-hero-content h1 {
        font-size: 1.65rem;
    }

    .cms-hero-bullets {
        display: inline-block;
        text-align: left;
    }

    .cms-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .cms-section-title h2 {
        font-size: 1.45rem;
    }

    .cms-hire-grid {
        gap: 14px;
    }

    .cms-hire-item {
        width: 130px;
        padding: 20px 14px 16px;
    }
}

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

    .cms-hero-overlay {
        padding: 36px 0 30px;
    }

    .cms-feature-card {
        padding: 24px 16px 20px;
    }

    .cms-hire-item {
        width: 110px;
    }
}
