/* ══════════════════════════════════════════════════════════════════
   Wellstet Marketing — Global Styles
   Source of truth: index.html visual language (Apr 2026)
   ══════════════════════════════════════════════════════════════════ */

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

:root {
    --cyan: #00bcd4;
    --purple: #8b5cf6;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--slate-900);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple) !important;
    border: 1.5px solid var(--purple);
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--purple);
    color: var(--white) !important;
}

/* ── Typography ── */
.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-desc {
    font-size: 17px;
    color: var(--slate-500);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 56px;
}

/* ── Hero ── */
.hero {
    padding: 160px 0 120px;
    text-align: center;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--slate-900);
    max-width: 720px;
    margin: 0 auto 28px;
}

.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 19px;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--purple);
    border: 1.5px solid var(--purple);
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--purple);
    color: var(--white);
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
    margin: 0 auto;
    max-width: 600px;
}

/* ── Card Grid (capabilities, features) ── */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cap-card {
    padding: 32px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cap-card:hover {
    border-color: var(--slate-400);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cap-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--slate-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cap-icon svg {
    width: 22px;
    height: 22px;
    color: var(--purple);
}

.cap-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.cap-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ── Feature Card Grid (for feature pages: labs, commissions) ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
    border-color: var(--slate-400);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-item .icon {
    flex-shrink: 0;
    color: var(--purple);
    margin-top: 2px;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 6px;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin: 0;
    line-height: 1.5;
}

/* ── Three-Column Cards (hero features on feature pages) ── */
.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.three-cards .card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.three-cards .card:hover {
    border-color: var(--slate-400);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.three-cards .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--purple);
}

.three-cards .card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.three-cards .card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ── Steps (how it works) ── */
.steps-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.steps-grid h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.steps-grid p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ── Compatible-With Section ── */
.compat-section {
    padding: 100px 0;
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.compat-card {
    padding: 28px 24px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.compat-card:hover {
    border-color: var(--slate-400);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.compat-card .compat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--purple);
}

.compat-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.compat-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.65;
}

.compat-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--slate-500);
}

/* ── Metrics Bar ── */
.metrics-section {
    padding: 80px 0;
    background: var(--slate-900);
    color: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.metric-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 13px;
    color: var(--slate-400);
    font-weight: 500;
}

/* ── Testimonial ── */
.testimonial-section {
    padding: 80px 0;
}

.testimonial-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.testimonial-card blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: var(--slate-700);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-card cite {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 14px;
    color: var(--slate-400);
}

/* ── FAQ ── */
.faq-section {
    padding: 80px 0;
    background: var(--slate-50);
}

.faq-grid {
    max-width: 720px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--slate-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-900);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--slate-400);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── CTA Section (dark) ── */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: var(--slate-900);
    color: var(--white);
}

.cta-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 17px;
    color: var(--slate-400);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-900);
    background: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── Footer ── */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--slate-200);
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 14px;
    color: var(--slate-400);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 13px;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--slate-600);
}

/* ══ Index-specific ══ */

/* AI Section */
.ai-section {
    padding: 100px 0;
    background: var(--slate-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(0, 188, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.ai-inner { position: relative; z-index: 1; }
.ai-section .section-label { color: var(--cyan); }
.ai-section .section-title { color: var(--white); }
.ai-section .section-desc { color: var(--slate-400); margin-bottom: 56px; }

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ai-card {
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}

.ai-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.ai-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-card h3 .ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
}

.ai-card p { font-size: 14px; color: var(--slate-400); line-height: 1.65; }

.ai-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 560px;
}

.ai-footer strong { color: var(--slate-300); }

/* Integrations (index) */
.integrations {
    padding: 80px 0;
    background: var(--slate-50);
}

.integrations-inner { text-align: center; }

.int-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.int-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.int-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.int-name { font-size: 13px; font-weight: 500; color: var(--slate-600); }

/* How We Work (index) */
.how-we-work { padding: 100px 0; }

.hww-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hww-text .section-desc { margin-bottom: 36px; }

.hww-steps { list-style: none; }

.hww-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.hww-steps .step-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin: 0;
}

.step-content h4 { font-size: 15px; font-weight: 600; color: var(--slate-900); margin-bottom: 4px; }
.step-content p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

.hww-visual {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
}

.hww-visual blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: var(--slate-700);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hww-visual cite {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 13px;
    color: var(--slate-400);
    letter-spacing: 0.5px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 16px; }
    .cap-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .three-cards { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .compat-grid { grid-template-columns: 1fr; gap: 16px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .feature-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .hww-grid { grid-template-columns: 1fr; gap: 48px; }
    .int-logos { gap: 28px; }
    .nav-links { display: none; }
    .section-title { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .footer-inner { flex-direction: column; gap: 16px; }
}
