/* 
SPDX-FileCopyrightText: NOI Techpark <digital@noi.bz.it>

SPDX-License-Identifier: AGPL-3.0-or-later 
*/

@import url("https://fonts.testingmachine.eu/source-sans-pro/style.css");

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

body {
    font-family: "Source Sans Pro", sans-serif;
    background: #ffffff;
    color: #212529;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Container */
.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 17px;
}

.separator {
    height: 40px;
    width: 1px;
    background-color: #dee2e6;
    margin: 0 5px;
}

.logo img {
    height: 40px;
    display: block;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.flightdata-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto; 
    padding: 30px; 
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Navigation */
.main-nav ul,
.sub-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li,
.sub-nav li {
    position: relative;
    margin: 0 8px;
}

.main-nav a,
.sub-nav a {
    display: block;
    padding: 8px 10px;
    color: #212529;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.sub-nav a:hover {
    color: #0d6efd;
}

.drop-img {
    font-size: 10px;
    margin-left: 5px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.sub-nav {
    display: flex;
    align-items: center;
}

.sub-nav .logo-eu,
.sub-nav .logo-noi {
    height: 40px;
    display: block;
}

/* Main */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px
    );
    background-size: 30px 30px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 550;
    margin-bottom: 20px;
    /* text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 30px;
    padding: 60px 40px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.feature-link:hover {
    color: #7c3aed;
    transform: translateY(5px);
}

.screenshot-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    border: 2px dashed #cb5e1c;
    transition: all 0.3s ease;
    overflow: hidden;
}

.screenshot-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.feature-card:hover .screenshot-placeholder {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-color: #a5b4fc;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: auto;
}

.main-footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-one {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.box-one,
.box-two {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.box-one img,
.box-two img {
    height: 60px;
}

.box-one div h3,
.box-two div h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-divider {
    height: 1px;
    background: #dee2e6;
    margin: 20px 0;
}

.sub-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.sub-footer div {
    min-width: 160px;
    margin-bottom: 20px;
}

.sub-footer h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.sub-footer p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #495057;
    transition: color 0.2s ease;
}

.sub-footer p:hover {
    color: #212529;
}

.footer-bottom {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6c757d;
    background-color: #f1f3f5;
}

.pipe {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #6c757d;
    margin: 0 10px;
    vertical-align: middle;
}

.footer-links {
    display: flex;
    align-items: center;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) and (min-width: 801px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}

@media (max-width: 800px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 40px 80px;
    }

    .header-wrapper {
        height: auto;
        padding: 15px 20px;
        position: relative;
    }

    .sub-nav .logo-noi {
        display: none;
    }
}

@media (max-width: 540px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 40px 20px;
    }

    .container-one {
        flex-direction: column;
        padding: 0 20px;
    }

    .box-one,
    .box-two {
        flex: unset;
        width: 100%;
    }

    .hero-section {
        min-height: auto;
        padding: 60px 20px 40px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-card h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .sub-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 0 20px;
    }

    .sub-footer div {
        width: 100%;
        margin-bottom: 0;
    }

    .sub-footer h3 {
        font-size: 1rem;
    }

    .sub-footer p {
        font-size: 0.95rem;
    }
}
