@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #0a2540;
    --accent-color: #00f5a0;
    --background-color: #f8f9fa;
    --text-color: #333;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo .slogan {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.logo-link {
    text-decoration: none;
}

header nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--accent-color);
}

main {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-section, .legal-section, .about-section, .subscribe-section, .results-section {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 1rem auto;
}

#search-form {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

#phone-number {
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px 0 0 8px;
    width: 50%;
    transition: border-color 0.3s ease;
}

#phone-number:focus {
    outline: none;
    border-color: var(--primary-color);
}

button, .subscribe-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--accent-color), #00c6a7);
    color: var(--primary-color);
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover, .subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 160, 0.4);
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
    color: #888;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(45deg, var(--primary-color), #1b4a8a);
    color: #fff;
    padding: 5rem 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hero-section h2 {
    color: #fff;
    font-size: 3rem;
}

.hero-section p {
    color: #eee;
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works-section {
    text-align: center;
    padding: 3rem 0;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.step {
    max-width: 300px;
}

.step i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    text-align: center;
    padding: 3rem 0;
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.benefit {
    max-width: 300px;
}

.benefit i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

button i {
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

/* Subscription Page */
.subscription-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    max-width: 500px;
    margin: 2rem auto;
    border-top: 5px solid var(--accent-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: #666;
}

.commitment {
    font-style: italic;
    color: #888;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 1rem;
}

.benefits-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.subscribe-button-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
}

.testimonials {
    margin-top: 3rem;
}

/* Responsive Design */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .hamburger-menu {
        display: block;
    }

    .steps-container, .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .step, .benefit {
        margin-bottom: 2rem;
    }

    #search-form {
        flex-direction: column;
    }

    #phone-number, button {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

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

/* Search Simulator */
#simulation-container {
    padding: 3rem 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s ease infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#simulation-message {
    font-weight: 600;
    color: var(--primary-color);
}

.result-item {
    transition: opacity 0.5s ease;
}
