/* ========================================
   SWAPLY - MODERN VTU PLATFORM STYLES
   Professional & Responsive Design
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    /* Primary Colors - Professional Blue */
    --primary-color: #1316E5;
    --primary-blue: #1316E5;
    --primary-dark: #0D0FB8;
    --primary-light: #3B3EFF;
    --primary-gradient: linear-gradient(135deg, #1316E5 0%, #0D0FB8 100%);

    /* Background Colors */
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --white: #FFFFFF;
    --hover-bg: #F1F5F9;

    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;

    /* Border & Shadows */
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.2);

    /* Status Colors */
    --success-color: #10B981;
    --success-light: #D1FAE5;
    --warning-color: #F59E0B;
    --warning-light: #FEF3C7;
    --error-color: #EF4444;
    --error-light: #FEE2E2;
    --pending-color: #F59E0B;

    /* Auth Modern Theme - Light (Default) */
    --auth-bg: #F8FAFC;
    --auth-card-bg: #FFFFFF;
    --auth-border: rgba(0, 0, 0, 0.06);
    --auth-accent: #1316E5;
    --auth-accent-glow: rgba(19, 22, 229, 0.1);
    --auth-input-bg: #F1F5F9;
    --auth-text-dim: #64748B;
    --auth-text-main: #0F172A;
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #3B3EFF;
    --primary-blue: #3B3EFF;
    --primary-dark: #1316E5;
    --primary-light: #60A5FA;
    --primary-gradient: linear-gradient(135deg, #3B3EFF 0%, #1316E5 100%);

    --bg-color: #0F172A;
    --card-bg: #1E293B;
    --white: #1E293B;
    --hover-bg: #334155;

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --border-color: #334155;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-blue: 0 8px 24px rgba(59, 130, 246, 0.3);

    /* Auth Modern Theme - Dark Overrides */
    --auth-bg: #0A0B14;
    --auth-card-bg: rgba(255, 255, 255, 0.03);
    --auth-border: rgba(255, 255, 255, 0.08);
    --auth-accent: #3B3EFF;
    --auth-accent-glow: rgba(59, 62, 255, 0.4);
    --auth-input-bg: rgba(255, 255, 255, 0.05);
    --auth-text-dim: #94A3B8;
    --auth-text-main: #FFFFFF;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.header {
    background-color: var(--primary-blue);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header.white {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 0.8;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================
   DASHBOARD HEADER
   ======================================== */

.dashboard-header {
    background-color: var(--card-bg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.user-details h3 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: var(--success-color);
    border-radius: 50%;
    color: white;
    font-size: 11px;
}

.user-details p {
    font-size: 13px;
    color: var(--text-secondary);
}

.notification-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--bg-color), var(--hover-bg));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.notification-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.notification-icon i {
    font-size: 20px;
    color: var(--text-primary);
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--error-color);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

/* ========================================
   BALANCE CARD
   ======================================== */

.balance-card {
    background: var(--primary-gradient);
    margin: 20px;
    padding: 24px;
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-blue);
}

[data-theme="dark"] .balance-card {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.balance-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-label i {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.balance-label i:hover {
    opacity: 0.7;
}

.transaction-link {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.transaction-link:hover {
    opacity: 1;
}

.balance-amount {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.fund-wallet-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.fund-wallet-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   ACTION CARDS
   ======================================== */

.action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px 20px;
}

.action-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.action-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--bg-color), var(--hover-bg));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.action-card:hover .action-card-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--hover-bg), var(--bg-color));
}

.action-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   INFO CARD
   ======================================== */

