/* Hero section */
.hero {
    color: #f3f5f7;
    background: linear-gradient(rgb(11, 25, 33, 0), rgb(11, 25, 33, 0)),
    url('../assets/images/header.webp') center/cover no-repeat fixed;
    text-align: left;
}

.hero__content {
    width: min(550px, 92%);
    margin: 0 17% 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px) saturate(200%);
    -webkit-backdrop-filter: blur(12px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero__title {
    font-size: clamp(2rem, 3.5vw + 1rem, 3.2rem);
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 5px 5px rgba(255, 255, 255, 0.1);
}

.hero__subtitle {
    color: #e1e5ea;
    margin: 0 0 1rem 0;
    font-weight: 500;
    font-size: 1.28rem;
}

.hero__links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    opacity: 0.95;
}

.hero__actions {
    display: grid !important;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    width: 100%; !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 !important;
}

.hero__action-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(200%);
    -webkit-backdrop-filter: blur(12px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.5rem 2rem;
    min-height: 54px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}

.hero__action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Development and CAD sections */
#dev .container,
#cad .container {
    background: rgba(0, 23, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: clamp(48px, 6.6vw, 84px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    backdrop-filter: saturate(110%) blur(0.5px);
    margin-top: 1rem;
}

#dev.section,
#cad.section {
    min-height: auto;
    align-items: flex-start;
    padding: clamp(50px, 6vh, 64px) 0;
}

#dev.section {
    margin-top: 50px;
}

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.2rem;
    align-items: start;
}

#cad .split {
    grid-template-columns: 1fr 1fr;
}

#cad .split__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.split__actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}