/* -----------------------------------
   HERO
----------------------------------- */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 8.5rem;
    background: var(--ryatech-navy);
    color: rgba(255, 255, 255, 0.74);
}

    .home-hero::before {
        position: absolute;
        top: -320px;
        right: -280px;
        width: 760px;
        height: 760px;
        border: 1px solid rgba(209, 188, 0, 0.12);
        border-radius: 50%;
        content: '';
    }

    .home-hero::after {
        position: absolute;
        right: 8%;
        bottom: -350px;
        width: 620px;
        height: 620px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 50%;
        content: '';
    }

    .home-hero .page-container {
        position: relative;
        z-index: 1;
    }

.home-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.76rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

    .home-hero-eyebrow span {
        width: 40px;
        height: 2px;
        background: var(--ryatech-gold);
    }

.home-hero h1 {
    max-width: 900px;
    margin-bottom: 1.8rem;
    color: var(--ryatech-white);
    font-size: clamp(3.4rem, 6vw, 6.5rem);
    letter-spacing: -0.035em;
}

    .home-hero h1 span {
        display: block;
        color: var(--ryatech-gold);
    }

.home-hero-lead {
    max-width: 720px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--ryatech-font-brand);
    font-size: 0.84rem;
    letter-spacing: 0.04em;
}

    .home-hero-link:hover {
        color: var(--ryatech-gold);
    }

.home-hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 3rem;
}

    .home-hero-tech span {
        padding: 0.4rem 0.65rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.55);
        font-family: var(--ryatech-font-brand);
        font-size: 0.67rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

/* -----------------------------------
   HERO TECH PANEL
----------------------------------- */

.home-tech-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ryatech-navy-dark);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.22);
}

    .home-tech-panel::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--ryatech-gold);
        content: '';
    }

.home-tech-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-tech-panel-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--ryatech-font-brand);
    font-size: 0.78rem;
}

    .home-tech-panel-title i {
        color: var(--ryatech-gold);
    }

.home-tech-panel-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    text-transform: uppercase;
}

    .home-tech-panel-status span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--ryatech-gold);
    }

.home-tech-panel-body {
    padding: 2rem 1.5rem;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.83rem;
    line-height: 1.9;
}

.tech-code-line {
    display: grid;
    grid-template-columns: 34px 1fr;
    color: rgba(255, 255, 255, 0.68);
}

.tech-code-number {
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
}

.tech-code-line strong {
    color: var(--ryatech-gold);
    font-weight: 400;
}

.tech-code-indent span:last-child {
    padding-left: 1.1rem;
}

.tech-code-divider {
    height: 1px;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.07);
}

.home-tech-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--ryatech-font-brand);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

/* -----------------------------------
   INTRO
----------------------------------- */

.home-intro {
    padding: 7rem 0 4rem;
    background: var(--ryatech-white);
}

    .home-intro h2 {
        max-width: 820px;
        margin-bottom: 0;
    }

.home-intro-copy {
    margin: 0;
    color: var(--ryatech-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

/* -----------------------------------
   SERVICES
----------------------------------- */

.home-services {
    padding: 1rem 0 8rem;
    background: var(--ryatech-white);
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ryatech-border);
    border-left: 1px solid var(--ryatech-border);
}

.home-service-card {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 2rem;
    border-right: 1px solid var(--ryatech-border);
    border-bottom: 1px solid var(--ryatech-border);
    background: var(--ryatech-white);
    color: var(--ryatech-text);
    transition: background-color 0.25s ease, color 0.25s ease;
}

    .home-service-card:hover {
        background: var(--ryatech-navy);
        color: rgba(255, 255, 255, 0.72);
    }

.home-service-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.25rem;
    border: 1px solid var(--ryatech-border);
    color: var(--ryatech-gold);
    font-size: 1.75rem;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.home-service-card:hover .home-service-icon {
    border-color: rgba(209, 188, 0, 0.5);
    background: rgba(209, 188, 0, 0.06);
}

.home-service-card h3 {
    margin-bottom: 1rem;
    color: var(--ryatech-navy);
    font-size: 1.35rem;
}

.home-service-card:hover h3 {
    color: var(--ryatech-white);
}

.home-service-card p {
    margin: 0;
    color: var(--ryatech-muted);
    line-height: 1.75;
}

.home-service-card:hover p {
    color: rgba(255, 255, 255, 0.62);
}

.home-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 2rem;
    padding-right: 2rem;
}

    .home-service-meta span {
        padding: 0.3rem 0.5rem;
        border: 1px solid var(--ryatech-border);
        color: var(--ryatech-muted);
        font-family: var(--ryatech-font-brand);
        font-size: 0.6rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        transition: border-color 0.25s ease, color 0.25s ease;
    }