.info-card {
    background: linear-gradient(135deg, var(--hover-bg), var(--bg-color));
    margin: 0 20px 20px;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .info-card {
    background: linear-gradient(135deg, var(--card-bg), var(--bg-color));
}

.info-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.info-card-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.info-card-image {
    flex-shrink: 0;
}

.info-card-image i {
    opacity: 0.8;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
}

.view-all {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ========================================
   TRANSACTION LIST
   ======================================== */

.transaction-list {
    padding: 0 20px 20px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--card-bg);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.transaction-item:hover {
    box-shadow: var(--shadow);
}

.network-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.network-option:hover .network-logo {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.network-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.transaction-details {
    flex: 1;
}

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

.transaction-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.transaction-amount {
    text-align: right;
}

.transaction-price {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.transaction-status {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.transaction-status.successful {
    color: var(--success-color);
}

.transaction-status.pending {
    color: var(--pending-color);
}

.transaction-status.failed {
    color: var(--error-color);
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    padding: 8px 16px;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.nav-item.send {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    box-shadow: 0 4px 12px rgba(0, 0, 255, 0.3);
    padding: 0;
}

[data-theme="dark"] .nav-item.send {
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.nav-icon {
    font-size: 22px;
}

/* ========================================
   BUY PAGES (AIRTIME/DATA)
   ======================================== */

.buy-content {
    padding: 20px;
}

.input-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 0, 255, 0.1);
}

[data-theme="dark"] .input-field:focus {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.2);
}

.network-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    /* Minimal gap */
    margin-top: 12px;
}

.network-option {
    aspect-ratio: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    /* Thinner border */
    border-radius: 8px;
    /* Slightly smaller radius */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px !important;
    /* Minimal padding */
    min-width: 0;
    /* Allow shrinking below content size if needed */
}

.network-logo img {
    width: 24px !important;
    /* Drastically smaller */
    height: 24px !important;
    object-fit: contain;
}

.network-option {
    aspect-ratio: 1;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px;
}

.network-option:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.network-option.selected {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.12));
    box-shadow: var(--shadow-blue);
}

[data-theme="dark"] .network-option.selected {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.18));
}

