/* ============================================================
 * landing.css — shared styles for SEO landing pages
 * (software-engineer, full-stack-developer, ui-ux-designer,
 *  react-developer, character-designer, 3d-character-design,
 *  portfolio, contact)
 *
 * Base style.css sets html { font-size: 62.5% } so 1rem = 10px.
 * ============================================================ */

:root {
    --js-accent: #00b2ff;
    --js-accent-dark: #0089c7;
    --ai-bg: #0a0d14;
    --ai-surface: #11151f;
    --ai-card: #161b27;
    --ai-border: rgba(255, 255, 255, .08);
    --ai-text: #ffffff;
    --ai-muted: #8a93a6;
    --ai-dim: #5d6478;
    --ai-radius: 14px;
    --ai-radius-lg: 22px;
    --ai-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--ai-bg);
}

body.landing-page {
    background-color: var(--ai-bg);
    color: var(--ai-text);
    font-family: "Lato", sans-serif;
}

/* Logo (top-left, fixed) */
.landing-page .header__logo-box {
    position: fixed;
    top: 2.5rem;
    left: 3rem;
    z-index: 1000;
    margin: 0;
}
.landing-page .header__logo {
    height: 5rem;
    margin: 0;
    filter: brightness(0) invert(1);
    opacity: .95;
}

/* Shared eyebrow */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .35rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.6rem;
}
.lp-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--js-accent);
    display: inline-block;
}

/* ============================================================
 * HERO
 * ============================================================ */
.lp-hero {
    position: relative;
    min-height: 80vh;
    padding: 16rem 5rem 8rem;
    background: var(--ai-bg);
    color: var(--ai-text);
    overflow: hidden;
}
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 178, 255, .10), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(0, 178, 255, .07), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.lp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}
.lp-hero__title {
    font-size: clamp(3.6rem, 6vw, 6.4rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.01em;
    margin: 0 0 2rem;
    color: #fff;
}
.lp-hero__title .accent { color: var(--js-accent); }
.lp-hero__lede {
    font-size: 2rem;
    line-height: 1.55;
    color: var(--ai-muted);
    max-width: 780px;
    margin: 0 0 3rem;
}
.lp-hero__lede strong { color: #fff; font-weight: 700; }
.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}
.lp-cta {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.4rem 2.4rem;
    background: var(--js-accent);
    color: #001724;
    border: 1px solid var(--js-accent);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .22rem;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.3rem;
    transition: background .25s var(--ai-ease), border-color .25s var(--ai-ease), color .25s var(--ai-ease), transform .25s var(--ai-ease);
}
.lp-cta:hover {
    background: #fff;
    border-color: #fff;
    color: #001724;
    transform: translateY(-2px);
}
.lp-cta--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.18);
}
.lp-cta--ghost:hover {
    background: var(--js-accent);
    border-color: var(--js-accent);
    color: #001724;
}
.lp-cta i { font-size: 1.3rem; }

/* ============================================================
 * GENERIC SECTION
 * ============================================================ */
.lp-section {
    background-color: rgba(10, 13, 20, .92);
    padding: 10rem 5rem;
    position: relative;
}
.lp-section--accent::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(0, 178, 255, .07), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 178, 255, .05), transparent 45%);
    pointer-events: none;
    z-index: 0;
}
.lp-section__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.lp-section__header {
    margin: 0 0 5rem;
    max-width: 720px;
}
.lp-section__title {
    font-size: clamp(2.8rem, 3.6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 1.6rem;
}
.lp-section__title .accent { color: var(--js-accent); }
.lp-section__desc {
    font-size: 1.7rem;
    line-height: 1.65;
    color: var(--ai-muted);
    margin: 0;
}

/* Prose blocks for long-form SEO content */
.lp-prose {
    font-size: 1.7rem;
    line-height: 1.75;
    color: var(--ai-muted);
    max-width: 820px;
}
.lp-prose p { margin: 0 0 2rem; }
.lp-prose strong { color: #fff; font-weight: 700; }
.lp-prose a {
    color: var(--js-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 178, 255, .35);
    transition: color .25s var(--ai-ease), border-color .25s var(--ai-ease);
}
.lp-prose a:hover { color: #fff; border-bottom-color: #fff; }

.lp-prose h3 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 3.6rem 0 1.4rem;
    line-height: 1.25;
}

.lp-prose ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2.4rem;
}
.lp-prose ul li {
    position: relative;
    padding: .7rem 0 .7rem 2.4rem;
    color: var(--ai-muted);
    font-size: 1.6rem;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.lp-prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.4rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--js-accent);
}
.lp-prose ul li:last-child { border-bottom: none; }

