/* PropifyID-Inspired Modern Theme for BRS Buyers Hub */

/* ===== Global Variables ===== */
:root {
    --primary-dark: #07060b;
    --primary-blue: #1a237e;
    --primary-green: #20B982;
    --accent-blue: #3498db;
    --success-green: #20B982;
    --text-dark: #ffffff;
    --text-light: #b8b8b8;
    --bg-light: #0f0e14;
    --bg-white: #07060b;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Typography Enhancements ===== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    background: #07060b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 48px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

/* ===== Header & Navigation Enhancements ===== */
.header-area {
    background: rgba(7, 6, 11, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    position: sticky !important;
    top: 0;
    z-index: 999;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header-area.sticky {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7) !important;
}

.main-menu ul li a {
    color: #b8b8b8;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-menu ul li a:hover,
.main-menu ul li.has-Active a {
    color: var(--primary-green) !important;
}

.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    transition: transform 0.3s ease;
}

.main-menu ul li a:hover::after,
.main-menu ul li.has-Active a::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== Button Styles ===== */
.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary,
.btn.slide_btn,
.btn.ss-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(32, 185, 130, 0.3);
}

.btn-primary:hover,
.btn.slide_btn:hover,
.btn.ss-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(32, 185, 130, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-dark);
}

/* ===== Section Spacing ===== */
.pt-50 { padding-top: 80px !important; }
.pb-50 { padding-bottom: 80px !important; }
.mt-40 { margin-top: 60px !important; }
.mb-30 { margin-bottom: 30px !important; }

/* ===== Card Styles ===== */
.card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Feature Icons ===== */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(32, 185, 130, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-green);
    transition: var(--transition);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* ===== Progress Bars ===== */
.progress-bar-modern {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Badge Styles ===== */
.badge-modern {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px;
}

.badge-success {
    background: var(--success-green);
    color: white;
}

.badge-info {
    background: var(--accent-blue);
    color: white;
}

.badge-primary {
    background: var(--primary-blue);
    color: white;
}

/* ===== Gradient Backgrounds ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== Responsive Grid ===== */
@media (max-width: 1200px) {
    h1 { font-size: 40px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }
}

@media (max-width: 992px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    
    .pt-50 { padding-top: 60px !important; }
    .pb-50 { padding-bottom: 60px !important; }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .pt-50 { padding-top: 40px !important; }
    .pb-50 { padding-bottom: 40px !important; }
    
    .card-modern {
        padding: 20px;
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.shadow-medium {
    box-shadow: var(--shadow-md);
}

.shadow-hard {
    box-shadow: var(--shadow-lg);
}

/* ===== Scroll Animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Footer Enhancements ===== */
footer {
    background: #1E1E2F;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-green);
}

/* ===== Loading Spinner ===== */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f0e14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--primary-green) 100%);
}
