/* Main CSS for Minersurb - Professional Investment Platform */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== PROFESSIONAL COLOR SCHEME ===== */
:root {
    /* Base Color */
    --color-base: #212529;        /* Deep charcoal */
    
    /* Primary Color Scheme */
    --primary-color: #3b82f6;     /* Bright blue */
    --secondary-color: #8b5cf6;   /* Purple */
    --accent-color: #06b6d4;      /* Cyan */
    
    /* Support Colors */
    --success-color: #10b981;     /* Emerald green */
    --warning-color: #f59e0b;     /* Amber */
    --danger-color: #ef4444;      /* Red */
    --info-color: #0ea5e9;        /* Sky blue */
    
    /* Background Colors */
    --bg-dark: #0f172a;           /* Dark blue */
    --bg-darker: #020617;         /* Darker blue */
    --bg-card: rgba(30, 41, 59, 0.5);
    --bg-card-hover: rgba(30, 41, 59, 0.7);
    
    /* Text Colors */
    --text-primary: #f8fafc;      /* Lightest gray */
    --text-secondary: #cbd5e1;    /* Light gray */
    --text-muted: #94a3b8;        /* Medium gray */
    --text-dark: #212529;         /* For dark backgrounds */
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-success: linear-gradient(135deg, var(--success-color), var(--accent-color));
    --gradient-warning: linear-gradient(135deg, var(--warning-color), #f97316);
    --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
    
    /* Border Colors */
    --border-color: rgba(148, 163, 184, 0.2);
    --border-hover: rgba(148, 163, 184, 0.4);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 50px rgba(59, 130, 246, 0.3);
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===== FIXED BACKGROUND IMAGE WITH REDUCED OPACITY ===== */
body.body--home {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main background with image - REDUCED OPACITY */
body.body--home::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.8)), /* Reduced opacity */
        url('../img/bg-minersurb.png') center/cover no-repeat fixed;
    z-index: -10;
}

/* Overlay gradient - REDUCED OPACITY */
body.body--home::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%), /* Reduced opacity */
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%), /* Reduced opacity */
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 50%); /* Reduced opacity */
    z-index: -9;
    pointer-events: none;
}

/* Vanta.js container */
.vanta-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
    opacity: 0.4;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-darker);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== UPDATED HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Increased z-index */
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(2, 6, 23, 0.98);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem; /* Reduced gap */
}

/* Bigger Logo and Company Name */
.header__logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* Increased gap */
}

.header__logo img {
    width: 60px !important; /* Bigger logo */
    height: 60px !important; /* Bigger logo */
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4); /* Enhanced glow */
}

.header__company-name {
    font-size: 1.5rem !important; /* Bigger company name */
    font-weight: 900 !important; /* Bolder */
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Auth Buttons Styles */
.header__auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.header__auth-btn--login {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.header__auth-btn--login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header__auth-btn--signup {
    background: var(--gradient-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.header__auth-btn--signup:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header__auth-btn--dashboard {
    background: var(--gradient-success);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.625rem 1.25rem;
}

.header__auth-btn--dashboard:hover {
    background: linear-gradient(135deg, #059669, #06b6d4);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hamburger Menu Button */
.header__btn {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    order: 1; /* Force to left side on mobile */
}

.header__btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 4px auto;
    transition: var(--transition-normal);
    border-radius: 1px;
}

.header__btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__btn.active span:nth-child(2) {
    opacity: 0;
}

.header__btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation adjustments */
.header__nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Reduced gap */
    margin-left: auto; /* Push nav to center */
    margin-right: 2rem; /* Space before auth buttons */
}

.header__nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

.header__nav a:hover {
    color: var(--text-primary);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__nav a.active {
    color: var(--primary-color);
}

.header__nav a.active::after {
    width: 100%;
}

.header__nav a i.fa-circle {
    font-size: 0.375rem;
    color: var(--primary-color);
}

/* Remove old profile button styles */
.header__profile {
    display: none;
}

/* Market Snapshot margin adjustment */
.market-snapshot {
    margin-top: 100px !important; /* Increased for bigger header */
}

/* ===== MOBILE VIEW ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .header__nav {
        gap: 1rem;
        margin-right: 1rem;
    }
    
    .header__auth-btn span {
        display: none; /* Hide text on smaller screens */
    }
    
    .header__auth-btn {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .header__auth-btn i {
        margin: 0 !important;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Burger menu on left */
    .header__btn {
        display: block;
        order: 1;
        margin-right: auto;
    }
    
    .header__logo {
        order: 2;
        margin-left: 0;
        flex: 1;
        justify-content: center;
    }
    
    .header__company-name {
        font-size: 1.25rem !important;
    }
    
    .header__logo img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: left var(--transition-normal);
        z-index: 999;
        gap: 0;
        margin: 0;
    }
    
    .header__nav.active {
        left: 0;
    }
    
    .header__nav li {
        width: 100%;
    }
    
    .header__nav a {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }
    
    .header__nav a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
    
    /* Auth buttons on right */
    .header__auth {
        order: 3;
        margin-left: auto;
        gap: 0.5rem;
    }
    
    .header__auth-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-md);
    }
    
    .header__auth-btn i {
        margin: 0;
        font-size: 1rem;
    }
    
    .header__auth-btn span {
        display: none;
    }
    
    /* Adjust header content order */
    .header__content {
        gap: 0.5rem;
    }
    
    /* Market snapshot adjustment for mobile */
    .market-snapshot {
        margin-top: 90px !important;
    }
}

@media (max-width: 480px) {
    .header__company-name {
        font-size: 1.1rem !important;
        display: none; /* Hide on very small screens if needed */
    }
    
    .header__logo img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .header__auth-btn {
        width: 36px;
        height: 36px;
    }
    
    .market-snapshot {
        margin-top: 85px !important;
    }
}

/* Header scrolled state adjustments */
.header.scrolled .header__logo img {
    width: 50px !important;
    height: 50px !important;
    transition: all var(--transition-normal);
}

.header.scrolled .header__company-name {
    font-size: 1.25rem !important;
    transition: all var(--transition-normal);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-darker), transparent);
    z-index: 1;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--bg-darker));
    z-index: 1;
}

