/* RZW Token White Paper Styles */

/* Global Styles */
.executive-summary,
.problem-statement,
.razewin-ecosystem,
.token-distribution,
.vesting-schedule,
.technology-security,
.roadmap,
.download-share {
    padding: 120px 0;
}

/* Hero Section */
.white-paper-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.white-paper-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 45px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .hero-visual {
        margin-top: 0;
    }
}

.token-logo {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.token-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-top: 40px;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.9rem;
    color: #6c757d;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Executive Summary */
.executive-summary {
    background: #f8f9fa;
}

.summary-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.summary-text {
    font-size: 1.7rem;
    line-height: 2;
    color: #2c3e50;
    margin-bottom: 0;
    text-align: justify;
}

.summary-image {
    text-align: center;
    margin-bottom: 20px;
}

.summary-image img {
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.summary-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Problem Statement */
.problem-statement {
    background: white;
}

.problem-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    border-left: 5px solid #e74c3c;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.problem-card h4 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.8rem;
}

.problem-card ul {
    list-style: none;
    padding: 0;
}

.problem-card li {
    padding: 12px 0;
    color: #495057;
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 35px;
}

.problem-card li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 8px;
}

/* Razewin Ecosystem */
.razewin-ecosystem {
    background: #f8f9fa;
}

.ecosystem-feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ecosystem-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.ecosystem-feature h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.8rem;
}

.ecosystem-feature p {
    color: #495057;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ecosystem-feature ul {
    list-style: none;
    padding: 0;
}

.ecosystem-feature li {
    padding: 10px 0;
    color: #495057;
    font-size: 1.5rem;
    line-height: 1.8;
    position: relative;
    padding-left: 35px;
}

.ecosystem-feature li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: #27ae60;
    font-weight: bold;
}

.overview-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.overview-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
}

.card-value {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.overview-card p {
    font-size: 1.7rem;
    color: #6c757d;
}

/* Token Distribution */
.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
}

.distribution-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.legend-item:hover {
    background: #e9ecef;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-label {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.7rem;
}

.legend-value {
    font-weight: 600;
    color: #6c757d;
    font-size: 1.6rem;
}

/* Vesting Schedule */
.vesting-schedule {
    background: #f8f9fa;
}

.vesting-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.vesting-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-marker.tge {
    background: #28a745;
}

.timeline-marker.month-3 {
    background: #ffc107;
}

.timeline-marker.month-6 {
    background: #17a2b8;
}

.timeline-marker.month-12 {
    background: #fd7e14;
}

.timeline-marker.month-36 {
    background: #6f42c1;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1.9rem;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.timeline-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-details span {
    font-size: 1.6rem;
    color: #495057;
    padding: 12px 18px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Technology & Security */
.technology-security {
    background: white;
}

.tech-category {
    margin-bottom: 40px;
}

.tech-category h3 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tech-feature h4 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1.9rem;
}

.tech-feature p {
    color: #6c757d;
    line-height: 1.9;
    margin: 0;
    font-size: 1.7rem;
}

/* Roadmap */
.roadmap {
    background: #f8f9fa;
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e9ecef;
}

.roadmap-item.completed::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.roadmap-item.active::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.roadmap-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.roadmap-quarter {
    font-size: 1.9rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.roadmap-item.completed .roadmap-quarter {
    color: #28a745;
}

.roadmap-item.active .roadmap-quarter {
    color: #667eea;
}

.roadmap-content h4 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1.9rem;
}

.roadmap-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-content li {
    padding: 18px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
}

.roadmap-content li::before {
    content: attr(data-icon);
    font-size: 1.2rem;
}

/* Download & Share */
.download-share {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 40px;
}

.download-content h3 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.download-content p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.9;
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.btn-social {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-social.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.btn-social.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
}

.btn-social.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.btn-social.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.download-visual {
    font-size: 8rem;
    opacity: 0.3;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .white-paper-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .token-logo {
        width: 150px;
        height: 150px;
    }

    .token-logo img {
        width: 90px;
        height: 90px;
    }

    .section-header h2 {
        font-size: 4rem;
    }

    .section-header p {
        font-size: 1.8rem;
    }

    .chart-container {
        height: 300px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .vesting-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 5px;
        width: 25px;
        height: 25px;
    }

    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .download-visual {
        font-size: 4rem;
    }

    .share-buttons {
        justify-content: center;
        margin-top: 15px;
    }

    .download-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .summary-content {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .summary-text {
        font-size: 1.5rem;
        text-align: left;
        margin-bottom: 20px;
    }

    .summary-image {
        margin-bottom: 25px;
        text-align: center;
    }

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

/* Print Styles */
@media print {
    .white-paper-hero {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    .hero-actions,
    .download-share {
        display: none !important;
    }

    .section-header,
    .overview-card,
    .timeline-content,
    .tech-feature,
    .roadmap-item {
        break-inside: avoid;
    }

    .chart-container {
        height: 300px;
    }
}