/* ============================================================
 * SKILL / FEATURE CARDS GRID
 * ============================================================ */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.lp-card {
    background-color: rgba(22, 27, 39, .85);
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius);
    padding: 2.8rem 2.6rem;
    color: var(--ai-muted);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    transition: transform .25s var(--ai-ease), border-color .25s var(--ai-ease), box-shadow .25s var(--ai-ease);
    height: 100%;
    text-decoration: none;
    display: block;
}
.lp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 178, 255, .35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.lp-card__icon {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 12px;
    background: rgba(0, 178, 255, .12);
    color: var(--js-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 2rem;
}
.lp-card__title {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.25;
}
.lp-card__desc {
    font-size: 1.5rem;
    line-height: 1.65;
    color: var(--ai-muted);
    margin: 0;
}
.lp-card__list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}
.lp-card__list li {
    position: relative;
    padding: .4rem 0 .4rem 1.6rem;
    font-size: 1.4rem;
    color: var(--ai-muted);
}
.lp-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--js-accent);
}

/* ============================================================
 * PROJECT TILES (image + caption)
 * ============================================================ */
.lp-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.lp-project {
    position: relative;
    border-radius: var(--ai-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ai-card);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform .35s var(--ai-ease), box-shadow .35s var(--ai-ease);
}
.lp-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px var(--js-accent);
}
.lp-project__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .8s var(--ai-ease), filter .4s ease;
}
.lp-project:hover .lp-project__img {
    transform: scale(1.06);
    filter: brightness(1.05);
}
.lp-project__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 2rem;
}
.lp-project__tag {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .25rem;
    text-transform: uppercase;
    color: var(--js-accent);
    margin: 0 0 .5rem;
}
.lp-project__title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

/* ============================================================
 * CTA BAND (bottom of every page)
 * ============================================================ */
.lp-cta-band {
    background-color: rgba(10, 13, 20, .96);
    padding: 10rem 5rem;
    text-align: center;
    border-top: 1px solid var(--ai-border);
    position: relative;
}
.lp-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 178, 255, .12), transparent 55%);
    pointer-events: none;
}
.lp-cta-band__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.lp-cta-band__title {
    font-size: clamp(2.8rem, 3.6vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 1.6rem;
    line-height: 1.15;
}
.lp-cta-band__desc {
    font-size: 1.7rem;
    color: var(--ai-muted);
    margin: 0 0 3rem;
    line-height: 1.6;
}

/* ============================================================
 * RELATED LINKS
 * ============================================================ */
.lp-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
}
.lp-related__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.8rem 2rem;
    background-color: rgba(22, 27, 39, .85);
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .12rem;
    text-decoration: none;
    transition: border-color .25s var(--ai-ease), transform .25s var(--ai-ease);
}
.lp-related__item:hover {
    border-color: var(--js-accent);
    transform: translateY(-2px);
}
.lp-related__item i { color: var(--js-accent); }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 992px) {
    .lp-hero { padding: 14rem 3rem 6rem; }
    .lp-section { padding: 8rem 3rem; }
    .lp-cta-band { padding: 8rem 3rem; }
}
@media (max-width: 768px) {
    .lp-hero { padding: 12rem 2rem 5rem; }
    .lp-section { padding: 7rem 2rem; }
    .lp-cta-band { padding: 7rem 2rem; }
    .lp-hero__title { font-size: 3.6rem; }
    .lp-hero__lede { font-size: 1.7rem; }
    .lp-section__title { font-size: 2.6rem; }
    .lp-hero__actions { justify-content: flex-start; }
    .landing-page .header__logo { height: 6rem; }
    .landing-page .header__logo-box { top: 4rem; left: 4rem; }
}
@media (max-width: 600px) {
    .landing-page .header__logo-box { top: 3rem; left: 3rem; }
}
