/* Home page styles */

.utp-section {
    padding: 80px 0;
}

.utp-section:nth-child(even),
.utp-section.utp-section--same-as-saas {
    background-color: #f8f9fa;
}

.utp-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #232323;
}

.utp-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.utp-section .lead {
    font-size: 18px;
    color: #444;
}

.utp-section ul {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1em;
    list-style-type: disc;
    padding-left: 1.5em;
}

.utp-section ul li {
    margin-bottom: 0.25em;
}

.hero-section {
    background: url('../img/main-hero.webp') center center / cover no-repeat;
    color: #1e293b;
    padding: 80px 0 100px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.85) 0%, rgba(240, 249, 255, 0.8) 50%, rgba(255, 255, 255, 0.75) 100%);
    pointer-events: none;
}

.hero-row {
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-logo img {
    height: 48px;
    width: auto;
}

.hero-section h1 {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-tags {
    font-size: 15px;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}

.hero-tags::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -80px;
    right: -80px;
    height: 56px;
    background: linear-gradient(
        to right,
        transparent 0,
        rgba(147, 197, 253, 0.2) 80px,
        rgba(147, 197, 253, 0.2) calc(100% - 80px),
        transparent 100%
    );
    z-index: -1;
}

.hero-tags a {
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-tags a:hover {
    color: #3b82f6;
}

.hero-tags .sep {
    color: #94a3b8;
    margin: 0 8px;
}

.hero-graphic {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-graphic img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 80px;
    }
    .hero-graphic {
        justify-content: center;
        margin-top: 40px;
    }
    .hero-graphic img {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 40px 0 60px;
    }
    .hero-section h1 {
        font-size: 28px;
    }
    .hero-sub {
        font-size: 16px;
    }
    .hero-tags {
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-hero {
        text-align: center;
    }
    .hero-graphic img {
        max-width: 100%;
    }
}

.btn-light-custom {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-light-custom:hover {
    background: #f8f9fa;
    color: #764ba2;
    text-decoration: none;
}

/* Equal-height feature blocks */
.utp-section .row:has(.feature-box) {
    display: flex;
    flex-wrap: wrap;
}
.utp-section .row:has(.feature-box) [class*="col-"] {
    display: flex;
}
.feature-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.feature-box p {
    flex: 1;
}

.feature-box i,
.feature-box .feature-box-img {
    display: block;
    margin-bottom: 20px;
}

.feature-box .feature-box-img {
    max-width: 64px;
    height: auto;
}

.feature-box i {
    font-size: 40px;
    color: #667eea;
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Rescue promo image: rounded corners + vignette */
.promo-image {
    position: relative;
    display: inline-block;
    max-width: 80%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.promo-image img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.promo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(
        ellipse 100% 100% at 50% 50%,
        transparent 82%,
        rgba(255, 255, 255, 0.25) 92%,
        rgba(255, 255, 255, 0.6) 100%
    );
    pointer-events: none;
}

.cta-section {
    background: url('../img/ground-v1.jpg') center center / cover no-repeat;
    color: #1e293b;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    color: #334155;
    margin-bottom: 30px;
}

.cta-section .btn-light-custom {
    background: #1e293b;
    color: #fff;
}

.cta-section .btn-light-custom:hover {
    background: #334155;
    color: #fff;
}

footer {
    background: #232323;
    color: #999;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #999;
}
