/* ============================================
   TRACE Protocol Finance - Home Page Styles
============================================ */

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Gold Glow Effect Behind Logo */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 30%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: translate(-50%, -60%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -60%) scale(1.05); }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pyramid Logo */
.hero-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
    filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.4));
}

.hero-logo svg {
    width: 100%;
    height: 100%;
}

/* Main Title */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(52px, 8vw, 100px);
    line-height: 1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
    letter-spacing: -0.02em;
}

.hero-title .bold {
    font-weight: 800;
    color: var(--text-primary);
}

.hero-title .light {
    font-weight: 300;
    color: var(--vertical-primary);
}

/* Tagline */
.hero-tagline {
    font-family: 'Saira', sans-serif;
    font-style: italic;
    font-size: clamp(16px, 2.5vw, 22px);
    color: rgba(212, 175, 55, 0.8);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    letter-spacing: 0.1em;
}

/* Description */
.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Vertical Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 100px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--vertical-primary), var(--trace-gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-badge-text {
    text-align: left;
}

.hero-badge-text .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge-text .name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--vertical-primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--vertical-primary);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* Blockchain Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 100px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.verified-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

.verified-badge span {
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================
   QUICK NAVIGATION SECTION
============================================ */
.quick-nav-section {
    padding: 80px 0;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quick-nav-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.quick-nav-card:hover {
    border-color: var(--trace-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.quick-nav-card:hover .quick-nav-arrow {
    transform: translateX(4px);
    color: var(--trace-gold);
}

.quick-nav-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-nav-icon svg {
    width: 26px;
    height: 26px;
    color: var(--trace-gold);
}

.quick-nav-content {
    flex: 1;
}

.quick-nav-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 4px;
}

.quick-nav-content h3 .bold {
    font-weight: 700;
    color: var(--text-primary);
}

.quick-nav-content h3 .light {
    font-weight: 300;
    color: var(--trace-gold);
}

.quick-nav-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.quick-nav-arrow {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.quick-nav-arrow svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   WORKFLOW SECTION
============================================ */
.workflow-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--xdrip-gray) 0%, var(--xdrip-black) 100%);
    text-align: center;
}

.workflow-header {
    margin-bottom: 60px;
}

.workflow-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin-bottom: 16px;
}

.workflow-title .bold {
    font-weight: 800;
    color: var(--text-primary);
}

.workflow-title .light {
    font-weight: 300;
    color: var(--trace-gold);
}

.workflow-tagline {
    font-family: 'Saira', sans-serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(212, 175, 55, 0.7);
    letter-spacing: 0.08em;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
}

.step-letter {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trace-gold), var(--trace-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--xdrip-black);
    margin: 0 auto 16px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.step-word {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--trace-gold) 0%, var(--trace-gold-dark) 100%);
    opacity: 0.95;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    color: var(--xdrip-black);
}

.cta-section h2 .bold {
    font-weight: 700;
}

.cta-section h2 .light {
    font-weight: 300;
}

.cta-section p {
    font-size: 18px;
    color: rgba(20, 20, 20, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .quick-nav-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .hero-badge {
        padding: 10px 20px;
    }

    .hero-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .workflow-steps {
        gap: 24px;
    }

    .step-letter {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 32px;
    }

    .quick-nav-card {
        padding: 20px;
    }

    .quick-nav-icon {
        width: 44px;
        height: 44px;
    }

    .quick-nav-icon svg {
        width: 20px;
        height: 20px;
    }
}
