@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter Tight", sans-serif;
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--primary-text);
}

:root {
    --primary: #000000;
    --primary-text: #f0ecde;
    --bg: #000000;
    --sub-text: #8a8a8a;
    --border: 1px solid #ffffff2a;
    --accent: #c9a84c;
}

[class*="grid"] {
    display: grid;
}

.align-center {
    align-items: center;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

body {
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

i svg {
    width: unset;
    height: 1.8rem;
    fill: var(--light);
}

p,
a,
input,
select,
textarea,
button {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    color: var(--sub-text);
    line-height: 1.7;
}

img,
video {
    max-width: 100%;
}

.container {
    max-width: 1240px;
    padding: 0 2rem;
    margin: auto;
    width: 100%;
}

.container-max {
    max-width: 1540px;
    padding: 0 2rem;
    margin: auto;
    width: 100%;
}

button,
.btn {
    cursor: pointer;
    background: var(--accent);
    color: var(--primary);
    border-radius: 1.5rem;
    padding: 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

button:hover,
.btn:hover {
    background: #b8963f;
    transform: translateY(-1px);
}

button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

section {
    padding: 8rem 0;
    border-top: 1px solid #ffffff10;
}

header {
    height: 10rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo img {
    height: 7rem;
}

main {
    padding: 10rem 0;
}

main .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 80rem;
    gap: 2rem;
    width: 100%;
    margin: auto;
}

main .content h1 {
    font-size: 6rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

main .content p {
    max-width: 65rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10rem;
    align-items: center;
}

/* Abstract visuals */
.visual {
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 30rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

/* Fragmented grid — mismatched security */
.frag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    padding: 12%;
    width: 100%;
    height: 100%;
}

.frag-grid span {
    display: block;
    border-radius: 6px;
    background: #333;
    box-shadow: inset 0 0 0 2px #555;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.frag-grid span:nth-child(3) {
    transform: translate(4px, -6px) rotate(2deg);
    background: #252525;
    box-shadow: inset 0 0 0 1px #ffffff35;
}

.frag-grid span:nth-child(6) {
    background: #3d2e10;
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translate(-3px, 5px);
}

.frag-grid span:nth-child(7) {
    transform: translate(5px, 3px) rotate(-1deg);
}

.frag-grid span:nth-child(10) {
    background: #2a2a2a;
    box-shadow: inset 0 0 0 1px #ffffff40;
    transform: translate(-4px, -4px) rotate(1.5deg);
}

.frag-grid span:nth-child(11) {
    background: #33280f;
    box-shadow: inset 0 0 0 1px var(--accent);
}

.frag-grid span:nth-child(14) {
    transform: translate(6px, 2px) rotate(-2deg);
    background: #252525;
}

.frag-grid span:nth-child(16) {
    transform: translate(-3px, -5px);
    box-shadow: inset 0 0 0 1px #ffffff35;
}

.visual-fragmented:hover .frag-grid span:nth-child(3),
.visual-fragmented:hover .frag-grid span:nth-child(7),
.visual-fragmented:hover .frag-grid span:nth-child(10),
.visual-fragmented:hover .frag-grid span:nth-child(14),
.visual-fragmented:hover .frag-grid span:nth-child(16) {
    transform: translate(0, 0) rotate(0deg);
}

/* Layered defense — concentric rounded squares */
.visual-layered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer {
    position: absolute;
    border-radius: 1.2rem;
    box-shadow: inset 0 0 0 1px #ffffff20;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.layer-4 {
    width: 85%;
    height: 85%;
    background: #1a1a1a;
    box-shadow: inset 0 0 0 2px #444;
    z-index: 1;
}

.layer-3 {
    width: 65%;
    height: 65%;
    background: #222;
    box-shadow: inset 0 0 0 2px #555;
    z-index: 2;
}

.layer-2 {
    width: 45%;
    height: 45%;
    background: #2a2a2a;
    box-shadow: inset 0 0 0 2px #666;
    z-index: 3;
}

.layer-1 {
    width: 25%;
    height: 25%;
    background: var(--accent);
    opacity: 0.5;
    box-shadow: inset 0 0 0 2px var(--accent);
    z-index: 4;
}

.visual-layered:hover .layer-1 {
    background: rgba(201, 168, 76, 0.4);
    transform: scale(1.05);
}

.visual-layered:hover .layer-2 {
    box-shadow: inset 0 0 0 1px var(--accent);
}

.visual-layered:hover .layer-3 {
    box-shadow: inset 0 0 0 1px #ffffff35;
}

.visual-layered:hover .layer-4 {
    box-shadow: inset 0 0 0 1px #ffffff25;
}

.title {
    text-align: center;
    margin-bottom: 5rem;
}

.title h2 {
    font-size: 5rem;
}

.text-box h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.card {
    max-width: 40rem;
    width: 100%;
    padding: 3rem;
    border: var(--border);
    border-radius: 0.8rem;
    background: #0a0a0a;
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease, border-left-color 0.3s ease;
}

.card:hover {
    border-color: #ffffff50;
    border-left-color: var(--accent);
}

.service-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta {
    max-width: 70rem;
    width: 100%;
    padding: 5rem;
    background: linear-gradient(135deg, #171717, #1a1a1a);
    margin: auto;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 4rem;
    font-weight: 600;
}

.cta-link {
    font-size: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.cta-link:hover {
    opacity: 0.75;
}

.cta-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #ffffff10;
}

footer p {
    font-size: 1.5rem;
    color: var(--sub-text);
}

/* Fade-in animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    animation: fadeUp 0.6s ease forwards;
}

@media (max-width:991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    main .content h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1.6rem;
    }

    button,
    .btn {
        font-size: 1.6rem;
    }

    .text-box h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 5rem 0;
    }

    .fix {
        grid-area: 1 / 1 / 2 / 2;
    }

    .visual {
        max-width: 35rem;
        margin: auto;
    }

    .card h3 {
        font-size: 2rem;
    }

    .title h2 {
        font-size: 3rem;
    }

    .cta h2 {
        font-size: 3rem;
    }

    .cta-link {
        font-size: 1.8rem;
    }

    .cta {
        padding: 3rem;
    }
}
