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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

body.menu-open {
    overflow: hidden;
}

:root {
    --primary-color: #161a3c;
    --primary-dark: #0b0e1b;
    --secondary-color: #d9232a;
    --accent-color: #d9232a;
    --accent-red: #d9232a;
    --logo-navy: #ffffff;
    --logo-red: #d9232a;
    --brand-crimson: #d9232a;
    --brand-navy: #161a3c;
    
    /* High contrast text tokens for dark theme */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --bg-primary: #0b0e1b;
    --bg-secondary: #13182e;
    --bg-card: #13182e;
    --border-color: rgba(255, 255, 255, 0.12);
    
    /* Contrast tokens for explicit light containers */
    --text-on-light: #0f172a;
    --text-muted-on-light: #475569;
    --gradient-start: #0b0e1b;
    --gradient-end: #161a3c;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Premium Dashboard Extensions */
    --premium-green: #10b981;
    --premium-red: #d9232a;
    --premium-blue: #161a3c;
    --premium-gold: #d9232a;
    --premium-purple: #8b5cf6;
    --premium-orange: #f59e0b;
    --premium-slate: #1e293b;
    --dashboard-bg: #fdfdfd;
}

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

/* Navigation */
.navbar {
    background: rgba(11, 14, 27, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 14, 27, 0.98) !important;
    border-bottom: 1px solid rgba(217, 35, 42, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 16px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo span {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Override link colors for buttons in navigation */
.nav-menu .btn {
    color: inherit !important;
    text-decoration: none !important;
}

.nav-menu .btn.btn-outline {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.nav-menu .btn.btn-outline:hover {
    color: #0b172a !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}

.nav-menu .btn.btn-primary {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
}

.nav-menu .btn.btn-primary.white-on-dark {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
}

.nav-menu .btn.btn-primary.white-on-dark:hover {
    background: var(--bg-primary) !important;
    color: var(--primary-color) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
    background: none;
    border: none;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff !important;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary.white-on-dark {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
}

.btn-primary.white-on-dark:hover {
    background: var(--bg-primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-outline:hover {
    background: #c5a059 !important;
    color: #0b172a !important;
    border-color: #c5a059 !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #334155 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.hero-stat p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
}

.hero-image {
    position: relative;
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-visual img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
}

.card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.premium-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    display: block;
}

.service-card img:not([src]),
.service-card img[src=""],
.service-card img[src$=".undefined"] {
    content: "📊";
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 3rem;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 1.5rem 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0 1.5rem 1.5rem;
    transition: gap 0.3s ease;
}

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

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

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

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

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    z-index: -2;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.05;
    z-index: -1;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

/* Executive Contact & Presence Section */
.global-presence-section {
    padding: 7rem 0;
    background: radial-gradient(circle at 50% 10%, #161a3c 0%, #080a14 75%);
    border-top: 1px solid rgba(217, 35, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.global-presence-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 35, 42, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.executive-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .executive-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.executive-contact-panel {
    background: linear-gradient(145deg, rgba(19, 24, 46, 0.95), rgba(11, 14, 27, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.executive-contact-panel.highlight-panel {
    border-color: rgba(217, 35, 42, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(217, 35, 42, 0.05);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(11, 14, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: rgba(217, 35, 42, 0.4);
    transform: translateY(-2px);
    background: rgba(19, 24, 46, 0.8);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(217, 35, 42, 0.2) 0%, rgba(217, 35, 42, 0.05) 100%);
    border: 1px solid rgba(217, 35, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-form-group {
    margin-bottom: 1.25rem;
}

.contact-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.contact-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-input-wrapper i {
    position: absolute;
    left: 1.1rem;
    color: #94a3b8;
    font-size: 1rem;
    z-index: 1;
}

.contact-input-wrapper input,
.contact-input-wrapper select,
.contact-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    background: #0b0e1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form-group textarea {
    padding: 0.85rem 1rem;
}

.contact-input-wrapper input:focus,
.contact-input-wrapper select:focus,
.contact-form-group textarea:focus {
    border-color: #d9232a;
    box-shadow: 0 0 0 3px rgba(217, 35, 42, 0.2);
    background: #13182e;
}

.global-hubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
    .global-hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .global-hubs-grid {
        grid-template-columns: 1fr;
    }
}

.hub-mini-card {
    background: rgba(19, 24, 46, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.hub-mini-card:hover {
    border-color: rgba(217, 35, 42, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hub-flag-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.hub-flag-title span {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.hub-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 10px;
}
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.875rem;
}

.contact-details span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    display: block;
    margin-top: 0.25rem;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-start);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #3b82f6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3b82f6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
}

/* Service Modal */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.service-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    margin-bottom: 2rem;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-description h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.modal-description h3:first-child {
    margin-top: 0;
}

.modal-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-description ul,
.modal-description ol {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.5rem;
}

.modal-description li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 1.5rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        bottom: 0 !important;
        flex-direction: column;
        background: rgba(11, 15, 25, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        width: 80% !important;
        max-width: 320px !important;
        text-align: left;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        padding: 5rem 1.5rem 2rem 1.5rem !important;
        margin: 0 !important;
        z-index: 1005 !important;
        height: 100vh !important;
        overflow-y: auto;
        align-items: stretch !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-menu li {
        margin: 0.75rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        display: block;
        color: #e2e8f0 !important;
    }
    
    .nav-menu .btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1006;
        padding: 0.5rem;
    }
        z-index: 1002;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .hero-stat {
        padding: 0.75rem;
    }
    
    .hero-stat h3 {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-visual img {
        max-width: 300px;
    }
    
    .floating-card {
        display: none;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-stat {
        padding: 0.5rem;
    }
    
    .hero-stat h3 {
        font-size: 1rem;
    }
    
    .hero-stat p {
        font-size: 0.75rem;
    }
    
    .services {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        border-radius: 12px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .auth-content {
        margin: 1rem;
        border-radius: 16px;
        min-height: auto;
    }
    
    .auth-right {
        padding: 1.5rem;
    }
    
    .auth-form-container {
        max-width: 100%;
    }
    
    .auth-header h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #334155 100%);
    z-index: -2;
}

/* Ensure no overlay on auth pages */
.auth-container .hero-overlay,
.auth-container .contact-overlay {
    display: none !important;
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #13182e;
    border: 1px solid rgba(217, 35, 42, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    min-height: 600px;
    color: #ffffff;
}

.auth-left {
    background: linear-gradient(135deg, #0b0e1b 0%, #161a3c 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-brand i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.auth-brand h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.auth-brand p {
    opacity: 0.9;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.auth-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-feature i {
    font-size: 1.5rem;
    color: #f87171;
    width: 40px;
    text-align: center;
}

.auth-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.auth-feature p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.auth-benefits {
    flex: 1;
}

.auth-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f87171;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-item i {
    color: #34d399;
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.benefit-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.auth-stat {
    text-align: center;
    padding: 1rem;
    background: #0b0e1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.auth-stat h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f87171;
    margin-bottom: 0.25rem;
}

.auth-stat p {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin: 0;
}

.auth-testimonial {
    background: #0b0e1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.auth-testimonial i {
    font-size: 2rem;
    color: #f87171;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.auth-testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.testimonial-author span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.auth-right {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #13182e;
    color: #ffffff;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #cbd5e1;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: #cbd5e1;
    font-size: 1rem;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 12px 16px 12px 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #0b0e1b;
    color: #ffffff;
}

.input-group input:focus {
    outline: none;
    border-color: #d9232a;
    box-shadow: 0 0 0 3px rgba(217, 35, 42, 0.2);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #f87171;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 0.25rem;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #cbd5e1;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: #0b0e1b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #d9232a;
    border-color: #d9232a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.forgot-link {
    color: #f87171;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #d9232a;
}

.btn-full {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #d9232a 0%, #b8161c 100%);
    border: none;
    font-weight: 700;
    color: white;
    padding: 0.85rem;
    border-radius: 10px;
    cursor: pointer;
}

.btn-full:hover {
    box-shadow: 0 10px 25px rgba(217, 35, 42, 0.4);
    transform: translateY(-1px);
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: #13182e;
    padding: 0 1rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.auth-footer a {
    color: #f87171;
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.demo-accounts {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.demo-accounts h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-accounts h4 i {
    color: var(--primary-color);
}

.demo-account {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.security-info {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.security-info h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-info li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.security-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Responsive Design for Auth Pages */
@media (max-width: 768px) {
    .auth-content {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Dashboard Styles */
.dashboard {
    background: #0b0e1b;
    color: #f8fafc;
    min-height: 100vh;
}

.dashboard-header {
    background: rgba(11, 14, 27, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(217, 35, 42, 0.25);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 80px);
}

.sidebar {
    background: #080a14;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.25rem;
    height: calc(100vh - 73px);
    position: sticky;
    top: 73px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.sidebar-menu a:hover {
    background: rgba(217, 35, 42, 0.12);
    color: #ffffff;
}

.sidebar-menu a.active {
    background: linear-gradient(135deg, #d9232a 0%, #b8161c 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(217, 35, 42, 0.35);
}

.sidebar-menu a.active i {
    color: #ffffff;
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
    color: #94a3b8;
}

.main-content {
    padding: 2rem;
    background: #0b0e1b;
}

.welcome-card {
    background: #13182e;
    border: 1px solid rgba(217, 35, 42, 0.2);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-bottom: 2rem;
    color: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
    color: #f8fafc;
}

.stat-card i {
    font-size: 2rem;
    color: #d9232a;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    color: #94a3b8;
}

/* Admin Dashboard Table */
.admin-table {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.admin-table th {
    background: #080a14;
    color: #ffffff;
    font-weight: 700;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-edit {
    background: #10b981;
    color: white;
}

.btn-delete {
    background: #d9232a;
    color: white;
}

.btn-view {
    background: #161a3c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.premium-card {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #f8fafc;
}

.premium-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(217, 35, 42, 0.3);
}

.asset-pill {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.asset-pill.crypto { background: rgba(139, 92, 246, 0.15); color: #c084fc; }
.asset-pill.stocks { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.asset-pill.bonds { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.asset-pill.real-estate { background: rgba(217, 35, 42, 0.15); color: #f87171; }
.asset-pill.agriculture { background: rgba(139, 195, 74, 0.15); color: #a3e635; }

.portfolio-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    background: #13182e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    color: #f8fafc;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d9232a;
}

.portfolio-card.crypto::before { background: #8b5cf6; }
.portfolio-card.stocks::before { background: #10b981; }
.portfolio-card.bonds::before { background: #3b82f6; }
.portfolio-card.real-estate::before { background: #d9232a; }
.portfolio-card.agriculture::before { background: #8bc34a; }

.transaction-list-v2 {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.transaction-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.transaction-row:last-child {
    border-bottom: none;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.icon-box.buy { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-box.sell { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.icon-box.deposit { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-box.withdraw { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

/* Message & Support Enhancements */
.message-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.message-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.message-card.unread {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-secondary);
}

.message-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.message-status.pending { background: #fef3c7; color: #92400e; }
.message-status.replied { background: #dcfce7; color: #166534; }
.message-status.closed { background: #f1f5f9; color: #475569; }

/* Dashboard Mobile Responsiveness */
@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        position: relative;
        overflow-x: hidden;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
        padding-top: 5rem;
        will-change: transform;
    }

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

    .main-content {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        position: sticky;
        top: 0;
        z-index: 999;
        padding: 0.65rem 0;
    }

    .main-content {
        padding: 1.25rem 1rem !important;
    }

    .dashboard-header .container {
        padding: 0 1rem;
    }

    .dashboard-header h2 span {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Stack split screens vertically */
    #messages-section > div[style*="grid-template-columns"],
    #profile-section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .premium-card {
        padding: 1.5rem !important;
    }
    
    .transaction-row {
        padding: 1rem 0;
    }
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #0f172a;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    #detailedAssetsList {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .main-content {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* Specific Portfolio Card Fix for Overflow */
@media (max-width: 480px) {
    .portfolio-card > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .portfolio-card > div:first-child > div:last-child {
        text-align: left !important;
    }

    .portfolio-card [style*="justify-content: space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
}

.dashboard-content {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    #availableBalance {
        font-size: 2.5rem !important;
    }
}

/* Asset Allocation Responsive Styles */
.asset-allocation-scroll-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.asset-allocation-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.asset-allocation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    min-width: 900px; /* Force minimum width to enable scrolling on mobile */
}

@media (min-width: 1024px) {
    .asset-allocation-grid {
        min-width: auto; /* Reset minimum width on desktop */
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1023px) {
    .asset-allocation-grid {
        display: flex; /* Better for horizontal scrolling on mobile */
        min-width: max-content;
        padding: 0 1rem;
    }
    .asset-allocation-grid .premium-card {
        min-width: 180px;
        flex-shrink: 0;
    }
}

/* Strategy Summary Responsive Styles */
@media (max-width: 768px) {
    .strategy-summary-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
        padding: 1.25rem !important;
    }
    
    .strategy-summary-info {
        gap: 1.5rem !important;
        width: 100%;
        justify-content: space-between;
    }

    .strategy-summary-header .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Modern UI Design System Enhancements
   ========================================================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-status.active, .badge-status.approved, .badge-status.completed {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-status.pending, .badge-status.pending_admin {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-status.rejected, .badge-status.inactive, .badge-status.cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.modern-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #e2e8f0;
}

.modern-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.925rem;
    vertical-align: middle;
}

.modern-table tr:hover td {
    background: #f8fafc;
}

.btn-modern-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Ticker & Yield Calculator Component Styles */
.ticker-bar {
    background: #0b1329;
    color: #94a3b8;
    font-size: 0.8rem;
    overflow: hidden;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker-content {
    display: flex;
    gap: 2.5rem;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ticker-val {
    font-weight: 600;
}
.ticker-val.up { color: #10b981; }
.ticker-val.down { color: #ef4444; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.calc-widget-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .calc-widget-card {
        padding: 1.5rem;
    }
}
}

.btn-modern-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Mobile Sidebar Backdrop Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
