:root {
    --primary-color: #c23631;
    --primary-dark: #a02d29;
    --secondary-color: #1db36a;
    --secondary-dark: #17905a;
    --bg-dark: rgba(255, 255, 255, 0.95);
    --bg-darker: rgba(245, 245, 245, 0.98);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-color: rgba(0, 0, 0, 0.1);
    --success-color: #1db36a;
    --error-color: #c23631;
    --warning-color: #f5a623;
    --gradient-primary: linear-gradient(135deg, #c23631 0%, #e74c3c 100%);
    --gradient-secondary: linear-gradient(135deg, #1db36a 0%, #2ecc71 100%);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: #fafbfc;
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 18px;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Quickstart Card - Right Side */
.hero-quickstart {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    max-width: 280px;
    margin-left: auto;
}

.hero-qs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.hero-qs-header span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.hero-qs-icon {
    width: 26px;
    height: 26px;
}

.hero-qs-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-qs-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hero-qs-step:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateX(3px);
}

.hero-qs-step span:last-child {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
}

.hero-qs-num {
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.btn-qs-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-qs-start:hover {
    background: #a82e2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(194, 54, 49, 0.3);
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-quickstart {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-quickstart {
        padding: 20px;
    }
    
    .hero-qs-header span {
        font-size: 15px;
    }
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(194, 54, 49, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(194, 54, 49, 0.5);
}

.btn-outline.btn-lg {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline.btn-lg:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    width: 100%;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.hero-card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.hero-card-header span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-comparison {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-item {
    flex: 1;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
}

.comparison-item.burn {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-item.rent {
    background: rgba(29, 179, 106, 0.08);
    border: 1px solid rgba(29, 179, 106, 0.2);
}

.comparison-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.comparison-item.burn .comparison-value {
    color: #dc2626;
    text-decoration: line-through;
    opacity: 0.7;
}

.comparison-item.rent .comparison-value {
    color: var(--success-color);
}

.comparison-method {
    font-size: 11px;
    color: var(--text-muted);
}

.comparison-arrow {
    color: var(--text-muted);
    font-size: 20px;
}

.hero-savings-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-secondary);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
}

.hero-savings-badge i {
    font-size: 18px;
}

.hero-savings-badge strong {
    font-weight: 700;
}

/* Hero Mobile Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-feature {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-card {
        padding: 24px;
    }
    
    .comparison-value {
        font-size: 20px;
    }
}

/* Quick Start Section */
.quickstart-section {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.quickstart-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(29, 179, 106, 0.08) 0%, rgba(46, 204, 113, 0.05) 100%);
    border: 1px solid rgba(29, 179, 106, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
}

.quickstart-icon {
    flex-shrink: 0;
}

.quickstart-icon img {
    width: 48px;
    height: 48px;
}

.quickstart-content {
    flex: 1;
}

.quickstart-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.quickstart-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qs-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.qs-num {
    width: 28px;
    height: 28px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.qs-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qs-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.qs-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.qs-arrow {
    color: var(--success-color);
    font-size: 16px;
}

.btn-quickstart {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 179, 106, 0.3);
}

.btn-quickstart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 179, 106, 0.4);
}

@media (max-width: 1100px) {
    .quickstart-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .quickstart-steps {
        justify-content: center;
    }
    
    .qs-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .quickstart-banner {
        padding: 20px;
    }
    
    .qs-step {
        flex: 1;
        min-width: 100%;
    }
    
    .btn-quickstart {
        width: 100%;
        justify-content: center;
    }
}

.blockchain-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-top: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.blockchain-header {
    margin-bottom: 12px;
    text-align: center;
}

.blockchain-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.blockchain-header h3 i {
    font-size: 14px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.blockchain-stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blockchain-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blockchain-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    flex: 1 1 auto;
    min-width: fit-content;
    justify-content: center;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 12px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 11px;
    white-space: nowrap;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
}

.stat-value.updated {
    animation: pulse-highlight 0.5s ease;
}

@keyframes pulse-highlight {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); color: var(--secondary-color); }
    100% { transform: scale(1); opacity: 1; }
}

.price-item .stat-value {
    color: var(--text-primary);
}

.price-change {
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 500;
}

.price-change.positive {
    background: rgba(29, 179, 106, 0.2);
    color: var(--secondary-color);
}

.price-change.negative {
    background: rgba(194, 54, 49, 0.2);
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .blockchain-stats-row {
        gap: 6px;
    }
    .stat-item {
        padding: 3px 8px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .blockchain-section {
        padding: 10px 0;
    }
    
    .blockchain-header h3 {
        font-size: 14px;
    }
    
    .blockchain-stats-wrapper {
        gap: 4px;
        overflow: hidden;
    }
    .blockchain-stats-row {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        gap: 4px;
    }
    .stat-item {
        flex: 0 0 auto;
        padding: 4px 8px;
        min-width: auto;
    }
    
    .stat-item .stat-label {
        font-size: 9px;
    }
    
    .stat-item .stat-value {
        font-size: 11px;
    }
    
    .stat-item i {
        font-size: 10px;
    }
    
    /* Hide info tooltips on mobile - too small */
    .stat-item .info-tooltip {
        display: none;
    }
    
    /* Hide secondary stats on small mobile */
    .blockchain-stats-row:last-child .stat-item:nth-child(n+6) {
        display: none;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 15px !important;
        overflow: hidden;
    }
    
    .section {
        overflow: hidden;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .blockchain-stats-row:last-child {
        display: none;
    }
    
    .blockchain-stats-row:first-child .stat-item:nth-child(n+6) {
        display: none;
    }
}

.main-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

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

.nav-link i {
    font-size: 16px;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(194, 54, 49, 0.4);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(29, 179, 106, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10002;
    position: relative;
}

.mobile-menu-toggle:active {
    opacity: 0.7;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    color: var(--primary-color);
}

.energy-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.energy-cards {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

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

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

.benefits-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.benefits-list li i {
    color: var(--secondary-color);
    font-size: 16px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 54, 49, 0.2);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.price-summary {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-secondary);
}

.price-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.price-row.total span:last-child {
    color: var(--secondary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-box {
    background: var(--bg-darker);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-title {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swap-section {
    background: var(--bg-darker);
}

.swap-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.swap-card {
    padding: 40px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.swap-input-group {
    margin-bottom: 20px;
}

.swap-input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.swap-input {
    display: flex;
    align-items: stretch;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: visible;
}

.swap-input input {
    flex: 1;
    min-width: 0;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
}

.swap-input input:focus {
    outline: none;
}

.swap-input input::placeholder {
    color: var(--text-muted);
}

.token-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-card);
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    border-radius: 0 12px 12px 0;
}

.token-selector:hover {
    background: var(--bg-card-hover);
}

.token-selector img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.token-selector span {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.token-selector i {
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

.balance-info {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.swap-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: -10px auto;
    background: var(--bg-card);
    border: 4px solid var(--bg-darker);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.swap-toggle:hover {
    background: var(--primary-color);
    transform: rotate(180deg);
}

.swap-details {
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.detail-row span:first-child {
    color: var(--text-muted);
}

.detail-row span:last-child {
    color: var(--text-secondary);
}

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

.current-rate {
    margin: 30px 0;
}

.rate-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
}

.rate-change {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

.rate-change.positive {
    background: rgba(29, 179, 106, 0.2);
    color: var(--secondary-color);
}

.rate-change.negative {
    background: rgba(194, 54, 49, 0.2);
    color: var(--primary-color);
}

.rate-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.rate-stat {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 15px;
}

.rate-stat .label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.rate-stat .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.about-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    justify-content: center;
}

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

.faq-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.faq-item.active {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(194, 54, 49, 0.05);
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-brand span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

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

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-hover);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-color: var(--secondary-color);
}

.notification.success i {
    color: var(--secondary-color);
}

.notification.error {
    border-color: var(--primary-color);
}

.notification.error i {
    color: var(--primary-color);
}

.notification i {
    font-size: 20px;
}

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

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

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .swap-container {
        grid-template-columns: 1fr;
    }
    
    .swap-card {
        order: 1;
    }
    
    .rate-card {
        order: 2;
    }
}

@media (max-width: 768px) {
    .blockchain-stats {
        justify-content: center;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 140px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-actions {
        display: block;
        position: static;
    }
    
    .nav-actions #connect-wallet {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .energy-cards {
        grid-template-columns: 1fr;
    }
    
    .swap-card {
        padding: 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .swap-container {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }
    
    .swap-input input {
        font-size: 18px;
        padding: 12px;
        min-width: 0;
    }
    
    .swap-input {
        flex-wrap: nowrap;
    }
    
    .token-selector {
        padding: 8px 10px;
        flex-shrink: 0;
    }
    
    .token-selector span {
        font-size: 14px;
    }
    
    .rate-value {
        font-size: 32px;
    }
    
    .rate-stats {
        grid-template-columns: 1fr;
    }
    
    .rate-card {
        padding: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .energy-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        padding: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
        max-width: 100% !important;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .card, .swap-card, .rate-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .swap-input input {
        font-size: 16px;
        padding: 10px;
    }
    
    .swap-toggle {
        width: 40px;
        height: 40px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .rate-value {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-box {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.nav-live-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.chart-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top center, rgba(194, 54, 49, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.chart-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.chart-price-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-current-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.chart-current-price .price-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.chart-current-price .price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-current-price .price-change-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.chart-current-price .price-change-badge.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.chart-current-price .price-change-badge.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.chart-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.chart-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-stat .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-stat .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-timeframes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeframe-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeframe-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-card);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.chart-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.chart-loading i {
    font-size: 32px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .chart-header {
        flex-direction: column;
    }
    
    .chart-current-price .price-value {
        font-size: 28px;
    }
    
    .chart-stats {
        gap: 16px;
    }
    
    .chart-wrapper {
        height: 300px;
    }
    
    .timeframe-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.lang-selector-wrapper {
    position: relative;
}

.btn-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-lang:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(194, 54, 49, 0.15);
}

.btn-lang #lang-flag {
    font-size: 20px;
    line-height: 1;
}

.btn-lang #current-lang {
    min-width: 24px;
    text-align: center;
}

.btn-lang i {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.lang-selector-wrapper.open .btn-lang {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(194, 54, 49, 0.15);
}

.lang-selector-wrapper.open .btn-lang i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 0.5;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

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

.lang-group-title {
    padding: 10px 16px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1;
}

.lang-group-title:first-child {
    border-top: none;
    border-radius: 12px 12px 0 0;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lang-option .flag {
    font-size: 20px;
    width: 28px;
    text-align: center;
    line-height: 1;
}

.lang-option .lang-name {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.lang-option:hover {
    background: linear-gradient(90deg, rgba(194, 54, 49, 0.1), transparent);
    color: var(--text-primary);
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

.lang-option:focus,
.lang-option.focused {
    background: linear-gradient(90deg, rgba(194, 54, 49, 0.15), transparent);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    outline: none;
}

.lang-option.active {
    background: linear-gradient(90deg, rgba(194, 54, 49, 0.2), transparent);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.lang-option.active .lang-name::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 11px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .lang-selector-wrapper {
        position: fixed !important;
        top: 12px;
        right: 55px;
        z-index: 10000;
        display: block !important;
    }
    
    .btn-lang {
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .btn-lang #current-lang {
        display: none;
    }
    
    .lang-dropdown {
        position: fixed !important;
        top: 55px;
        right: 10px;
        left: 10px;
        max-height: 70vh;
        min-width: unset;
        z-index: 10001;
    }
    
    .lang-option {
        padding: 14px 16px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 18px;
    }
    
    .nav-live-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav .container {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .nav-link span {
        display: inline;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(194, 54, 49, 0.1);
    }
    
    .nav-live-badge {
        display: inline-flex;
    }
    
    .nav-actions {
        display: block;
        position: static;
    }
    
    .nav-actions #connect-wallet {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        font-size: 20px;
        color: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--bg-card-hover);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    
    .blockchain-section {
        padding: 10px 0;
    }
    
    .blockchain-header h3 {
        font-size: 14px;
    }
    
    .blockchain-stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .stat-item {
        flex-direction: column;
        padding: 8px 6px;
        text-align: center;
        min-width: unset;
    }
    
    .stat-item i {
        display: none;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .stat-value {
        font-size: 11px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .energy-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .swap-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .swap-card {
        order: 1;
    }
    
    .rate-card {
        order: 2;
    }
    
    .card {
        padding: 20px;
    }
    
    .chart-container {
        padding: 15px;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .chart-controls {
        width: 100%;
    }
    
    .period-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .period-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .chart-wrapper {
        height: 250px;
    }
    
    .chart-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 15px;
    }
    
    .faq-answer {
        font-size: 14px;
        padding: 0 15px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .blockchain-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        padding: 10px 8px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-block {
        width: 100%;
    }
    
    .swap-input input {
        font-size: 18px;
        padding: 12px;
    }
    
    .token-selector {
        padding: 8px 12px;
    }
    
    .token-selector span {
        font-size: 14px;
    }
    
    .rate-value {
        font-size: 28px;
    }
    
    .rate-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-current-price .price-value {
        font-size: 28px;
    }
    
    .chart-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-box {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-title {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 18px;
    }
    
    .blockchain-stats-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .stat-value {
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .swap-input input {
        font-size: 16px;
    }
    
    .rate-value {
        font-size: 24px;
    }
}

.energy-calculator-card {
    grid-column: span 1;
}

.calculator-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px;
    border-radius: 12px;
}

.calc-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.calc-tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recipient-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tooltip-trigger {
    color: var(--text-muted);
    font-size: 12px;
    cursor: help;
}

.toggle-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 4px;
}

.toggle-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(194, 54, 49, 0.3);
}

.toggle-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.calc-content {
    margin-bottom: 20px;
}

.calc-content.hidden {
    display: none;
}

.energy-presets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.energy-preset-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.energy-preset-btn:hover {
    border-color: var(--primary-color);
    background: rgba(194, 54, 49, 0.05);
    transform: translateY(-2px);
}

.energy-preset-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(194, 54, 49, 0.1), rgba(194, 54, 49, 0.05));
    box-shadow: 0 4px 12px rgba(194, 54, 49, 0.15);
}

.preset-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.preset-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.energy-preset-btn.active .preset-value {
    color: var(--primary-color);
}

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

.transfer-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.counter-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 10px;
    font-size: 18px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.transfer-counter input {
    flex: 1;
    max-width: 100px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.transfer-quick-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-transfer-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-transfer-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.custom-energy-input input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-energy-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 54, 49, 0.1);
}

.input-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.duration-selector {
    margin-bottom: 20px;
}

.duration-selector label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.duration-buttons {
    display: flex;
    gap: 8px;
}

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

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

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

.savings-comparison {
    background: linear-gradient(135deg, rgba(29, 179, 106, 0.08), rgba(29, 179, 106, 0.03));
    border: 1px solid rgba(29, 179, 106, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.comparison-header > span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--success-color);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    align-items: center;
    gap: 12px;
}

.row-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.comparison-row.burn .row-label i {
    color: var(--error-color);
}

.comparison-row.rental .row-label i {
    color: var(--success-color);
}

.row-bar {
    height: 24px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.comparison-row.burn .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--error-color), #ff6b6b);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.comparison-row.rental .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), #2ecc71);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.row-value {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.comparison-row.burn .row-value {
    color: var(--error-color);
}

.comparison-row.rental .row-value {
    color: var(--success-color);
}

.savings-amount {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(29, 179, 106, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.savings-amount .highlight {
    font-size: 18px;
    font-weight: 700;
    color: var(--success-color);
}

.savings-amount .secondary {
    color: var(--text-muted);
}

.wallet-input {
    margin-bottom: 16px;
}

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

.wallet-input input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: monospace;
    transition: all 0.3s ease;
}

.wallet-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 54, 49, 0.1);
}

#rent-energy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-price {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.market-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.market-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.market-label i {
    animation: spin 2s linear infinite;
}

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

.energy-details-card {
    grid-column: span 1;
    min-width: 0;
}

.detail-breakdown {
    margin-bottom: 20px;
}

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

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

.breakdown-row.total {
    background: rgba(194, 54, 49, 0.05);
    margin: 10px -20px -10px;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    border-bottom: none;
}

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

.breakdown-label .sub-value {
    font-size: 11px;
    color: var(--text-muted);
}

.breakdown-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.breakdown-row.total .breakdown-label,
.breakdown-row.total .breakdown-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

.usdt-transfers-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: rgba(29, 179, 106, 0.08);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.usdt-transfers-info i {
    color: var(--success-color);
    font-size: 18px;
}

.transfers-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--success-color);
}

.formula-info {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    margin-bottom: 20px;
}

.formula-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.formula-header:hover {
    color: var(--text-primary);
}

.formula-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.formula-header.open i:last-child {
    transform: rotate(180deg);
}

.formula-content {
    padding: 0 16px 16px;
}

.formula-content.hidden {
    display: none;
}

.formula-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.formula-content code {
    display: block;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.formula-note {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

.energy-tips {
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 10px;
    padding: 16px;
}

.energy-tips h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--warning-color);
    margin-bottom: 12px;
}

.energy-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.energy-tips li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.energy-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--warning-color);
    font-weight: bold;
}

/* Energy Explainer Section */
.energy-explainer {
    margin-bottom: 30px;
}

.explainer-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.explainer-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explainer-icon i {
    font-size: 24px;
    color: white;
}

.explainer-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.explainer-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.explainer-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.explainer-mini.trx {
    border-color: rgba(29, 179, 106, 0.3);
    background: rgba(29, 179, 106, 0.05);
}

.explainer-mini.trc20 {
    border-color: rgba(194, 54, 49, 0.3);
    background: rgba(194, 54, 49, 0.05);
}

.mini-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mini-icon img {
    width: 28px;
    height: 28px;
}

.mini-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-content strong {
    font-size: 14px;
    color: var(--text-primary);
}

.mini-content span {
    font-size: 12px;
    color: var(--text-secondary);
}

.mini-cost {
    font-weight: 600 !important;
}

.mini-cost.free {
    color: var(--success-color) !important;
}

.mini-cost.expensive {
    color: var(--text-secondary) !important;
}

/* Scenario Comparison */
.detail-header-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    margin-bottom: 20px;
}

.detail-info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.detail-info-row span {
    font-size: 12px;
    color: var(--text-muted);
}

.detail-info-row strong {
    font-size: 16px;
    color: var(--text-primary);
}

.scenario-comparison {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: stretch;
}

.scenario {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.scenario.burn-scenario {
    border-color: rgba(194, 54, 49, 0.3);
}

.scenario.rental-scenario {
    border-color: rgba(29, 179, 106, 0.3);
}

.scenario.rental-scenario.recommended {
    box-shadow: 0 4px 20px rgba(29, 179, 106, 0.15);
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 13px;
}

.burn-scenario .scenario-header {
    background: rgba(194, 54, 49, 0.1);
    color: var(--error-color);
}

.rental-scenario .scenario-header {
    background: rgba(29, 179, 106, 0.1);
    color: var(--success-color);
}

.recommended-badge {
    margin-left: auto;
    background: var(--success-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.scenario-breakdown {
    padding: 12px;
}

.scenario-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

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

.scenario-row.total {
    padding-top: 14px;
    margin-top: 6px;
    border-top: 2px dashed var(--border-color);
    border-bottom: none;
}

.scenario-row.total span:last-child {
    font-size: 18px;
    font-weight: 700;
}

.burn-scenario .scenario-row.total span:last-child {
    color: var(--error-color);
}

.rental-scenario .scenario-row.total span:last-child {
    color: var(--success-color);
}

.scenario-note {
    padding: 12px 16px;
    background: rgba(194, 54, 49, 0.05);
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.scenario-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(29, 179, 106, 0.1);
    font-size: 14px;
    color: var(--success-color);
    border-top: 1px solid rgba(29, 179, 106, 0.2);
}

.scenario-savings strong {
    font-size: 16px;
}

.scenario-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scenario-vs span {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

/* Formula improvements */
.formula-block {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.formula-block:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.formula-block p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.formula-block p i {
    font-size: 14px;
}

.formula-block .fa-fire {
    color: var(--error-color);
}

.formula-block .fa-bolt {
    color: var(--success-color);
}

.formula-example {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

.formula-note i {
    margin-right: 6px;
}

@media (min-width: 1200px) {
    .scenario-comparison {
        gap: 24px;
    }
    
    .scenario {
        border-radius: 16px;
    }
    
    .scenario-header {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .scenario-breakdown {
        padding: 20px;
    }
    
    .scenario-row {
        padding: 14px 0;
        font-size: 14px;
    }
    
    .scenario-row.total span:last-child {
        font-size: 22px;
    }
    
    .scenario-savings {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .scenario-savings strong {
        font-size: 20px;
    }
    
    .scenario-vs span {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
    
    .detail-header-info {
        padding: 20px;
        gap: 20px;
    }
    
    .detail-info-row strong {
        font-size: 20px;
    }
    
    .energy-details-card h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }
}

@media (max-width: 992px) {
    .energy-cards {
        grid-template-columns: 1fr;
    }
    
    .energy-calculator-card {
        grid-column: span 1;
        max-width: none;
    }
    
    .energy-presets {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .explainer-cards-row {
        grid-template-columns: 1fr;
    }
    
    .scenario-comparison {
        flex-direction: column;
    }
    
    .scenario-vs {
        padding: 10px 0;
    }
    
    .scenario-vs span {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .explainer-card {
        flex-direction: column;
        text-align: center;
    }
    
    .explainer-icon {
        margin: 0 auto;
    }
    
    .detail-header-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .detail-info-row {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .detail-info-row:last-child {
        border-bottom: none;
    }
    
    .energy-presets {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .energy-preset-btn {
        padding: 12px 8px;
    }
    
    .preset-value {
        font-size: 16px;
    }
    
    .duration-buttons {
        flex-wrap: wrap;
    }
    
    .duration-btn {
        flex: 1 1 calc(33.333% - 6px);
        padding: 10px;
        font-size: 13px;
    }
    
    .comparison-row {
        grid-template-columns: 80px 1fr 70px;
        gap: 8px;
    }
    
    .row-label {
        font-size: 12px;
    }
    
    .recipient-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-hint {
        margin-left: 0;
    }
    
    .calculator-tabs {
        flex-wrap: wrap;
    }
    
    .calc-tab {
        flex: 1 1 calc(50% - 4px);
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .energy-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .energy-preset-btn:last-child {
        grid-column: span 2;
    }
    
    .duration-btn {
        flex: 1 1 calc(50% - 4px);
    }
}

.only-usdt-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.usdt-problem-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.problem-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    font-size: 24px;
    color: white;
}

.problem-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.problem-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.promo-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.energy-promo::before {
    background: linear-gradient(90deg, #f5a623, #ff6b6b);
}

.energy-promo {
    border-color: rgba(245, 166, 35, 0.3);
}

.swap-promo::before {
    background: linear-gradient(90deg, #1db36a, #00d4aa);
}

.swap-promo {
    border-color: rgba(29, 179, 106, 0.3);
}

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

.promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #c23631 0%, #e74c3c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-badge i {
    font-size: 10px;
}

.promo-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-promo .promo-icon {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(255, 107, 107, 0.15) 100%);
}

.energy-promo .promo-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, #f5a623, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swap-promo .promo-icon {
    background: linear-gradient(135deg, rgba(29, 179, 106, 0.15) 0%, rgba(0, 212, 170, 0.15) 100%);
}

.swap-promo .promo-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, #1db36a, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.promo-value {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.energy-promo .promo-value {
    background: linear-gradient(135deg, #f5a623, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swap-promo .promo-value {
    background: linear-gradient(135deg, #1db36a, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.promo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.promo-features li:last-child {
    border-bottom: none;
}

.promo-features i {
    color: var(--success-color);
    font-size: 12px;
}

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

.energy-promo .promo-btn {
    background: linear-gradient(135deg, #f5a623 0%, #ff6b6b 100%);
    color: white;
}

.energy-promo .promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
}

.swap-promo .promo-btn {
    background: linear-gradient(135deg, #1db36a 0%, #00d4aa 100%);
    color: white;
}

.swap-promo .promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 179, 106, 0.4);
}

.promo-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.promo-inline.energy-promo-inline {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(255, 107, 107, 0.08));
    border-color: rgba(245, 166, 35, 0.25);
}

.promo-inline.swap-promo-inline {
    background: linear-gradient(135deg, rgba(29, 179, 106, 0.08), rgba(0, 212, 170, 0.08));
    border-color: rgba(29, 179, 106, 0.25);
}

.promo-badge-small {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: badge-pulse 2s infinite;
}

.energy-promo-inline .promo-badge-small {
    background: linear-gradient(135deg, #f5a623, #ff6b6b);
    color: white;
}

.swap-promo-inline .promo-badge-small {
    background: linear-gradient(135deg, #1db36a, #00d4aa);
    color: white;
}

.promo-badge-small i {
    font-size: 10px;
}

.promo-inline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-inline-content strong {
    font-size: 13px;
    color: var(--text-primary);
}

.promo-inline-content span {
    font-size: 11px;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .promo-inline {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-inline-content {
        align-items: center;
    }
}

.promo-btn-energy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 24px 12px;
}

.promo-btn-energy .btn-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.promo-btn-energy .btn-promo-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.promo-btn-energy .price-crossed {
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 400;
}

.promo-btn-energy .price-free {
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: free-pulse 1.5s ease-in-out infinite;
}

@keyframes free-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.promo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(29, 179, 106, 0.15), rgba(0, 212, 170, 0.1));
    border: 1px solid rgba(29, 179, 106, 0.3);
}

.promo-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1db36a, #00d4aa);
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    animation: badge-pulse 2s infinite;
}

.promo-banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-banner-text strong {
    font-size: 16px;
    color: var(--text-primary);
}

.promo-banner-text span {
    font-size: 14px;
    color: var(--text-secondary);
}

.wallet-or-connect {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 400;
}

.wallet-or-connect span:first-child {
    color: var(--text-muted);
}

.connect-wallet-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
}

.connect-wallet-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.connect-wallet-link i {
    font-size: 12px;
}

.connect-hint {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .promo-banner-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .promo-banner-text strong {
        font-size: 14px;
    }
    
    .promo-banner-text span {
        font-size: 12px;
    }
    
    .wallet-or-connect {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Universal Info Tooltip */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    cursor: help;
}

.info-tooltip i {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.info-tooltip:hover i {
    color: var(--primary-color);
}

.info-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 250px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    margin-bottom: 8px;
    pointer-events: none;
}

.info-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.info-tooltip:hover::after,
.info-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.sun-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: help;
}

.sun-tooltip i {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.sun-tooltip:hover i {
    color: var(--primary-color);
}

.sun-tooltip::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.sun-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.sun-tooltip:hover::after,
.sun-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .promo-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .usdt-problem-card {
        flex-direction: column;
        text-align: center;
    }
    
    .problem-icon {
        margin: 0 auto;
    }
    
    .promo-card {
        padding: 24px 20px;
    }
    
    .promo-value {
        font-size: 28px;
    }
    
    .usdt-note {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   HOW IT WORKS - DEMO SECTION
   ===================================================== */

.how-it-works-section {
    background: var(--bg-color);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left side: Step indicators */
.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    opacity: 0.6;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.demo-step:hover {
    opacity: 0.8;
    transform: translateX(-5px);
}

.demo-step.active {
    opacity: 1;
    transform: translateX(0);
    background: var(--card-bg);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(194, 54, 49, 0.15);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.3s;
}

.demo-step.active .step-number {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(194, 54, 49, 0.4);
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Right side: Phone mockup */
.demo-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.demo-phone {
    width: 300px;
    height: 560px;
    background: var(--card-bg);
    border-radius: 32px;
    padding: 8px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px var(--glass-border);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--bg-color);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
    position: relative;
}

.phone-notch::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    top: 9px;
    right: 24px;
    opacity: 0.5;
}

.phone-content {
    height: calc(100% - 32px);
    background: var(--bg-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

/* Demo slides */
.demo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.demo-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Demo Site Header */
.demo-site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--glass-border);
}

.demo-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-logo img {
    width: 24px;
    height: 24px;
}

.demo-logo span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.demo-connect-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.demo-connect-btn i {
    font-size: 10px;
}

.demo-wallet-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(29, 179, 106, 0.15);
    border: 1px solid rgba(29, 179, 106, 0.3);
    border-radius: 8px;
}

.demo-wallet-badge i {
    color: var(--success-color);
    font-size: 10px;
}

.demo-wallet-badge span {
    font-size: 11px;
    color: var(--text-primary);
    font-family: monospace;
}

/* Demo Site Content */
.demo-site-content {
    flex: 1;
    padding: 16px;
    overflow: hidden;
}

.demo-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.demo-card-header i {
    color: var(--primary-color);
    font-size: 14px;
}

.demo-card-header span {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

/* Step 1: Wallet Prompt */
.demo-wallet-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.demo-wallet-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.demo-wallet-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.demo-wallet-prompt p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.demo-wallet-options {
    display: flex;
    gap: 10px;
}

.demo-wallet-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-wallet-option:hover {
    border-color: var(--primary-color);
}

.demo-wallet-option img {
    width: 20px;
    height: 20px;
}

.demo-wallet-option span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Step 2: Energy Presets */
.demo-energy-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.demo-preset-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-preset-btn.active {
    background: rgba(194, 54, 49, 0.1);
    border-color: var(--primary-color);
}

.demo-preset-btn .preset-val {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.demo-preset-btn .preset-info {
    font-size: 10px;
    color: var(--text-muted);
}

.demo-preset-btn.active .preset-val {
    color: var(--primary-color);
}

.demo-calc-result {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
}

.demo-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-result-row > span {
    font-size: 12px;
    color: var(--text-muted);
}

.demo-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-trx {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.demo-save {
    font-size: 10px;
    font-weight: 600;
    color: var(--success-color);
    padding: 3px 6px;
    background: rgba(29, 179, 106, 0.15);
    border-radius: 4px;
}

.demo-rent-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Step 3: Payment */
.demo-qr-section {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.demo-qr-code {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-qr-code i {
    font-size: 60px;
    color: var(--bg-color);
}

.demo-payment-info {
    margin-bottom: 12px;
}

.demo-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.demo-pay-row span {
    font-size: 12px;
    color: var(--text-muted);
}

.demo-pay-row strong {
    font-size: 16px;
    color: var(--text-primary);
}

.demo-address-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--glass-bg);
    border-radius: 8px;
}

.demo-address-box span {
    font-size: 12px;
    font-family: monospace;
    color: var(--text-primary);
}

.demo-address-box i {
    color: var(--primary-color);
    font-size: 12px;
    cursor: pointer;
}

.demo-timer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 8px;
    margin-bottom: 12px;
}

.demo-timer-box i {
    color: var(--warning-color);
    font-size: 12px;
}

.demo-timer-box span {
    font-family: monospace;
    font-weight: 600;
    font-size: 14px;
    color: var(--warning-color);
}

.demo-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.demo-waiting span {
    font-size: 12px;
    color: var(--text-muted);
}

.demo-dots {
    display: flex;
    gap: 4px;
}

.demo-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: demo-dot-bounce 1.4s infinite ease-in-out both;
}

.demo-dots span:nth-child(1) { animation-delay: -0.32s; }
.demo-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes demo-dot-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Step 4: Success */
.success-card {
    text-align: center;
    padding: 20px 16px;
}

.demo-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-success-icon i {
    font-size: 50px;
    color: var(--success-color);
}

.success-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.demo-success-details {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
}

.demo-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.demo-detail-row span {
    font-size: 12px;
    color: var(--text-muted);
}

.demo-detail-row strong {
    font-size: 12px;
    color: var(--text-primary);
}

.demo-success-hint {
    font-size: 11px;
    color: var(--success-color);
    margin: 0;
    padding: 10px;
    background: rgba(29, 179, 106, 0.1);
    border-radius: 8px;
}

/* Pulse animation */
.pulse-btn {
    animation: pulse-demo 2s infinite;
}

@keyframes pulse-demo {
    0%, 100% { box-shadow: 0 4px 15px rgba(194, 54, 49, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(194, 54, 49, 0.5); }
}

/* Progress bar */
.demo-progress {
    width: 100%;
    max-width: 280px;
}

.progress-bar {
    height: 4px;
    background: var(--glass-bg);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 25%;
    transition: width 0.3s ease;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    cursor: pointer;
}

.progress-dots .dot:hover {
    border-color: var(--primary-color);
}

.progress-dots .dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(194, 54, 49, 0.5);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-steps {
        order: 2;
    }
    
    .demo-screen {
        order: 1;
    }
    
    .demo-phone {
        width: 280px;
        height: 520px;
    }
}

@media (max-width: 480px) {
    .demo-phone {
        width: 260px;
        height: 480px;
    }
    
    .demo-step {
        padding: 16px;
        gap: 16px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-content h4 {
        font-size: 16px;
    }
    
    .step-content p {
        font-size: 13px;
    }
}

/* Tutorial Section - 3 Steps */
.tutorial-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(194, 54, 49, 0.03) 0%, transparent 100%);
}

.tutorial-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.tutorial-step {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tutorial-step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(194, 54, 49, 0.3);
}

.tutorial-step-icon {
    width: 70px;
    height: 70px;
    background: rgba(194, 54, 49, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.3s ease;
}

.tutorial-step:hover .tutorial-step-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.tutorial-step-icon.highlight {
    background: linear-gradient(135deg, rgba(194, 54, 49, 0.15), rgba(194, 54, 49, 0.05));
}

.tutorial-step-icon.success {
    background: rgba(29, 179, 106, 0.1);
    color: var(--secondary-color);
}

.tutorial-step:hover .tutorial-step-icon.success {
    background: linear-gradient(135deg, var(--secondary-color), #28a745);
    color: white;
}

.tutorial-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tutorial-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.tutorial-arrow {
    color: var(--text-muted);
    font-size: 24px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .tutorial-section {
        padding: 40px 0;
    }
    
    .tutorial-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .tutorial-step {
        max-width: 100%;
        width: 100%;
    }
    
    .tutorial-arrow {
        transform: rotate(90deg);
    }
}

/* End Tutorial Section */