/* ========================================
   CSS Variables & Theme Setup
   ======================================== */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    
    /* Enhanced Accent Colors - Deep Blue/Purple Gradient */
    --accent-primary: #4f46e5;
    --accent-primary-hover: #4338ca;
    --accent-secondary: #6366f1;
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    --accent-gradient-hover: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #7c3aed 100%);
    
    /* Additional Color Accents */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-teal: #14b8a6;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --success-gradient: linear-gradient(135deg, #10b981, #059669);
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --error: #ef4444;
    --error-light: #fee2e2;
    --error-gradient: linear-gradient(135deg, #ef4444, #dc2626);
    --info: #3b82f6;
    --info-light: #dbeafe;
    --info-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    
    /* Premium Fonts */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

.dark-theme {
    /* Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    
    /* Enhanced Accent Colors - Vibrant Blue/Purple for Dark Theme */
    --accent-primary: #818cf8;
    --accent-primary-hover: #a78bfa;
    --accent-secondary: #a78bfa;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    --accent-gradient-hover: linear-gradient(135deg, #a78bfa 0%, #c084fc 50%, #e879f9 100%);
    
    /* Additional Color Accents for Dark Theme */
    --accent-blue: #60a5fa;
    --accent-purple: #a78bfa;
    --accent-pink: #f472b6;
    --accent-orange: #fb923c;
    --accent-teal: #5eead4;
    
    /* Status Colors for Dark Theme */
    --success-light: #064e3b;
    --success-gradient: linear-gradient(135deg, #10b981, #059669);
    --warning-light: #78350f;
    --warning-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --error-light: #7f1d1d;
    --error-gradient: linear-gradient(135deg, #ef4444, #dc2626);
    --info-light: #1e3a8a;
    --info-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.5);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.7);
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dark-theme body {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(129, 140, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.header .container {
    padding: 0 var(--spacing-xl);
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    background-color: transparent;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    padding: var(--spacing-lg) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: var(--spacing-xl);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-right: auto;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 120px;
    width: auto;
    transition: all var(--transition-base);
    object-fit: contain;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    z-index: 1002;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

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

.theme-toggle * {
    pointer-events: none;
}

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

.theme-icon {
    position: absolute;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.dark-theme .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.dark-theme .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    z-index: 1002;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
    opacity: 0.7;
}

.mobile-menu-toggle * {
    pointer-events: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

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

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

.btn-primary-small {
    background: var(--accent-gradient);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.btn-primary-small:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: var(--accent-gradient-hover);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

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

.btn-full {
    width: 100%;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: var(--spacing-xl) 0;
}

.page-header {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.dark-theme .page-header::before {
    background: 
        radial-gradient(circle at 30% 20%, rgba(129, 140, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
}

.page-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    width: 300px;
    height: 200px;
    background: var(--accent-gradient);
    border-radius: 24px;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-card img {
    max-width: 100%;
    max-height: 100%;
}

.card-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--accent-gradient);
    border-radius: 24px;
    opacity: 0.25;
    filter: blur(25px);
    animation: pulse 2s ease-in-out infinite;
    z-index: 0;
}

.card-signature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    opacity: 1;
    display: block;
}

/* ========================================
   About & Mission Section
   ======================================== */
.about-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.mission-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3), var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.mission-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(8px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.mission-card:hover .mission-icon::after {
    opacity: 0.5;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4), var(--shadow-lg);
}

.dark-theme .mission-icon {
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.4), var(--shadow-md);
}

.dark-theme .mission-card:hover .mission-icon {
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.5), var(--shadow-lg);
}

.mission-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: var(--spacing-md) auto var(--spacing-xl);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.dark-theme .feature-card::before {
    box-shadow: 0 2px 8px rgba(129, 140, 248, 0.5);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3), var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4), var(--shadow-lg);
}

.dark-theme .feature-icon {
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.4), var(--shadow-md);
}

.dark-theme .feature-icon:hover {
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.5), var(--shadow-lg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* ========================================
   Forms
   ======================================== */
.content-section {
    padding: var(--spacing-xl) 0;
}

.form-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.fund-form {
    max-width: 600px;
}

.form-group input[type="password"],
.form-group input[type="text"] {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--accent-primary);
}

.dark-theme .password-toggle {
    color: var(--text-secondary);
}

.dark-theme .password-toggle:hover {
    color: var(--accent-secondary);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(30, 41, 59, 0.1);
    background: var(--bg-secondary);
}

.dark-theme .form-group input:focus,
.dark-theme .form-group select:focus,
.dark-theme .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(226, 232, 240, 0.1);
}

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

