/* ===================================================
   DDL GROUP — Enterprise Web Hosting Landing Page Styles
   File: styles/web_hosting.css
   =================================================== */

:root {
    --hosting-primary: #e11d48;
    --hosting-primary-dark: #be123c;
    --hosting-accent: #2563eb;
    --hosting-dark: #0f172a;
    --hosting-slate: #1e293b;
    --hosting-light: #f8fafc;
    --hosting-border: #e2e8f0;
    --hosting-success: #16a34a;
    --hosting-gold: #f59e0b;
}

/* Hero Section */
.hosting-hero {
    position: relative;
    padding: 80px 5% 70px;
    background: radial-gradient(circle at 10% 20%, rgba(225, 29, 72, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                #ffffff;
    border-bottom: 1px solid var(--hosting-border);
    overflow: hidden;
}

.hosting-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hosting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 29, 72, 0.08);
    color: var(--hosting-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.hosting-badge i {
    color: var(--hosting-gold);
}

.hosting-hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--hosting-dark);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hosting-hero h1 .text-highlight {
    background: linear-gradient(135deg, var(--hosting-primary) 0%, #ff4b2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hosting-hero p.hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 24px;
}

.hero-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.hero-tag i {
    color: var(--hosting-success);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-hosting-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--hosting-primary) 0%, #be123c 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-hosting-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(225, 29, 72, 0.4);
    color: #ffffff !important;
}

.btn-hosting-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
    transition: all 0.25s ease;
}

.btn-hosting-wa:hover {
    transform: translateY(-2px);
    background: #1eb954;
    color: #ffffff !important;
}

/* Hero Right Side - Form Card */
.hosting-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--hosting-border);
    position: relative;
}

.hosting-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 4px;
    background: linear-gradient(90deg, var(--hosting-primary), #f59e0b);
    border-radius: 4px 4px 0 0;
}

.form-header-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.form-header-badge .promo-pill {
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.hosting-form-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hosting-dark);
    margin: 0 0 6px;
}

.hosting-form-card p.form-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.hosting-input-group {
    margin-bottom: 14px;
}

.hosting-input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.hosting-input-group input,
.hosting-input-group select,
.hosting-input-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #fdfdfe;
}

.hosting-input-group input:focus,
.hosting-input-group select:focus,
.hosting-input-group textarea:focus {
    outline: none;
    border-color: var(--hosting-primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
    background: #ffffff;
}

.submit-btn-hosting {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--hosting-primary) 0%, #be123c 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.25);
    margin-top: 8px;
}

.submit-btn-hosting:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
}

.submit-btn-hosting:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Security Note below form */
.form-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 14px;
}

.form-security-note i {
    color: var(--hosting-success);
}

/* Trust Bar */
.trust-bar-section {
    background: #0f172a;
    color: #f8fafc;
    padding: 30px 5%;
}

.trust-bar-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.trust-info h4 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.trust-info p {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Pricing Section */
.pricing-section-modern {
    padding: 80px 5%;
    background: #f8fafc;
}

.pricing-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--hosting-primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-header h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--hosting-dark);
    margin-bottom: 14px;
}

.pricing-header p {
    font-size: 1rem;
    color: #64748b;
}

.pricing-cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 30px;
    border: 1px solid var(--hosting-border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.pricing-card-box.popular-card {
    border: 2px solid var(--hosting-primary);
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.12);
}

.popular-badge-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--hosting-primary), #be123c);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.card-plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hosting-dark);
    margin-bottom: 6px;
}

.card-plan-tagline {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 20px;
    min-height: 38px;
}

.card-pricing-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}

.currency-sym {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hosting-dark);
}

.price-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hosting-dark);
    line-height: 1;
}

.billing-cycle {
    font-size: 0.85rem;
    color: #64748b;
}

.pricing-savings-pill {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid #a7f3d0;
}

.card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex: 1;
}

.card-features-list li {
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-features-list li i.fa-check-circle {
    color: var(--hosting-success);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.card-features-list li i.fa-times-circle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.card-cta-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.card-cta-btn.btn-outline {
    background: transparent;
    color: var(--hosting-dark);
    border: 1.5px solid #cbd5e1;
}

.card-cta-btn.btn-outline:hover {
    border-color: var(--hosting-primary);
    color: var(--hosting-primary);
    background: rgba(225, 29, 72, 0.04);
}

.card-cta-btn.btn-solid-primary {
    background: linear-gradient(135deg, var(--hosting-primary), #be123c);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
}

.card-cta-btn.btn-solid-primary:hover {
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Competitor Comparison Section */
.comparison-section {
    padding: 80px 5%;
    background: #ffffff;
}

.comparison-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    border: 1px solid var(--hosting-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hosting-border);
    font-size: 0.9rem;
}

.comparison-table th {
    background: #f8fafc;
    color: var(--hosting-dark);
    font-weight: 700;
}

.comparison-table th.col-ddlg {
    background: #fff1f2;
    color: var(--hosting-primary);
    border-top: 3px solid var(--hosting-primary);
}

.comparison-table td.col-ddlg {
    background: #fff5f5;
    font-weight: 700;
    color: #1e293b;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Feature Grid Section */
.features-grid-section {
    padding: 80px 5%;
    background: #f8fafc;
}

.features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid var(--hosting-border);
    transition: all 0.25s ease;
}

.feature-box-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
    background: #fff1f2;
    color: var(--hosting-primary);
}

.feature-box-modern h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hosting-dark);
    margin-bottom: 10px;
}

.feature-box-modern p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-hosting-section {
    padding: 80px 5%;
    background: #ffffff;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item-modern {
    border: 1px solid var(--hosting-border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item-modern summary {
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hosting-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item-modern summary::-webkit-details-marker {
    display: none;
}

.faq-item-modern summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.faq-item-modern[open] summary::after {
    transform: rotate(180deg);
    color: var(--hosting-primary);
}

.faq-item-modern[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.faq-answer-content {
    padding: 0 22px 20px;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
}

/* CTA Bottom Banner */
.bottom-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    padding: 60px 5%;
    text-align: center;
}

.bottom-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.bottom-cta-banner h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.bottom-cta-banner p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 28px;
}

/* Live Alert Banner / Notifications */
.form-alert-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.form-alert-msg.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert-msg.alert-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

/* Honeypot hidden input */
.trap-field {
    display: none !important;
    position: absolute;
    left: -9999px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hosting-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hosting-hero {
        padding: 50px 4% 40px;
    }
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    .trust-bar-grid {
        grid-template-columns: 1fr;
    }
    .features-grid-container {
        grid-template-columns: 1fr;
    }
    .hosting-form-card {
        padding: 24px 18px;
    }
}
