
:root {
    --hero-bg-start: #1e3a8a;
    --hero-bg-end: #3b82f6;
    --primary-text-color: #1e3a8a;
    --secondary-text-color: #3b82f6;
    --accent-color-original: #2563eb;
    --accent-hover-original: #1d4ed8;
    --section-title-decorator: #3b82f6;
    --card-border-accent: #3b82f6;
    --footer-bg-color: #1f2937;
    --body-bg-color: #f3f4f6; /* bg-gray-100 */
    --card-bg-color: white;
    --text-color-normal: #374151; /* text-gray-700 */
    --text-color-light: #6b7280; /* text-gray-500 / 600 */
    --navbar-bg-color: white;
    --navbar-text-color: #4b5563; /* text-gray-600 */
    --section-bg-gray-50: #f9fafb;
    --section-bg-gray-200: #e5e7eb;
    --primary-cta-text-color: white;
}

html.dark {
    --hero-bg-start: #0f172a; /* slate-900 */
    --hero-bg-end: #1e3a8a; /* Azul escuro original, mais suave no dark */
    --primary-text-color: #93c5fd; /* blue-300 */
    --secondary-text-color: #60a5fa; /* blue-400 */
    --accent-color-original: #3b82f6; /* blue-500 */
    --accent-hover-original: #2563eb; /* blue-600 */
    --section-title-decorator: #60a5fa;
    --card-border-accent: #60a5fa;
    --footer-bg-color: #0f172a; /* slate-900 */
    --body-bg-color: #111827; /* gray-900 */
    --card-bg-color: #1f2937; /* gray-800 */
    --text-color-normal: #efefef; /* gray-300 */
    --text-color-light: #9ca3af; /* gray-400 */
    --navbar-bg-color: #1f2937; /* gray-800 */
    --navbar-text-color: #d1d5db; /* gray-300 */
    --section-bg-gray-50: #172031; /* gray-800 */
    --section-bg-gray-200: #374151; /* gray-700 */
    --primary-cta-text-color: white;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg-color);
    color: var(--text-color-normal);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.hero-bg {
    background: linear-gradient(to right, var(--hero-bg-start), var(--hero-bg-end));
}
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-text-color);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--section-title-decorator);
    margin: 0.5rem auto 1.5rem auto;
}
.card {
    background-color: var(--card-bg-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border-left: 4px solid transparent;
}
html.dark .card {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -3px rgba(0,0,0,0.15), 0 5px 8px -2px rgba(0,0,0,0.1);
}
html.dark .card:hover {
    box-shadow: 0 12px 20px -3px rgba(0,0,0,0.35), 0 5px 8px -2px rgba(0,0,0,0.3);
}
.benefit-card {
        border-left: 4px solid var(--card-border-accent);
}
.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.primary-cta {
    background-color: var(--accent-color-original);
    color: var(--primary-cta-text-color);
}
.primary-cta:hover {
    background-color: var(--accent-hover-original);
    transform: translateY(-2px);
}
.navbar-logo {
    max-height: 40px;
    width: auto;
}
.divider-gradient {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--section-title-decorator), transparent);
    /* margin: 3rem 0; */
    width: 100%;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.whatsapp-button:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}
.whatsapp-icon {
    margin-right: 8px;
    font-size: 1.5rem;
}

