/* ========================================
   MODERN JODOHOST STYLES
   Bootstrap 5 Compatible
   ======================================== */

/* ========== VARIABLES ========== */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00a651;
    --dark-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========== GLOBAL STYLES ========== */
body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

/* ========== HEADER STYLES ========== */
.modern-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.top-bar {
    background: var(--light-gray);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge-item {
    color: #666;
}

.badge-item i {
    color: var(--primary-color);
    margin-right: 5px;
}

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    color: var(--secondary-color);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand .logo {
    max-height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
    color: white !important;
    padding: 100px 0 !important;
    min-height: 400px !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    overflow: hidden;
}

.hero-section * {
    color: white !important;
}

.hero-section .lead,
.hero-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
}

.hero-section ul li {
    color: white !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

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

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.hero-features li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.hero-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* ========== PRICING CARDS ========== */
.pricing-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666 !important;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.plan-price sup {
    font-size: 1.5rem;
    top: -1em;
}

.plan-price sub {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features li strong {
    font-weight: 600;
    color: #333;
}

/* Power Feature Items (VPS/Dedicated) */
.power-feature-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.power-feature-item:last-child {
    border-bottom: none;
}

.power-feature-item i {
    color: #0066cc;
    font-size: 16px;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.power-feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.power-feature-content strong {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    display: block;
}

.power-feature-content span {
    color: #666;
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

.plan-cta {
    margin-top: 30px;
}

.btn-plan {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 80px 0 !important;
    background: #f8f9fa !important;
}

.features-section h2,
.features-section h3,
.features-section h4,
.features-section h5 {
    color: #333 !important;
}

.features-section p,
.features-section li {
    color: #666 !important;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    background: white !important;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color) !important;
}

.feature-box p {
    color: #666 !important;
    line-height: 1.8;
}

/* ========== GENERAL SECTION STYLING ========== */
section {
    position: relative;
}

section h2 {
    color: #333 !important;
}

section h3 {
    color: #333 !important;
}

section p {
    color: #555 !important;
    line-height: 1.8;
}

/* Override for sections with colored backgrounds */
.hero-section h2,
.hero-section h3,
.hero-section p,
.trust-section h2,
.trust-section h3,
.trust-section p {
    color: white !important;
}

/* ========== TRUST SECTION ========== */
.trust-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.trust-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.trust-stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== UPGRADE BANNER ========== */
.upgrade-banner {
    background: linear-gradient(135deg, #00a651 0%, #008a44 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,166,81,0.3);
}

.upgrade-banner h4 {
    margin-bottom: 10px;
    font-weight: 700;
}

.upgrade-banner p {
    margin-bottom: 15px;
    opacity: 0.95;
}

.upgrade-banner .btn {
    background: white;
    color: var(--secondary-color);
    font-weight: 600;
}

.upgrade-banner .btn:hover {
    background: var(--light-gray);
}

/* ========== FOOTER STYLES ========== */
.modern-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding-top: 60px;
}

.modern-footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-color);
}

.footer-contact a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1a252f;
    padding: 25px 0;
    margin-top: 40px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .separator {
    color: #7f8c8d;
}

.platform-badge {
    margin-top: 10px;
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .trust-stats {
        gap: 30px;
    }
    
    .trust-stat-number {
        font-size: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary {
        width: 100%;
        margin-top: 10px;
    }
}
