/* =========================================================
   RUBY FORGE TECH
   ========================================================= */

:root {
    --ruby: #b41635;
    --ruby-bright: #d32145;
    --ruby-dark: #801026;

    --dark: #101316;
    --dark-2: #171b1f;
    --dark-3: #20252a;

    --text: #20262b;
    --muted: #687078;

    --background: #f6f7f8;
    --white: #ffffff;
    --border: #e3e6e8;

    --container: 1180px;

    --shadow:
        0 18px 50px rgba(20, 25, 30, 0.08);

    --shadow-dark:
        0 25px 70px rgba(0, 0, 0, 0.25);
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 5px;

    background: var(--ruby);
    color: white;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    background: var(--ruby-bright);
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(180, 22, 53, 0.25);
}

.button-small {
    min-height: 42px;
    padding: 0 20px;
    font-size: 0.82rem;
}

.button-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.button-light {
    background: white;
    color: var(--dark);
}

.button-light:hover {
    background: #f1f1f1;
    color: var(--ruby);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 78px;

    display: flex;
    align-items: center;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 20;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    background: var(--ruby);

    color: white;
    font-weight: 900;
    font-size: 1.2rem;

    border-radius: 4px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
    color: white;
}

.brand-text strong {
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.brand-text small {
    margin-top: 6px;

    font-size: 0.57rem;
    letter-spacing: 0.25em;
    color: #92999f;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    color: #c4c8cb;

    font-size: 0.85rem;
    font-weight: 600;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: white;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 760px;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    padding: 150px 0 90px;

    background:
        linear-gradient(
            120deg,
            #0d1013 0%,
            #15191d 58%,
            #111417 100%
        );

    color: white;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.06;

    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);

    background-size: 55px 55px;

    mask-image:
        linear-gradient(to right, black, transparent 80%);
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);
    opacity: 0.11;

    background: var(--ruby);
}

.hero-glow-one {
    top: -180px;
    left: -100px;
}

.hero-glow-two {
    bottom: -300px;
    right: -100px;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;

    align-items: center;
}

.eyebrow,
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    color: var(--ruby);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 26px;
    height: 2px;

    background: var(--ruby-bright);
}

.hero h1 {
    max-width: 690px;

    font-size: clamp(3rem, 5vw, 5.25rem);

    line-height: 1.02;

    letter-spacing: -0.055em;
}

.hero h1 em {
    display: block;

    color: var(--ruby-bright);

    font-style: normal;
}

