/* =========================================
   FAITHCORE STUDIOS
   Main Stylesheet
========================================= */

:root {
    --bg: #070812;
    --bg-soft: #0d1020;
    --panel: rgba(18, 20, 40, 0.72);

    --purple: #8f5cff;
    --purple-bright: #b48cff;
    --teal: #25e0d0;
    --teal-soft: #7ff7eb;

    --text: #f5f5fb;
    --text-soft: #b9bdd0;
    --border: rgba(255, 255, 255, 0.10);

    --max-width: 1180px;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(113, 65, 190, .16), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(20, 170, 180, .10), transparent 30%),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(7, 8, 18, 0.82);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(37, 224, 208, .35);
    border-radius: 12px;

    color: var(--teal);

    background:
        linear-gradient(
            135deg,
            rgba(143, 92, 255, .18),
            rgba(37, 224, 208, .08)
        );

    box-shadow:
        0 0 25px rgba(37, 224, 208, .12);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.brand-text strong {
    font-size: 1rem;
}

.brand-text span {
    margin-top: 4px;

    color: var(--teal);
    font-size: .68rem;

    letter-spacing: .25em;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    color: var(--text-soft);
    font-size: .92rem;
}

.main-nav a {
    transition:
        color .2s ease,
        text-shadow .2s ease;
}

.main-nav a:hover {
    color: var(--teal);

    text-shadow:
        0 0 16px rgba(37, 224, 208, .45);
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 10px;

    font-weight: 700;
    font-size: .92rem;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            #6442d6
        );

    box-shadow:
        0 12px 35px rgba(114, 71, 221, .25);
}

.button-primary:hover {
    box-shadow:
        0 16px 42px rgba(114, 71, 221, .40);
}

.button-secondary {
    border: 1px solid rgba(37, 224, 208, .42);

    color: var(--teal-soft);

    background: rgba(37, 224, 208, .05);
}

.button-secondary:hover {
    border-color: var(--teal);

    box-shadow:
        0 0 28px rgba(37, 224, 208, .12);
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
	
	background:
		linear-gradient(
			90deg,
			rgba(7, 8, 18, 0.92) 0%,
			rgba(7, 8, 18, 0.68) 45%,
			rgba(7, 8, 18, 0.30) 100%
		),
		url("../images/faithcore-hero.png");

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	
    overflow: hidden;

    min-height: 760px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: .12;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}

.hero-content {
    position: relative;
    z-index: 3;

    padding-top: 60px;
    padding-bottom: 130px;

    text-align: center;
}

.hero-eyebrow,
.section-label {
    color: var(--teal);

    font-size: .75rem;
    font-weight: 800;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1 {
    margin:
        20px 0
        0;

    font-size:
        clamp(4rem, 9vw, 7.4rem);

    line-height: .88;

    letter-spacing: -.06em;

    text-transform: uppercase;
}

.hero h1 span {
    display: block;

    margin-top: 14px;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,.60);

    font-size: .44em;

    letter-spacing: .35em;

    transform: translateX(.18em);
}

.hero-tagline {
    margin:
        30px 0
        0;

    color: var(--teal);

    font-size:
        clamp(1.35rem, 3vw, 2rem);

    font-weight: 700;
}

.hero-description {
    max-width: 670px;

    margin:
        22px auto
        0;

    color: var(--text-soft);

    font-size: 1.08rem;
}

.hero-actions {
    margin-top: 34px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}

.hero-verse {
    max-width: 600px;

    margin:
        54px auto
        0;

    padding-top: 24px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: var(--text-soft);
}

.verse-reference {
    color: var(--purple-bright);

    font-size: .76rem;
    font-weight: 800;

    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-verse p {
    margin:
        9px 0
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-style: italic;
}


/* =========================================
   HERO LIGHT PATH
========================================= */

.path-visual {
    position: absolute;

    left: 50%;
    bottom: -80px;

    width: 520px;
    height: 280px;

    transform:
        translateX(-50%)
        perspective(500px)
        rotateX(58deg);

    border-radius:
        50% 50% 0 0;

    background:
        linear-gradient(
            90deg,
            transparent 20%,
            rgba(143, 92, 255, .10),
            rgba(37, 224, 208, .20),
            rgba(143, 92, 255, .10),
            transparent 80%
        );

    filter: blur(4px);
}

.path-light {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 34px;
    height: 280px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to top,
            rgba(37, 224, 208, .65),
            rgba(143, 92, 255, .45),
            transparent
        );

    filter: blur(12px);

    box-shadow:
        0 0 80px rgba(37, 224, 208, .40);
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: .15;
}

.hero-glow-left {
    left: -250px;
    top: 60px;

    background: var(--purple);
}