/* Styling for the proof section */
.proof-section {
    background: linear-gradient(to right, var(--hero-bg-start), var(--hero-bg-end)); /* Hero gradient */
    padding: 4rem 1rem; /* py-16 px-4 (Tailwind equivalent for responsive padding) */
    text-align: center;
}
.proof-section h3 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* bold */
    color: white;
    margin-bottom: 1.5rem; /* mb-6 */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.proof-section p {
    font-size: 1.125rem; /* text-lg */
    color: #e0e7ff; /* Tailwind's indigo-100 or similar for light text on dark bg */
    max-width: 600px;
    margin: 0 auto 2rem auto; /* mb-8 */
    line-height: 1.75;
}
html.dark .proof-section p {
    color: #c7d2fe; /* Tailwind's indigo-200 for dark mode */
}
.proof-section-button { /* Specific button style for this section */
    background-color: white;
    color: var(--hero-bg-end); /* Lighter blue from gradient for text */
    /* padding: 0.75rem 2rem; Inherited from .cta-button */
    /* border-radius: 0.5rem; Inherited from .cta-button */
    /* font-weight: 600; Inherited from .cta-button */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.proof-section-button:hover {
    background-color: #f0f0f0; /* Slightly off-white */
    color: var(--hero-bg-start); /* Darker blue text */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}
html.dark .proof-section-button {
    background-color: var(--card-bg-color); /* Dark card background */
    color: var(--secondary-text-color); /* Light blue text */
}
html.dark .proof-section-button:hover {
    background-color: #2d3748; /* Slightly lighter dark background */
    color: var(--primary-text-color); /* Lighter blue text on hover */
}

.dso-intro-text {
    font-size: 1.125rem; /* text-lg */
    text-align: center;
    color: var(--text-color-normal);
    margin-bottom: 1rem; /* Espaço antes do "DEIXE DE SER OTÁRIO!" */
    max-width: 768px; /* md:max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}

/* .dso-intro-text { 
    font-size: 1.125rem; 
    text-align: center;
    color: var(--text-color-normal);
    font-style: italic; 
    line-height: 1.7;
} */

.dso-pillar-summary-item {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 1.5rem; 
    padding: 1rem; /* Increased padding */
    border-radius: 0.75rem; /* rounded-xl */
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.07);
    border-left: 4px solid var(--secondary-text-color); /* Accent border */
}
html.dark .dso-pillar-summary-item {
    background-color: var(--body-bg-color); 
     box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.dso-pillar-summary-item .icon {
    font-size: 1.75rem; 
    color: var(--secondary-text-color);
    margin-right: 1rem; 
    flex-shrink: 0; 
    width: 32px; 
    text-align: center;
    padding-top: 0.125rem; /* Small top padding to align with text */
}
.dso-pillar-summary-item .text-content h4 {
    font-size: 1.125rem; 
    font-weight: 600; 
    color: var(--primary-text-color);
    margin-bottom: 0.25rem; /* mb-1 */
}
.dso-pillar-summary-item .text-content p {
    font-size: 0.875rem; /* text-sm */
    color: var(--text-color-light);
    line-height: 1.5;
}

.text-primary-title {
    color: var(--primary-text-color);
}
.text-secondary-link {
    color: var(--secondary-text-color);
}
.hover\:text-secondary-link:hover {
    color: var(--secondary-text-color) !important; /* Ensure specificity */
}
.bg-secondary-accent {
    background-color: var(--secondary-text-color);
}
.footer-bg {
    background-color: var(--footer-bg-color);
    color: #d1d5db; /* text-gray-300 for dark footer text */
}
html.dark .footer-bg a:hover {
    color: var(--secondary-text-color);
}

/* Specific overrides for Tailwind classes based on theme */
.bg-white { background-color: var(--card-bg-color); }
nav.bg-white { background-color: var(--navbar-bg-color); }
html.dark nav.bg-white a { color: var(--navbar-text-color); }
html.dark nav.bg-white button svg { stroke: var(--navbar-text-color); }
html.dark #mobile-menu { background-color: var(--navbar-bg-color); }
html.dark #mobile-menu a { color: var(--navbar-text-color); }


.text-gray-600 { color: var(--navbar-text-color); } /* For navbar links in light mode */
html.dark .text-gray-600 { color: var(--navbar-text-color); } /* For navbar links in dark mode */

.text-gray-700 { color: var(--text-color-normal); }
.text-gray-800 { color: var(--text-color-normal); } /* Assuming this is for card titles or similar */
html.dark .text-gray-800 { color: var(--text-color-normal); }

.text-blue-100 { color: #dbeafe; } /* Light blue for hero text */
html.dark .text-blue-100 { color: #bfdbfe; } /* Slightly adjusted for dark hero */

.bg-gray-50 { background-color: var(--section-bg-gray-50); }
.bg-gray-100 { background-color: var(--body-bg-color); } /* Applied to body */
.bg-gray-200 { background-color: var(--section-bg-gray-200); }

.estrategia-tecnologia {
    font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
    .box-strategy {
        display: none;
    }
}

.results-description {
    font-size: 0.875rem; /* text-sm */
    color: var(--text-color-light);
    margin-top: 0.5rem; /* Adjusted margin */
    margin-bottom: 1.5rem; /* Added margin below description */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.results-description a {
    color: var(--secondary-text-color);
    text-decoration: underline;
}
.results-description a:hover {
    text-decoration: none;
}

/* Theme toggle button */
.theme-toggle {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.2s ease-in-out;
}
.theme-toggle:hover {
    background-color: rgba(0,0,0,0.05);
}
html.dark .theme-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}
.theme-toggle i {
    font-size: 1.25rem; /* text-xl */
    color: var(--navbar-text-color);
}
html.dark .theme-toggle i {
        color: #facc15; /* yellow-400 for sun icon */
}
html.dark .theme-toggle .fa-moon {
    display: none;
}
.theme-toggle .fa-sun {
    display: none;
}
html.dark .theme-toggle .fa-sun {
    display: inline-block;
}

/* Myfxbook Widget Styling */
.myfxbook-widget-container {
    text-align: center; /* Centers the widget image */
    padding: 2rem 0; /* Adds some vertical spacing */
    background-color: var(--card-bg-color); /* Consistent with card backgrounds */
}
.myfxbook-widget-container img {
    max-width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
    border-radius: 0.5rem; /* Optional: adds rounded corners to the widget image */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); /* Optional: adds a subtle shadow */
}

html.dark .myfxbook-widget-container {
    background-color: var(--body-bg-color); 
}

/* Performance Data Styling */
.performance-data-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   gap: 1rem;
   margin-top: 2rem;
   padding: 1.5rem;
   background-color: var(--card-bg-color);
   border-radius: 0.75rem;
   box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}
html.dark .performance-data-grid {
   background-color: var(--card-bg-color); /* Mantém o fundo do card no dark mode */
}
.performance-item {
   text-align: center;
   padding: 1rem;
   border-radius: 0.5rem;
   background-color: var(--body-bg-color); /* Slightly different bg for items */
}
html.dark .performance-item {
   background-color: #2d3748; /* gray-700 or similar for dark item bg */
}
.performance-item .value {
   font-size: 1.875rem; /* text-3xl */
   font-weight: 700;
   color: var(--performance-value-color);
   display: block;
}
.performance-item .value.drawdown { /* Specific color for drawdown */
   color: #ef4444; /* red-500 */
}
html.dark .performance-item .value.drawdown {
   color: #f87171; /* red-400 */
}
.performance-item .label {
   font-size: 0.875rem; /* text-sm */
   color: var(--performance-label-color);
   margin-top: 0.25rem;
   display: block;
}
.last-update {
   font-size: 0.75rem; /* text-xs */
   color: var(--text-color-light);
   margin-top: 1.5rem;
   text-align: center;
}