/* websites/insightcto/css/insightcto-custom.css */

/* ── Brand colour overrides ── */
:root {
    --brand-primary: #2c3e5c;
    --brand-primary-light: #4a6180;
    --brand-primary-subtle: #eef1f5;
    --brand-primary-hover: #1e2d45;
    --brand-accent: #c4956a;
    --brand-accent-light: #f5ece4;

    /* Hero-specific tokens (dark background context) */
    --hero-bg: #0f1829;
    --hero-accent-hover: #b07e52;
}

/* ── Dark hero ── */
.hero {
    background: var(--hero-bg);
    padding-top: calc(64px + var(--space-5xl));
    padding-bottom: var(--space-5xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 62, 92, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__label {
    text-transform: uppercase;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: var(--space-md);
}

.hero__heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 400;
    color: var(--color-surface);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-lg);
}

.hero__heading em {
    color: var(--brand-accent);
    font-style: italic;
}

.hero__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: var(--leading-normal);
}

.hero__actions {
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn--primary {
    background: var(--brand-accent);
    color: var(--color-on-surface);
}

.hero .btn--primary:hover {
    background: var(--hero-accent-hover);
}

.hero .btn--secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.hero .btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-surface);
}

/* ── Service cards ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
    position: relative;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-card__icon svg {
    stroke: var(--brand-primary);
}

.service-card__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: var(--space-sm);
}

.service-card__text {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
}

/* ── Proof section ── */
.proof__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.proof__narrative p {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-md);
}

.proof__card {
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border-left: 4px solid var(--brand-primary);
}

.proof__card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: var(--space-sm);
}

.proof__card-text {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-lg);
}

.proof__stats {
    display: flex;
    flex-direction: row;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.proof__stat-number {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    color: var(--brand-primary);
    display: block;
}

.proof__stat-label {
    font-size: var(--text-xs);
    color: var(--color-on-surface-tertiary);
    text-transform: uppercase;
}

/* ── About section ── */
.about__inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-3xl);
    align-items: start;
    margin-bottom: var(--space-3xl);
}

.about__photo-wrap {
    position: sticky;
    top: calc(64px + var(--space-xl));
}

.about__photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-border-subtle);
    box-shadow: var(--shadow-md);
}

.about__linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.about__linkedin:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

.about__content {
    max-width: var(--container-narrow);
}

.about__text {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-md);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.credential {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
}

.credential__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credential__icon svg {
    stroke: var(--brand-primary);
}

.credential__text {
    font-size: var(--text-sm);
    color: var(--color-on-surface-secondary);
    font-weight: 500;
}

/* ── Contact section ── */
.contact__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.contact__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-on-surface);
    margin-bottom: var(--space-md);
}

.contact__text {
    font-size: var(--text-lg);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-xl);
}

.contact__actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ── Simplified footer ── */
.footer__upper--simple {
    grid-template-columns: 2fr 1fr;
}

/* ── Responsive: 1024px ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__heading {
        font-size: var(--text-4xl);
    }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .proof__inner {
        grid-template-columns: 1fr;
    }

    .about__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .about__photo-wrap {
        position: static;
    }

    .about__photo {
        width: 160px;
        height: 160px;
    }

    .footer__upper--simple {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: calc(64px + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .hero__heading {
        font-size: var(--text-3xl);
    }

    .hero__description {
        font-size: var(--text-base);
    }

}

/* ==========================================================================
   MINDFUL TECH LEADER PAGE
   ========================================================================== */

/* ── Light hero variant ── */
.mtl-hero {
    background: var(--color-surface);
    padding-top: calc(64px + var(--space-5xl));
    padding-bottom: var(--space-5xl);
    border-bottom: 1px solid var(--color-border-subtle);
}

.mtl-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.mtl-hero__heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 400;
    color: var(--color-on-surface);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-lg);
}

.mtl-hero__heading em {
    color: var(--brand-primary);
    font-style: italic;
}

.mtl-hero__description {
    font-size: var(--text-lg);
    color: var(--color-on-surface-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-normal);
}

/* ── Problem section layout ── */
.mtl-problem__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.mtl-problem__text p {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-md);
}

.mtl-problem__text p:last-child {
    margin-bottom: 0;
}

/* ── Stat callout ── */
.stat-callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    text-align: center;
}

.stat-callout__number {
    font-size: var(--text-5xl);
    font-family: var(--font-display);
    color: var(--brand-primary);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-callout__label {
    font-size: var(--text-sm);
    color: var(--color-on-surface-secondary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-weight: 500;
    max-width: 180px;
}

.stat-callout__source {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-on-surface-tertiary);
    text-decoration: none;
    margin-top: var(--space-sm);
    text-transform: none;
    letter-spacing: var(--tracking-normal);
    font-weight: 400;
}

.stat-callout__source:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

/* ── Approach section ── */
.mtl-approach__inner {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.mtl-approach__inner p {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-md);
}

.mtl-approach__inner p:last-child {
    margin-bottom: 0;
}

/* ── Available Now grid ── */
.available-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.available-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: box-shadow var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    position: relative;
}

.available-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

/* ── Card corner sticker ── */
.card-corner-badge {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--color-surface);
    transform: rotate(10deg);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.18),
        0 2px 4px rgba(0, 0, 0, 0.12);
    padding: 6px;
    pointer-events: none;
    z-index: 2;
}

.card-corner-badge--peek {
    background: var(--brand-accent);
}

.card-corner-badge--coming {
    background: var(--brand-primary-light);
}

.available-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.available-card__icon svg {
    stroke: var(--brand-primary);
    color: var(--brand-primary);
}

.available-card__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: var(--space-sm);
}

.available-card__text {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-lg);
    flex: 1;
}

.available-card__badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.mtl-speaking {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.mtl-speaking p {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
}

.mtl-speaking a {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
}

.mtl-speaking a:hover {
    text-decoration: underline;
}

/* ── Coming Soon cards ── */
.coming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.coming-card {
    background: var(--color-surface-secondary);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
}

.coming-card__title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: var(--space-sm);
}

.coming-card__text {
    font-size: var(--text-base);
    color: var(--color-on-surface-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-xl);
    flex: 1;
}

/* ── MTL Responsive: 768px ── */
@media (max-width: 768px) {
    .mtl-hero {
        padding-top: calc(64px + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .mtl-hero__heading {
        font-size: var(--text-3xl);
    }

    .mtl-problem__inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .available-grid {
        grid-template-columns: 1fr;
    }

    .coming-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Responsive: 480px ── */
@media (max-width: 480px) {
    .hero__heading {
        font-size: var(--text-2xl);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .contact__actions {
        flex-direction: column;
        align-items: center;
    }

    .proof__stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .mtl-hero__heading {
        font-size: var(--text-2xl);
    }
}
