/* ===== CSS Variables ===== */
:root {
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    
    --red: #DC2626;
    --red-light: #FEE2E2;
    
    --green: #10B981;
    --green-light: #D1FAE5;
    --green-dark: #059669;
    
    --yellow: #F59E0B;
    --yellow-light: #FEF3C7;
    
    --pink: #EC4899;
    --pink-light: #FCE7F3;
    
    --purple-light: #F3E8FF;
    
    --blue: #3B82F6;
    --blue-light: #DBEAFE;
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    --white: #FFFFFF;
    --black: #000000;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --transition: 0.2s ease;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 80px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    font-size: inherit;
}

input {
    font-family: inherit;
    font-size: inherit;
}

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

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

/* ===== Warning Banner ===== */
.warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%);
    border-bottom: 1px solid #F59E0B;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.warning-banner.show {
    display: flex;
}

.warning-close {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-600);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 600px;
    margin: 0 auto;
}

.logo-img {
    height: 32px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-outline-sm {
    padding: 8px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
}

.btn-outline-sm:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
}

.lang-flag {
    font-size: 16px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
    min-width: 140px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--purple-light);
    color: var(--primary);
}

/* ===== Online Status ===== */
.online-status {
    position: fixed;
    top: 60px;
    right: 16px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--green-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--green-dark);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* ===== App Container ===== */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== Install Banner ===== */
.install-banner {
    margin-bottom: 12px;
}

.btn-install {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--blue-light);
    border: 2px solid var(--blue);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
    transition: var(--transition);
}

.btn-install:hover {
    background: #BFDBFE;
}

/* ===== Need Help Button ===== */
.btn-need-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: var(--red);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    margin-bottom: 24px;
}

.btn-need-help:hover {
    background: #B91C1C;
}

/* ===== Help Section ===== */
.help-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.help-header {
    text-align: center;
    margin-bottom: 24px;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.help-icon svg {
    stroke: var(--white);
}

.help-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.help-header p {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 300px;
    margin: 0 auto;
}

/* ===== Offer Section ===== */
.offer-section {
    margin-bottom: 20px;
}

.offer-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

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

.offer-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.offer-option:hover {
    border-color: var(--gray-300);
}

.offer-option.active {
    background: var(--green-light);
    border-color: var(--green);
}

.offer-option.active svg {
    stroke: var(--green-dark);
}

.offer-option.active span {
    color: var(--green-dark);
}

.offer-option svg {
    stroke: var(--gray-500);
}

.offer-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ===== Battery Settings ===== */
.battery-settings {
    margin-bottom: 20px;
}

.battery-card {
    background: var(--green-light);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

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

.battery-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.battery-label svg {
    stroke: var(--gray-600);
}

.battery-percent {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-dark);
}

.battery-slider-container {
    position: relative;
    height: 8px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.battery-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.battery-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    transition: width 0.1s;
}

.battery-slider-fill::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--green);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.fast-charge-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fast-charge-toggle > span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.fast-charge-toggle svg {
    stroke: var(--yellow);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 28px;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* Help Method */
.help-method {
    margin-top: 16px;
}

.help-method h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

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

.method-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.method-option:hover {
    border-color: var(--gray-300);
}

.method-option.active {
    border-color: var(--primary);
    background: var(--purple-light);
}

.method-option.active svg {
    stroke: var(--primary);
}

.method-option.active span {
    color: var(--primary);
}

.method-option svg {
    stroke: var(--gray-500);
}

.method-option span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ===== Internet Settings ===== */
.internet-settings {
    margin-bottom: 20px;
}

.internet-settings.hidden {
    display: none;
}

.internet-card {
    background: var(--purple-light);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.internet-info {
    margin-bottom: 12px;
}

.internet-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.wifi-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.wifi-input:focus {
    outline: none;
    border-color: var(--primary);
}

.wifi-password {
    position: relative;
}

.wifi-password .wifi-input {
    padding-right: 48px;
    margin-bottom: 0;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
    color: var(--gray-500);
}

/* ===== Location Section ===== */
.location-section {
    margin-bottom: 20px;
}

.location-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.btn-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.btn-location:hover {
    background: var(--gray-800);
}

.btn-location svg {
    stroke: var(--white);
}

.location-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: var(--green-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--green-dark);
}

.location-status.hidden {
    display: none;
}

.location-status svg {
    stroke: var(--green);
}

/* ===== Security Info ===== */
.security-info {
    background: var(--blue-light);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}

.security-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.security-header svg {
    stroke: var(--blue);
}

.security-list {
    list-style: none;
}

.security-list li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 4px 0;
}