.hero-description {
    max-width: 620px;

    margin-top: 27px;

    color: #b3b8bd;

    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.arrow {
    font-size: 1.1rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

    margin-top: 32px;

    color: #969da3;

    font-size: 0.76rem;
    font-weight: 600;
}

.hero-points b {
    margin-right: 5px;

    color: var(--ruby-bright);
}


/* Browser mockup */

.hero-visual {
    position: relative;
}

.browser-window {
    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 10px;

    background: white;

    box-shadow: var(--shadow-dark);

    transform: perspective(1100px) rotateY(-3deg);
}

.browser-top {
    height: 43px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #272c31;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #697077;
}

.browser-dots span:first-child {
    background: var(--ruby);
}

.browser-address {
    width: 55%;

    margin: auto;

    padding: 4px 15px;

    border-radius: 3px;

    background: #1b1f23;

    color: #71787e;

    font-size: 0.55rem;
    text-align: center;
}

.browser-page {
    min-height: 400px;

    padding: 25px 30px;

    background: #f8f9fa;
}

.demo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-logo {
    width: 80px;
    height: 11px;

    border-radius: 2px;

    background: #23282d;
}

.demo-links {
    display: flex;
    gap: 12px;
}

.demo-links span {
    width: 32px;
    height: 5px;

    border-radius: 10px;

    background: #d5d9dc;
}

.demo-hero {
    padding: 72px 25px 50px;
}

.demo-hero small {
    color: var(--ruby);

    font-size: 0.46rem;
    font-weight: 900;

    letter-spacing: 0.16em;
}

.demo-title {
    width: 77%;
    height: 18px;

    margin-top: 11px;

    background: #20252a;
}

.demo-title.short {
    width: 56%;
    margin-top: 7px;
}

.demo-copy {
    width: 68%;
    height: 6px;

    margin-top: 21px;

    background: #cfd4d7;
}

.demo-copy.medium {
    width: 51%;
    margin-top: 7px;
}

.demo-button {
    width: 85px;
    height: 25px;

    margin-top: 22px;

    border-radius: 2px;

    background: var(--ruby);
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.demo-cards div {
    height: 78px;

    border: 1px solid #e1e4e6;

    background: white;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.04);
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 17px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 7px;

    background: #1d2227;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 0.8rem;
}

.floating-card small {
    margin-top: 2px;

    color: #899096;

    font-size: 0.58rem;
}

.floating-card-one {
    left: -45px;
    bottom: 38px;
}

.floating-card-two {
    right: -25px;
    top: 75px;

    display: block;

    border-left: 3px solid var(--ruby);
}

.floating-card-two strong {
    color: white;

    font-size: 1.2rem;
}

.floating-icon {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(180, 22, 53, 0.16);

    color: var(--ruby-bright);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 90px 0;

    border-bottom: 1px solid var(--border);

    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 100px;

    align-items: center;
}

.intro h2,
.section-heading h2,
.local-content h2,
.value-copy h2,
.contact-content h2 {
    font-size: clamp(2.1rem, 3.5vw, 3.45rem);

    line-height: 1.08;

    letter-spacing: -0.045em;
}

.intro h2 span,
.section-heading h2 span,
.local-content h2 span {
    color: var(--ruby);
}

.intro-copy {
    padding-left: 32px;

    border-left: 3px solid var(--ruby);
}

.intro-copy p {
    color: var(--muted);
}

.intro-copy p + p {
    margin-top: 15px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading p {
    max-width: 620px;

    margin-top: 20px;

    color: var(--muted);
}

.centered {
    margin-inline: auto;

    text-align: center;
}

.centered .section-label {
    justify-content: center;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: var(--background);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 310px;

    padding: 34px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: white;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #d1d5d8;

    box-shadow: var(--shadow);
}

.service-number {
    position: absolute;
    top: 22px;
    right: 25px;

    color: #e4e7e9;

    font-size: 0.75rem;
    font-weight: 800;
}

.service-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 5px;

    background: #f7e8eb;

    color: var(--ruby);

    font-size: 1.1rem;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 12px;

    font-size: 1.12rem;
}

.service-card p {
    color: var(--muted);

    font-size: 0.9rem;
}

.service-card a {
    display: inline-block;

    margin-top: 22px;

    color: var(--ruby);

    font-size: 0.78rem;
    font-weight: 800;
}

.featured-service {
    border-top: 3px solid var(--ruby);
}


/* =========================================================
   LOCAL
   ========================================================= */

.local-section {
    background: white;
}

.local-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    gap: 100px;

    align-items: center;
}

.local-card {
    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #15191d,
            #23292e
        );

    box-shadow: var(--shadow);
}

.local-card::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.08;

    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);

    background-size: 30px 30px;
}

.arkansas-shape {
    width: 155px;
    height: 130px;

    display: grid;
    place-items: center;

    position: relative;
    z-index: 1;

    background: var(--ruby);

    clip-path:
        polygon(
            5% 10%,
            88% 7%,
            96% 21%,
            91% 40%,
            97% 53%,
            88% 66%,
            90% 91%,
            12% 94%,
            8% 79%,
            12% 63%,
            5% 48%
        );

    color: white;

    font-size: 1.5rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.local-card-copy {
    position: relative;
    z-index: 1;

    margin-top: 24px;

    color: white;
    text-align: center;
}

.local-card-copy small,
.local-card-copy strong {
    display: block;
}

.local-card-copy small {
    margin-bottom: 6px;

    color: #7f878d;

    font-size: 0.6rem;

    letter-spacing: 0.2em;
}

.local-card-copy strong {
    font-size: 1.15rem;
}

.local-content > p {
    margin-top: 20px;

    color: var(--muted);
}

.local-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 36px;
    padding-top: 27px;

    border-top: 1px solid var(--border);
}

.local-benefits div {
    padding-right: 15px;
}

.local-benefits strong,
.local-benefits span {
    display: block;
}

.local-benefits strong {
    color: var(--ruby);

    font-size: 1rem;
}

.local-benefits span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.7rem;
}


/* =========================================================
   VALUE SECTION
   ========================================================= */

.value-section {
    position: relative;
    overflow: hidden;

    padding: 90px 0;

    background: var(--ruby);

    color: white;
}