.testimonials-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    animation: slideTestimonials 180s linear infinite;
    width: max-content;
    gap: 2rem;
    padding: 0.5rem 0;
}

.testimonial-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    transition: all var(--transition-normal);
    min-width: 280px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.testimonial-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-profit {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-time {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes slideTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.hero__title strong {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero__title strong::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.modern-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero__btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.hero__btn.modern-btn {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__btn.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero__btn--light {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.hero__btn--light:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero__content--second {
    position: relative;
}

.cta.modern-cta {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta.modern-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.cta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cta__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.live-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cta__text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta__text b {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero register section */
.hero__register {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero__register .text-muted {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== MODERN STATS SECTION ===== */
.modern-stats-section {
    padding: 4rem 0;
}

.modern-stats {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    backdrop-filter: blur(10px);
}

.modern-stats:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.modern-stats__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.stats__value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stats__name {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.modern-stats__trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.trend-up {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ===== FEATURES SECTION - MOBILE SPACING FIXED ===== */
.features-section.section {
    padding: 4rem 0;
}

.features-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.features-grid > div {
    margin-bottom: 1.5rem;
}

.feature.modern-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.feature.modern-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.modern-feature__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modern-feature__badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.feature__text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.modern-feature__footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modern-feature__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--success-color);
    font-weight: 600;
}

/* Features CTA */
.feature-cta {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1), 
        rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

/* Mobile fixes for features */
@media (max-width: 768px) {
    .features-section.section {
        padding: 3rem 0;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .features-grid > div {
        margin-bottom: 1rem;
    }
    
    .feature.modern-feature {
        padding: 1.5rem;
    }
    
    .feature__title {
        font-size: 1.25rem;
    }
    
    .feature__text {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .features-grid > div {
        margin-bottom: 0.75rem;
    }
    
    .feature.modern-feature {
        padding: 1.25rem;
    }
    
    .modern-feature__header {
        margin-bottom: 1rem;
    }
    
    .feature__text {
        margin-bottom: 1rem;
    }
    
    .modern-feature__footer {
        padding-top: 1rem;
    }
}

/* ===== ABOUT SECTION ===== */
.about-image-container {
    position: relative;
    padding: 20px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px; /* Reduced padding */
    background: linear-gradient(transparent, rgba(2, 6, 23, 0.9));
    backdrop-filter: blur(5px); /* Reduced blur */
    z-index: 2;
}

.about-stats {
    display: flex;
    gap: 20px; /* Reduced gap */
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

.about-stat {
    text-align: center;
    padding: 12px 15px; /* Reduced padding */
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    min-width: 100px; /* Reduced min-width */
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.about-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.about-stat-value {
    font-size: 2rem; /* Reduced from 2.5rem */
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.about-stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem; /* Reduced from 0.875rem */
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.about-content {
    padding-left: 30px;
}

.about-features {
    margin: 40px 0;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px; /* Reduced from 30px */
    padding: 18px; /* Reduced from 20px */
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: var(--border-hover);
}

.about-feature-icon {
    width: 50px; /* Reduced from 60px */
    height: 50px; /* Reduced from 60px */
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.25rem; /* Reduced from 1.5rem */
}

.about-feature-content h4 {
    font-size: 1.2rem; /* Reduced from 1.25rem */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px; /* Reduced from 10px */
}

.about-feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.about-achievements {
    margin-top: 30px; /* Reduced from 40px */
    padding: 20px; /* Reduced from 25px */
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1), 
        rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.achievement {
    display: flex;
    align-items: center;
    gap: 15px; /* Reduced from 20px */
}

.achievement-icon {
    width: 45px; /* Reduced from 50px */
    height: 45px; /* Reduced from 50px */
    background: var(--gradient-warning);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem; /* Reduced from 1.25rem */
}

.achievement-content h5 {
    font-size: 1.05rem; /* Reduced from 1.125rem */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.achievement-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem; /* Reduced from 0.95rem */
}

/* About section mobile fixes */
@media (max-width: 768px) {
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .about-image-overlay {
        position: relative !important;
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 15px 0 0 0 !important;
    }
    
    .about-stats {
        position: relative !important;
        top: 0 !important;
        background: rgba(255, 255, 255, 0.03) !important;
        padding: 15px !important;
        border-radius: var(--radius-lg) !important;
        border: 1px solid var(--border-color) !important;
        margin-top: 15px !important;
    }
    
    .about-stat {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* ===== INVESTMENT PLANS SECTION - SPACING FIXED ===== */
.plans-section.section {
    padding: 4rem 0;
}

.plans-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plans-grid > div {
    margin-bottom: 1.5rem;
}

.plan-card.modern-plan {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    backdrop-filter: blur(10px);
    position: relative;
    margin-bottom: 0;
}

.plan-card.modern-plan:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    background: var(--bg-card-hover);
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-range {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
}

.plan-details {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.daily-profit {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-duration {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.plan-action {
    margin-top: 2rem;
}

.plan-action .btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.plan-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Popular Plan */
.popular-plan {
    position: relative;
    border: 2px solid var(--primary-color) !important;
    transform: scale(1.05);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.3),
        0 0 60px rgba(102, 126, 234, 0.1) !important;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* Desktop plans improvement */
@media (min-width: 992px) {
    .plans-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }
    
    .plans-grid > div {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .plan-card.modern-plan {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .plan-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .plan-action {
        margin-top: auto;
    }
}

/* Mobile fixes for plans */
@media (max-width: 768px) {
    .plans-section.section {
        padding: 3rem 0;
    }
    
    .plans-grid {
        gap: 1rem;
    }
    
    .plans-grid > div {
        margin-bottom: 1rem;
    }
    
    .plan-card.modern-plan {
        padding: 1.5rem;
    }
    
    .plan-header h3 {
        font-size: 1.25rem;
    }
    
    .daily-profit {
        font-size: 2rem;
    }
    
    .plan-details {
        margin: 1.5rem 0;
        padding: 1.25rem;
    }
    
    .popular-plan {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .plans-grid > div {
        margin-bottom: 0.75rem;
    }
    
    .plan-card.modern-plan {
        padding: 1.25rem;
    }
    
    .plan-header {
        margin-bottom: 1rem;
    }
    
    .plan-details {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .daily-profit {
        font-size: 1.75rem;
    }
    
    .plan-action {
        margin-top: 1.5rem;
    }
    
    .plan-action .btn {
        padding: 0.875rem 1.5rem;
    }
}

/* ===== LIVE CRYPTO MARKET SNAPSHOT (Moving Slide) ===== */
.market-snapshot {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95), 
        rgba(2, 6, 23, 0.98));
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 12px 0;
    margin-top: 100px; /* Account for bigger header */
    overflow: hidden;
    z-index: 999;
}

.market-snapshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

.market-snapshot-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
}

.market-snapshot-track {
    display: flex;
    animation: slideLeftToRight 100s linear infinite;
    width: max-content;
    gap: 40px;
    padding: 0 20px;
    align-items: center;
    height: 100%;
}

/* Reverse animation for seamless loop */
.market-snapshot-track:nth-child(2) {
    animation: slideLeftToRight 100s linear infinite;
    animation-delay: -50s;
}

@keyframes slideLeftToRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.market-snapshot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    min-width: 220px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.market-snapshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    transform: translateX(-100%);
}

.market-snapshot-item:hover::before {
    animation: slideShimmer 1s ease;
}

.market-snapshot-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.crypto-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.crypto-info {
    flex: 1;
    min-width: 0;
}

.crypto-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.crypto-symbol {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.crypto-fullname {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.crypto-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.price-change {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    min-width: 65px;
    text-align: center;
}

.price-change.positive {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(16, 185, 129, 0.1));
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.price-change.negative {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.2), 
        rgba(239, 68, 68, 0.1));
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Market controls */
.market-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.market-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 14px;
}

.market-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Market status */
.market-status {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.market-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.market-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.market-status-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.market-source {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Loading state */
.market-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    z-index: 2;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

/* Pause animation on hover */
.market-snapshot-container:hover .market-snapshot-track {
    animation-play-state: paused;
}

/* Error state */
.market-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.market-error i {
    font-size: 24px;
    color: var(--danger-color);
    margin-bottom: 10px;
}

.market-error p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Animations */
@keyframes slideShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Data updated animation */
.data-updated {
    animation: highlightUpdate 1s ease;
}

@keyframes highlightUpdate {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== LIVE INVESTMENT STATISTICS ===== */
.modern-trading-signals {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.modern-trading-signals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(6, 182, 212, 0.05) 100%);
    z-index: -1;
}

.modern-signals-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.modern-signals-widget:hover {
    box-shadow: var(--shadow-xl), 0 0 60px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.modern-signals-widget__header {
    padding: 28px 32px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1), 
        rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.modern-signals-widget__header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-signals-widget__header h3 i {
    color: var(--primary-color);
    font-size: 20px;
}

.modern-signals-widget__controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.signal-filters {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.signal-filter {
    padding: 6px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.signal-filter:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.signal-filter.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.signal-update-time {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

#signalTime {
    color: var(--primary-color);
    font-weight: 700;
}

.modern-signals-widget__body {
    padding: 32px;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.signal-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.signal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all var(--transition-normal);
}

.signal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.signal-card--buy::before {
    background: var(--success-color);
}

.signal-card--sell::before {
    background: var(--danger-color);
}

.signal-card--hold::before {
    background: var(--warning-color);
}

.signal-card:hover::before {
    width: 6px;
    box-shadow: 0 0 20px currentColor;
}

.signal-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.signal-card__pair {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    letter-spacing: 0.3px;
}

.signal-card__type {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signal-card__type--buy {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.signal-card__type--sell {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.signal-card__type--hold {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.signal-card__body {
    margin-bottom: 20px;
}

.signal-card__price {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.signal-card__target {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.signal-card__target span {
    color: var(--text-primary);
    font-weight: 700;
    margin-left: 4px;
}

.signal-card__footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signal-card__time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.signal-card__profit {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.signal-card__profit--positive {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.signal-card__profit--negative {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

/* Stats Summary Grid */
.signals-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.signals-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.signals-stat:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
    border-color: var(--border-color);
}

.signals-stat__value {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signals-stat__value--success {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signals-stat__label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modern-signals-widget__footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    flex-wrap: wrap;
    gap: 20px;
}

.modern-signals-widget__footer .modern-btn {
    min-width: 180px;
}

/* Empty state for signals */
.signals-empty {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-muted);
}

.signals-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.signals-empty h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.signals-empty p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive styles for signals */
@media (max-width: 992px) {
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modern-signals-widget__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .modern-signals-widget__controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .signals-grid {
        grid-template-columns: 1fr;
    }
    
    .signals-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modern-signals-widget__footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modern-signals-widget__footer .modern-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .signals-stats {
        grid-template-columns: 1fr;
    }
    
    .modern-signals-widget__header,
    .modern-signals-widget__body,
    .modern-signals-widget__footer {
        padding: 20px;
    }
}

/* Animation for signal cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signal-card {
    animation: slideIn 0.5s ease-out;
}

/* Loading animation */
.signals-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(2, 6, 23, 0.95);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    position: relative;
    backdrop-filter: blur(20px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer__logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
}

.footer__tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer__currencies {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer__currencies i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer__currencies i:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.footer__nav a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer__content {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer__social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.75rem;
    }
    
    .modern-section-title h2 {
        font-size: 2.25rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .about-image {
        height: 400px;
    }
    
    .about-stats {
        gap: 15px;
    }
    
    .about-stat {
        min-width: 90px;
        padding: 10px 12px;
    }
    
    .about-stat-value {
        font-size: 1.75rem;
    }
    
    .about-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    .header__nav.active {
        left: 0;
    }
    
    .header__btn {
        display: block;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero__title {
        font-size: 2.25rem;
    }
    
    .hero__btns {
        flex-direction: column;
    }
    
    .hero__btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__register {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .modern-section-title h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .features-section.section,
    .plans-section.section {
        padding: 2.5rem 0;
    }
    
    .about-image {
        height: 350px;
    }
    
    .about-image-overlay {
        padding: 15px 20px;
    }
    
    .about-stat {
        min-width: 80px;
        padding: 8px 10px;
    }
    
    .about-stat-value {
        font-size: 1.5rem;
    }
    
    .about-stat-label {
        font-size: 0.7rem;
    }
    
    .about-feature {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .about-feature-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto;
        font-size: 1.1rem;
    }
    
    .about-feature-content h4 {
        font-size: 1.1rem;
    }
    
    .about-feature-content p {
        font-size: 0.9rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .achievement {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .achievement-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .achievement-content h5 {
        font-size: 1rem;
    }
    
    .market-snapshot {
        padding: 10px 0;
        margin-top: 90px;
    }
    
    .market-snapshot-item {
        min-width: 180px;
        padding: 6px 12px;
    }
    
    .crypto-fullname {
        display: none;
    }
    
    .price-change {
        min-width: 55px;
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .market-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header__logo {
        gap: 0.5rem;
    }
    
    .header__company-name {
        font-size: 1rem !important;
    }
    
    .header__content {
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .modern-section-title h2 {
        font-size: 1.75rem;
    }
    
    .footer__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .about-image {
        height: 300px;
    }
    
    .about-image-overlay {
        padding: 12px 15px;
    }
    
    .about-stats {
        gap: 10px;
    }
    
    .about-stat {
        min-width: 70px;
        padding: 6px 8px;
        flex: 1;
    }
    
    .about-stat-value {
        font-size: 1.25rem;
    }
    
    .about-stat-label {
        font-size: 0.65rem;
    }
    
    .about-feature {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .about-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .about-feature-content h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .about-feature-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .about-achievements {
        margin-top: 20px;
        padding: 15px;
    }
    
    .market-snapshot-track {
        gap: 20px;
        animation-duration: 80s;
    }
    
    .market-snapshot-item {
        min-width: 160px;
    }
    
    .price-value {
        font-size: 14px;
    }
    
    .market-status-text {
        font-size: 12px;
    }
    
    .market-source {
        display: none;
    }
    
    /* Mobile spacing fixes */
    .features-grid > div,
    .plans-grid > div {
        margin-bottom: 0.75rem;
    }
    
    .feature.modern-feature,
    .plan-card.modern-plan {
        padding: 1.25rem;
    }
    
    .feature-cta {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .header__company-name {
        font-size: 1.1rem !important;
        display: none;
    }
    
    .header__logo img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .header__auth-btn {
        width: 36px;
        height: 36px;
    }
    
    .market-snapshot {
        margin-top: 85px !important;
    }
    
    .about-image {
        height: 250px;
    }
    
    .about-image-overlay {
        padding: 10px 12px;
    }
    
    .about-stats {
        flex-direction: row;
        gap: 8px;
    }
    
    .about-stat {
        min-width: 60px;
        padding: 5px 6px;
    }
    
    .about-stat-value {
        font-size: 1.1rem;
    }
    
    .about-stat-label {
        font-size: 0.6rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.text-info {
    color: var(--accent-color) !important;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* Additional spacing utilities */
.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}
/* ===== AUTH CTA SECTION ===== */
.auth-cta-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15), 
        rgba(139, 92, 246, 0.15));
    border-bottom: 1px solid var(--border-light);
    margin-top: 100px; /* Adjust based on your header height */
}

.auth-cta {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.auth-cta__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-cta__subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.auth-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
    font-size: 1rem;
}

.auth-cta__btn--register {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.auth-cta__btn--register:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.auth-cta__btn--login {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.auth-cta__btn--login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.auth-cta__btn--dashboard {
    background: var(--gradient-success);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.auth-cta__btn--dashboard:hover {
    background: linear-gradient(135deg, #059669, #06b6d4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .auth-cta-section {
        padding: 1.5rem 0;
        margin-top: 90px;
    }
    
    .auth-cta {
        padding: 1.5rem;
    }
    
    .auth-cta__title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .auth-cta__buttons {
        flex-direction: column;
        margin-top: 1.5rem;
        justify-content: stretch;
    }
    
    .auth-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .auth-cta-section {
        margin-top: 85px;
        padding: 1rem 0;
    }
    
    .auth-cta {
        padding: 1.25rem;
    }
    
    .auth-cta__title {
        font-size: 1.25rem;
    }
    
    .auth-cta__subtitle {
        font-size: 0.95rem;
    }
}
/* ===== UPDATED TESTIMONIALS SECTION ===== */
.testimonial-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    transition: all var(--transition-normal);
    min-width: 320px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1);
}

.testimonial-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--success-color);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.testimonial-content {
    flex: 1;
    min-width: 0;
}

.testimonial-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.testimonial-profit {
    color: var(--success-color) !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.testimonial-time {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Make all profit values green in market snapshot too */
.price-change.positive {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(16, 185, 129, 0.1));
    color: var(--success-color) !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Live crypto statistics profit colors */
.text-success {
    color: var(--success-color) !important;
}

/* Signal cards profit styling */
.signal-card__profit--positive {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color) !important;
}

/* In the modern-trading-signals section */
.signals-stat__value--success {
    background: var(--gradient-success) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* ===== AUTHENTICATION PAGES - MODERN DESIGN ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.auth-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 50%);
    z-index: -1;
}

/* Auth Card */
.auth-card {
    /* background: rgba(30, 41, 59, 0.5); */
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(59, 130, 246, 0.1);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding-bottom: 1rem;
}

.auth-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Form Styles */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group label::after {
    content: ' *';
    color: var(--danger-color);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Form Icons */
.form-icon {
    position: absolute;
    right: 1.25rem;
    top: 3.1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.form-control:focus + .form-icon {
    color: var(--primary-color);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1.25rem;
    top: 3.1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Crypto Addresses Section */
.crypto-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-section h4 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.crypto-address-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.crypto-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
    z-index: 1;
}

.crypto-input {
    padding-left: 3.5rem !important;
}

.crypto-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 1.125rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.4),
        0 0 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:active {
    transform: translateY(-1px);
}

/* Messages and Alerts */
.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

.alert i {
    font-size: 1.25rem;
}

.alert-info {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--info-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger-color);
}

/* Referral Banner */
.referral-banner {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15), 
        rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.referral-banner i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.referral-banner span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Links and Helper Text */
.auth-links {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-fast);
    position: relative;
    padding-bottom: 2px;
}

.auth-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

.auth-links a:hover {
    color: var(--accent-color);
}

.auth-links a:hover::after {
    width: 100%;
}

/* Auth Options (Login Page) */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

.remember-checkbox {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    appearance: none;
    position: relative;
    transition: all var(--transition-fast);
}

.remember-checkbox:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-bottom: 2px;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

.forgot-password:hover {
    color: var(--accent-color);
}

.forgot-password:hover::after {
    width: 100%;
}

/* Password Strength Indicator */
.password-strength-container {
    margin-top: 0.5rem;
}

.password-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-strength {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

.strength-weak {
    background: var(--danger-color);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.strength-fair {
    background: var(--warning-color);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.strength-good {
    background: var(--info-color);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.strength-strong {
    background: var(--success-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Form Validation */
.form-control.is-invalid {
    border-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.success-message {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Floating Particles */
.auth-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.auth-particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-100px) translateX(50px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-200px) translateX(0) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-100px) translateX(-50px) rotate(270deg);
        opacity: 0.1;
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem;
    }
    
    .auth-card {
        padding: 2.5rem 2rem;
    }
    
    .auth-card h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .form-control {
        padding: 0.875rem 1rem;
    }
    
    .auth-submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .auth-options {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .forgot-password {
        text-align: center;
        display: block;
    }
}

@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-card h2 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .crypto-input {
        padding-left: 3rem !important;
    }
    
    .crypto-icon {
        left: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Password reset specific styles */
.security-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-info h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-info ul {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    margin: 0;
}

.security-info li {
    margin-bottom: 0.5rem;
}

.security-info li:last-child {
    margin-bottom: 0;
}

/* Password requirements styling */
.requirement {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.requirement:last-child {
    margin-bottom: 0;
}

.requirement.met {
    color: var(--success-color);
}

.requirement.unmet {
    color: var(--text-muted);
}

.requirement i {
    font-size: 0.6rem;
    transition: color 0.3s ease;
}
