/* Coming Soon Pages — Editorial Typography Design */
/* Shared styles for Blog and Case Studies pages */

/* ── Hero ────────────────────────────────────── */
.cs-hero {
    background: #0f172a;
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(118, 75, 162, 0.1), transparent);
}

.cs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}

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

.cs-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}

.cs-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 750px;
}

.cs-hero h1 em {
    font-style: italic;
    color: #60a5fa;
}

.cs-hero-sub {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Coming Soon Badge ───────────────────────── */
.cs-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
}

.cs-badge-inline {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
    margin-top: 0.5rem;
}

.cs-badge-small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
}

/* ── Shared Section Eyebrow ──────────────────── */
.cs-section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 1rem;
}

.cs-section-eyebrow.light {
    color: #60a5fa;
}

/* ── Content Sections ────────────────────────── */
.cs-section {
    padding: 100px 0;
    background: white;
}

.cs-section.light {
    background: #f8fafc;
}

.cs-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cs-section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.cs-section-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0;
}

/* ── Article Preview Cards (Blog) ────────────── */
.cs-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-article-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 2px;
    padding: 2rem 2rem 1.75rem;
    transition: box-shadow 0.3s ease;
}

.cs-article-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.cs-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cs-article-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 500;
}

.cs-article-read {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #94a3b8;
}

.cs-article-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.cs-article-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Topic Cards (Blog) ─────────────────────── */
.cs-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-topic-card {
    padding: 2rem;
    padding-left: 2.5rem;
    position: relative;
}

.cs-topic-marker {
    position: absolute;
    left: 0;
    top: 2.15rem;
    width: 10px;
    height: 10px;
    background: #2563eb;
    border-radius: 2px;
    display: block;
}

.cs-topic-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.cs-topic-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Featured Case Study ─────────────────────── */
.cs-featured-case {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cs-case-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.cs-metric {
    padding: 2rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    transition: box-shadow 0.3s ease;
}

.cs-metric:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.cs-metric-value {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #2563eb;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.cs-metric-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
}

/* ── Case Study Quote ────────────────────────── */
.cs-case-quote {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cs-case-quote blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 1.25rem;
}

.cs-case-quote cite {
    font-style: normal;
    color: #94a3b8;
    font-size: 0.9rem;
    display: block;
}

/* ── Case Preview Cards ──────────────────────── */
.cs-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-case-preview {
    background: white;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 2px;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.cs-case-preview:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

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

.cs-case-industry {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 500;
}

.cs-case-preview h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.cs-case-preview p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cs-case-preview-stats {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cs-case-preview-stats span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #2563eb;
}

/* ── What to Expect (Case Studies) ───────────── */
.cs-expect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-expect-left h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cs-expect-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.cs-expect-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-expect-list li {
    padding: 1.25rem 0 1.25rem 1.5rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.cs-expect-list li:first-child {
    border-top: 1px solid #e2e8f0;
}

.cs-expect-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.55rem;
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 2px;
    transform: rotate(45deg);
}

.cs-expect-list li strong {
    display: block;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.cs-expect-list li span {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ── Newsletter / Notification Signup ────────── */
.cs-newsletter {
    background: #0f172a;
    color: white;
    padding: 80px 0;
    position: relative;
}

.cs-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.cs-newsletter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.cs-newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cs-newsletter-inner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
}

.cs-newsletter-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cs-signup-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.cs-signup-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-right: none;
    border-radius: 2px 0 0 2px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.cs-signup-form input[type="email"]::placeholder {
    color: #64748b;
}

.cs-signup-form input[type="email"]:focus {
    border-color: #2563eb;
}

.cs-signup-form button {
    padding: 0.9rem 1.75rem;
    background: #2563eb;
    color: white;
    border: 1px solid #2563eb;
    border-radius: 0 2px 2px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cs-signup-form button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* ── CTA Button ──────────────────────────────── */
.cs-cta-btn {
    display: inline-block;
    background: #0f172a;
    color: white;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 2px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cs-cta-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

/* ── Bottom CTA ──────────────────────────────── */
.cs-bottom-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.cs-bottom-cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 1rem;
}

.cs-bottom-cta p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ── Animations ──────────────────────────────── */
@keyframes csFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cs-hero .container > * {
    animation: csFadeUp 0.8s ease-out both;
}

.cs-hero .container > *:nth-child(1) { animation-delay: 0s; }
.cs-hero .container > *:nth-child(2) { animation-delay: 0.1s; }
.cs-hero .container > *:nth-child(3) { animation-delay: 0.2s; }
.cs-hero .container > *:nth-child(4) { animation-delay: 0.3s; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .cs-articles-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .cs-topics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-cases-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cs-case-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-expect-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .cs-hero {
        padding: 120px 0 60px;
    }

    .cs-section {
        padding: 60px 0;
    }

    .cs-newsletter {
        padding: 60px 0;
    }

    .cs-section-header {
        margin-bottom: 2.5rem;
    }

    .cs-topics-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cs-case-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cs-metric {
        padding: 1.5rem 1rem;
    }

    .cs-metric-value {
        font-size: 1.8rem;
    }

    .cs-case-quote blockquote {
        font-size: 1.15rem;
    }

    .cs-signup-form {
        flex-direction: column;
    }

    .cs-signup-form input[type="email"] {
        border-right: 1px solid rgba(148, 163, 184, 0.3);
        border-radius: 2px;
    }

    .cs-signup-form button {
        border-radius: 2px;
    }

    .cs-bottom-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cs-hero h1 {
        font-size: 2.2rem;
    }

    .cs-article-card {
        padding: 1.5rem;
    }

    .cs-article-card h3 {
        font-size: 1.15rem;
    }

    .cs-case-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .cs-metric-value {
        font-size: 1.5rem;
    }

    .cs-bottom-cta h2 {
        font-size: 1.8rem;
    }
}
