/*
 * HK CloudHost Elementor Compatibility Styles
 * These styles support the bundled Elementor import template and keep it visually
 * close to the original custom-coded front page while allowing content editing in Elementor.
 */

.hk-elementor-page {
    width: 100%;
    overflow: hidden;
}

.hk-el-section {
    position: relative;
    padding: 96px 0;
}

.hk-el-section .elementor-container,
.hk-el-section .e-con-inner {
    max-width: 1200px;
}

.hk-el-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 25% 15%, rgba(47, 126, 246, 0.35), transparent 32%), linear-gradient(135deg, #081629 0%, #0b1f3a 52%, #123f78 100%);
    color: #fff;
    padding-top: 150px;
    padding-bottom: 110px;
}

.hk-el-hero::before,
.hk-el-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hk-el-hero::before {
    width: 340px;
    height: 340px;
    right: 7%;
    top: 20%;
    background: rgba(47, 126, 246, 0.16);
    filter: blur(18px);
}

.hk-el-hero::after {
    width: 220px;
    height: 220px;
    left: 8%;
    bottom: 12%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(14px);
}

.hk-el-eyebrow .elementor-heading-title {
    color: #7fb0ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hk-el-hero-title .elementor-heading-title {
    color: #fff;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.hk-el-hero-text {
    color: rgba(255, 255, 255, 0.78);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hk-el-button-primary .elementor-button,
.hk-el-button-outline .elementor-button,
.hk-el-button-dark .elementor-button {
    border-radius: 10px;
    padding: 15px 26px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hk-el-button-primary .elementor-button {
    background: #2f7ef6;
    color: #fff;
    box-shadow: 0 14px 30px rgba(47, 126, 246, 0.35);
}

.hk-el-button-primary .elementor-button:hover {
    background: #1f68d6;
    transform: translateY(-2px);
}

.hk-el-button-outline .elementor-button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hk-el-button-outline .elementor-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hk-el-button-dark .elementor-button {
    background: #0b1f3a;
    color: #fff;
}

.hk-el-stats .elementor-icon-box-wrapper {
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hk-el-stats .elementor-icon-box-title,
.hk-el-stats .elementor-icon-box-description {
    color: #fff;
}

.hk-el-light-section {
    background: var(--bg-primary, #fff);
}

.hk-el-muted-section {
    background: var(--bg-secondary, #f4f7fb);
}

.hk-el-section-title .elementor-heading-title {
    color: var(--text-primary, #0f172a);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.hk-el-section-desc {
    color: var(--text-secondary, #64748b);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hk-el-card .elementor-widget-container,
.hk-el-pricing-card,
.hk-el-contact-card .elementor-widget-container {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hk-el-card .elementor-widget-container {
    padding: 34px 28px;
    min-height: 260px;
}

.hk-el-card .elementor-widget-container:hover,
.hk-el-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.13);
    border-color: rgba(47, 126, 246, 0.45);
}

.hk-el-card .elementor-icon {
    color: #2f7ef6;
    font-size: 38px;
}

.hk-el-card .elementor-icon-box-title {
    color: var(--text-primary, #0f172a);
    font-weight: 800;
}

.hk-el-card .elementor-icon-box-description {
    color: var(--text-secondary, #64748b);
}

.hk-el-pricing-card {
    padding: 34px 28px;
    height: 100%;
}

.hk-el-pricing-card.featured {
    border: 2px solid #2f7ef6;
    box-shadow: 0 24px 60px rgba(47, 126, 246, 0.2);
    position: relative;
}

.hk-el-pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2f7ef6;
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 800;
}

.hk-el-price .elementor-heading-title {
    color: #2f7ef6;
    font-size: 46px;
    line-height: 1;
    font-weight: 850;
}

.hk-el-pricing-card .elementor-icon-list-item {
    color: var(--text-secondary, #64748b);
    margin-bottom: 10px;
}

.hk-el-pricing-card .elementor-icon-list-icon i {
    color: #20b26b;
}

.hk-el-testimonial .elementor-widget-container {
    min-height: 275px;
}

.hk-el-cta {
    background: linear-gradient(135deg, #0b1f3a 0%, #0f4c98 100%);
    color: #fff;
}

.hk-el-cta .elementor-heading-title,
.hk-el-cta .elementor-widget-text-editor {
    color: #fff;
}

.hk-el-contact-form {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    padding: 34px;
}

.hk-el-contact-form input,
.hk-el-contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-color, #dbe3ef);
    background: var(--bg-primary, #fff);
    color: var(--text-primary, #0f172a);
    border-radius: 12px;
    padding: 15px 16px;
    margin-bottom: 14px;
    outline: none;
}

.hk-el-contact-form input:focus,
.hk-el-contact-form textarea:focus {
    border-color: #2f7ef6;
    box-shadow: 0 0 0 3px rgba(47, 126, 246, 0.15);
}

.hk-el-contact-form button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #2f7ef6;
    color: #fff;
    font-weight: 800;
    padding: 15px 18px;
    cursor: pointer;
}

.hk-el-contact-form button:hover {
    background: #1f68d6;
}

.hk-el-contact-form .form-message {
    margin-top: 14px;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .hk-el-section {
        padding: 72px 0;
    }

    .hk-el-hero {
        min-height: 640px;
        padding-top: 130px;
    }
}
