* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #eee;
    font-family: Arial, sans-serif;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav h2 {
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links button {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 8px;
}

.nav-links button:hover {
    color: #c6a15b;
}

section {
    min-height: 100vh;
    padding: 120px 8%;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #080808,
            #19150e,
            #080808
        );
}

.small-title,
.section-title {
    color: #c6a15b;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 8vw, 100px);
    line-height: 0.95;
    margin-bottom: 30px;
}

.hero h1 span {
    color: #c6a15b;
}

.hero p {
    max-width: 550px;
    color: #aaa;
    line-height: 1.7;
}

.main-btn {
    width: fit-content;
    margin-top: 30px;
    padding: 14px 25px;
    background: #c6a15b;
    color: #080808;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.main-btn:hover {
    box-shadow: 0 0 20px rgba(198, 161, 91, 0.5);
    transform: translateY(-2px);
}

section h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card,
.case-card {
    padding: 30px;
    background: #111;
    border: 1px solid #292929;
    opacity: 0.7;
    transition: 0.3s ease;
}

.card:hover,
.case-card:hover {
    opacity: 1;
    transform: translateY(-6px);
    border-color: #c6a15b;
    box-shadow: 0 0 20px rgba(198, 161, 91, 0.25);
}

.card h3,
.case-card h3 {
    margin-bottom: 15px;
}

.card p,
.case-card p,
.about-text {
    color: #999;
    line-height: 1.7;
}

.case-card {
    cursor: pointer;
}

.case-card span {
    color: #c6a15b;
    font-size: 12px;
    letter-spacing: 2px;
}

.warning {
    color: #777;
    border-left: 3px solid #c6a15b;
    padding-left: 15px;
    margin-bottom: 30px;
}

#case-result {
    margin-top: 25px;
    padding: 20px;
    color: #aaa;
}

.about-text {
    max-width: 700px;
    margin-bottom: 20px;
}

form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    background: #111;
    color: white;
    border: 1px solid #292929;
    padding: 15px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #c6a15b;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    padding: 30px;
    text-align: center;
    color: #666;
}

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 140px 6% 80px;
    }
}