/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff6b35;
    --dark-bg: #0a0e17;
    --darker-bg: #050811;
    --card-bg: #121a2a;
    --text: #e6f1ff;
    --text-secondary: #a0aec0;
    --accent: #7928ca;
    --success: #00ff88;
    --warning: #ffcc00;
    --border: #1a2332;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Larger logo */
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.4rem;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.nav-links .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

/* ===== MAIN CONTENT ===== */
#content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    flex: 1;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===== MARKETING WINDOW ===== */
.marketing-window {
    background: linear-gradient(135deg, rgba(5, 8, 17, 0.95), rgba(10, 14, 23, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin: 3rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(0, 212, 255, 0.1) inset;
    backdrop-filter: blur(10px);
}

.window-header {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(120, 40, 202, 0.1));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.window-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.window-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.window-title i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.window-controls {
    display: flex;
    gap: 1rem;
}

.window-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.window-nav-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.window-content {
    padding: 3rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.window-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.window-slide.active {
    display: block;
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.slide-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.slide-feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.slide-feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.slide-feature h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.slide-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.window-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

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

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

/* ===== P2P SECTION ===== */
.p2p-section {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--darker-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.p2p-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.p2p-diagram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diagram-step {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
}

.diagram-step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.diagram-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.diagram-step h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.diagram-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    border-radius: 20px;
    margin: 4rem 0;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 0;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--darker-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ===== CONTACT PAGE STYLES ===== */
.message-box {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    font-weight: 600;
}

.message-box.success {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.message-box.error {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
    color: var(--secondary);
}

.contact-info-grid {
    display: grid;
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-card i {
    color: var(--primary);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.info-card p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: var(--text);
    margin-right: 0.5rem;
    min-width: 150px;
}

/* Page header styles */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(5, 8, 17, 0.9), rgba(10, 14, 23, 0.9));
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.contact-form h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Support topics */
.support-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.topic-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.topic-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.topic-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.2rem;
}

.topic-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Security badge */
.security-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.security-badge i {
    color: var(--success);
}

.security-badge span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== SCENARIOS & TRANSPARENCY STYLES ===== */
.scenarios-section,
.transparency-section {
    margin: 4rem 0;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.scenarios-section h2,
.transparency-section h2 {
    text-align: center;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    width: 100%;
}

.scenarios-grid,
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scenario-card,
.transparency-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.scenario-card:hover,
.transparency-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1);
}

.scenario-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.scenario-card h3,
.transparency-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
    text-align: center;
    width: 100%;
}

.scenario-card p,
.transparency-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.scenario-outcome {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

.outcome-profit {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.outcome-loss {
    background: rgba(255, 107, 53, 0.1);
    color: var(--secondary);
}

.transparency-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Commission highlight */
.commission-highlight {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid var(--warning);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

.commission-highlight i {
    color: var(--warning);
    font-size: 1.5rem;
}

.commission-highlight strong {
    color: var(--warning);
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* ===== RESPONSIVE DESIGN FIXES ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        display: none;
        border-top: 1px solid var(--border);
        z-index: 1000;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero p {
        text-align: center;
    }
    
    .p2p-section {
        padding: 2rem 1rem;
    }
    
    .p2p-section h2, .section-subtitle {
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.5rem;
    }
    
    .feature-card {
        width: 100%;
        max-width: 400px;
        text-align: center;
        padding: 1.5rem;
    }
    
    .p2p-diagram {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.5rem;
    }
    
    .diagram-step {
        width: 100%;
        max-width: 400px;
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .page-header {
        padding: 3rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .page-header p {
        text-align: center;
    }
    
    .scenarios-grid,
    .transparency-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .scenario-card,
    .transparency-card {
        width: 100%;
        max-width: 400px;
        text-align: center;
        margin: 0 auto;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .scenario-card h3,
    .scenario-card p,
    .transparency-card h3,
    .transparency-card p {
        text-align: center;
        width: 100%;
    }
    
    .scenario-card ul {
        text-align: left;
        padding-left: 1.5rem;
        display: block;
        margin: 1rem auto;
        width: 90%; /* Reduced from 100% to create left offset */
        max-width: 90%; /* Reduced from 100% to create left offset */
        box-sizing: border-box;
    }
    
    .scenario-card ul li {
        text-align: left;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .scenario-icon {
        margin: 0 auto 1.5rem;
    }
    
    .marketing-window {
        margin: 2rem 0;
    }
    
    .window-content {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .slide-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .slide-content {
        text-align: center;
    }
    
    .slide-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }
    
    .slide-feature {
        width: 100%;
        max-width: 300px;
        padding: 1rem;
    }
    
    .commission-highlight {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .price-ticker {
        justify-content: center;
        padding: 0.75rem;
        gap: 1rem;
    }
    
    .ticker-item {
        min-width: 140px;
    }
    
    .footer-content {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* FIX FOR PORTRAIT MODE - SPECIFICALLY CENTERING CONTENT */
@media (max-width: 768px) and (orientation: portrait) {
    .scenarios-section,
    .transparency-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
        box-sizing: border-box;
    }
    
    .scenarios-section h2,
    .transparency-section h2 {
        text-align: center;
        width: 100%;
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .section-subtitle {
        text-align: center;
        width: 100%;
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .scenarios-grid,
    .transparency-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1.5rem;
        box-sizing: border-box;
    }
    
    .scenario-card,
    .transparency-card {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem !important;
        margin: 0 auto 1.5rem !important;
        box-sizing: border-box;
    }
    
    .scenario-card h3,
    .transparency-card h3,
    .scenario-card p,
    .transparency-card p {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* FIX: Move child content to the left for better centering */
    .scenario-card ul {
        text-align: left;
        padding-left: 1.5rem !important;
        width: 85% !important; /* Reduced from 90% to move content left */
        display: block !important;
        margin: 1rem auto !important;
        box-sizing: border-box;
        max-width: 85% !important; /* Reduced from 90% to move content left */
    }
    
    .scenario-card ul li {
        text-align: left;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
        padding-left: 0.5rem; /* Added padding to move bullet points left */
    }
    
    .scenario-icon,
    .transparency-number {
        margin: 0 auto 1.5rem !important;
    }
    
    .commission-highlight {
        text-align: center;
        justify-content: center;
        flex-direction: column;
        width: 100% !important;
        padding: 1rem !important;
        margin: 1rem auto !important;
        box-sizing: border-box;
    }
    
    .commission-highlight div {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Fix for list items that might overflow */
    .scenario-card ul li strong {
        display: inline;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure all text fits within container */
    .scenario-card *,
    .transparency-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for long text in scenario cards */
    .scenario-card p,
    .scenario-card h3,
    .transparency-card p,
    .transparency-card h3 {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Additional left offset for transparency card content */
    .transparency-card p {
        padding: 0 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .footer-content {
        padding: 0 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .p2p-section,
    .scenarios-section,
    .transparency-section {
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }
    
    .p2p-section h2,
    .scenarios-section h2,
    .transparency-section h2 {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    .ticker-item {
        min-width: 120px;
    }
    
    .action-buttons .btn {
        min-width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .window-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .window-controls {
        justify-content: center;
    }
    
    .scenario-card,
    .transparency-card {
        padding: 1.25rem !important;
    }
    
    .scenario-card ul {
        padding-left: 1.25rem !important;
        width: 80% !important; /* Further reduced for small screens */
        max-width: 80% !important; /* Further reduced for small screens */
    }
    
    /* Fix for very small screens */
    .scenario-card ul li {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Additional fixes for mobile portrait mode */
@media (max-width: 768px) and (orientation: portrait) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .slide-title {
        font-size: 1.4rem;
    }
    
    .slide-content {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Force centering for all elements in scenarios and transparency sections */
    .scenarios-section > *,
    .transparency-section > * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* FIX: Additional left offset for scenario card content on portrait mode */
    .scenario-card ul[style] {
        text-align: left !important;
        padding-left: 1rem !important; /* Reduced padding for left offset */
        display: block !important;
        margin: 1rem auto !important;
        width: 82% !important; /* Adjusted width for better centering */
        max-width: 82% !important; /* Adjusted width for better centering */
        box-sizing: border-box !important;
    }
    
    /* Ensure all children of scenario cards are centered */
    .scenario-card > *,
    .transparency-card > * {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for the outcome divs */
    .scenario-outcome {
        text-align: center !important;
        margin: 1rem auto 0 !important;
        display: inline-block !important;
    }
    
    /* Fix for commission highlight in scenarios section */
    .scenarios-section .commission-highlight {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
    }
    
    /* Additional left offset for transparency card paragraphs */
    .transparency-card p {
        padding: 0 0.75rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== PRINT STYLES ===== */
@media print {
    .loader,
    .mobile-menu-btn,
    .action-buttons .btn {
        display: none !important;
    }
}

/* ===== FIX FOR SCROLLING ===== */
#how-it-works {
    scroll-margin-top: 100px;
}

/* Ensure all sections are visible */
section {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Additional fix for long text on mobile */
@media (max-width: 768px) {
    * {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    
    .scenario-card,
    .transparency-card {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Specific fix for scenario card list items positioning */
@media (max-width: 768px) {
    .scenario-card ul {
        margin-left: -0.5rem !important; /* Added negative margin to move content left */
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .scenario-card ul {
        margin-left: -0.75rem !important; /* Increased negative margin for portrait mode */
    }
}