/* ============================================================
   Prizma Analytics — static site stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #1B2B4B;
    --navy-light: #1e3a6e;
    --teal:       #0E9AA7;
    --teal-light: #13b5c4;
    --white:      #ffffff;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-400:   #94a3b8;
    --gray-600:   #475569;
    --gray-800:   #1e293b;
    --radius:     8px;
}

html { scroll-behavior: smooth; }

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

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

/* ---------- Navigation ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

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

.logo img {
    display: block;
}

.logo-icon {
    height: 50px;
    width: 50px;
}

.logo-wordmark {
    height: 22px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

nav ul a:hover { color: var(--teal); }

/* ---------- Hero ---------- */
#hero {
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 7rem 0 6rem;
    text-align: center;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1.25rem;
}

#hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 1.4rem;
}

.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 auto 2.75rem;
    line-height: 1.75;
}

.btn-primary {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    padding: 0.85rem 2.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
}

/* ---------- Section Base ---------- */
section { padding: 5.5rem 0; }
#about  { background: var(--gray-50); }
#epe    { border-top: 1px solid var(--gray-200); }

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 680px;
    margin-bottom: 3rem;
    line-height: 1.75;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--teal);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.93rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Service Grid ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    background: rgba(14, 154, 167, 0.1);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

#epe .service-tag { margin-bottom: 1.25rem; }

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--gray-600);
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover { color: var(--teal-light); }

/* ---------- Pipeline ---------- */
.pipeline-block {
    background: var(--navy);
    border-radius: 12px;
    padding: 2.5rem;
    color: var(--white);
}

.pipeline-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.pipeline-block > p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
    max-width: 600px;
}

.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    margin-left: 1.1rem;
    padding-left: 1.5rem;
}

.step.last { border-left: 2px solid var(--teal); }

.step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-left: -2.15rem;
    flex-shrink: 0;
}

.step.last .step-num {
    background: var(--teal);
    border-color: var(--teal);
}

.step div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.25rem;
}

.step strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.step span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ---------- About ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.about-text em {
    color: var(--navy);
    font-style: italic;
    font-weight: 500;
}

.about-facts {
    background: var(--navy);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fact { display: flex; flex-direction: column; gap: 0.25rem; }

.fact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal-light);
}

.fact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
}

/* ---------- Contact ---------- */
.contact-container { text-align: center; }
.contact-container .section-intro { margin-left: auto; margin-right: auto; }

.contact-block {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-btn { font-size: 0.95rem; }

/* ---------- Footer ---------- */
footer {
    background: var(--gray-800);
    color: var(--gray-400);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    nav ul { gap: 1.5rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }

    .step {
        margin-left: 0.75rem;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    #hero { padding: 5rem 0 4rem; }
    nav ul { gap: 1.2rem; }
    nav ul a { font-size: 0.85rem; }
    .pipeline-block { padding: 1.75rem; }
}
