/* Reset and Base Styles */
html {
    font-size: 1rem;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: #007bff;
    color: white;
}

.cookie-btn.decline {
    background-color: transparent;
    color: white;
    border: 0.1rem solid white;
}

.cookie-btn:hover {
    opacity: 0.8;
}

/* Header */
.header {
    background-color: #1a1a2e;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007bff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 2.5rem;
    height: 0.3rem;
    background-color: white;
    margin: 0.3rem 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url("./img/bg.png");
    padding: 12rem 0 8rem;
    color: white;
}

.hero-content {
    max-width: 80rem;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-0.2rem);
}

/* Smart Decisions Section */
.smart-decisions {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a2e;
}

.section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 5rem;
    color: #666;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.decision-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.decision-card {

background: #77B9C8;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    flex: 1;
    /*min-width: 25rem;*/
    max-width: 28rem;
}

.decision-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.decision-card p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}

/* Tactics Section */
.tactics {
    padding: 8rem 0;
    background: url("./img/bg2.png");
    color: white;
}

.tactics .section-title {
    color: white;
}

.tactics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.tactic-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    flex: 1;
    /*min-width: 30rem;*/
    max-width: 35rem;
}

.tactic-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #007bff;
}

.tactic-card p {
    font-size: 1.6rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    padding: 8rem 0;
    background-color: #77B9C8;
    color: white;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.stat-item {
    text-align: center;
    flex: 1;
    /*min-width: 25rem;*/
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.6rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* What Makes Ptolis Different */
.ptolis-different {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.different-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.different-text {
    flex: 1;
    /*min-width: 30rem;*/
}

.different-text p {
    font-size: 1.8rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.different-image {
    flex: 1;
    /*min-width: 30rem;*/
}

.different-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

/* Experts Section */
.experts {
    padding: 8rem 0;
    background-color: white;
}

.experts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    margin-top: 4rem;
}

.expert-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    flex: 1;
    /*min-width: 30rem;*/
    max-width: 35rem;
}

.expert-image {
    width: 100%;
    height: 25rem;
    overflow: hidden;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    padding: 3rem;
}

.expert-info h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.expert-info h4 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #007bff;
}

.expert-info p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.contact .section-title {
    color: white;
    margin-bottom: 4rem;
}

.contact-form {
    max-width: 50rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input {
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: #000;
    color: white;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo {
    font-size: 2.4rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link img {
    width: 2.4rem;
    height: 2.4rem;
    transition: opacity 0.3s ease;
}

.social-link:hover img {
    opacity: 0.7;
}

/* Success Page Styles */
.success-section {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 3rem;
}

.success-icon svg {
    width: 8rem;
    height: 8rem;
}

.success-title {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.success-text {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.success-subtext {
    font-size: 1.6rem;
    margin-bottom: 4rem;
    line-height: 1.6;
    opacity: 0.8;
}

.success-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: 0.2rem solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a1a2e;
    transform: translateY(-0.2rem);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 7rem;
        flex-direction: column;
        background-color: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 1rem 2.7rem rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(0.8rem) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-0.8rem) rotate(-45deg);
    }

    .hero {
        padding: 10rem 0 6rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-text {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    .decision-cards {
        flex-direction: column;
        gap: 2rem;
    }

    .tactics-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .different-content {
        flex-direction: column;
        gap: 3rem;
    }

    .experts-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

    .cookie-buttons {
        justify-content: center;
    }

    .success-title {
        font-size: 3.2rem;
    }

    .success-text {
        font-size: 1.6rem;
    }

    .success-subtext {
        font-size: 1.4rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-icon svg {
        width: 6rem;
        height: 6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .decision-card,
    .tactic-card {
        padding: 2rem;
    }

    .expert-info {
        padding: 2rem;
    }

    .form-group input {
        padding: 1.2rem;
        font-size: 1.4rem;
    }

    .btn-primary {
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
    }
}