/* ========================================
   ICO PAGE - COLONIAL/PARCHMENT STYLE
   ======================================== */

/* Parchment Background - Fixed */
body {
    background: url('https://wethepeoplesrepublic.org/img/new-border-top-bottom-flyer.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ICO Hero Section */
.ico-hero {
    position: relative;
    padding: 1rem 2rem 6rem;
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.1), rgba(139, 69, 19, 0.05));
    border-bottom: 3px double #8B4513;
}

/* Proclamation Box */
.proclamation {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border: 3px double #8B4513;
    padding: 4rem 3rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 60px rgba(139, 69, 19, 0.05);
    position: relative;
}

.proclamation-seal {
    text-align: center;
    margin-bottom: 2rem;
}

.proclamation-seal i {
    font-size: 4rem;
    color: #8B4513;
    opacity: 0.6;
}

.proclamation-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: #654321;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.proclamation-subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #8B4513;
    margin-bottom: 2rem;
}

.proclamation-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8B4513, transparent);
    margin: 2rem auto;
}

.proclamation-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #4a3520;
    text-align: justify;
    margin-bottom: 2rem;
    text-indent: 2rem;
}

.proclamation-date {
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #654321;
    font-style: italic;
}

.proclamation-date span {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.proclamation-date strong {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Countdown Section */
.countdown-section {
    padding: 5rem 2rem;
    background: rgba(139, 69, 19, 0.05);
    border-bottom: 2px solid rgba(139, 69, 19, 0.2);
}

.countdown-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.countdown-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    color: #654321;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.countdown-subtext {
    font-size: 1.1rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-style: italic;
}

.countdown-date {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4F46E5;
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.time-value {
    display: block;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #4F46E5;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-label {
    display: block;
    font-size: 1rem;
    color: #654321;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Sale Info Section */
.sale-info {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.3);
}

/* Parchment Document Style */
.parchment-document {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border: 3px double #8B4513;
    padding: 4rem 3rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 40px rgba(139, 69, 19, 0.03);
}

.document-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #654321;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.document-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8B4513, transparent);
    margin: 0 auto 3rem;
}

/* Sale Details Grid */
.sale-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
}

.detail-icon {
    font-size: 3rem;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #654321;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-value {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.detail-label {
    font-size: 0.95rem;
    color: #8B4513;
    font-style: italic;
}

/* Tokenomics Progress */
.tokenomics-progress {
    padding: 6rem 2rem;
    background: rgba(139, 69, 19, 0.03);
}

.section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #654321;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8B4513;
    margin-bottom: 4rem;
}

.progress-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #654321;
}

.progress-percent {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #4F46E5;
}

.progress-bar {
    width: 100%;
    height: 40px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.progress-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease-out;
}

.progress-text {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* How to Participate */
.how-to-participate {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.2);
}

.participation-steps {
    margin-bottom: 4rem;
}

.participation-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: #4F46E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid #8B4513;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #654321;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #4a3520;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4F46E5;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    border: 2px solid #4F46E5;
    transition: all 0.3s ease;
}

.step-link:hover {
    background: #4F46E5;
    color: white;
    transform: translateX(5px);
}

.cta-box {
    background: rgba(79, 70, 229, 0.1);
    border: 3px double #4F46E5;
    padding: 3rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 3rem;
}

.cta-box h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    color: #654321;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: #4a3520;
    margin-bottom: 2rem;
}

/* Why Participate */
.why-participate {
    padding: 6rem 2rem;
    background: rgba(139, 69, 19, 0.05);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #654321;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #4a3520;
    line-height: 1.7;
}

/* Token Utility */
.token-utility {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.3);
}

.utility-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.utility-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.utility-icon {
    width: 70px;
    height: 70px;
    background: #4F46E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    border: 3px solid #8B4513;
}

.utility-content h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.4rem;
    color: #654321;
    margin-bottom: 0.75rem;
}

.utility-content p {
    color: #4a3520;
    line-height: 1.7;
}

/* FAQ Section */
.ico-faq {
    padding: 6rem 2rem;
    background: rgba(139, 69, 19, 0.03);
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #8B4513;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #4F46E5;
}

.faq-item.active {
    border-color: #4F46E5;
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(79, 70, 229, 0.05);
}

.question-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #654321;
    flex: 1;
}

.question-icon {
    flex-shrink: 0;
    color: #4F46E5;
    transition: transform 0.3s ease;
}

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

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

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

.answer-content {
    padding: 0 1.5rem 1.5rem;
}

.answer-content p {
    color: #4a3520;
    line-height: 1.8;
}

.answer-content a {
    color: #4F46E5;
    font-weight: 600;
    text-decoration: underline;
}

/* Final CTA */
.final-cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.15), rgba(139, 69, 19, 0.1));
    border-top: 3px double #8B4513;
}

.cta-proclamation {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    border: 3px double #8B4513;
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-seal {
    font-size: 4rem;
    color: #8B4513;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.cta-proclamation h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3rem;
    color: #654321;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #4a3520;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-footer p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #654321;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: #4F46E5;
    color: white;
    border: 2px solid #4F46E5;
}

.btn-primary:hover {
    background: #4338CA;
    border-color: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4F46E5;
    border: 2px solid #4F46E5;
}

.btn-secondary:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-nav {
    background: #10B981;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #059669;
}

/* Responsive */
@media (max-width: 768px) {
    .proclamation-title {
        font-size: 2.5rem;
    }
    
    .proclamation-subtitle {
        font-size: 1.5rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 100px;
        padding: 1.5rem 1rem;
    }
    
    .time-value {
        font-size: 2.5rem;
    }
    
    .participation-step {
        gap: 1.5rem;
    }
    
    .step-marker {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .parchment-document {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .proclamation {
        padding: 2rem 1.5rem;
    }
    
    .proclamation-title {
        font-size: 2rem;
    }
    
    .document-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem 0.75rem;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .cta-proclamation {
        padding: 3rem 1.5rem;
    }
    
    .cta-proclamation h2 {
        font-size: 2rem;
    }
}