/* ============================================
   economics.day - Corporate Gradient SaaS
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #F8FAFC;
    color: #0F172A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(#E2E8F0 0.8px, transparent 0.8px);
    background-size: 40px 40px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #4338CA 100%);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: 4rem 5vw;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.3), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.tag {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 16px;
    padding: 2px 10px;
    margin-bottom: 1rem;
}

.tag-news {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.tag-opinion {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
}

.hero .tag-news {
    background: rgba(59, 130, 246, 0.25);
    color: #93C5FD;
}

.hero-headline {
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-headline.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-summary {
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 60ch;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}

.hero-summary.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- DATA STRIP --- */
.data-strip-wrapper {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-strip {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 0 2rem;
}

.data-mini-card {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
    border-right: 1px solid #E2E8F0;
}

.data-mini-card:last-child {
    border-right: none;
}

.mini-label {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
}

.mini-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0F172A;
}

.mini-sparkline {
    width: 80px;
    height: 30px;
    margin-top: 0.25rem;
}

.spark-path {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 1.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 0.6s ease-out;
}

.spark-path.drawn {
    stroke-dashoffset: 0;
}

/* --- STORY GRID --- */
.story-section {
    padding: 3rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.story-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04), 0 12px 24px rgba(0,0,0,0.02);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    cursor: default;
    opacity: 0;
    transform: translateY(15px);
}

.story-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, box-shadow 200ms ease-out;
}

.story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 12px 24px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.04);
}

.story-card:hover .card-headline {
    color: #3B82F6;
}

.card-headline {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0F172A;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: color 200ms ease-out;
}

.card-summary {
    font-weight: 400;
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.card-meta {
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #64748B;
}

/* --- OPINION SECTION --- */
.opinion-section {
    background: #F1F0F9;
    padding: 3rem 0;
    background-image: none;
}

.opinion-heading {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7C3AED, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.opinion-card {
    border-left: 3px solid #7C3AED;
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #4338CA 100%);
    padding: 5rem 5vw;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.2), transparent 70%);
    pointer-events: none;
}

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

.footer-heading {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-text {
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 50ch;
    margin: 0 auto 2rem;
}

.footer-brand {
    font-weight: 600;
    font-size: 0.85rem;
    color: #3B82F6;
    letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 60vh;
    }
}
