* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #F8F8FF;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E6E6FA;
    z-index: 10;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 65px;
    height: auto;
}

.logo div {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, #6A5ACD, #9370DB);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: #6A5ACD;
}

.logo p {
    font-size: 0.875rem;
    color: #666;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #6A5ACD;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #483D8B;
}

.nav-buttons button {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-buttons .outline {
    border: 1px solid #6A5ACD;
    background: none;
    color: #6A5ACD;
}

.nav-buttons .outline:hover {
    background: #F0F0FF;
}

.nav-buttons .filled {
    background: #6A5ACD;
    color: white;
}

.nav-buttons .filled:hover {
    background: #483D8B;
}


.nav-links .dropdown { 
    position: relative; 
    display: inline-block; 
}
.nav-links .dropdown > a { 
    cursor: pointer; 
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;  /* Maior que o header para sobrepor */
    top: 100%; 
    left: 0;
    border-radius: 5px;
    overflow: hidden;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}
.dropdown-content a:hover { 
    background-color: #f8f8ff; 
}
.dropdown:hover .dropdown-content { 
    display: block; 
}

/* Para mobile: Expande ao tocar */
@media (max-width: 768px) { 
    .dropdown-content { 
        position: static; 
        display: none; 
        width: 100%; 
        box-shadow: none; 
    }
    .dropdown:active .dropdown-content { 
        display: block; 
    }
}





/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
    position: relative;
    overflow: hidden;
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #6A5ACD, #9370DB);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite;
    position: relative;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #6A5ACD;
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.connection {
    position: absolute;
    background: rgba(106, 90, 205, 0.3);
    height: 2px;
}

.scenario {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid #E6E6FA;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.scenario h3 {
    font-size: 1.5rem;
    color: #6A5ACD;
    margin-bottom: 1rem;
}

.scenario p {
    color: #666;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.progress-dots div {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #E6E6FA;
    transition: all 0.5s;
}

.progress-dots .active {
    background: #6A5ACD;
    transform: scale(1.5);
}

.hero-buttons button {
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-buttons .filled {
    background: #6A5ACD;
    color: white;
}

.hero-buttons .filled:hover {
    background: #483D8B;
}

.hero-buttons .outline {
    border: 1px solid #6A5ACD;
    background: none;
    color: #6A5ACD;
}

.hero-buttons .outline:hover {
    background: #F0F0FF;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
}

.stats div {
    text-align: center;
}

.stats .number {
    font-size: 2rem;
    color: #6A5ACD;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Floating Elements */
.floating {
    position: absolute;
    background: linear-gradient(to bottom right, #D8BFD8, #E6E6FA);
    border-radius: 50%;
    opacity: 0.2;
    animation: bounce 6s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-1 { width: 5rem; height: 5rem; top: 2.5rem; left: 2.5rem; animation-delay: 0s; }
.floating-2 { width: 4rem; height: 4rem; top: 8rem; right: 5rem; animation-delay: 2s; }
.floating-3 { width: 3rem; height: 3rem; top: 50%; left: 25%; animation-delay: 4s; }
.floating-4 { width: 3.5rem; height: 3.5rem; bottom: 8rem; right: 25%; animation-delay: 1s; }
.floating-5 { width: 4.5rem; height: 4.5rem; bottom: 5rem; left: 33%; animation-delay: 3s; }

/* Courses Section */
.courses {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
}

.courses h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    text-align: center;
    margin-bottom: 2rem;
}

.courses p {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: #666;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid #E6E6FA;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s;
}

.course-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.course-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-card .level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #6A5ACD;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.course-card-content {
    padding: 1.5rem;
}

.course-card h3 {
    font-size: 1.25rem;
    color: #6A5ACD;
    margin-bottom: 0.5rem;
}

.course-card p {
    color: #666;
    margin-bottom: 1rem;
}

.course-card .price {
    font-size: 1.5rem;
    color: #6A5ACD;
    font-weight: bold;
}

.course-card button {
    width: 100%;
    padding: 0.75rem;
    background: #6A5ACD;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.course-card button:hover {
    background: #483D8B;
}

.course-btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background: #6A5ACD;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
.course-btn:hover {
    background: #483D8B;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
}

.features h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    text-align: center;
    margin-bottom: 1rem;
}

.features p {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: #666;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #E6E6FA;
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, #6A5ACD, #9370DB);
    border-radius: 0.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    color: #6A5ACD;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.875rem;
}

/* Partners Section */
.partners {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
}

.partners h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    text-align: center;
    margin-bottom: 1rem;
}

.partners p {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: #666;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #E6E6FA;
    border-radius: 1rem;
    transition: all 0.3s;
}

.partner-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-card img {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.partner-card h4 {
    font-size: 1rem;
    color: #6A5ACD;
    margin-bottom: 0.25rem;
}

.partner-card p {
    font-size: 0.75rem;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 2rem 9rem;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials p {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: #666;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #E6E6FA;
    border-radius: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
    width: 7rem;
    height: 8rem;
    border-radius: 50%;
    margin-right: 3rem;
    object-fit: cover;
}

.testimonial-card .info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: #6A5ACD;
    margin-bottom: 0.25rem;
}

.testimonial-card .role {
    font-size: 0.875rem;
    color: #6A5ACD;
}

.testimonial-card .company {
    font-size: 0.75rem;
    color: #666;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom right, #F8F8FF, #E6E6FA);
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .about .container {
        grid-template-columns: 1fr 1fr;
    }
}

.about h2 {
    font-size: 2.5rem;
    color: #6A5ACD;
    margin-bottom: 1rem;
}

.about p {
    color: #666;
    margin-bottom: 1.5rem;
}

.about .values {
    margin-bottom: 1.5rem;
}

.about .values div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.about .values .dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #6A5ACD;
    border-radius: 50%;
    margin-top: 0.5rem;
}

.about .values h4 {
    font-size: 1rem;
    color: #6A5ACD;
    margin-bottom: 0.25rem;
}

.about button {
    padding: 0.75rem 1.5rem;
    background: #6A5ACD;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.about button:hover {
    background: #483D8B;
}

.about .images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 2rem;
    background: linear-gradient(to right, #6A5ACD, #9370DB);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter .input-group {
    display: flex;
    gap: 0.5rem;
    max-width: 30rem;
    margin: 0 auto;
    flex-direction: column;
}

@media (min-width: 640px) {
    .newsletter .input-group {
        flex-direction: row;
    }
}

.newsletter input {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 100%;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #6A5ACD;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background: #F0F0FF;
}

/* Footer */
.footer {
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #2F2E41, #483D8B); /* Darker gradient for contrast */
    color: #fff;
    overflow: hidden;
}

.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8; /* Increased for visibility */
}

.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9); /* Slightly more opaque for readability */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer h3 {
    font-size: 1.25rem;
    color: #6A5ACD;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 1.125rem;
    color: #6A5ACD;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #6A5ACD;
}

.footer .social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer .social div {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a33db;
    transition: background-color 0.3s;
}

.footer .social img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}


.footer .bottom {
    margin-top: 2rem;
    border-top: 1px solid #E6E6FA;
    padding-top: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    .stats { grid-template-columns: 1fr; }
    .course-grid, .feature-grid, .partner-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .about .container { grid-template-columns: 1fr; }
    .nav-links, .nav-buttons { display: none; }
    .footer .container { grid-template-columns: 1fr; }
}