/* ===================================
   GREY.CO INSPIRED TRADING PLATFORM
   Enhanced Design with Better Typography & Colors
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===================================
   CSS VARIABLES - LIGHT & DARK THEME
   =================================== */
:root {
    /* Light Theme Colors */
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-body: #333333;
    --deep-blue: #0d1b2a;
    --accent-blue: #1b4965;
    --border-color: #e5e5e5;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --error-red: #EF4444;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    
    /* Theme Variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #ffffff;
    --text-color: #333333;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-text: #333333;
    --sidebar-bg: #ffffff;
    --sidebar-text: #333333;
    --footer-bg: #0a0a0a;
    --footer-text: #ffffff;
}

/* Dark Theme Colors - Improved Contrast */
html[data-theme="dark"] {
    --bg-primary: #0a0e1a;
    --bg-secondary: #141827;
    --bg-tertiary: #1f2937;
    --text-color: #ffffff;
    --text-muted: #a8b3cf;
    --text-secondary: #cbd5e1;
    --border: #2d3748;
    --card-bg: #141827;
    --nav-bg: rgba(10, 14, 26, 0.95);
    --nav-text: #ffffff;
    --sidebar-bg: #141827;
    --sidebar-text: #ffffff;
    --footer-bg: #000000;
    --footer-text: #ffffff;
    --text-body: #e2e8f0;
    --bg-white: #0a0e1a;
    --bg-light: #141827;
    --border-color: #2d3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 17px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Prevent horizontal overflow globally */
.container,
.container-fluid,
section,
.row {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* ===================================
   MODERN PRELOADER - Synergy Holdings Style
   =================================== */
.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-container {
    position: relative;
    text-align: center;
    z-index: 10;
}

.preloader-logo-container {
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-logo {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.preloader-tagline {
    color: #999;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.circular-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.circle-outer {
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: rotate 2s linear infinite;
}

.circle-inner {
    border: 3px solid transparent;
    border-top-color: #ffffff;
    border-right-color: #999999;
    animation: rotate 1.5s linear infinite reverse;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.preloader-loading-text {
    color: #999;
    font-size: 16px;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-bar {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #666666 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100vh) translateX(50px);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    padding: 1.2rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: -0.5px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body) !important;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: var(--primary-black);
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   HERO SECTION - FULL BACKGROUND
   =================================== */
.hero-fullbg {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.93) 0%, rgba(27, 73, 101, 0.88) 100%);
    z-index: 1;
}

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

.hero-main-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: -3px;
}

.hero-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-lead-text {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-hero-cta {
    background: #ffffff;
    color: var(--primary-black);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    color: var(--primary-black);
}

.hero-trust-section {
    margin-top: 5rem;
}

.trust-label-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.trust-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo-item {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.trust-logo-item:hover {
    opacity: 1;
}

.trust-logo-item svg {
    fill: #ffffff;
    color: #ffffff;
}

.hero-bottom-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-bottom-curve svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================================
   SERVICES GRID SECTION
   =================================== */
.services-grid-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.section-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.section-arrow {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-card-large {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card-content {
    padding: 3.5rem;
    flex: 1;
}

.service-card-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-card-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-card-text {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-card-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 12px;
}

.service-card-image {
    height: 280px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-large:hover .service-card-image img {
    transform: scale(1.05);
}

/* ===================================
   FEATURES LIST SECTION
   =================================== */
.features-list-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-main-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.features-subheading {
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: start;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-list-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

.feature-icon {
    flex-shrink: 0;
}

/* ===================================
   STATS BANNER
   =================================== */
.stats-banner-section {
    padding: 100px 0;
    background: var(--deep-blue);
    color: #ffffff;
}

.stat-box {
    padding: 2rem;
}

.stat-number-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.stat-label-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===================================
   3D CREDIT CARDS - GLITTERY & BEAUTIFUL
   =================================== */
.credit-cards-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.credit-cards-showcase {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.card-3d {
    position: absolute;
    width: 420px;
    height: 260px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-3d:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
}

/* Virtual Card - Blue Gradient */
.card-virtual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 50px;
    left: -50px;
    transform: rotate(-8deg);
    z-index: 1;
}

.card-virtual:hover {
    transform: rotate(-8deg) translateY(-15px) scale(1.02);
}

/* Metal Card - Dark Gradient */
.card-metal {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

/* Black Elite Card - Gold Gradient */
.card-black {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    top: 50px;
    right: -50px;
    transform: rotate(8deg);
    z-index: 1;
}

.card-black:hover {
    transform: rotate(8deg) translateY(-15px) scale(1.02);
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #f4d03f 0%, #f5b041 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
}

.card-chip-gold {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.card-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-logo-gold {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.card-number {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
}

.card-number-gold {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #FFD700;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.card-holder,
.card-expiry {
    display: inline-block;
}

.card-holder {
    margin-right: 60px;
}

.card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.card-label-gold {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 215, 0, 0.7);
    margin-bottom: 5px;
}

.card-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.95);
}

.card-name-gold {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.card-date {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.card-date-gold {
    font-size: 14px;
    font-weight: 700;
    color: #FFD700;
}

.section-title-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.card-tier-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.card-tier-item {
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-tier-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-tier-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.card-tier-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.8rem;
}

.card-tier-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   COPY TRADING SECTION
   =================================== */
.copy-trading-section {
    padding: 120px 0;
    background: #ffffff;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    font-size: 1.15rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-color);
}

.feature-checklist li:last-child {
    border-bottom: none;
}

.feature-checklist svg {
    flex-shrink: 0;
}

/* ===================================
   ASSET MANAGEMENT SECTION
   =================================== */
.asset-management-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-title-xlarge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2.5px;
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--text-body);
    margin-bottom: 4rem;
}

.asset-class-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.asset-class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.asset-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.asset-class-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.asset-class-description {
    font-size: 1.08rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===================================
   TRADING TOOLS SECTION
   =================================== */
.trading-tools-section {
    padding: 120px 0;
    background: #ffffff;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.tool-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.tool-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.tool-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.tool-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    margin: 0;
}

/* ===================================
   SOCIAL IMPACT SECTION
   =================================== */
.social-impact-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.impact-stats-mini {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.impact-stat {
    text-align: left;
}

.impact-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--text-body);
    font-weight: 500;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: 120px 0;
    background: #ffffff;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #FFA500;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
}

.testimonial-role {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===================================
   SECURITY SECTION
   =================================== */
.security-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.security-features-list {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
}

.security-features-list li {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.security-features-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.security-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.security-feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.security-feature-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    margin: 0;
}

/* ===================================
   MOBILE APP SECTION
   =================================== */
.mobile-app-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.app-feature {
    display: flex;
    align-items: start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.app-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.app-feature-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.app-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.app-feature-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.app-download-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-store-badge {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta-section {
    padding: 120px 0;
    background: var(--primary-black);
}

.final-cta-box {
    padding: 5rem;
    background: var(--secondary-black);
    border-radius: 30px;
}

.final-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.final-cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.btn-final-cta {
    background: #ffffff;
    color: var(--primary-black);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-final-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: var(--primary-black);
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
}

.cookie-consent.show {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    max-height: 500px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.cookie-description {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--accent-blue);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary-black);
    color: #ffffff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-body);
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
    border-color: var(--primary-black);
    color: var(--primary-black);
}

.btn-cookie-settings {
    background: transparent;
    border: none;
    padding: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.btn-cookie-settings:hover {
    color: var(--primary-black);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 5rem 0 2rem;
}

.footer h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer h6 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff !important;
}

/* ===================================
   UTILITIES & RESPONSIVE
   =================================== */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.15rem;
    border-radius: 10px;
}

.btn-dark {
    background: var(--primary-black);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--secondary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rounded-4 {
    border-radius: 24px !important;
}

.shadow-lg {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 991px) {
    .hero-main-heading {
        font-size: 4rem;
    }
    
    .section-main-title,
    .section-title-large,
    .features-main-heading {
        font-size: 3rem;
    }
    
    .section-title-xlarge {
        font-size: 3.5rem;
    }
    
    .credit-cards-showcase {
        height: 400px;
    }
    
    .card-3d {
        width: 350px;
        height: 220px;
        padding: 25px;
    }
    
    .final-cta-box {
        padding: 3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
    
    /* Prevent all horizontal overflow on mobile */
    body,
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-main-heading {
        font-size: 2.5rem;
        letter-spacing: -1.5px;
    }
    
    .hero-lead-text {
        font-size: 1.1rem;
    }
    
    .section-main-title,
    .section-title-large,
    .features-main-heading {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .section-title-xlarge {
        font-size: 2.8rem;
    }
    
    .stat-number-big {
        font-size: 3rem;
    }
    
    /* Desktop-like 3D Cards Stacking on Mobile */
    .credit-cards-showcase {
        height: 420px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 1000px;
        margin: 2rem auto;
    }
    
    .card-3d {
        position: absolute !important;
        width: 85%;
        max-width: 340px;
        height: 210px;
        padding: 20px;
        margin: 0 auto;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
    
    /* Maintain desktop stacking positions - scaled down */
    .card-virtual {
        top: 40px !important;
        left: -30px !important;
        transform: rotate(-6deg) !important;
        z-index: 1 !important;
    }
    
    .card-virtual:hover,
    .card-virtual:active {
        transform: rotate(-6deg) translateY(-10px) scale(1.02) !important;
    }
    
    .card-metal {
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 2 !important;
    }
    
    .card-metal:hover,
    .card-metal:active {
        transform: translateX(-50%) translateY(-10px) scale(1.02) !important;
    }
    
    .card-black {
        top: 40px !important;
        right: -30px !important;
        left: auto !important;
        transform: rotate(6deg) !important;
        z-index: 1 !important;
    }
    
    .card-black:hover,
    .card-black:active {
        transform: rotate(6deg) translateY(-10px) scale(1.02) !important;
    }
    
    .card-number,
    .card-number-gold {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .card-holder,
    .card-expiry {
        font-size: 11px;
    }
}
    
    .card-logo,
    .card-logo-gold {
        font-size: 18px;
    }
    
    .service-card-content {
        padding: 2rem;
    }
    
    .service-card-subtitle {
        font-size: 1.8rem;
    }
    
    .final-cta-box {
        padding: 2rem;
    }
    
    .final-cta-title {
        font-size: 2.5rem;
    }
    
    .impact-stats-mini {
        flex-direction: column;
        gap: 2rem;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===================================
   MODERN NAVBAR WITH SMOOTH ANIMATIONS
   =================================== */
.navbar-modern {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.navbar-modern.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-modern.navbar-hidden {
    transform: translateY(-100%);
}

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

.navbar-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.brand-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .brand-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--nav-text);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.5px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link-modern {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: #667eea;
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.theme-icon {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

html[data-theme="dark"] .sun-icon {
    display: none;
}

html[data-theme="dark"] .moon-icon {
    display: block;
}

/* Modern Buttons */
.btn-modern-primary {
    background: #2467e3;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-outline-modern {
    background: transparent;
    color: var(--text-color);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-modern:hover {
    background: var(--bg-secondary);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line:nth-child(1) {
    width: 20px;
}

.mobile-menu-toggle:hover .hamburger-line:nth-child(3) {
    width: 20px;
}

/* ===================================
   INSANE MOBILE SIDEBAR NAVIGATION
   =================================== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
}

.mobile-sidebar.active {
    pointer-events: all;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sidebar.active .sidebar-overlay {
    opacity: 1;
}

/* Sidebar Panel */
.sidebar-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 380px;
    height: 100%;
    background: var(--sidebar-bg);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active .sidebar-panel {
    transform: translateX(0);
}

/* Sidebar Header */
.sidebar-header {
    padding: 24px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: var(--sidebar-bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sidebar-text);
}

.sidebar-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.sidebar-logo-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sidebar-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.sidebar-close:hover {
    background: var(--bg-tertiary);
    transform: rotate(90deg);
}

/* User Profile Section */
.sidebar-profile {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.profile-info {
    margin-top: 8px;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--sidebar-text);
    margin-bottom: 4px;
}

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

.profile-badge {
    margin-top: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 16px 0;
}

.nav-section {
    padding: 0 16px;
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding: 0 12px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    margin: 0;
}

.nav-link-sidebar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--sidebar-text);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transition: width 0.3s ease;
}

.nav-link-sidebar:hover::before,
.nav-link-sidebar.active::before {
    width: 100%;
}

.nav-link-sidebar:hover {
    background: var(--bg-secondary);
    color: #667eea;
    transform: translateX(4px);
}

.nav-link-sidebar.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #667eea;
    font-weight: 600;
}

.nav-link-sidebar.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.nav-link-sidebar.highlight:hover {
    transform: translateX(4px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.nav-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Sidebar Theme Toggle */
.sidebar-theme-toggle {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.theme-toggle-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-option:hover {
    background: var(--bg-tertiary);
}

.theme-toggle-icon {
    width: 20px;
    height: 20px;
    color: var(--text-color);
}

.theme-toggle-info {
    flex: 1;
}

.theme-toggle-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sidebar-text);
    margin-bottom: 2px;
}

.theme-toggle-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.theme-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.theme-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    border-radius: 34px;
    transition: all 0.3s ease;
}

.theme-toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle-switch input:checked + label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-toggle-switch input:checked + label:before {
    transform: translateX(22px);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--sidebar-bg);
}

.sidebar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sidebar-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-social a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.sidebar-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   MODERN FOOTER WITH DARK MODE
   =================================== */
.footer-modern {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 100px;
    transition: background 0.3s ease;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--footer-text);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

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

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: var(--footer-text);
    font-weight: 500;
}

/* ===================================
   MAIN CONTENT ADJUSTMENTS
   =================================== */
.main-content {
    padding-top: 80px;
    transition: background 0.3s ease;
}

/* ===================================
   RESPONSIVE MOBILE SIDEBAR
   =================================== */
@media (max-width: 991px) {
    .navbar-menu {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .sidebar-panel {
        width: 100%;
        max-width: 100%;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   DARK MODE ENHANCEMENTS
   Better Contrast & Readability
   =================================== */
html[data-theme="dark"] .section-description,
html[data-theme="dark"] .hero-lead-text,
html[data-theme="dark"] p {
    color: #cbd5e1;
}

html[data-theme="dark"] .section-main-title,
html[data-theme="dark"] .section-title-large,
html[data-theme="dark"] .hero-main-heading,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 {
    color: #ffffff;
}

html[data-theme="dark"] .card-tier-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

html[data-theme="dark"] .feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

html[data-theme="dark"] .feature-card h4 {
    color: #ffffff;
}

html[data-theme="dark"] .stat-label,
html[data-theme="dark"] .stat-description {
    color: #a8b3cf;
}

html[data-theme="dark"] .card-tier-desc {
    color: #cbd5e1;
}

html[data-theme="dark"] .accordion-button {
    color: #ffffff !important;
}

html[data-theme="dark"] .accordion-body {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .final-cta-box {
    background: var(--bg-secondary);
}

html[data-theme="dark"] .cookie-consent {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

html[data-theme="dark"] .cookie-title {
    color: #ffffff;
}

html[data-theme="dark"] .cookie-description {
    color: #cbd5e1;
}
