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

:root {
    --bg-dark: #07040f;
    --bg-card: rgba(18, 12, 34, 0.6);
    --bg-sidebar: rgba(10, 6, 21, 0.95);
    --primary: #9d4edd;
    --primary-light: #c77dff;
    --secondary: #ff007f;
    --accent: #240046;
    --text-main: #f3f0f7;
    --text-muted: #a69ebd;
    --success: #10b981;
    --error: #f43f5e;
    --border-color: rgba(157, 78, 221, 0.15);
    --gradient-glow: linear-gradient(135deg, #9d4edd, #ff007f);
    --sidebar-width: 280px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(157, 78, 221, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 127, 0.5);
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.sidebar-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.nav-list {
    list-style: none;
    padding: 1.5rem 0.75rem;
    overflow-y: auto;
    flex: 1;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: 1px solid transparent;
}

.nav-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--text-main);
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.1);
}

.nav-item.active .nav-link {
    background: var(--gradient-glow);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.25);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Main Content Area */
.main-content {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(36, 0, 70, 0.6) 0%, rgba(7, 4, 15, 0.98) 100%);
}

.top-bar {
    height: 80px;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.slide-title-area h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Language Switcher */
.language-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition-speed) ease;
}

.lang-btn.active {
    background: var(--gradient-glow);
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(157, 78, 221, 0.3);
}

/* Pages/Slides Styling */
.slides-container {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem 3rem;
    position: relative;
}

.slide-page {
    display: none;
    animation: fadeIn var(--transition-speed) ease-in-out forwards;
}

.slide-page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bilingual text formatting */
.bilingual-wrapper {
    display: flex;
    gap: 2rem;
    transition: all var(--transition-speed) ease;
}

/* Sidebar control layout classes */
.bilingual-wrapper.lang-pt .en-content,
.bilingual-wrapper.lang-en .pt-content {
    display: none;
}

.bilingual-wrapper.lang-pt .pt-content,
.bilingual-wrapper.lang-en .en-content {
    width: 100%;
}

.bilingual-wrapper.lang-side .pt-content,
.bilingual-wrapper.lang-side .en-content {
    width: 50%;
}

/* Split Column Dividers for Side-by-Side */
.bilingual-wrapper.lang-side .en-content {
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
}

/* Cards & Layout Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Badge tags */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.badge.primary {
    background: rgba(157, 78, 221, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(157, 78, 221, 0.4);
}

.badge.secondary {
    background: rgba(255, 0, 127, 0.2);
    color: #ff85a2;
    border: 1px solid rgba(255, 0, 127, 0.4);
}

.badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Stat Cards */
.stat-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(20, 15, 38, 0.7), rgba(10, 6, 21, 0.7));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-card .value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Interactive Profit Calculator Styles */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-top: 1rem;
}

.calculator-controls {
    background: rgba(10, 6, 21, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.calculator-results {
    background: linear-gradient(135deg, rgba(36, 0, 70, 0.4) 0%, rgba(18, 12, 34, 0.8) 100%);
    border: 1px solid rgba(255, 0, 127, 0.25);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-group {
    margin-bottom: 1.5rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.calc-group label span.val {
    color: var(--primary-light);
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--secondary);
    transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:last-child {
    border-bottom: none;
}

.result-row.net-profit {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: 1rem;
}

.result-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.result-row.net-profit .result-val {
    font-size: 2.2rem;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-glow);
    width: 0%;
    transition: width 0.3s ease;
}

/* Marketing Funnel Flowchart */
.funnel-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.funnel-step {
    display: flex;
    align-items: center;
    background: rgba(20, 15, 38, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    position: relative;
    z-index: 2;
}

.funnel-step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 1.5rem;
    width: 40px;
}

.funnel-step-info {
    flex: 1;
}

.funnel-step-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.funnel-step-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.funnel-arrow {
    text-align: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    margin: -0.75rem 0;
    position: relative;
    z-index: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Images & Visual Layouts */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    height: 400px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
    transition: transform var(--transition-speed) ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(7, 4, 15, 0.9) 0%, rgba(7, 4, 15, 0) 100%);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.image-overlay h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.image-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Pros and Cons Split Lists */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.pro-list, .con-list {
    list-style: none;
}

.pro-list li, .con-list li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-list li:last-child, .con-list li:last-child {
    border-bottom: none;
}

.pro-list li i {
    color: var(--success);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.con-list li i {
    color: var(--error);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

/* Detailed List */
.list-clean {
    list-style: none;
    margin-top: 1rem;
}

.list-clean li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.list-clean li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Bottom Nav bar / Page Navigation indicators */
.presentation-controls {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.control-btn {
    background: rgba(20, 15, 38, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: var(--gradient-glow);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.35);
    transform: translateY(-2px);
}

.control-btn:active {
    transform: translateY(0);
}

.page-indicator {
    background: rgba(20, 15, 38, 0.8);
    border: 1px solid var(--border-color);
    padding: 0 1.25rem;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Intro and Roadmap styles */
.intro-text, .section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
    margin-left: 1rem;
    margin-top: 2rem;
}

.roadmap-node {
    position: relative;
    margin-bottom: 2rem;
}

.roadmap-node:last-child {
    margin-bottom: 0;
}

.roadmap-node::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.roadmap-node.completed::before {
    border-color: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.roadmap-node h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.roadmap-node span.time {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
