/* ===== HOME PAGE IMPROVEMENTS ===== */

/* Landing Section Enhancements */
.landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.3), transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(72, 61, 139, 0.3), transparent 50%);
    z-index: 1;
}

#demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
}

.landing .main-title,
.landing .subtitle,
.landing p {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing .main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.landing .main-title .thin {
    font-weight: 300;
    background: linear-gradient(45deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing .subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.landing > p {
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Proxy Types Section */
.proxy-types-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.proxy-types-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #533cae;
    margin-bottom: 20px;
    text-align: center;
}

.proxy-types-section .section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.proxy-types {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.proxy-type {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(83, 60, 174, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.proxy-type:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(83, 60, 174, 0.2);
    border-color: #533cae;
}

.proxy-type h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #533cae;
    margin-bottom: 15px;
}

.proxy-type p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.proxy-type ul {
    list-style: none;
    padding: 0;
}

.proxy-type ul li {
    padding: 8px 0;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.proxy-type ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #533cae;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pricing Section */
.p_card_container {
    padding: 80px 0;
}

.p_card_container .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #533cae;
    margin-bottom: 20px;
    text-align: center;
}

.p_card_container .section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.p_card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(83, 60, 174, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.p_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #533cae 0%, #7c5fd9 100%);
}

.p_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(83, 60, 174, 0.25);
    border-color: #533cae;
}

.p_card .best_v {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(238, 90, 111, 0.3);
}

.p_card_heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #533cae;
    margin-bottom: 10px;
}

.p_card_heading h2 .thin {
    font-weight: 300;
    color: #7c5fd9;
}

.price {
    margin: 25px 0;
}

.price p {
    font-size: 2.5rem;
    font-weight: 700;
    color: #533cae;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.price p span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
}

.p_card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.p_card ul li {
    padding: 12px 0;
    color: #444;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.p_card ul li:last-child {
    border-bottom: none;
}

.p_card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #533cae;
    font-weight: bold;
    font-size: 1.3rem;
}

.p_card ul li .price_bold {
    font-weight: 700;
    color: #533cae;
}

.p_card_btn {
    text-align: center;
    margin-top: 30px;
}

.p_card_btn a,
.p_card_btn button {
    background: linear-gradient(135deg, #533cae 0%, #7c5fd9 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(83, 60, 174, 0.3);
}

.p_card_btn a:hover,
.p_card_btn button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(83, 60, 174, 0.4);
    background: linear-gradient(135deg, #7c5fd9 0%, #533cae 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing .main-title {
        font-size: 2.5rem;
    }
    
    .landing .subtitle {
        font-size: 1.3rem;
    }
    
    .landing > p {
        font-size: 1rem;
    }
    
    .proxy-types-section .section-title,
    .p_card_container .section-title {
        font-size: 2rem;
    }
    
    .proxy-type {
        margin-bottom: 20px;
    }
}
/* Fix white header background */
.header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(83, 60, 174, 0.3);
    padding: 15px 0;
}

/* Make logo area transparent */
.nav-logo {
    background: transparent !important;
}

/* Fix navigation menu background - Desktop only */
@media (min-width: 769px) {
    .nav-menu {
        background: transparent !important;
    }
}

/* Make menu links white and visible - but NOT dropdown menu */
.nav-menu ul li a:not(.dropdown-menu ul li a) {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu ul li a:hover:not(.dropdown-menu ul li a),
.nav-menu ul li a.active:not(.dropdown-menu ul li a) {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Fix buttons styling */
.nav-button .btn {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(5px);
}

.nav-button .btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* Fix profile dropdown */
.profile-container {
    background: transparent !important;
}

.profile-pic {
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Language switcher on header */
.lang-switcher .lang-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(5px);
}

.lang-switcher .lang-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Mobile menu button */
.nav-menu-btn i {
    color: #ffffff !important;
    font-size: 28px;
}

/* Fix white bar in header - Additional fixes */
.header *:not(.dropdown-menu):not(.dropdown-menu *) {
    background: transparent !important;
}

.header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
}

/* Ensure all header children are transparent - EXCEPT dropdown menu */
.header > *:not(.nav-logo):not(.nav-menu):not(.nav-button):not(.profile-container):not(.lang-switcher):not(.nav-menu-btn):not(.dropdown-menu) {
    background: transparent !important;
}

/* Fix any container or wrapper divs - EXCEPT dropdown menu */
.header .container:not(.dropdown-menu):not(.dropdown-menu *),
.header .row:not(.dropdown-menu):not(.dropdown-menu *),
.header .col:not(.dropdown-menu):not(.dropdown-menu *),
.header div:not(.nav-logo):not(.nav-menu):not(.nav-button):not(.profile-container):not(.lang-switcher):not(.nav-menu-btn):not(.dropdown-menu):not(.dropdown-menu *) {
    background: transparent !important;
}

/* Make sure navigation items don't have white background - Desktop only */
@media (min-width: 769px) {
    .nav-menu ul,
    .nav-menu li {
        background: transparent !important;
    }
}

/* Fix dropdown menu - removed to avoid conflicts with dropdown-enhancements.css */

/* ULTIMATE FIX - Override ALL white backgrounds in header */
.header,
.header *,
.header::before,
.header::after,
.header *::before,
.header *::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Apply gradient ONLY to main header element */
.header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
    background-color: transparent !important;
}

/* Exception for dropdown menu - removed to avoid conflicts */

/* Exception for buttons - semi-transparent */
.nav-button .btn {
    background: rgba(255, 255, 255, 0.2) !important;
}

.nav-button .btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Exception for language switcher */
.lang-switcher .lang-btn {
    background: rgba(255, 255, 255, 0.2) !important;
}

.lang-switcher .lang-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}