.phone-input-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.phone-input-wrapper select {
    width: 100% !important;
    flex-shrink: 0;
    order: 1;
}

.phone-input-wrapper input {
    width: 100% !important;
    flex: 1;
    order: 2;
}

.input-prefix {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-wrapper input {
    padding-left: 40px;
}

.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.forgot-link,
.auth-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover,
.auth-link:hover {
    text-decoration: underline;
}

.form-summary {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

/* ========================================
   Info Cards
   ======================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.info-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.info-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 18px;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   Funds Page
   ======================================== */
.funds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.fund-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.fund-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.fund-card:hover::before {
    transform: scaleX(1);
}

.fund-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.fund-card.main-balance {
    background: var(--accent-gradient);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.fund-card.main-balance::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.fund-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.fund-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fund-label i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fund-amount {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: var(--spacing-xs);
}

.fund-change {
    font-size: 0.85rem;
    opacity: 0.7;
}

.fund-change.positive {
    color: var(--success);
}

.dark-theme .fund-change.positive {
    color: #34d399;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.icon-btn i {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.quick-actions {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.action-buttons-three {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.action-buttons-four {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

@media (max-width: 1024px) {
    .action-buttons-four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .action-buttons-three {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .action-buttons-four {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.action-btn span {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.action-btn:hover::before {
    transform: scaleX(1);
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.action-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-xs);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.action-icon i {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.recent-transactions {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.recent-transactions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.view-all-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.view-all-link:hover {
    color: var(--accent-primary-hover);
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.transaction-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.transaction-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.transaction-icon i {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.transaction-icon.deposit {
    background: var(--success-gradient);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), var(--shadow-sm);
}

.transaction-icon.withdrawal {
    background: var(--error-gradient);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), var(--shadow-sm);
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.transaction-date {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.transaction-amount.positive {
    color: var(--success);
}

.transaction-amount.negative {
    color: var(--error);
}

/* ========================================
   Transaction History
   ======================================== */
.balance-display {
    background: var(--accent-gradient);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: 32px;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.balance-display::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.balance-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-sm);
}

.balance-amount {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.filters-section {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-select,
.filter-input {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow-x: auto;
    display: table;
}

.transactions-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
    z-index: 1;
}

.transactions-table thead {
    background: var(--bg-secondary);
}

.transactions-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.transactions-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.transaction-row {
    transition: background-color var(--transition-fast);
}

.transaction-row:hover {
    background: var(--bg-secondary);
}

.time {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.transaction-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.transaction-type-badge.deposit {
    background: var(--success-gradient);
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.transaction-type-badge.withdrawal {
    background: var(--error-gradient);
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.completed {
    background: var(--success-gradient);
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: var(--warning-gradient);
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.amount {
    font-weight: 600;
}

.amount.positive {
    color: var(--success);
}

.amount.negative {
    color: var(--error);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-secondary);
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: var(--spacing-xl) var(--spacing-md);
}

.auth-container {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 32px;
    padding: var(--spacing-2xl);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.auth-subtitle {
    color: var(--text-secondary);
}

.auth-form {
    margin-bottom: var(--spacing-lg);
}

.form-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    height: 95px;
    width: auto;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.animate-slide-in {
    animation: slideIn 0.8s ease-out;
}

.animate-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Community Card Styles - Premium Design */
section.content-section .container .whatsapp-community-card,
.content-section .whatsapp-community-card,
.whatsapp-community-card {
    margin: 2rem auto !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%) !important;
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    animation: whatsappCardEntrance 1s ease-out !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    width: 100% !important;
    max-width: 640px !important;
    box-sizing: border-box !important;
}

.whatsapp-community-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: whatsappShimmer 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: 50%;
}

.whatsapp-community-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 24px;
}

.whatsapp-community-card:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 30px 80px rgba(37, 211, 102, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.telegram-card {
    background: linear-gradient(135deg, #006bb7 0%, #0088cc 40%, #35b6ff 100%) !important;
    box-shadow: 0 20px 60px rgba(0, 136, 204, 0.35), 
                0 0 0 1px rgba(255, 255, 255, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

.telegram-card::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%) !important;
}

.telegram-card:hover {
    box-shadow: 0 30px 80px rgba(0, 136, 204, 0.45), 
                0 0 0 1px rgba(255, 255, 255, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.telegram-card .whatsapp-icon-wrapper {
    background: rgba(255, 255, 255, 0.16) !important;
}

.telegram-card .whatsapp-icon {
    color: #ffffff !important;
}

.telegram-card .whatsapp-pulse {
    background: rgba(255, 255, 255, 0.35) !important;
}

.telegram-card .whatsapp-title {
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

.telegram-card .whatsapp-description {
    color: rgba(255, 255, 255, 0.92) !important;
}

.telegram-card .whatsapp-join-btn {
    background: #ffffff !important;
    color: #0088cc !important;
}

.telegram-card .whatsapp-join-btn::before {
    background: linear-gradient(90deg, transparent, rgba(0, 136, 204, 0.18), transparent) !important;
}

.telegram-card .whatsapp-join-btn:hover {
    background: #eef3ff !important;
    color: #006bb7 !important;
}

.telegram-card .whatsapp-join-btn i {
    color: inherit !important;
}

.facebook-card {
    background: linear-gradient(135deg, #0a1e63 0%, #0f3a99 35%, #1877f2 100%) !important;
    box-shadow: 0 20px 60px rgba(24, 119, 242, 0.35), 
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
}

.facebook-card::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%) !important;
}

.facebook-card:hover {
    box-shadow: 0 30px 80px rgba(24, 119, 242, 0.45), 
                0 0 0 1px rgba(255, 255, 255, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.facebook-card .whatsapp-icon-wrapper {
    background: rgba(255, 255, 255, 0.16) !important;
}

.facebook-card .whatsapp-icon {
    color: #ffffff !important;
}

.facebook-card .whatsapp-pulse {
    background: rgba(255, 255, 255, 0.35) !important;
}

.facebook-card .whatsapp-title {
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

.facebook-card .whatsapp-description {
    color: rgba(255, 255, 255, 0.92) !important;
}

.facebook-card .whatsapp-join-btn {
    background: #ffffff !important;
    color: #1877f2 !important;
}

.facebook-card .whatsapp-join-btn::before {
    background: linear-gradient(90deg, transparent, rgba(24, 119, 242, 0.2), transparent) !important;
}

.facebook-card .whatsapp-join-btn:hover {
    background: #eaf0ff !important;
    color: #0f3a99 !important;
}

.facebook-card .whatsapp-join-btn i {
    color: inherit !important;
}

.whatsapp-community-card .whatsapp-card-content,
.whatsapp-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    padding: 2.5rem !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin: 0 !important;
}

.whatsapp-icon-wrapper {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.whatsapp-icon {
    font-size: 4rem !important;
    color: white !important;
    position: relative !important;
    z-index: 3 !important;
    animation: whatsappIconFloat 3s ease-in-out infinite !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.whatsapp-pulse {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    animation: whatsappPulse 2s ease-out infinite !important;
    z-index: 1 !important;
}

.whatsapp-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: whatsappPulse 2s ease-out infinite 0.5s;
}

.whatsapp-text-content {
    width: 100% !important;
    color: white !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.whatsapp-title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    margin: 0 auto 0.75rem auto !important;
    display: block !important;
    text-align: center !important;
    color: white !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -0.5px !important;
    width: 100% !important;
    padding: 0 !important;
}

.whatsapp-title i {
    font-size: 1.5rem !important;
    opacity: 1 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    margin: 0 0.5rem 0 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.whatsapp-description {
    font-size: 1.1rem !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    font-weight: 400 !important;
    text-align: center !important;
    max-width: 100% !important;
}

.whatsapp-join-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.875rem !important;
    padding: 1.125rem 2.5rem !important;
    background: white !important;
    color: #25D366 !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    width: auto !important;
    min-width: 200px !important;
}

.whatsapp-join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.15), transparent);
    transition: left 0.6s ease;
}

.whatsapp-join-btn:hover::before {
    left: 100%;
}

.whatsapp-join-btn:hover {
    transform: translateX(6px) scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 
                0 4px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    background: #f0f9ff !important;
    color: #128C7E !important;
}

.whatsapp-join-btn:active {
    transform: translateX(3px) scale(1.04) !important;
}

.whatsapp-join-btn i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    font-size: 1.1rem !important;
}

.whatsapp-join-btn:hover i {
    transform: translateX(6px) !important;
}

/* WhatsApp Animations */
@keyframes whatsappCardEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotate(-2deg);
    }
    60% {
        transform: translateY(-5px) scale(1.02) rotate(1deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes whatsappIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(-3deg) scale(1.05);
    }
    50% {
        transform: translateY(-12px) rotate(0deg) scale(1.08);
    }
    75% {
        transform: translateY(-8px) rotate(3deg) scale(1.05);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

@keyframes whatsappShimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design for WhatsApp Card */
@media (max-width: 768px) {
    .whatsapp-card-content {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 70px !important;
        height: 70px !important;
    }
    
    .whatsapp-icon {
        font-size: 3.5rem !important;
    }
    
    .whatsapp-pulse {
        width: 70px !important;
        height: 70px !important;
    }
    
    .whatsapp-title {
        font-size: 1.5rem !important;
        justify-content: center !important;
    }
    
    .whatsapp-description {
        font-size: 1rem !important;
    }
    
    .whatsapp-join-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 1rem 2rem !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-community-card {
        border-radius: 20px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .whatsapp-card-content {
        padding: 1.75rem 1.25rem !important;
        gap: 1.25rem !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .whatsapp-icon {
        font-size: 3rem !important;
    }
    
    .whatsapp-pulse {
        width: 60px !important;
        height: 60px !important;
    }
    
    .whatsapp-title {
        font-size: 1.3rem !important;
    }
    
    .whatsapp-description {
        font-size: 0.95rem !important;
    }
    
    .whatsapp-join-btn {
        padding: 0.95rem 1.75rem !important;
        font-size: 1rem !important;
    }
}

/* ========================================
   Investment Tiers
   ======================================== */
.investment-plan-header {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 32px;
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.investment-plan-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

/* Packages Section - Professional Classic Design */
.packages-section {
    margin: var(--spacing-2xl) 0;
}

.packages-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.packages-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-secondary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.packages-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1600px;
    margin: 0 auto;
}

.package-btn {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.package-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.25);
    border-color: var(--accent-primary);
}

.package-btn:hover::before {
    transform: scaleX(1);
}

.package-btn.active {
    border-color: var(--accent-primary);
    border-width: 3px;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.35);
    transform: translateY(-8px);
}

.package-btn.active::before {
    transform: scaleX(1);
    height: 5px;
}

/* Package Card Header */
.package-card-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: var(--spacing-xl);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.package-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.package-amount {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Package Card Body */
.package-card-body {
    padding: var(--spacing-xl);
    flex-grow: 1;
}

.package-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.package-detail:last-of-type {
    border-bottom: none;
    margin-bottom: var(--spacing-md);
}

.package-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.package-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.package-value.highlight {
    color: #4F46E5;
}

.package-value.bonus {
    color: #10B981;
}

.package-total {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-secondary);
}

/* Package Card Footer */
.package-card-footer {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.package-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--spacing-md);
    }
    
    .packages-title {
        font-size: 2rem;
    }
    
    .package-amount {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .package-amount {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-2xl);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-body {
    margin-bottom: var(--spacing-xl);
}

.modal-package-info {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 2px solid var(--border-color);
}

.modal-package-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.modal-package-info-row:last-child {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--border-color);
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.modal-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 120px;
}

.modal-btn-cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.modal-btn-cancel:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

.modal-btn-confirm {
    background: var(--accent-gradient);
    color: white;
    border: 2px solid transparent;
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.plan-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.plan-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.bonus-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all var(--transition-base);
}

.bonus-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.dark-theme .bonus-badge {
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.4);
}

.dark-theme .bonus-badge:hover {
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.5);
}

.investment-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.investment-tier {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.investment-tier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.investment-tier:hover::after {
    transform: scaleX(1);
}

.investment-tier:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.investment-tier.featured {
    border-color: var(--accent-primary);
    border-width: 2px;
}

.investment-tier.premium {
    border-color: var(--accent-secondary);
    border-width: 2px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.tier-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
}

.popular-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.premium-badge {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.dark-theme .popular-badge {
    box-shadow: 0 2px 8px rgba(129, 140, 248, 0.5);
}

.dark-theme .premium-badge {
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.5);
}

.tier-amount {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.tier-return {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.tier-period {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.tier-bonus {
    font-size: 0.85rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.tier-btn {
    margin-top: var(--spacing-md);
}

.payment-info {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.payment-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.info-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: 12px;
    min-width: 120px;
}

.method-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

/* ========================================
   Team Building Section
   ======================================== */
.team-building-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-primary);
}

.team-building-card {
    background: var(--accent-gradient);
    border-radius: 32px;
    padding: var(--spacing-2xl);
    color: white;
    box-shadow: var(--shadow-2xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.team-building-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.team-building-content {
    text-align: center;
}

.team-building-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-secondary);
}

.team-building-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.team-building-text strong {
    font-weight: 700;
    opacity: 1;
}

.rewards-display {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.reward-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-lg);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.reward-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.reward-amount {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    margin-bottom: var(--spacing-xs);
}

.reward-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.team-member.featured {
    border-color: var(--accent-primary);
    border-width: 2px;
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3), var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.member-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.team-member:hover .member-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4), var(--shadow-lg);
}

.team-member:hover .member-avatar::after {
    opacity: 0.4;
}

.dark-theme .member-avatar {
    box-shadow: 0 4px 16px rgba(129, 140, 248, 0.4), var(--shadow-md);
}

.dark-theme .team-member:hover .member-avatar {
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.5), var(--shadow-lg);
}

.avatar-placeholder {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-secondary);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-family: var(--font-secondary);
}

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

/* ========================================
   Wallet Management Styles
   ======================================== */
.wallets-section {
    margin-top: var(--spacing-xl);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.wallets-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

.wallets-list {
    display: grid;
    gap: var(--spacing-md);
}

.add-wallet-form-container {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.wallet-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.wallet-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.wallet-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.wallet-form .form-group label i {
    color: var(--accent-primary);
    font-size: 0.875rem;
}

.wallet-form .form-group input,
.wallet-form .form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.wallet-form .form-group input:focus,
.wallet-form .form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.checkbox-group {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.wallet-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.wallet-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.wallet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.wallet-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.default-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.wallet-type {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.wallet-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.btn-icon.btn-danger:hover {
    background: var(--error-light);
    color: var(--error);
    border-color: var(--error);
}

.wallet-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.wallet-address code {
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    flex: 1;
    min-width: 200px;
}

.btn-copy {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.wallet-phone {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    padding: var(--spacing-lg);
    animation: fadeIn 0.3s ease;
    margin: 0 !important;
}

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

.modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 100000;
    margin: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.modal-header h2 i {
    color: var(--accent-primary);
}

.modal-header h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

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

.modal-body {
    padding: var(--spacing-xl);
}

.modal-body .form-group {
    margin-bottom: var(--spacing-lg);
}

.modal-body .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-body .form-group label i {
    color: var(--accent-primary);
    font-size: 0.875rem;
}

.modal-body .form-group input,
.modal-body .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.modal-body .form-group input[type="checkbox"] {
    width: auto;
    margin-right: var(--spacing-xs);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-body .form-group input[type="checkbox"]:checked {
    accent-color: var(--accent-primary);
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

.modal-body .btn-primary {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-body .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        z-index: 1000;
        box-shadow: var(--shadow-lg);
        pointer-events: none;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header {
        padding: var(--spacing-md) 0;
    }
    
    .logo {
        height: 80px;
    }
    
    .header .container {
        padding: 0 var(--spacing-md);
    }
    
    .header-content {
        gap: var(--spacing-md);
        justify-content: space-between;
    }
    
    .logo-link {
        margin-right: auto;
    }
    
    .nav {
        gap: var(--spacing-sm);
    }
    
    .header-actions {
        gap: var(--spacing-xs);
        z-index: 10000 !important;
        position: relative;
    }
    
    .theme-toggle,
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        z-index: 10001 !important;
        position: relative !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    
    .btn-outline,
    .btn-primary-small {
        display: none;
    }
    
    .mobile-logout-link {
        display: block !important;
        padding: var(--spacing-sm) var(--spacing-md);
        color: var(--text-primary);
        text-decoration: none;
        border-top: 1px solid var(--border-color);
        margin-top: var(--spacing-xs);
    }
    
    .mobile-logout-link:hover {
        background: var(--bg-secondary);
        color: var(--accent-primary);
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-tiers {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-display {
        flex-direction: column;
        align-items: center;
    }
    
    .row {
        grid-template-columns: 1fr;
    }
    
    .transactions-table {
        font-size: 0.85rem;
    }
    
    .transactions-table th,
    .transactions-table td {
        padding: var(--spacing-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .form-container {
        padding: var(--spacing-md);
    }
    
    .auth-container {
        padding: var(--spacing-lg);
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .fund-amount {
        font-size: 1.5rem;
    }
}

