/* Web App Stylesheet: CineInvest and TRONINVEST */

/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

input {
    font-family: inherit;
    outline: none;
}

/* --- LIGHT THEME (CineInvest Landing Page) --- */
.landing-body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Header */
.landing-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: #0f172a;
}

.logo-icon-purple {
    color: #4f46e5;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: #4f46e5;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}



.profile-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.profile-avatar-u {
    width: 28px;
    height: 28px;
    background-color: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.hero-banner {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 3.5rem;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.hero-left {
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-btn {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.hero-btn:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

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

.hero-image {
    width: 110%;
    max-width: 480px;
    object-fit: contain;
    transform: scale(1.05);
    filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* Category Grid */
.section-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.75rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background-color: white;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.category-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: #f5f3ff;
    color: #4f46e5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.6rem;
}

.category-card:hover .category-icon-wrapper {
    background-color: #4f46e5;
    color: white;
}

.category-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

/* Featured Investments Grid */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.featured-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4f46e5;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.view-all-link:hover {
    color: #4338ca;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.investment-card {
    background-color: white;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.investment-img-container {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.investment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.investment-card:hover .investment-img {
    transform: scale(1.08);
}

.investment-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.investment-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.daily-profit-badge {
    background-color: #f0fdf4;
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.investment-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
}

.meta-item-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.meta-item-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.meta-item-value.highlight {
    color: #4f46e5;
}

.invest-btn {
    width: 100%;
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
}

.invest-btn:hover {
    background-color: #4338ca;
}

/* Badges / Trust bar */
.trust-bar {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-text-box {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.15rem;
}

.trust-desc {
    font-size: 0.75rem;
    color: #64748b;
}

/* How It Works Section */
.how-it-works-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 1rem;
}

.step-card {
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-icon-box {
    width: 42px;
    height: 42px;
    background-color: #f1f5f9;
    color: #4f46e5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.step-number-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.step-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
}

.flow-arrow {
    position: absolute;
    top: 20px;
    right: -24px;
    color: #cbd5e1;
    font-size: 1.2rem;
    pointer-events: none;
}

/* Footer style */
.landing-footer {
    background-color: white;
    border-top: 1px solid #e2e8f0;
    padding: 4rem 0 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-item {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-link-item:hover {
    color: #4f46e5;
}

.footer-newsletter-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-desc {
    font-size: 0.85rem;
    color: #64748b;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    background-color: #f8fafc;
}

.newsletter-btn {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
}

.newsletter-btn:hover {
    background-color: #4338ca;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* --- DARK THEME (TRONINVEST Dashboard) --- */
.dashboard-body {
    background-color: #0b0e14;
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Sidebar */
.dashboard-sidebar {
    width: 240px;
    background-color: #111622;
    border-right: 1px solid #1e2538;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: #3b82f6;
    padding: 0 1.5rem 2rem 1.5rem;
    letter-spacing: 0.5px;
}

.logo-icon-blue {
    color: #3b82f6;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 0.75rem;
}

.sidebar-item-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-item-link:hover {
    background-color: #1e2538;
    color: #f1f5f9;
}

.sidebar-item-link.active {
    background-color: #1e2538;
    color: #3b82f6;
    border-left: 3px solid #3b82f6;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.sidebar-item-link.logout {
    color: #f87171;
    border-top: 1px solid #1e2538;
    margin-top: 1rem;
    padding-top: 1.25rem;
}

.sidebar-item-link.logout:hover {
    background-color: rgba(248, 113, 113, 0.08);
}

.sidebar-icon {
    font-size: 1.2rem;
}

/* Dashboard Container & Content Panel */
.dashboard-wrapper {
    margin-left: 240px;
    width: calc(100% - 240px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-header {
    background-color: #111622;
    border-bottom: 1px solid #1e2538;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-left-toggle {
    background: none;
    color: #94a3b8;
    font-size: 1.4rem;
}

.header-right-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-card-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #1e2538;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    border: 1px solid #2e384e;
}

.user-text-details {
    display: flex;
    flex-direction: column;
}

.user-name-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
}

.user-balance-value {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Dashboard Content */
.dashboard-main-content {
    flex-grow: 1;
    padding: 2.25rem 2rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.dashboard-panel-view {
    display: none;
}

.dashboard-panel-view.active {
    display: block;
}

.panel-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.panel-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Sections of Deposit Panel */
.deposit-step-box {
    background-color: #111622;
    border: 1px solid #1e2538;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.step-title-number {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.25rem;
}

/* Option grids for amounts */
.deposit-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.amount-card-opt {
    background-color: #171d2c;
    border: 1px solid #242e47;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-card-opt:hover {
    border-color: #3b82f6;
    background-color: #1c2336;
}

.amount-card-opt.active {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.08);
}

.amount-card-icon {
    font-size: 1.4rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.amount-card-opt:nth-child(2) .amount-card-icon {
    color: #a855f7;
}

.amount-card-opt:nth-child(3) .amount-card-icon {
    color: #10b981;
}

.amount-card-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.amount-card-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.amount-select-btn {
    display: inline-block;
    background-color: #1e2538;
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1.25rem;
    border-radius: 6px;
    border: 1px solid #2e384e;
}

.amount-card-opt.active .amount-select-btn {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.amount-card-opt:nth-child(2).active .amount-select-btn {
    background-color: #a855f7;
    border-color: #a855f7;
}

.amount-card-opt:nth-child(3).active .amount-select-btn {
    background-color: #10b981;
    border-color: #10b981;
}

.amount-checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.amount-card-opt.active .amount-checkmark {
    display: flex;
}

.amount-card-opt:nth-child(2).active .amount-checkmark {
    background-color: #a855f7;
}

.amount-card-opt:nth-child(3).active .amount-checkmark {
    background-color: #10b981;
}

/* Custom amount alert bar */
.custom-amount-alert-bar {
    background-color: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-alert-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.custom-alert-icon {
    color: #3b82f6;
    font-size: 1.25rem;
}

.custom-amt-btn {
    background: none;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 6px;
}

.custom-amt-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Send payment wrapper */
.wallet-address-wrapper {
    background-color: #171d2c;
    border: 1px solid #242e47;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.wallet-tron-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.wallet-address-info-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wallet-address-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.wallet-address-input-group {
    display: flex;
    gap: 0.5rem;
}

.wallet-address-value-txt {
    flex-grow: 1;
    background-color: #0b0e14;
    border: 1px solid #1e2538;
    color: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
}

.copy-addr-btn {
    background-color: #3b82f6;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.copy-addr-btn:hover {
    background-color: #2563eb;
}

/* Yellow warning box */
.payment-warning-box {
    background-color: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.warning-box-title {
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.warning-list-item {
    font-size: 0.8rem;
    color: #fbbf24;
    position: relative;
    padding-left: 1rem;
}

.warning-list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fbbf24;
}

/* Section 3 block */
.payment-instruction-msg {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
}

.inst-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.inst-txt-box {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* Recent deposits table */
.recent-deposits-section {
    background-color: #111622;
    border: 1px solid #1e2538;
    border-radius: 16px;
    padding: 1.75rem;
}

.recent-deposits-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.25rem;
}

.table-responsive-box {
    width: 100%;
    overflow-x: auto;
}

.deposits-table-list {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.deposits-table-list th, .deposits-table-list td {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #1e2538;
}

.deposits-table-list th {
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.deposits-table-list td {
    color: #cbd5e1;
}

.deposit-tx-hash {
    font-family: monospace;
    color: #94a3b8;
}

/* Status badges */
.status-badge-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.status-badge-lbl.confirmed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge-lbl.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-badge-lbl.failed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Dashboard footer */
.dashboard-footer {
    background-color: #111622;
    border-top: 1px solid #1e2538;
    padding: 1.5rem 2rem;
    font-size: 0.8rem;
    color: #64748b;
    text-align: left;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #1e293b;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: #10b981;
}

/* Modal style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

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

.modal-content-box {
    background-color: #111622;
    border: 1px solid #1e2538;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
}

.modal-close-btn {
    background: none;
    color: #64748b;
    font-size: 1.25rem;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.modal-input-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.modal-text-input {
    background-color: #0b0e14;
    border: 1px solid #1e2538;
    color: #f1f5f9;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.modal-submit-btn {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 8px;
}

.modal-submit-btn:hover {
    background-color: #2563eb;
}

/* Material symbol styling helper */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* Other simulated dashboard panels */
.dashboard-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card-box {
    background-color: #111622;
    border: 1px solid #1e2538;
    border-radius: 16px;
    padding: 1.5rem;
}

.metric-card-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.metric-card-val-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-card-value-txt {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f8fafc;
}

.metric-card-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-card-box:nth-child(2) .metric-card-icon-box {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.metric-card-box:nth-child(3) .metric-card-icon-box {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Help desk and other simple forms */
.support-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-db {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-label-db {
    font-size: 0.85rem;
    color: #94a3b8;
}

.form-input-db {
    background-color: #171d2c;
    border: 1px solid #242e47;
    border-radius: 8px;
    padding: 0.75rem;
    color: #f1f5f9;
    font-size: 0.9rem;
}

.form-btn-db {
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    align-self: flex-start;
}

.form-btn-db:hover {
    background-color: #2563eb;
}

.db-grid-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.db-list-box {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.db-list-item {
    background-color: #171d2c;
    border: 1px solid #1e2538;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-item-primary {
    font-weight: 700;
    color: #f8fafc;
    font-size: 0.9rem;
}

.db-item-sec {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Mobile toggle button (hidden on desktop) */
.nav-toggle-btn {
    display: none;
}

.investment-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* --- MOBILE RESPONSIVE MEDIA QUERIES --- */

/* Tablet & Mobile Layouts */
@media (max-width: 992px) {
    .container-header {
        padding: 1rem;
    }
    
    /* Hero Banner layout */
    .hero-banner {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }
    
    .hero-image {
        width: 90%;
        max-width: 380px;
        transform: none;
        animation: none;
    }
    
    /* Category grids */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* Investment grid */
    .investment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* Trust bar */
    .trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    /* How it works */
    .how-it-works-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    
    .flow-arrow {
        display: none; /* Hide arrows on wrap */
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Responsive Hero Section rules for 768px */
    .hero-section {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    .hero-banner {
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-image {
        max-width: 320px;
    }

    /* Header nav on landing page */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem 1.5rem;
        gap: 1rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        z-index: 99;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #4b5563;
        font-size: 1.5rem;
        padding: 0.25rem;
        cursor: pointer;
    }
    
    .header-right {
        gap: 1rem;
    }
    
    .profile-dropdown-btn.logged-in span:not(.profile-avatar-u) {
        display: none; /* Hide text on small screens, keep avatar */
    }
    
    /* Client Portal & Admin Dashboards Layouts */
    .dashboard-sidebar {
        left: -240px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    }
    
    .dashboard-sidebar.active {
        left: 0;
    }
    
    .dashboard-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .dashboard-header {
        padding: 0 1rem;
    }
    
    .header-left-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    /* Sidebar overlay functionality */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(11, 14, 20, 0.7);
        backdrop-filter: blur(4px);
        z-index: 95;
        display: none;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    /* Dashboard main content */
    .dashboard-main-content {
        padding: 1.5rem 1rem;
    }
    
    /* Metrics Row */
    .dashboard-metrics-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Half Grid structures */
    .db-grid-half {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Investment plans inside portal */
    .investment-plan-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Deposit panels elements styling */
    .deposit-amount-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Payout address display */
    .wallet-address-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .wallet-address-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .copy-addr-btn {
        justify-content: center;
        padding: 0.75rem;
    }
    
    /* Table modifications for swipe scroll message */
    .table-responsive-box {
        position: relative;
    }
    
    .table-responsive-box::after {
        content: "Swipe left/right to view full table";
        display: block;
        font-size: 0.7rem;
        color: #64748b;
        text-align: right;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    /* Responsive Hero Section rules for 576px */
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        max-width: 240px;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    /* Featured Investments Grid */
    .investment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Trust bar */
    .trust-bar {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* How it works */
    .how-it-works-flow {
        grid-template-columns: 1fr;
    }
    
    /* Footer elements collapse fully */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 0.75rem;
    }
}
