/* ==========================================================================
   MASTER RESELLER HERO SECTION STYLES
   ========================================================================== */

.master-hero-section {
    position: relative;
    overflow: hidden;
    padding: 130px 0 80px;
    background: radial-gradient(circle at 80% 20%, #0d2569 0%, #071a52 60%, #040e2d 100%) !important;
    color: #ffffff;
}

/* Background Grid Lines */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.hero-grid-pattern::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 123, 44, 0.15) 0%, rgba(7, 26, 82, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

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

/* Announcement Pill Badge */
.upgrade-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    font-size: 13px;
    backdrop-filter: blur(10px);
    text-decoration: none !important;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    max-width: 100%;
}

.upgrade-notice:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 123, 44, 0.5);
    color: #ffffff;
}

.upgrade-notice i {
    color: #ff7b2c;
    font-size: 13px;
    flex-shrink: 0;
}

.upgrade-notice .text-underline {
    color: #ff7b2c;
    font-weight: 700;
    text-decoration: underline;
}

/* Typography */
.hero-content h1 {
    font-size: 52px !important;
    line-height: 1.12;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #ff9e5e 0%, #ff5e00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.75;
    color: #cbd5e1;
    max-width: 560px;
    margin-bottom: 30px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ff7b2c, #ff5e00) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(255, 123, 44, 0.35);
    transition: all 0.25s ease;
    font-size: 15px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 44, 0.55);
    color: #ffffff !important;
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 999px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-hero-secondary:hover {
    background: #ffffff !important;
    color: #071a52 !important;
    border-color: #ffffff !important;
}

/* Hero Quick Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
}

.hero-stat-item span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ISOMETRIC SERVER STACK GRAPHIC
   ========================================================================== */

.hosting-visual-wrap {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.server-stack {
    position: absolute;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: perspective(1000px) rotateY(-14deg) rotateX(6deg);
}

.server-unit {
    width: 340px;
    height: 72px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    overflow: hidden;
}

/* Vent Grill Texture Lines */
.server-unit::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 18px;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.12) 0px,
        rgba(255, 255, 255, 0.12) 3px,
        transparent 3px,
        transparent 7px
    );
    border-radius: 4px;
}

/* Metallic Edge Highlight */
.server-unit::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.server-lights {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.server-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    display: inline-block;
}

.server-light.active { 
    background: #22c55e; 
    box-shadow: 0 0 12px #22c55e; 
}

.server-light.orange { 
    background: #ff7b2c; 
    box-shadow: 0 0 12px #ff7b2c; 
}

/* Floating WHM Dashboard Card */
.floating-whm-card {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 310px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    z-index: 3;
    overflow: hidden;
}

.whm-header {
    background: #0f172a;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whm-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.whm-header span:nth-child(1) { background: #ef4444; }
.whm-header span:nth-child(2) { background: #f59e0b; }
.whm-header span:nth-child(3) { background: #10b981; }

.whm-body { 
    padding: 20px; 
}

.whm-body h5 { 
    font-size: 15px; 
    font-weight: 700; 
    color: #0f172a; 
    margin-bottom: 14px; 
}

.whm-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.whm-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
}

.whm-stat strong { 
    display: block; 
    font-size: 15px; 
    font-weight: 800; 
    color: #071a52; 
}

.whm-stat span { 
    color: #64748b; 
    font-size: 11px; 
    font-weight: 600; 
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .master-hero-section {
        padding: 110px 0 60px;
        text-align: center;
    }

    .upgrade-notice {
        margin: 0 auto 20px auto;
    }

    .hero-content h1 {
        font-size: 36px !important;
    }

    .hero-content p {
        margin: 0 auto 25px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hosting-visual-wrap {
        margin-top: 30px;
        height: 320px;
    }

    .server-stack {
        right: 50%;
        transform: translateX(50%) scale(0.85);
    }

    .floating-whm-card {
        left: 50%;
        transform: translate(-50%, -50%) scale(0.85);
    }
}