/* --- UPS HERO --- */
.ups-hero {
    background: radial-gradient(circle at center, #2d3436 0%, #1e272e 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 180px; /* Large bottom padding for overlap */
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

@media (min-width: 768px) {
    .ups-hero {
        padding: 150px 0 200px;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    }
}

.ups-hero h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .ups-hero h1 {
        font-size: 3.5rem;
    }
}

.ups-hero h1 span {
    color: #4fc3f7;
}

.ups-hero p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .ups-hero p {
        font-size: 1.2rem;
    }
}


/* --- FLOATING CARDS --- */
.feature-cards-floating {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: -100px; /* Overlap upwards */
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .feature-cards-floating {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: -120px;
    }
}

.float-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.float-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.float-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.float-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}


/* --- TECH SECTION --- */
.tech-section {
    background: #f9fcff;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list li i {
    color: #4CAF50;
    margin-top: 5px;
    background: #e8f5e9;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
}

.tech-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}

.app-grid i {
    color: var(--primary);
    margin-bottom: 10px;
}


/* --- CALCULATOR --- */
.calculator-section {
    background: var(--dark-industrial);
    color: white;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .calculator-section {
        padding: 50px;
    }
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    min-width: 600px;
}

.calc-table th,
.calc-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.calc-table th {
    color: #4fc3f7;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.calc-table td {
    font-size: 0.95rem;
}

.calc-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}