.home-service-card:hover .home-service-meta span {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

.home-service-arrow {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    color: var(--ryatech-navy);
    font-size: 1.1rem;
}

.home-service-card:hover .home-service-arrow {
    color: var(--ryatech-gold);
}

/* -----------------------------------
   INTELLISCOPE
----------------------------------- */

.home-intelliscope {
    padding: 0 0 8rem;
    background: var(--ryatech-white);
}

.home-intelliscope-panel {
    position: relative;
    overflow: hidden;
    padding: 5rem;
    border-top: 5px solid #ff7a1a;
    background: linear-gradient(135deg, #0a223b 0%, #102f4d 100%);
    color: rgba(255, 255, 255, 0.72);
}

    .home-intelliscope-panel::before {
        position: absolute;
        top: -210px;
        right: -160px;
        width: 520px;
        height: 520px;
        border: 1px solid rgba(230, 240, 255, 0.08);
        border-radius: 50%;
        content: '';
    }

    .home-intelliscope-panel::after {
        position: absolute;
        right: 90px;
        bottom: -250px;
        width: 450px;
        height: 450px;
        border: 1px solid rgba(255, 122, 26, 0.12);
        border-radius: 50%;
        content: '';
    }

.home-intelliscope-label {
    margin-bottom: 1.4rem;
    color: #ff7a1a;
    font-family: var(--ryatech-font-brand);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-intelliscope-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 2.4rem;
}

.home-intelliscope-logo {
    display: block;
    width: min(100%, 470px);
    height: auto;
}

.home-intelliscope h2 {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin-bottom: 1.4rem;
    color: #ffffff;
}

.home-intelliscope-lead {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.05rem;
}

.home-intelliscope-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #ff7a1a;
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
}

    .home-intelliscope-link:hover {
        color: #ffffff;
    }

.home-intelliscope-feature-wrap {
    position: relative;
}

.home-intelliscope-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 300px;
    transform: translate(-50%, -50%);
    opacity: 0.035;
    pointer-events: none;
}

    .home-intelliscope-watermark img {
        display: block;
        width: 100%;
        height: auto;
    }

.home-intelliscope-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.09);
}

.intelliscope-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 155px;
    padding: 1.6rem;
    background: rgba(4, 22, 41, 0.88);
    transition: background-color 0.2s ease;
}

    .intelliscope-feature:hover {
        background: rgba(10, 38, 64, 0.94);
    }

    .intelliscope-feature i {
        flex: 0 0 auto;
        color: #ff7a1a;
        font-size: 1.5rem;
    }

    .intelliscope-feature strong {
        display: block;
        margin-bottom: 0.35rem;
        color: #e6f0ff;
        font-family: var(--ryatech-font-brand);
        font-size: 0.88rem;
    }

    .intelliscope-feature span {
        color: rgba(230, 240, 255, 0.5);
        font-size: 0.9rem;
        line-height: 1.55;
    }

.home-intelliscope-external {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    color: rgba(230, 240, 255, 0.3);
    font-family: var(--ryatech-font-brand);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

/* -----------------------------------
   TECHNOLOGY
----------------------------------- */

.home-technology {
    padding: 8rem 0;
    background: var(--ryatech-navy);
    color: rgba(255, 255, 255, 0.66);
}

    .home-technology h2 {
        margin-bottom: 1.5rem;
        color: var(--ryatech-white);
    }

    .home-technology p {
        max-width: 560px;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.62);
        font-size: 1.04rem;
    }

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ryatech-navy);
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
}

    .home-text-link:hover {
        color: var(--ryatech-gold);
    }

