:root {
    --primary-color: #0a192f;
    --secondary-color: #172a45;
    --accent-color: #64ffda;
    --text-color: #ccd6f6;
    --text-secondary-color: #8892b0;
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: top 0.3s;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger span {
    height: 2px;
    width: 25px;
    background: var(--text-color);
    margin-bottom: 4px;
    border-radius: 5px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color var(--transition-speed);
}

nav a:hover {
    color: var(--accent-color);
}

.section {
    padding: 80px 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #e6f1ff;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 1rem;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #e6f1ff;
}

.prerequisites-grid, .services-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card, .service-card, .team-member {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.card:hover, .service-card:hover, .team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card h3, .service-card h3, .team-member h3 {
    color: var(--accent-color);
    margin-top: 0;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

ul {
    padding-left: 20px;
}

/* Product Page Specifics */
.product-page {
    padding-top: 120px;
}

.product-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    margin: 0 auto 30px;
    display: block;
}

.product-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.benefits {
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.product-sub-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--secondary-color);
}

.product-sub-item:last-child {
    border-bottom: none;
}


@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--secondary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

.footer {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.footer h2 {
    font-size: 2rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 10px 0;
    color: var(--text-secondary-color);
}

/* Prices Page */
.prices-container {
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.prices-container h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.prices-container h2 {
    text-align: left;
    font-size: 2rem;
    margin-top: 60px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.promo-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 50px;
}

.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--secondary-color);
    font-size: 1.1rem;
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--primary-color);
}

th {
    background-color: #0a192f;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tbody tr:nth-child(even) {
    background-color: #1a2c47;
}

tbody tr:hover {
    background-color: #2a4063;
    transform: scale(1.01);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

td:first-child {
    font-weight: bold;
    color: var(--text-color);
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 20px;
        border-radius: var(--border-radius);
        overflow: hidden;
        border: 1px solid var(--primary-color);
    }

    td {
        border: none;
        border-bottom: 1px solid var(--primary-color);
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: var(--accent-color);
    }

    .table-container {
        box-shadow: none;
    }

    tbody tr:hover {
        transform: none;
    }
}
