/* ============================================================================
   MODERN EXPANDABLE CARDS - UPDATED WITH NEW HERO CONTENT
   ============================================================================ */

/* Page State Management */
.page-expandable-home .whitepaper-section {
    display: none;
}

.page-whitepaper .expandable-home-section {
    display: none;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(234, 179, 8, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 179, 8, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-flow 20s linear infinite;
}

@keyframes grid-flow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
}

/* Main Container */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 1rem 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-400);
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-md);
    transition: all 0.3s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* NEW: Hero Value Props */
.hero-value-props {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-prop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: left;
}

.value-prop-item:hover {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
    transform: translateY(-2px);
}

.prop-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    background: rgba(234, 179, 8, 0.2);
    border-radius: 50%;
    padding: 4px;
}

.prop-text {
    color: var(--slate-200);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================================================
   CARD DESIGN (UNCHANGED)
   ============================================================================ */

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
}

/* Modern Card Container */
.expand-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
}

.expand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 179, 8, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.expand-card:hover::before {
    opacity: 1;
}

.expand-card.expanded {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.expand-card.expanded::before {
    opacity: 1;
}

/* Card Header - Completely New Layout */
.card-header {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    min-height: 120px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--slate-950);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.expand-card:hover .card-icon::before {
    transform: translateX(100%);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-100);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-summary {
    font-size: 0.95rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-arrow {
    width: 24px;
    height: 24px;
    color: var(--gold-400);
    transition: all 0.4s ease;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.25rem;
}

.expand-card.expanded .card-arrow {
    transform: rotate(180deg);
}

/* Card Body - New Smooth Expansion */
.card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-card.expanded .card-body {
    max-height: 4000px;
}

.card-body-content {
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(234, 179, 8, 0.2);
    margin-top: 1rem;
    padding-top: 2rem;
}

/* Content Sections - New Design */
.card-divider {
    display: none; /* Remove old divider */
}

/* Platform Details - New Grid */
.platform-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.detail-item:hover {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.3);
    transform: translateX(4px);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(234, 179, 8, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--gold-400);
    transition: all 0.3s ease;
}

.detail-item:hover .detail-icon {
    background: rgba(234, 179, 8, 0.4);
    transform: scale(1.1);
}

.detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-100);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.detail-description {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.5;
}

/* Architecture Visual - New Design */
.architecture-visual {
    background: rgba(234, 179, 8, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    color: var(--gold-400);
    font-weight: 600;
    transition: all 0.3s ease;
}

.arch-layer:hover {
    background: rgba(234, 179, 8, 0.15);
    transform: scale(1.02);
}

/* Tokenomics Grid - New Layout */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.token-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.token-card:hover {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.3);
}

.token-card h4 {
    color: var(--gold-400);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.token-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.token-detail:last-child {
    border-bottom: none;
}

.token-label {
    color: var(--slate-400);
    font-size: 0.9rem;
}

.token-value {
    color: var(--slate-100);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* Documentation Center - New Style */
.documentation-center {
    text-align: center;
    background: rgba(234, 179, 8, 0.08);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.documentation-center h4 {
    color: var(--gold-400);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.documentation-center p {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.documentation-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.documentation-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
}

/* CTA Section - Enhanced */
.cta-section {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* NEW: Social Proof Section */
.social-proof {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-proof-text {
    color: var(--slate-300);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-proof-tagline {
    color: var(--gold-400);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
}

/* ============================================================================
   RESPONSIVE DESIGN - DESKTOP ENHANCEMENTS
   ============================================================================ */

@media (min-width: 769px) {
    .main-container {
        padding: 120px 2rem 2rem;
    }
    
    .hero-section {
        margin-bottom: 4rem;
    }
    
    /* Desktop: Two columns for value props */
    .hero-value-props {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 700px;
    }
    
    .value-prop-item {
        padding: 1rem 1.25rem;
    }
    
    .prop-text {
        font-size: 0.95rem;
    }
    
    .cards-grid {
        max-width: 1000px;
        gap: 2rem;
    }
    
    .card-header {
        padding: 2.5rem;
        min-height: 140px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-body-content {
        padding: 0 2.5rem 2.5rem;
        padding-top: 2.5rem;
    }
    
    /* Desktop: Two columns for platform details */
    .platform-details {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Desktop: Two columns for tokenomics */
    .tokenomics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Desktop: Horizontal buttons */
    .documentation-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
    }
    
    .social-proof-text {
        font-size: 1.125rem;
    }
    
    .social-proof-tagline {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .main-container {
        max-width: 1200px;
    }
    
    .cards-grid {
        max-width: 1100px;
    }
    
    /* Large desktop: Value props stay two columns but wider */
    .hero-value-props {
        max-width: 800px;
        gap: 1.25rem;
    }
    
    .value-prop-item {
        padding: 1.25rem 1.5rem;
    }
    
    /* Large desktop: Three columns for platform details */
    .platform-details {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    /* Large desktop: Three columns for tokenomics */
    .tokenomics-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile specific adjustments for value props */
@media (max-width: 480px) {
    .hero-value-props {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .value-prop-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .prop-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .prop-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .social-proof {
        padding-top: 1.5rem;
    }
    
    .social-proof-text {
        font-size: 0.9rem;
    }
    
    .social-proof-tagline {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-item {
    animation: slideIn 0.5s ease forwards;
}

.detail-item:nth-child(1) { animation-delay: 0.1s; }
.detail-item:nth-child(2) { animation-delay: 0.2s; }
.detail-item:nth-child(3) { animation-delay: 0.3s; }
.detail-item:nth-child(4) { animation-delay: 0.4s; }
.detail-item:nth-child(5) { animation-delay: 0.5s; }
.detail-item:nth-child(6) { animation-delay: 0.6s; }

/* Value prop animations */
.value-prop-item {
    animation: slideIn 0.5s ease forwards;
}

.value-prop-item:nth-child(1) { animation-delay: 0.2s; }
.value-prop-item:nth-child(2) { animation-delay: 0.3s; }
.value-prop-item:nth-child(3) { animation-delay: 0.4s; }
.value-prop-item:nth-child(4) { animation-delay: 0.5s; }