.home-technology .home-text-link {
    color: var(--ryatech-gold);
}

    .home-technology .home-text-link:hover {
        color: var(--ryatech-white);
    }

.technology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.technology-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 92px;
    padding: 1.2rem 1.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--ryatech-font-brand);
    font-size: 0.8rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .technology-item:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--ryatech-white);
    }

    .technology-item i {
        color: var(--ryatech-gold);
        font-size: 1.4rem;
    }

/* -----------------------------------
   APPROACH
----------------------------------- */

.home-approach {
    padding: 8rem 0;
    background: var(--ryatech-white);
}

    .home-approach h2 {
        max-width: 560px;
    }

.approach-list {
    border-top: 1px solid var(--ryatech-border);
}

.approach-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--ryatech-border);
}

.approach-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ryatech-border);
    color: var(--ryatech-gold);
    font-size: 1.1rem;
}

.approach-item h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.approach-item p {
    max-width: 650px;
    margin: 0;
    color: var(--ryatech-muted);
}

/* -----------------------------------
   CTA
----------------------------------- */

.home-cta {
    padding: 0 0 7rem;
    background: var(--ryatech-white);
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem;
    background: var(--ryatech-gold);
}

.home-cta-eyebrow {
    margin-bottom: 0.7rem;
    color: rgba(0, 31, 63, 0.65);
    font-family: var(--ryatech-font-brand);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-cta h2 {
    margin: 0;
    color: var(--ryatech-navy);
    font-size: clamp(2rem, 3vw, 3.4rem);
}

.home-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border: 1px solid var(--ryatech-navy);
    background: var(--ryatech-navy);
    color: var(--ryatech-white);
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

    .home-cta-button:hover {
        background: transparent;
        color: var(--ryatech-navy);
    }

/* -----------------------------------
   RESPONSIVE
----------------------------------- */

@media (max-width: 1199.98px) {
    .home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-service-card {
        min-height: 350px;
    }

    .home-intelliscope-panel {
        padding: 4rem;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 6rem 0;
    }

        .home-hero h1 {
            max-width: 760px;
        }

    .home-intro {
        padding-top: 5rem;
    }

    .home-services {
        padding-bottom: 6rem;
    }

    .home-intelliscope {
        padding-bottom: 6rem;
    }

    .home-intelliscope-panel {
        padding: 3rem;
    }

    .home-intelliscope-logo {
        width: min(100%, 430px);
    }

    .home-technology,
    .home-approach {
        padding: 6rem 0;
    }

    .home-cta {
        padding-bottom: 5rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 4.5rem 0;
    }

        .home-hero h1 {
            font-size: clamp(2.7rem, 12vw, 4.5rem);
        }

    .home-hero-lead {
        font-size: 1.05rem;
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-intro {
        padding: 4rem 0 2.5rem;
    }

    .home-services {
        padding: 0 0 4.5rem;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: 320px;
    }

    .home-intelliscope {
        padding-bottom: 4.5rem;
    }

    .home-intelliscope-panel {
        padding: 2rem;
    }

    .home-intelliscope-features {
        grid-template-columns: 1fr;
    }

    .home-intelliscope-watermark {
        width: 220px;
    }

    .home-intelliscope-external {
        flex-direction: column;
        gap: 0.25rem;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .home-technology,
    .home-approach {
        padding: 4.5rem 0;
    }

    .approach-item {
        grid-template-columns: 60px 1fr;
    }

    .home-cta {
        padding-bottom: 4rem;
    }

    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .home-tech-panel-body {
        padding: 1.5rem 1rem;
        font-size: 0.74rem;
    }

    .tech-code-line {
        grid-template-columns: 28px 1fr;
    }

    .home-service-card {
        padding: 1.5rem;
    }

    .home-service-arrow {
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .home-intelliscope-panel {
        padding: 1.5rem;
    }

    .home-intelliscope-logo {
        width: 100%;
    }

    .intelliscope-feature {
        min-height: auto;
        padding: 1.4rem;
    }

    .home-cta-inner {
        padding: 2rem 1.5rem;
    }
}