/* ===== Start Helping Button ===== */
.btn-start-helping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.btn-start-helping:hover {
    background: var(--primary-dark);
}

.btn-start-helping svg {
    stroke: var(--white);
}

/* ===== Chat Page ===== */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    margin: -16px -16px 0;
}

.btn-back {
    padding: 8px;
    color: var(--gray-600);
}

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

.chat-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-light);
    border-radius: 50%;
}

.chat-avatar svg {
    stroke: var(--primary);
}

.chat-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.chat-status {
    font-size: 13px;
    color: var(--gray-500);
}

.chat-messages {
    min-height: calc(100vh - 280px);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    line-height: 1.5;
}

.message.sent {
    align-self: flex-end;
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message.received {
    align-self: flex-start;
    background: var(--gray-100);
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
}

.message-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.btn-like {
    padding: 4px;
    color: var(--gray-400);
    transition: var(--transition);
}

.btn-like:hover,
.btn-like.active {
    color: var(--pink);
}

.chat-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    margin: 0 -16px -16px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-send {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.btn-send:hover {
    background: var(--primary-dark);
}

.btn-send svg {
    stroke: var(--white);
}

/* ===== Requests Page ===== */
.page-header {
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

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

.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state svg {
    stroke: var(--gray-300);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
    color: var(--gray-500);
}

/* ===== Profile Page ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-logo {
    height: 32px;
}

/* WattCoins Section */
.wattcoins-section {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 20px;
}

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

.wattcoins-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

.coin-icon {
    font-size: 20px;
}

.level-info {
    font-size: 13px;
    color: var(--gray-500);
}

.progress-bar {
    height: 10px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.progress-label {
    font-size: 13px;
    color: var(--gray-500);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-card.pink {
    background: var(--pink-light);
}

.stat-card.pink svg {
    stroke: var(--pink);
}

.stat-card.purple {
    background: var(--purple-light);
}

.stat-card.purple svg {
    stroke: var(--primary);
}

.stat-card.yellow {
    background: var(--yellow-light);
}

.stat-card.yellow svg {
    stroke: var(--yellow);
}

.stat-card.green {
    background: var(--green-light);
}

.stat-card.green svg {
    stroke: var(--green);
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Capacity Card */
.capacity-card {
    background: var(--white);
    border: 2px solid var(--purple-light);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 20px;
}

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

.capacity-header > span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.capacity-header svg {
    stroke: var(--primary);
}

.premium-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.capacity-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.capacity-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
}

.capacity-total {
    font-size: 16px;
    color: var(--gray-400);
}

.capacity-detail {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.capacity-premium {
    font-size: 13px;
    color: var(--primary);
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    transition: var(--transition);
}

.profile-tab.active {
    background: var(--gray-100);
    color: var(--gray-900);
}

.profile-tab svg {
    stroke: currentColor;
}

/* Transactions */
.transactions-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 20px;
}

.transactions-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.transaction-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-light);
    border-radius: var(--radius-md);
    font-size: 20px;
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.transaction-date {
    font-size: 12px;
    color: var(--gray-500);
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
}

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

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

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--gray-400);
    transition: var(--transition);
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

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

.nav-item.fab {
    position: relative;
    top: -20px;
    width: 56px;
    height: 56px;
    padding: 0;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.nav-item.fab svg {
    stroke: var(--white);
}

/* ===== Modals ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-400);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-header {
    padding: 24px;
    text-align: center;
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.modal-icon.red {
    background: var(--red-light);
}

.modal-icon.red svg {
    stroke: var(--red);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-body {
    padding: 0 24px 24px;
}

/* How it Works Steps */
.how-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.how-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Need Help Options */
.need-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.need-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.need-option:hover {
    border-color: var(--primary);
    background: var(--purple-light);
}

.need-option.active {
    border-color: var(--primary);
    background: var(--purple-light);
}

.need-option svg {
    stroke: var(--gray-600);
}

.need-option:hover svg,
.need-option.active svg {
    stroke: var(--primary);
}

.need-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.btn-search-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.btn-search-help:hover {
    background: var(--primary-dark);
}

.btn-search-help svg {
    stroke: var(--white);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gray-900);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    font-size: 16px;
}

/* ===== Hidden ===== */
.hidden {
    display: none !important;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
    body {
        background: var(--gray-100);
    }
    
    .app-container {
        padding: 24px;
    }
    
    .header-content {
        max-width: 800px;
    }
    
    .help-section {
        padding: 32px;
    }
    
    .stats-grid {
        gap: 16px;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-options,
    .method-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-option:last-child,
    .method-option:last-child {
        grid-column: span 2;
    }
    
    .nav-item span {
        font-size: 10px;
    }
}
