@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --background-color: #000428;
    --text-color: #f0f0f0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(58, 123, 213, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

main {
    padding: 4rem 0;
}

.glass-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem 0;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
}

.advantage-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.philosophy-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.scenario-card {
    background: rgba(0, 210, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.scenario-card:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.value-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.value-card-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.value-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.value-card-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    flex-grow: 1;
}

.value-card-body p {
    margin-bottom: 1.5rem;
}

.value-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-card-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.value-card-body ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5rem;
}

.value-card-body ul li::before {
    content: '\f058'; /* Font Awesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.example-urls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-urls span {
    background: rgba(0, 210, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

#rates .rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

#rates .rate-item {
    font-size: 1.2rem;
}

#rates .rate-value {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
    opacity: 0.9;
}

.testimonial-text::before {
    content: '\f10d'; /* Font Awesome quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Market Insight Section */
.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.insight-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
}

.insight-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.insight-card p {
    opacity: 0.8;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-color);
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 1rem 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed for content */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

#contact .contact-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(240, 240, 240, 0.6);
}

.submit-button {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    position: relative;
}

.contact-method i {
    font-size: 2rem;
    width: 30px;
    text-align: center;
    color: var(--primary-color);
}

.contact-method .email-link,
.contact-method .contact-detail {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.contact-method a.contact-detail:hover {
    text-decoration: underline;
}

.language-switcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
}

.lang-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lang-menu {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    list-style: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.lang-menu.show {
    display: block;
}

.lang-menu li {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.lang-menu li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    z-index: 999;
}

.footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.footer-legal {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.7;
}

#form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

#back-to-top {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    z-index: 1000;
    display: none; /* Hidden by default */
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(10px);
}

#back-to-top:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 60px; /* Adjust to be above the footer bar */
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001; /* Above language switcher and footer */
    display: none; /* Hidden by default */
    font-size: 0.9rem;
}

#cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#cookie-consent-banner p {
    margin: 0;
}

#cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#cookie-consent-banner button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

#cookie-consent-banner button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#cookie-consent-banner #cookie-accept-btn {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

/* Final CTA Section */
#final-cta {
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.2));
}

#final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

#final-cta .section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
    .hero .subtitle {
        font-size: 1.5rem;
    }
    #contact .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .glass-section {
        padding: 3rem 0;
    }
    .glass-section h2 {
        font-size: 2rem;
    }
    #cookie-consent-banner {
        bottom: 80px; /* Adjust for taller footer on mobile */
    }
    #cookie-consent-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-legal {
        text-align: center;
    }
}