.network-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.amount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.balance-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.balance-info span {
    font-weight: 600;
    color: var(--primary-blue);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.amount-option {
    padding: 14px 10px;
    text-align: center;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-option:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.amount-option.selected {
    border-color: var(--primary-blue);
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-blue);
}

.pay-button-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 16px 20px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

/* ========================================
   HISTORY PAGE
   ======================================== */

.history-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 10px 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* ========================================
   ACCOUNT PAGES (DETAILS/SETTINGS)
   ======================================== */

.settings-content {
    padding: 20px;
}

.section {
    margin-bottom: 32px;
}

.section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-card-detail {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

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

.info-row-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-row-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.eye-icon {
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.eye-icon:hover {
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.save-button-container {
    padding: 20px 0;
}

.status-badge {
    background-color: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.status-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--success-color);
}

/* ========================================
   PROFILE/MENU PAGE
   ======================================== */

.profile-header {
    background-color: var(--card-bg);
    padding: 32px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .profile-avatar {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.profile-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background-color: var(--success-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 3px solid var(--card-bg);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.edit-profile-btn {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.edit-profile-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.profile-balance {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    margin: 20px;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 255, 0.25);
}

[data-theme="dark"] .profile-balance {
    box-shadow: 0 8px 24px rgba(10, 132, 255, 0.3);
}

.profile-balance-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.profile-balance-amount {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}

.menu-list {
    padding: 0 20px 100px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    opacity: 0.7;
}

.menu-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.menu-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.menu-toggle {
    margin-left: auto;
}

.toggle-switch {
    width: 50px;
    height: 28px;
    background-color: var(--border-color);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background-color: var(--primary-blue);
}

.toggle-slider {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(22px);
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--auth-bg);
    background-image:
        radial-gradient(circle at 0% 0%, var(--auth-accent-glow) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, var(--auth-accent-glow) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--auth-accent-glow);
    filter: blur(150px);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    opacity: 0.15;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: var(--auth-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px 40px;
    border-radius: 32px;
    border: 1px solid var(--auth-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo .logo {
    width: 72px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--auth-accent-glow));
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--auth-text-main);
    letter-spacing: -0.5px;
}

.auth-header p {
    font-size: 16px;
    color: var(--auth-text-dim);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--auth-text-main);
    opacity: 0.9;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    color: var(--auth-text-main);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus {
    outline: none;
    border-color: var(--auth-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(59, 62, 255, 0.15);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: #64748B;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--auth-text-dim);
    cursor: pointer;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    cursor: pointer;
    accent-color: var(--auth-accent);
}

.forgot-link {
    font-size: 14px;
    color: var(--auth-accent);
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.8;
}

.auth-button {
    width: 100%;
    padding: 16px;
    background: var(--auth-accent);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px var(--auth-accent-glow);
}

.auth-button:hover {
    background: #4F52FF;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(59, 62, 255, 0.4);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button i {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--auth-text-dim);
}

.auth-footer a {
    color: var(--auth-accent);
    font-weight: 600;
    margin-left: 6px;
    transition: color 0.3s ease;
}

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

/* Custom Notification Modern Style */
.custom-notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 48px);
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

@keyframes slideInDown {
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.custom-notification.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.custom-notification.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.2);
    color: #F87171;
}

.custom-notification p {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

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

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.btn-secondary {
    background: var(--primary-gradient);
    color: white;
}

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

[data-theme="dark"] .btn-secondary:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* ========================================
   LANDING PAGE STYLES
   ======================================== */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] nav {
    background: rgba(28, 28, 30, 0.95);
}

nav.scrolled {
    box-shadow: var(--shadow);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login,
.btn-get-started {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: none;
    color: var(--text-primary);
}

.btn-login:hover {
    background: var(--bg-color);
}

.btn-get-started {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 255, 0.25);
}

[data-theme="dark"] .btn-get-started:hover {
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-menu {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.mobile-menu:hover {
    border-color: #1316E5;
    background: rgba(19, 22, 229, 0.05);
}


.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--card-bg);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    margin-bottom: 3rem;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-blue);
}

.mobile-nav-buttons {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-buttons button {
    width: 100%;
    padding: 14px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-blue);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.video-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.video-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.app-stores {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.store-badge:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.store-badge i {
    font-size: 24px;
}

.store-text {
    text-align: left;
}

.store-text small {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
}

.store-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* Sections */
.services,
.features {
    padding: 15px 20px;
}

.services .container,
.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services .section-header,
.features .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 16px;
    padding: 0;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.services .section-header h2,
.features .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.services .section-header p,
.features .section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.service-card,
.feature-item {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover,
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon,
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.service-icon i,
.feature-icon i {
    font-size: 28px;
    color: var(--primary-blue);
}

.service-card h3,
.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-card p,
.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 15px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-section .btn-primary {
    max-width: 300px;
    margin: 0 auto;
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
}

.cta-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 15px 20px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 32px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   THEME TOGGLE
   ======================================== */

.theme-toggle {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    border-color: var(--primary-blue);
}

[data-theme="light"] .theme-toggle .bi-moon-stars {
    display: block;
}

[data-theme="light"] .theme-toggle .bi-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .bi-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .bi-moon-stars {
    display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-buttons .theme-toggle,
    .nav-buttons .btn-login,
    .nav-buttons .btn-get-started,
    .nav-clean-links,
    .nav-clean-actions {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-spacious {
        text-align: center;
    }

    .hero-spacious-description {
        text-align: center;
    }

    .hero {
        padding: 100px 1.5rem 40px;
    }

    .services,
    .features {
        padding: 15px 20px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card,
    .feature-item {
        padding: 16px;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        gap: 20px;
    }

    .cta-section {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .balance-amount {
        font-size: 36px;
    }

    .profile-balance-amount {
        font-size: 28px;
    }

    .auth-container {
        padding: 32px 24px;
    }

    .nav-container {
        padding: 1rem;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .action-cards {
        gap: 10px;
        padding: 0 16px 16px;
    }

    .action-card {
        padding: 16px 8px;
    }

    .network-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   SMOOTH TRANSITIONS
   ======================================== */

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Prevent transition on page load */
body.no-transitions * {
    transition: none !important;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ========================================
   REDESIGNED LANDING PAGE STYLES
   Professional & Modern Design
   ======================================== */

/* New Hero Section - SPACIOUS */
.hero-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--hover-bg) 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero-new {
    background: linear-gradient(135deg, var(--bg-color) 0%, #1E293B 100%);
}

.hero-new-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--success-color);
    font-size: 16px;
}

.hero-new-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-new-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-new-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-blue);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 32px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers - Compact */
.section-header-new {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title-new {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Services Section - COMPACT */
.services-new {
    padding: 60px 20px;
    background: var(--bg-color);
}

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

.service-card-new {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card-new-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card-new-icon i {
    font-size: 28px;
    color: white;
}

.service-card-new h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-new p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

/* Features Section - COMPACT */
.features-new {
    padding: 60px 20px;
    background: var(--card-bg);
}

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

.feature-card-new {
    padding: 28px;
    background: var(--bg-color);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-blue);
}

.feature-icon-new {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon-new i {
    font-size: 24px;
    color: var(--primary-blue);
}

.feature-card-new h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card-new p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* CTA Section - COMPACT */
.cta-new {
    padding: 80px 20px;
    background: var(--primary-gradient);
    color: white;
}

.cta-new-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-new h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-new p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Footer - COMPACT */
.footer-new {
    padding: 60px 20px 30px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.footer-new-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-group {
    display: contents;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

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

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-new {
        padding: 120px 1.5rem 60px;
    }

    .hero-new-title {
        font-size: 2.25rem;
    }

    .hero-new-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-new-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .services-new {
        padding: 40px 20px;
        text-align: center;
    }

    .features-new {
        padding: 40px 20px;
        text-align: center;
    }

    .services-new-grid,
    .features-new-grid {
        grid-template-columns: 1fr;
    }

    .service-card-new,
    .feature-card-new {
        text-align: center;
    }

    .service-link {
        justify-content: center;
    }

    .cta-new {
        padding: 50px 20px;
        text-align: center;
    }

    .cta-new-content {
        text-align: center;
    }

    .footer-new-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title-new {
        font-size: 1.75rem;
    }

    .service-card-new,
    .feature-card-new {
        padding: 24px;
    }
}

/* ========================================
   THEME TOGGLE ICON COLOR FIX
   ======================================== */

/* Force all theme toggle icons to use primary blue #1316E5 */
.theme-toggle i,
.nav-theme-toggle i,
.nav-minimal-theme-toggle i,
.theme-toggle .bi-sun,
.theme-toggle .bi-moon-stars,
.nav-theme-toggle .bi-sun,
.nav-theme-toggle .bi-moon-stars {
    color: #1316E5 !important;
    transition: all 0.3s ease !important;
}

/* Light mode - show sun icon */
[data-theme="light"] .theme-toggle .bi-sun,
[data-theme="light"] .nav-theme-toggle .bi-sun,
[data-theme="light"] .nav-minimal-theme-toggle .bi-sun {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}

[data-theme="light"] .theme-toggle .bi-moon-stars,
[data-theme="light"] .nav-theme-toggle .bi-moon-stars,
[data-theme="light"] .nav-minimal-theme-toggle .bi-moon-stars {
    opacity: 0 !important;
    transform: rotate(-180deg) scale(0.5) !important;
}

/* Dark mode - show moon icon */
[data-theme="dark"] .theme-toggle .bi-sun,
[data-theme="dark"] .nav-theme-toggle .bi-sun,
[data-theme="dark"] .nav-minimal-theme-toggle .bi-sun {
    opacity: 0 !important;
    transform: rotate(180deg) scale(0.5) !important;
}

[data-theme="dark"] .theme-toggle .bi-moon-stars,
[data-theme="dark"] .nav-theme-toggle .bi-moon-stars,
[data-theme="dark"] .nav-minimal-theme-toggle .bi-moon-stars {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}

/* ========================================
   PAGE LOADER
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1316E5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}