.hero-glow-right {
    right: -260px;
    top: 100px;

    background: var(--teal);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 110px 0;

    border-bottom:
        1px solid var(--border);
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2,
.about-section h2,
.nexus-section h2,
.support-section h2 {
    margin:
        12px 0
        0;

    font-size:
        clamp(2.2rem, 5vw, 3.6rem);

    line-height: 1.08;

    letter-spacing: -.04em;
}

.section-heading h2 span,
.about-section h2 span,
.nexus-section h2 span {
    color: var(--teal);
}

.section-heading p {
    margin-top: 20px;

    color: var(--text-soft);

    font-size: 1.05rem;
}


/* =========================================
   FEATURED APP
========================================= */

.featured-app {
    display: grid;

    grid-template-columns:
        260px 1fr;

    gap: 55px;

    align-items: center;

    padding: 46px;

    border:
        1px solid rgba(143, 92, 255, .25);

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 92, 255, .08),
            rgba(37, 224, 208, .035)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,.22);
}

.app-icon-placeholder {
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border-radius: 28%;

    color: #ffffff;

    font-size: 4rem;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            #39258c
        );

    box-shadow:
        0 25px 60px rgba(93, 57, 180, .35);
}

.status-badge {
    display: inline-flex;

    padding:
        6px 11px;

    border:
        1px solid rgba(37, 224, 208, .30);

    border-radius: 999px;

    color: var(--teal);

    background:
        rgba(37, 224, 208, .06);

    font-size: .70rem;
    font-weight: 800;

    letter-spacing: .10em;

    text-transform: uppercase;
}

.app-details h3 {
    margin:
        15px 0
        8px;

    font-size: 2rem;
}

.app-details p {
    max-width: 650px;

    color: var(--text-soft);
}

.feature-list {
    padding: 0;
    margin:
        24px 0;

    list-style: none;

    display: grid;
    gap: 9px;

    color: var(--text-soft);
}

.feature-list li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--teal);
}


/* =========================================
   WHAT WE CREATE
========================================= */

.create-section {
    background:
        rgba(255,255,255,.012);
}

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.studio-card {
    min-height: 260px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background:
        var(--panel);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.studio-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(37, 224, 208, .35);

    box-shadow:
        0 22px 55px rgba(0,0,0,.25);
}

.card-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 12px;

    color: var(--teal);

    background:
        rgba(37, 224, 208, .07);

    font-size: 1.4rem;
}

.studio-card h3 {
    margin:
        0 0
        10px;

    font-size: 1.25rem;
}

.studio-card p {
    margin: 0;

    color: var(--text-soft);

    font-size: .94rem;
}


/* =========================================
   NEXUS
========================================= */

.nexus-section {
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(37, 224, 208, .07),
            transparent 35%
        );
}

.nexus-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.nexus-content p {
    max-width: 570px;

    color: var(--text-soft);

    margin-bottom: 30px;
}

.nexus-terminal {
    overflow: hidden;

    border:
        1px solid rgba(37, 224, 208, .28);

    border-radius: 18px;

    background: #05070b;

    box-shadow:
        0 30px 80px rgba(0,0,0,.35),
        0 0 60px rgba(37,224,208,.06);
}

.terminal-top {
    display: flex;

    gap: 7px;

    padding: 14px 16px;

    border-bottom:
        1px solid rgba(255,255,255,.07);

    background:
        rgba(255,255,255,.025);
}

.terminal-top span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.18);
}

.terminal-screen {
    min-height: 280px;

    padding: 34px;

    color: var(--teal);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: .90rem;

    text-shadow:
        0 0 10px rgba(37,224,208,.25);
}

.terminal-line {
    margin:
        0 0
        16px;
}

.terminal-line.muted {
    color: var(--purple-bright);

    font-weight: 700;

    letter-spacing: .15em;
}

.terminal-cursor {
    animation:
        cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink {

    50% {
        opacity: .25;
    }

}


/* =========================================
   ABOUT
========================================= */

.about-layout {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 80px;
}

.about-copy {
    color: var(--text-soft);

    font-size: 1.05rem;
}

.about-copy p:first-child {
    margin-top: 0;
}


/* =========================================
   SUPPORT
========================================= */

.support-box {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;

    padding: 45px;

    border:
        1px solid rgba(143, 92, 255, .22);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 92, 255, .07),
            rgba(37, 224, 208, .035)
        );
}

.support-box h2 {
    font-size: 2rem;
}

.support-box p {
    margin-bottom: 0;

    color: var(--text-soft);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding:
        65px 0
        28px;

    background:
        #05060d;
}

.footer-grid {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;
}

.footer-tagline {
    color: var(--text-soft);

    font-size: .88rem;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    color: var(--text-soft);

    font-size: .88rem;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;

    border-top:
        1px solid var(--border);

    color: #74798f;

    font-size: .78rem;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .hero {
        min-height: 700px;
    }

    .featured-app,
    .nexus-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .featured-app {
        gap: 35px;
    }

    .app-icon-placeholder {
        width: min(230px, 70%);
    }

    .card-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .support-box {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .container {
        width:
            min(calc(100% - 28px), var(--max-width));
    }

    .nav-container {
        min-height: 68px;
    }

    .hero {
        min-height: 660px;
    }

    .hero-content {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size:
            clamp(3.1rem, 17vw, 5rem);
    }

    .hero h1 span {
        letter-spacing: .23em;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 78px 0;
    }

    .featured-app {
        padding: 26px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .nexus-layout,
    .about-layout {
        gap: 45px;
    }

    .terminal-screen {
        padding: 24px 20px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

}