.content {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 4% 3% 8%;
}

.fading-sphere {
    position: absolute;
    top: 72%;
    left: 42%;
    z-index: -1;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(25, 117, 255, 0.8) 0%, var(--background) 70%);
    transform: translate(-50%, -50%);
    animation: fade-in 1.4s ease both;
}

.topDiv {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 5%;
}

.title {
    max-width: 25ch;
    font-size: clamp(1.75rem, 2.6vw, 3.2rem);
    font-weight: 300;
    line-height: 1.05;
    animation: fade-up 800ms ease both;
}

.CalltoAction {
    margin-left: auto;
    color: var(--accent-soft);
    font-size: clamp(0.95rem, 1.2vw, 1.3rem);
    text-decoration: none;
    white-space: nowrap;
    animation: fade-up 800ms ease 100ms both;
}

.CalltoAction:hover,
.AboutCall:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.grid-container {
    width: 100%;
    min-height: 900px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "box-1 box-3 box-5 box-5"
        "box-2 box-4 box-5 box-5"
        "box-6 box-6 box-7 box-7"
        "box-6 box-6 box-7 box-7";
    gap: 1.5rem;
}

.box {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    animation: fade-up 800ms ease both;
}

.focus-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.15rem;
    text-align: center;
}

.concept-icon {
    width: clamp(2.5rem, 3.2vw, 3rem);
    height: clamp(2.5rem, 3.2vw, 3rem);
    margin-bottom: 0.7rem;
    color: var(--muted);
}

.concept-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.concept-icon .concept-icon-accent {
    stroke: var(--accent-soft);
}

.BoxHeading1,
.BoxHeading2,
.BoxHeading3,
.BoxHeading4 {
    margin-bottom: 0.45rem;
    font-weight: 500;
    line-height: 1.05;
}

.BoxHeading1,
.BoxHeading2,
.BoxHeading3,
.BoxHeading4 {
    font-size: clamp(0.98rem, 1.35vw, 1.55rem);
}

.BoxInfoLine {
    color: var(--muted);
    font-size: clamp(0.78rem, 0.85vw, 0.98rem);
    line-height: 1.3;
}

.box5,
.box6,
.box7 {
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 2.2vw, 2.4rem);
    padding-top: clamp(1rem, 1.4vw, 1.6rem);
}

.box5 {
    justify-content: flex-start;
    padding-top: clamp(3rem, 2vw, 2.2rem);
}

.BoxHeading5 {
    margin-bottom: 2.8rem;
    font-size: clamp(1.15rem, 1.7vw, 2rem);
    font-weight: 300;
    line-height: 1.05;
    white-space: nowrap;
}

.focus-list {
    display: grid;
    gap: 1.35rem;
    margin-bottom: 2.4rem;
    padding-left: 0;
    color: var(--muted);
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    line-height: 1.35;
    list-style: none;
}

.focus-list li {
    display: flex;
    gap: 0.45rem;
}

.focus-list li::before {
    flex: 0 0 auto;
    color: var(--text);
    content: ">";
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
}

.AboutCall {
    color: var(--accent-soft);
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    text-decoration: none;
}

.blog-call {
    color: #ffffff;
    font-weight: 700;
}

.card-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.BoxHeading6,
.BoxHeading7 {
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 300;
}

.placeholder-label {
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.box6 .architecture-visual {
    margin: 1rem 0;
}

.article-title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.15rem, 1.35vw, 1.5rem);
    font-weight: 500;
}

.article-summary {
    max-width: 42rem;
    color: var(--muted);
    font-size: clamp(0.88rem, 0.92vw, 1rem);
    line-height: 1.4;
}

.placeholder-call {
    margin-top: auto;
    padding-top: 0.9rem;
    color: var(--accent-soft);
    font-size: clamp(0.85rem, 0.9vw, 1rem);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1;
    align-content: center;
    gap: 2.2rem 1rem;
    list-style: none;
}

.technology-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    text-align: center;
}

.technology-logo {
    width: 100%;
    max-width: 5rem;
    height: clamp(2.6rem, 3.5vw, 3.2rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.technology-monogram {
    color: var(--text);
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.technology-name {
    color: var(--text);
    font-size: clamp(0.72rem, 0.78vw, 0.88rem);
    font-weight: 300;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    .content {
        padding: 3rem 4% 8%;
    }

    .fading-sphere {
        top: 65%;
        left: 20%;
        width: 190vw;
        height: 190vw;
    }

    .topDiv {
        margin-bottom: 2rem;
    }

    .title {
        font-size: clamp(1.65rem, 5.7vw, 2.8rem);
    }

    .CalltoAction {
        font-size: clamp(0.9rem, 2.8vw, 1.15rem);
    }

    .grid-container {
        min-height: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(190px, auto) minmax(190px, auto) auto auto auto;
        grid-template-areas:
            "box-1 box-2"
            "box-3 box-4"
            "box-5 box-5"
            "box-6 box-6"
            "box-7 box-7";
        gap: 1rem;
    }

    .box5,
    .box6,
    .box7 {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .topDiv {
        display: block;
    }

    .CalltoAction {
        display: inline-block;
        margin-top: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, minmax(180px, auto)) auto auto auto;
        grid-template-areas:
            "box-1"
            "box-2"
            "box-3"
            "box-4"
            "box-5"
            "box-6"
            "box-7";
    }

    .technology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technology-logo {
        height: 3.2rem;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
