
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

.rotate-180 {
    transform: rotate(180deg);
}

.rounded-img {
    border-radius: var(--radius);
    filter: hue-rotate(90deg) saturate(1.5);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--primary-transparent), var(--background-opaque), var(--red-light-transparent));
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.circle-1 {
    top: 0;
    left: 0;
    width: 33%;
    height: 33%;
    background-color: var(--circle-1-bg);
}

.circle-2 {
    bottom: 0;
    right: 0;
    width: 33%;
    height: 33%;
    background-color: var(--circle-2-bg);
}

.circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    height: 33%;
    background-color: var(--circle-3-bg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--purple), var(--cyan));
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--purple-hover), var(--cyan));
    box-shadow: 0 0 15px rgba(51, 146, 234, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--purple);
    color: var(--purple-light);
}

.btn-outline:hover {
    background-color: rgba(51, 109, 234, 0.1);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    max-width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    display: block;
    height: 30px;
}

.main-header .logo img {
    height: 100%;
}

.main-header .btn {
    margin-left: 2rem;
}

/* .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to right, var(--purple), var(--cyan));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo-icon span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
  }
  
  .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--purple-light), var(--cyan-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  } */

.desktop-nav {
    display: none;
}

.nav-link {
    color: var(--muted-foreground);
    margin-left: 2rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

.close-icon {
    display: none;
}

.mobile-nav {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.mobile-nav .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .main-header .btn {
        margin-left: 0rem;
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--span-title);
text-shadow: 0 0 5px var(--span-title-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    width: 100%;
    position: relative;
}

.dashboard-preview {
    background-color: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.dashboard-preview::before {
    content: "";
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, var(--purple), var(--cyan));
    opacity: 0.2;
    filter: blur(2rem);
    z-index: -1;
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.window-title {
    margin-left: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-card {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.card-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.ibovespa {
    color: var(--cyan-light);
}

.dolar {
    color: var(--purple-light);
}

.bitcoin {
    color: var(--pink-light);
}

.ouro {
    color: var(--amber-light);
}

.card-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-change {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.positive {
    color: #10b981;
}

.negative {
    color: #ef4444;
}

.dashboard-prediction {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.prediction-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.prediction-text {
    color: #10b981;
    font-weight: 500;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.stat-icon {
    margin-bottom: 1rem;
}

.purple {
    color: var(--purple-light);
}

.cyan {
    color: var(--cyan-light);
}

.pink {
    color: var(--pink-light);
}

.amber {
    color: var(--amber-light);
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-image {
    width: 100%;
}

.image-wrapper {
    position: relative;
}

/* .image-wrapper::before {
    content: "";
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, var(--purple), var(--cyan));
    opacity: 0.3;
    filter: blur(2rem);
    z-index: -1;
    border-radius: var(--radius);
} */

.about-text {
    width: 100%;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-text h4 {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--muted-foreground);
}

/* Mission Section */
.mission-section {
    background: linear-gradient(to bottom, transparent, rgba(88, 28, 135, 0.1), transparent);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--muted-foreground);
}

.mission-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mission-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.mission-card.purple::before {
    background: linear-gradient(to right, var(--purple), var(--purple-light));
}

.mission-card.cyan::before {
    background: linear-gradient(to right, var(--cyan), var(--cyan-light));
}

.mission-card.pink::before {
    background: linear-gradient(to right, var(--pink), var(--pink-light));
}

.mission-card::after {
    content: "";
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(3rem);
    transition: opacity 0.7s ease;
}

.mission-card:hover::after {
    opacity: 0.3;
}

.mission-card.purple::after {
    background-color: var(--purple);
}

.mission-card.cyan::after {
    background-color: var(--cyan);
}

.mission-card.pink::after {
    background-color: var(--pink);
}

.mission-card h3 {
    position: relative;
    z-index: 1;
}

.mission-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.mission-card.purple .card-link {
    color: var(--purple-light);
}

.mission-card.cyan .card-link {
    color: var(--cyan-light);
}

.mission-card.pink .card-link {
    color: var(--pink-light);
}

.card-link:hover {
    gap: 0.5rem;
}

/* Feedback Section */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--purple), var(--cyan));
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--purple), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.avatar span {
    color: white;
    font-weight: 700;
}

.user-info h4 {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.user-info p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.testimonial-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.rating {
    color: #fbbf24;
}

.testimonial-card img {
    border-radius: 20px;
    margin-top: 10px;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, transparent, rgba(30, 64, 175, 0.1), transparent);
}

.accordion {
    max-width: 48rem;
    margin: rgba(30, 64, 175, 0.1), transparent;
}

.accordion {
    max-width: 48rem;
    margin: 0 auto;
}

.accordion-item {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-foreground);
}

/* CTA Section */
.cta-card {
    background: linear-gradient(to right, rgba(88, 28, 135, 0.4), rgba(30, 64, 175, 0.4));
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 12rem;
    height: 12rem;
    background-color: var(--purple);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(3rem);
}

.cta-card::after {
    content: "";
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 12rem;
    height: 12rem;
    background-color: var(--cyan);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(3rem);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-content p {
    color: var(--muted-foreground);
    max-width: 36rem;
    margin: 0 auto;
}

.cta-button {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 20px;
}

/* Social Section */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.social-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.social-card:hover {
    background-color: rgba(39, 39, 42, 0.3);
}

.social-icon {
    flex-shrink: 0;
}

.youtube {
    color: #ef4444;
}

.instagram {
    color: #ec4899;
}

.telegram {
    color: #0ea5e9;
}

.social-text {
    text-align: left;
}

.social-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.social-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Register Section */
.register-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    max-width: 48rem;
    margin: 0 auto;
}

.register-card::before {
    content: "";
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 12rem;
    height: 12rem;
    background-color: var(--purple);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(3rem);
}

.register-card::after {
    content: "";
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 12rem;
    height: 12rem;
    background-color: var(--cyan);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(3rem);
}

.register-form {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(39, 39, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-input::placeholder {
    color: rgba(161, 161, 170, 0.5);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    background-color: rgba(39, 39, 42, 0.5);
    border: 1px solid var(--border);
    appearance: none;
    position: relative;
}

.form-checkbox:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}

.form-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 0.125rem;
}

.text-link {
    color: var(--purple-light);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--purple);
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--muted-foreground);
    margin: 1rem 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--foreground);
}

.footer-title {
    font-weight: 500;
    margin-bottom: 1rem;
}

.site-footer .logo img {
    height: 30px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.animate-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (min-width: 640px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-content {
        flex-direction: row;
    }

    .hero-text,
    .hero-image {
        width: 50%;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-content {
        flex-direction: row;
    }

    .about-image,
    .about-text {
        width: 50%;
    }

    .mission-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-content {
        text-align: left;
        margin-bottom: 0;
    }

    .cta-card .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }
}

/* Estilos para o dashboard com dados em tempo real */
.dashboard-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.dashboard-update {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.refresh-button {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
}

.refresh-icon {
    transition: transform 1s ease;
}

.refreshing .refresh-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Estilos para o cache de API */
.api-status {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    z-index: 100;
    display: none;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.api-status.visible {
    display: block;
    animation: fadeOut 5s forwards;
    animation-delay: 3s;
}

.api-status.error {
    background-color: rgba(220, 38, 38, 0.9);
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Indicador de carregamento */
.loading-indicator {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

/* Adicionar estilos para a nova seção de insights */
.insights-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-card {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.insight-card.primary::before {
    background: linear-gradient(to bottom, var(--purple), var(--cyan));
}

.insight-card.secondary::before {
    background: linear-gradient(to bottom, var(--pink), var(--amber));
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.insight-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.insight-icon {
    color: var(--purple-light);
}

.insight-card.secondary .insight-icon {
    color: var(--pink-light);
}

.insight-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.insight-confidence {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.confidence-bar {
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.confidence-level {
    height: 100%;
    background: var(--span-title);
    border-radius: 999px;
}

.insight-confidence span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: right;
}

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.insight-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(72, 162, 236, 0.1);
    color: var(--pink-light);
    border-radius: 999px;
    white-space: nowrap;
}

.insight-recommendation {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.5rem;
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.recommendation-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.recommendation-icon {
    color: var(--amber-light);
}

.insight-recommendation p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.recommendation-button {
    background: linear-gradient(to right, var(--amber), var(--pink));
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recommendation-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (min-width: 640px) {
    .insights-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    .insight-recommendation {
        grid-column: span 2;
        margin-top: 0;
    }
}

/* Seção de Planos */
.plans-section {
    padding: 5rem 0;
    position: relative;
}

.plans-section::before {
    content: "";
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 15rem;
    height: 15rem;
    background-color: var(--purple);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(5rem);
}

.plans-section::after {
    content: "";
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 15rem;
    height: 15rem;
    background-color: var(--cyan);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(5rem);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background-color: rgba(24, 24, 27, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.plan-card.mensal {
    border-top: 4px solid var(--cyan);
}

.plan-card.trimestral {
    border-top: 4px solid var(--purple);
    transform: scale(1.05);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.plan-card.trimestral:hover {
    transform: translateY(-10px) scale(1.05);
}

.plan-card.anual {
    border-top: 4px solid var(--pink);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.plan-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.plan-badge.mensal {
    background-color: rgba(0, 184, 212, 0.15); /* azul-ciano mais vibrante */
    color: #0091ea;
}

.plan-badge.trimestral {
    background-color: rgba(255, 193, 7, 0.15); /* amarelo dourado */
    color: #ffab00;
}

.plan-badge.anual {
    background-color: rgba(255, 87, 34, 0.15); /* laranja forte */
    color: #ff5722;
}

.plan-badge.\37 dias {
    background-color: rgba(16, 185, 129, 0.15); /* verde esmeralda */
    color: #10b981;
}

.plan-badge.\31 5dias {
    background-color: rgba(139, 92, 246, 0.15); /* roxo */
    color: #8b5cf6;
}

.plan-badge.semestral {
    background-color: rgba(59, 130, 246, 0.15); /* azul vibrante */
    color: #2563eb;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 1rem;
    margin-right: 0.25rem;
    color: var(--muted-foreground);
}

.plan-price .period {
    font-size: 1rem;
    margin-left: 0.25rem;
    color: var(--muted-foreground);
    font-weight: 400;
}

.plan-features {
    margin-bottom: 2rem;
    min-height: 200px;
}

.benefits-list {
    list-style-type: none;
    padding-left: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.plan-action {
    text-align: center;
}

.plans-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.plans-section .btn-primary {
    background: linear-gradient(to right, var(--purple), var(--cyan));
    color: var(--primary-foreground);
    width: 100%;
}

.plans-section .btn-primary:hover {
    background: linear-gradient(to right, var(--purple-hover), var(--cyan));
    box-shadow: 0 0 15px rgba(51, 146, 234, 0.5);
    transform: translateY(-2px);
}

.plans-section .btn-secondary {
    background-color: rgba(39, 39, 42, 0.5);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.plans-section .btn-secondary:hover {
    background-color: rgba(39, 39, 42, 0.7);
    transform: translateY(-2px);
}

.no-plans {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted-foreground);
    background-color: rgba(24, 24, 27, 0.3);
    border-radius: var(--radius);
}

.plans-cta {
    text-align: center;
    margin-top: 2rem;
}

.plans-cta p {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

/* Responsive */
@media (max-width: 992px) {
    .plans-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .plan-card.trimestral {
        transform: scale(1);
    }

    .plan-card.trimestral:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .plans-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}
