/* =============================================================
   Serpyn Website — website.css
   All custom styles beyond Tailwind utility classes.
   This file is the single source of truth for bespoke CSS.
   Import order: base → typography → components → utilities
   ============================================================= */


/* ── Material Symbols icon font settings ─────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}


/* ── Base / reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #faf9f5;
    color: #1b1c1a;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #caecb9;
    color: #072103;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ── Navigation ───────────────────────────────────────────── */
.nav-sticky {
    background-color: rgba(250, 249, 245, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    color: rgba(27, 28, 26, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1b1c1a;
}

.nav-link-active {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    color: #0f5300;
    text-decoration: none;
    border-bottom: 2px solid #0f5300;
    padding-bottom: 0.25rem;
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand-wordmark {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #1b1c1a;
}

.site-brand-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-client-icon {
    font-size: 16px;
    line-height: 1;
}

/* Client Area button — outlined, sits left of Get Started */
.nav-client-area {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;          /* 13 px */
    color: #1b1c1a;
    border: 1.5px solid #c0cab8;
    border-radius: 99px;
    padding: 0.375rem 0.875rem;
    letter-spacing: 0.01em;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
    text-decoration: none;
}
.nav-client-area:hover {
    border-color: #0f5300;
    color: #0f5300;
    background: rgba(15,83,0,0.04);
}

.nav-cta {
    background: linear-gradient(135deg, #0f5300 0%, #256d13 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.nav-cta:hover {
    opacity: 0.82;
}


/* ── Editorial underline ──────────────────────────────────── */
.editorial-underline {
    position: relative;
    display: inline-block;
}

.editorial-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0f5300;
}


/* ── Premium underline (pricing page) ────────────────────── */
.premium-underline {
    position: relative;
    display: inline-block;
}

.premium-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}


/* ── Glass / frost surface ────────────────────────────────── */
.glass-sheet {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* ── Hero product mockup ──────────────────────────────────── */
.product-mockup-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #f4f4f0 0%, #e9e8e4 100%);
}

.product-mockup-wrap .mockup-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f4f4f0, transparent, rgba(233, 232, 228, 0.3));
    pointer-events: none;
}


/* ── Section label (01 / HR) ──────────────────────────────── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0f5300;
    display: block;
    margin-bottom: 1rem;
}


/* ── Stat box ─────────────────────────────────────────────── */
.stat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-radius: 0.5rem;
}

.stat-box-light {
    background-color: #e3e2df;
}

.stat-box-primary {
    background-color: #0f5300;
    color: #ffffff;
    margin-top: -3rem;
}


/* ── Testimonial block ────────────────────────────────────── */
.testimonial-quote-mark {
    font-family: 'Manrope', sans-serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(15, 83, 0, 0.05);
    position: absolute;
    top: -5rem;
    left: -2.5rem;
    pointer-events: none;
    user-select: none;
}


/* ── Pricing card ─────────────────────────────────────────── */
.pricing-card {
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(15, 83, 0, 0.08);
}

.pricing-feature-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(192, 202, 184, 0.2);
}


/* ── Blog article grid ────────────────────────────────────── */
.article-card-img {
    overflow: hidden;
    border-radius: 0.125rem;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card:hover .article-card-title {
    color: #0f5300;
}

.article-card-title {
    transition: color 0.25s ease;
}


/* ── Article reading typography ───────────────────────────── */
.article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(27, 28, 26, 0.9);
}

.article-body p + p {
    margin-top: 1.5rem;
}

.article-body h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: #1b1c1a;
}

.article-body blockquote {
    border-left: 4px solid #0f5300;
    padding: 0.5rem 0 0.5rem 2rem;
    margin: 3rem 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(27, 28, 26, 0.8);
}

/* ── CMS page override blocks ─────────────────────────────── */
.cms-page-main {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.cms-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.cms-page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}


/* ── Footer ───────────────────────────────────────────────── */
.footer-root {
    background-color: #f4f4f0;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: rgba(27, 28, 26, 0.4);
    text-decoration: none;
    transition: color 0.25s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #0f5300;
}

.footer-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #1b1c1a;
    margin-bottom: 1.25rem;
    display: block;
}


/* ── CTA buttons ──────────────────────────────────────────── */
.btn-primary {
    background-color: #0f5300;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    opacity: 0.88;
    box-shadow: 0 4px 16px rgba(15, 83, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0f5300;
    padding: 0.95rem 2.5rem;
    border-radius: 9999px;
    border: 2px solid #0f5300;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
    background-color: rgba(15, 83, 0, 0.05);
}

.btn-ghost {
    background: transparent;
    color: #1b1c1a;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    padding: 0;
}


/* ── Responsive helpers ───────────────────────────────────── */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }

    .product-mockup-wrap {
        aspect-ratio: 16 / 9;
    }

    .testimonial-quote-mark {
        font-size: 5rem;
        top: -3rem;
        left: -1rem;
    }
}
