/* ═══════════════════════════════════════════
   Researchers Media — Home Page Styles
   Aesthetic: Editorial Academic × Modern SaaS
   Fonts: Playfair Display (display) + DM Sans (body)
═══════════════════════════════════════════ */

/* ── Hero ── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #0a0e1a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated starfield grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(139, 92, 246, 0.15) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
}

/* Ink-wash gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(79, 70, 229, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }

/* Orb shapes */
.shape { position: absolute; border-radius: 50%; }
.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px; right: -100px;
    animation: orbFloat 18s infinite alternate ease-in-out;
}
.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    bottom: -100px; left: -80px;
    animation: orbFloat 14s infinite alternate-reverse ease-in-out;
}
.shape-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    top: 30%; right: 25%;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

/* Decorative vertical lines */
.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-lines::before,
.hero-lines::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.25) 30%, rgba(139, 92, 246, 0.25) 70%, transparent);
}
.hero-lines::before { left: 20%; }
.hero-lines::after { right: 20%; }

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 120px 24px 100px;
}

/* Eyebrow badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    letter-spacing: 0.02em;
    color: #c4b5fd;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

/* Hero title — editorial serif */
.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(44px, 6.5vw, 76px);
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    line-height: 1.08;
    color: #f8fafc;
    text-wrap: balance;
}
.hero-title-italic {
    font-style: italic;
    color: #a78bfa;
}

/* Gradient accent for key phrase */
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.75;
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 400;
    color: #cbd5e1;
}