.value-section::after {
    content: "";

    position: absolute;
    width: 550px;
    height: 550px;

    right: -220px;
    top: -230px;

    border:
        100px solid rgba(255, 255, 255, 0.035);

    border-radius: 50%;
}

.value-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.2fr 0.7fr;
    gap: 100px;

    align-items: center;
}

.light-label {
    color: rgba(255, 255, 255, 0.65);
}

.value-copy h2 span {
    display: block;

    color: white;
}

.value-copy p {
    max-width: 650px;

    margin-top: 22px;

    color: rgba(255, 255, 255, 0.76);
}

.quote-box {
    padding: 34px;

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius: 7px;

    background:
        rgba(80, 0, 18, 0.16);

    backdrop-filter: blur(8px);
}

.quote-label {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,.58);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.quote-box > strong {
    display: block;

    font-size: 2rem;
}

.quote-box p {
    margin: 10px 0 22px;

    color: rgba(255,255,255,.75);

    font-size: 0.86rem;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr 80px 1fr;

    align-items: start;

    margin-top: 70px;
}

.process-step {
    text-align: center;
}

.step-circle {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    border:
        1px solid #e3b3bc;

    border-radius: 50%;

    background: #fbf0f2;

    color: var(--ruby);

    font-weight: 900;
}

.process-step h3 {
    margin-bottom: 10px;

    font-size: 1rem;
}

.process-step p {
    color: var(--muted);

    font-size: 0.84rem;
}

.process-line {
    height: 1px;

    margin-top: 27px;

    background:
        linear-gradient(
            to right,
            #e3b3bc,
            #eceeef
        );
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 30px 0 100px;

    background: white;
}

.contact-box {
    position: relative;
    overflow: hidden;

    padding: 80px;

    border-radius: 10px;

    background:
        linear-gradient(
            125deg,
            #12161a,
            #20262b
        );

    color: white;
}

.contact-glow {
    position: absolute;

    width: 450px;
    height: 450px;

    right: -120px;
    bottom: -300px;

    border-radius: 50%;

    background: var(--ruby);

    filter: blur(90px);

    opacity: 0.18;
}

.contact-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
}

.contact-content h2 span {
    color: var(--ruby-bright);
}

.contact-content p {
    max-width: 650px;

    margin-top: 20px;

    color: #aeb4b8;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;

    margin-top: 32px;
}

.email-link {
    color: #d7dade;

    font-size: 0.88rem;

    border-bottom:
        1px solid rgba(255,255,255,.25);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 70px;

    background: #0c0f11;

    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.6fr 0.8fr;
    gap: 80px;

    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 390px;

    margin-top: 20px;

    color: #747c82;

    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    margin-bottom: 6px;

    font-size: 0.72rem;
    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.footer-links a,
.footer-links span {
    color: #858d93;

    font-size: 0.8rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding: 22px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #5f666b;

    font-size: 0.68rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-visual {
        width: min(650px, 90%);
        margin-inline: auto;
    }

    .intro-grid,
    .local-grid,
    .value-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .local-card {
        max-width: 600px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-line {
        display: none;
    }

}


@media (max-width: 760px) {

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .site-header {
        height: 70px;
    }

    .main-nav {
        display: none;
    }

    .site-header .button-small {
        padding: 0 14px;
    }

    .brand-text strong {
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;

        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-points {
        gap: 12px 20px;
    }

    .hero-visual {
        width: 100%;
    }

    .browser-window {
        transform: none;
    }

    .floating-card-one {
        left: -5px;
        bottom: -35px;
    }

    .floating-card-two {
        right: -4px;
    }

    .intro {
        padding: 70px 0;
    }

    .intro-copy {
        padding-left: 20px;
    }

    .section {
        padding: 80px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .local-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-section {
        padding: 75px 0;
    }

    .contact-section {
        padding-bottom: 60px;
    }

    .contact-box {
        padding: 55px 28px;
    }

    .contact-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}


@media (max-width: 480px) {

    .site-header .button-small {
        font-size: 0.72rem;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .brand-text small {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .browser-page {
        min-height: 320px;

        padding: 18px;
    }

    .demo-hero {
        padding: 50px 15px 35px;
    }

    .floating-card-two {
        display: none;
    }

    .section-heading {
        margin-bottom: 38px;
    }

}