/* ==========================================================================
   OneConquer - Premium Light Glassmorphism Design
   ========================================================================== */

/* --- Global Variables --- */
:root {
    /* Background Colors */
    --bg-main: #f8fafc;
    --bg-elevated: #ffffff;
    
    /* Accent Colors */
    --soft-gold: #f59e0b;
    --soft-gold-light: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.15);
    
    /* Neutral Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(148, 163, 184, 0.2);
    --glass-blur: 12px;
    
    /* Shadows & Radius */
    --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --transition-smooth: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

a:hover {
    color: var(--soft-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    gap: 20px;
}

#loader-wrapper .spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--text-muted);
    border-top-color: var(--soft-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader-wrapper .loader-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Header --- */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all var(--transition-smooth);
}

.header-area.stick {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.header-area .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
}

.logo img {
    height: 36px;
    transition: all var(--transition-smooth);
}

.header-area.stick .logo img {
    height: 32px;
}

/* --- Header Stats --- */
.header-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    order: 3;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 20px rgba(16, 185, 129, 1); }
}

.status-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-item {
    text-align: center;
    padding: 4px 10px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.main-menu ul li a {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all var(--transition-smooth);
}

.main-menu ul li a:hover {
    color: var(--text-primary);
}

.main-menu ul li.dropdown {
    position: relative;
}

.main-menu ul li.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
}

.main-menu ul li .dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.main-menu ul li:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-menu ul li .dropdown-content a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.main-menu ul li .dropdown-content a:hover {
    background: rgba(245, 158, 11, 0.08);
    color: var(--soft-gold);
}
/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, var(--soft-gold-light), var(--soft-gold));
    color: #1f2937;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px var(--gold-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
    color: #111827;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.btn-secondary:hover {
    border-color: var(--soft-gold);
    color: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/CHoses.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(248, 250, 252, 0.08) 0%,
        rgba(248, 250, 252, 0.15) 50%,
        rgba(248, 250, 252, 0.98) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(255,255,255,0.9);
}

.hero-description {
    font-size: 18px;
    color: #334155;
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(245, 158, 11, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--soft-gold);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(245, 158, 11, 0.3);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--soft-gold);
}

.news-content {
    padding: 28px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.news-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--soft-gold);
    font-weight: 700;
    font-size: 14px;
}

.news-link:hover {
    gap: 12px;
}

/* --- Download Section --- */
.download-section {
    padding: 100px 0;
}

.download-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
}

.download-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.download-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

/* --- Footer --- */
footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--glass-border);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand h2 {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
}

.footer-col h3 {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--soft-gold);
}

.copyright {
    background: var(--bg-main);
    padding: 24px 0;
    border-top: 1px solid var(--glass-border);
}

.copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 13px;
}

/* --- Social Sidebar --- */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.social-sidebar a {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-right: none;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.social-sidebar a:hover {
    background: var(--soft-gold);
    color: #1f2937;
    width: 56px;
}

/* --- reCAPTCHA --- */
.form-group .g-recaptcha {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 9999;
    min-height: 78px;
}
.form-group .g-recaptcha > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-content {
        padding: 40px 24px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .header-stats {
        display: none;
    }
    .download-card {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: flex !important;
    }
    .container {
        padding: 0 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero-content {
        padding: 32px 20px;
    }
    .hero-section {
        min-height: 90vh;
    }
    .copyright .container {
        flex-direction: column;
        gap: 12px;
    }
    .stat-item {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .main-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-menu ul {
        gap: 12px;
    }
    .main-menu ul li a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: flex;
    }
    .header-area {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
    }
    .main-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .main-menu ul li a {
        font-size: 12px;
        padding: 6px 8px;
    }
    .header-area .container {
        padding: 10px 16px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }
    .hero-description {
        font-size: 14px;
    }
    .section {
        padding: 80px 0;
    }
    .download-card {
        padding: 32px 24px;
    }
    .hero-bg {
        background-position: center;
        margin-top: 80px;
    }
    .main-menu ul li a {
        font-size: 11px;
    }
}

/* Force header to be visible on all devices */
.header-area {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1) !important;
}

.header-area .container {
    display: block !important;
    width: 100% !important;
    padding: 15px !important;
}

.header-area .navbar {
    display: block !important;
    width: 100% !important;
}

.main-menu {
    display: flex !important;
    width: 100% !important;
}

.main-menu ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.main-menu ul li {
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu ul li a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 10px !important;
    text-decoration: none !important;
}

.main-menu ul li a:hover {
    color: #f59e0b !important;
}

.page-content {
    padding-top: 120px !important;
}