/* ── Hero Search ── */
.hero-search-container {
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 6px 6px 6px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.25s ease;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
}
.hero-search-form:focus-within {
    background: rgba(255, 255, 255, 0.96);
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 20px 60px rgba(0, 0, 0, 0.3);
}
.search-icon {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}
.hero-search-form:focus-within .search-icon { color: #6366f1; }

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    padding: 12px 0;
    outline: none;
}
.hero-search-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.hero-search-form:focus-within .hero-search-input { color: #1e293b; }
.hero-search-form:focus-within .hero-search-input::placeholder { color: #94a3b8; }

.search-kbd {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}
.hero-search-form:focus-within .search-kbd {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.search-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Hero action buttons */
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* ── Hero Stats ── */
.hero-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}
.hero-stat {
    text-align: center;
    padding: 28px 48px;
    flex: 1;
    position: relative;
}
.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.hero-stat-value {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(to right, #e0e7ff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 12px;
    opacity: 0.55;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    -webkit-text-fill-color: #94a3b8;
}
/* Removed old divider element style (now using ::before pseudo) */
.hero-stat-divider { display: none; }

/* ── Trusted by section ── */
.trust-section {
    background: #f8faff;
    padding: 40px 0;
    border-top: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
}
.trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 24px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-logo {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ── Section Shared ── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #ede9fe;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6d28d9;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 17px;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Categories ── */
.categories-section { background: #fff; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

.category-card {
    background: #fafbff;
    padding: 28px 20px 24px;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    color: #334155;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #e8edf5;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.category-card:hover {
    background: #fff;
    border-color: #6366f1;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
    color: #4338ca;
}
.category-card:hover::before { opacity: 1; }

.category-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: #ede9fe;
    border-radius: 16px;
    transition: all 0.25s ease;
}
.category-card:hover .category-icon {
    background: #6366f1;
    transform: scale(1.05) rotate(-4deg);
}
.category-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
}

/* ── Featured Articles ── */
.featured-section { background: #f8faff; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e8edf5;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.article-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
}
.article-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.05); }

.article-card-placeholder {
    display: flex; align-items: center; justify-content: center; height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative; overflow: hidden;
}
.article-card-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(#c7d2fe 1px, transparent 1px);
    background-size: 16px 16px; opacity: 0.5;
}
.article-card-placeholder sl-icon {
    font-size: 64px; color: #8b5cf6; opacity: 0.6;
    position: relative; z-index: 1;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card-placeholder sl-icon {
    transform: scale(1.1);
}

.article-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}
.article-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.article-card-title a:hover { color: #6366f1; }

.article-card-abstract {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 12px;
}
.meta-author { font-weight: 500; color: #475569; }

.article-card-ref { margin-top: auto; }
.ref-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.5px;
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
}
.empty-icon { font-size: 64px; margin-bottom: 24px; }
.empty-state h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 12px;
}
.empty-state p { color: #64748b; margin-bottom: 32px; }

.section-cta { text-align: center; margin-top: 48px; }

/* ── How It Works ── */
.how-it-works-section { background: #fff; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    position: relative;
    border: 1.5px solid #e8edf5;
    border-radius: 24px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: #e8edf5;
    z-index: 0;
}

.step-card {
    position: relative;
    padding: 48px 36px 44px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    z-index: 1;
}
.step-card + .step-card {
    border-left: 1.5px solid #e8edf5;
}
.step-card:hover { background: #fafbff; }
.step-card:hover .step-icon-wrap {
    background: #6366f1;
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}
.step-card:hover .step-icon-wrap span { filter: brightness(10); }

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 64px;
    font-weight: 700;
    color: #6366f1;
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.step-icon-wrap {
    width: 72px; height: 72px;
    background: #ede9fe;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    font-size: 32px;
}
.step-icon { font-size: 28px; }

.step-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    max-width: 200px;
    margin: 0 auto;
}

/* ── Certify CTA Feature ── */
.certify-section { background: #f8faff; }
.certify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.certify-visual {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.certify-visual::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
}
.cert-mockup {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: left;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.cert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.cert-seal { font-size: 36px; }
.cert-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #6366f1; }
.cert-org { font-size: 13px; color: #64748b; }
.cert-body-text { font-family: 'Playfair Display', serif; font-size: 15px; color: #1e293b; margin-bottom: 8px; }
.cert-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
.cert-ref {
    display: inline-block;
    padding: 6px 14px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
}
.cert-verified {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

.certify-content { }
.certify-content .section-badge { margin-bottom: 16px; }
.certify-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.certify-content p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    color: #334155;
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
    width: 24px; height: 24px;
    background: #ecfdf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Testimonial / Social Proof ── */
.testimonials-section { background: #fff; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: #fafbff;
    border: 1.5px solid #e8edf5;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.25s ease;
}
.testimonial-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.08);
    transform: translateY(-4px);
}
.testimonial-stars { font-size: 16px; margin-bottom: 16px; color: #f59e0b; }
.testimonial-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    color: #1e293b;
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.author-meta { font-size: 12px; color: #94a3b8; }

/* ── Ad section ── */
.ad-section { padding: 24px 0; }
.ad-banner {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    transition: opacity 0.2s;
}
.ad-banner:hover { opacity: 0.9; }
.ad-banner img { width: 100%; display: block; }

/* ── CTA Section ── */
.cta-section { padding: 100px 0; background: #f8faff; }
.cta-card {
    background: linear-gradient(135deg, #0f0c29, #302b63, #1e1b4b);
    color: white;
    padding: 80px 48px;
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(99, 102, 241, 0.25);
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.6), transparent);
}
.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.cta-orb-1, .cta-orb-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cta-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    top: -150px; left: -100px;
}
.cta-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    bottom: -100px; right: -50px;
}
.cta-content { position: relative; z-index: 1; }
.cta-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.cta-card p {
    opacity: 0.75;
    margin-bottom: 40px;
    font-size: 17px;
    color: #cbd5e1;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Button overrides & additions ── */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35) !important;
    color: white !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45) !important;
    color: white !important;
}
.btn-white {
    background: #fff !important;
    color: #4f46e5 !important;
    border: none !important;
    font-weight: 700 !important;
}
.btn-white:hover {
    background: #f5f3ff !important;
    transform: translateY(-2px) !important;
}
.btn-outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}
.btn-outline {
    border: 1.5px solid #c7d2fe !important;
    color: #6366f1 !important;
    background: transparent !important;
}
.btn-outline:hover {
    background: #ede9fe !important;
    border-color: #6366f1 !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .certify-grid { grid-template-columns: 1fr; }
    .certify-visual { order: -1; }
    .hero-stats { flex-direction: column; }
    .hero-stat + .hero-stat::before { display: none; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .step-card + .step-card { border-left: none; border-top: 1.5px solid #e8edf5; }
}
@media (max-width: 600px) {
    .hero-content { padding: 80px 20px 60px; }
    .hero-stats { flex-direction: column; gap: 0; border-radius: 16px; }
    .hero-stat { padding: 20px 32px; }
    .steps-grid { grid-template-columns: 1fr; border-radius: 16px; }
    .cta-card { padding: 56px 28px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}