:root {
    --primary-color: #20895a;
    --secondary-color: #1a4a5e;
    --accent-color: #4CAF50;
    --bg-dark: #0d1b1e;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --container-width: 1100px;
    --transition: all 0.3s ease;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(13, 27, 30, 0.85), rgba(13, 27, 30, 0.85)), url('img/sfondo.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-light);
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

header {
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: +0.9px;
}

.logo img {
    height: 70px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-icon i {
    font-size: 1.3em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #27a66e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(32, 137, 90, 0.3);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
}

.hero {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 2rem;
    row-gap: 0.5rem;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
}

.hero-image {
    grid-column: 2;
    grid-row: 1;
}

.hero-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h1 span {

    background: rgba(32, 137, 90, 1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 600px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 0px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 0px solid rgba(255, 255, 255, 0.1);
}

.problem {
    padding: 2rem 0;
    background: rgba(26, 74, 94, 0.1);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.problem p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
}

.highlight {
    font-weight: 600;
    color: var(--text-light) !important;
    font-style: italic;
}

.feature-list {
    list-style: none;
    margin-top: 0;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}

.feature-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.feature-list li span {
    color: var(--text-light);
    font-weight: 600;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--text-light);
}

.page-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.page-hero .tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
}

.section-block {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.section-block:nth-child(even) {
    background: rgba(26, 74, 94, 0.08);
}

.section-block h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.section-block .section-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.section-block p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 780px;
    margin-bottom: 1.2rem;
}
.section-block p.intro {
    font-size: 1.15rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.mode-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}
.mode-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-light);
}
.mode-card .ideal {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-top: 0.6rem;
}
.mode-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.mode-card .badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(161, 26, 20, 0.25);
    color: #e05a55;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 0.6rem;
}
.mode-card .badge.stop {
    background: rgba(26, 74, 94, 0.4);
    color: #5ab4d6;
}

.img-placeholder {
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem;
    gap: 0.5rem;
}
.img-placeholder .ph-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}
.img-placeholder .ph-label {
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.steps {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
}
.steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.steps li .step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li .step-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    padding-top: 3px;
}
.steps li .step-text strong {
    color: var(--text-light);
}

.checklist {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.checklist li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
}
.checklist li strong {
    color: var(--text-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.back-link:hover {
    color: var(--text-light);
}
.tagline-hero {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}
.note-box {
    background: rgba(76, 175, 80, 0.08);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    padding: 0.9rem 1.2rem;
    margin-top: 1.2rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.note-box strong {
    color: var(--accent-color);
}

.subsection-title {
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        grid-column: 1;
        grid-row: 1;
    }
    .hero-image {
        grid-column: 1;
        grid-row: 3;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-bottom {
        grid-column: 1;
        grid-row: 2;
    }
    .description {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .col-img {
        order: 2;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    .logo span {
        display: none;
    }
    .hero {
        padding: 4rem 0;
    }
    .container,
    .hero-grid {
        padding: 0 1.2rem;
    }
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .cta-group .btn {
        justify-content: center;
    }
}
