:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --base-font-size: 100;
    --base-line-height: 1.6;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #030712;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
}

[data-theme="dark"] section:not(.elevator-pitch):not(.results):not(.timeline-section):not(.services):not(.market-analysis):not(.contact):not(.hero) {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .hero {
    background-color: transparent;
}

/* Auto dark mode based on system preference (only if user hasn't set a preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --bg-dark: #030712;
        --border-color: #374151;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    }
    
    :root:not([data-theme]) body {
        background-color: var(--bg-primary);
    }
    
    :root:not([data-theme]) section:not(.elevator-pitch):not(.results):not(.timeline-section):not(.services):not(.market-analysis):not(.contact):not(.hero) {
        background-color: var(--bg-primary);
    }
    
    :root:not([data-theme]) .hero {
        background-color: transparent;
    }
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: var(--base-line-height);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: calc(16px * var(--base-font-size, 100) / 100);
}

/* Reduce motion class support */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Enhanced Focus Indicators */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure interactive elements have visible focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    *:focus-visible {
        outline: 4px solid;
        outline-offset: 3px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .navbar {
        background: rgba(17, 24, 39, 0.95);
    }
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand-link:hover {
    opacity: 0.8;
}

.nav-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-name-mobile {
    display: none;
}

@media (max-width: 968px) {
    .brand-name-full {
        display: none;
    }
    
    .brand-name-mobile {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
    }
}

.brand-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

/* Hide nav menu links on desktop (show only on mobile) */
@media (min-width: 969px) {
    .nav-menu {
        display: none;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        display: flex;
    }
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.nav-link.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Selector Widget */
.language-selector {
    display: flex;
    background: transparent;
    border-radius: 0.75rem;
    padding: 0.25rem;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .language-selector {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .language-selector {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

.language-option {
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.language-option:hover:not(.active) {
    color: var(--text-primary);
    background: var(--bg-primary);
}

[data-theme="dark"] .language-option:not(.active) {
    color: #AAAAAA;
    background: transparent;
}

[data-theme="dark"] .language-option:hover:not(.active) {
    color: #CCCCCC;
    background: rgba(255, 255, 255, 0.05);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .language-option:not(.active) {
        color: #AAAAAA;
        background: transparent;
    }
    
    :root:not([data-theme]) .language-option:hover:not(.active) {
        color: #CCCCCC;
        background: rgba(255, 255, 255, 0.05);
    }
}

.language-option.active {
    background: #2C2F40;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Light mode - unselected option has light background */
:root:not([data-theme]) .language-option:not(.active) {
    background: #DADDE1;
    color: var(--text-primary);
}

:root:not([data-theme]) .language-option:not(.active):hover {
    background: #E5E8EB;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .language-option:not(.active) {
        background: #DADDE1;
        color: var(--text-primary);
    }
    
    :root:not([data-theme]) .language-option:not(.active):hover {
        background: #E5E8EB;
    }
}

.language-option:focus {
    outline: none;
}

.language-option:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: rotate(15deg) scale(1.1);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.theme-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.theme-icon-sun {
    display: none;
}

[data-theme="dark"] .theme-icon-moon {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: flex;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-icon-moon {
        display: none;
    }
    
    :root:not([data-theme]) .theme-icon-sun {
        display: flex;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background-color: transparent !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--success-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    pointer-events: none;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    transition: background-color 0.3s ease;
}

/* Sections com background padrão (primary) - aplicado apenas se não tiverem classe específica */
section:not(.elevator-pitch):not(.results):not(.timeline-section):not(.services):not(.market-analysis):not(.contact):not(.hero) {
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Elevator Pitch */
.elevator-pitch {
    background: var(--bg-secondary);
}

.pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pitch-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.pitch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pitch-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.pitch-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.pitch-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pitch-card p {
    color: var(--text-secondary);
}

/* Problems Section */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.problem-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

[data-theme="dark"] .problem-number {
    opacity: 0.4;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .problem-number {
        opacity: 0.4;
    }
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top: 4px solid var(--primary-color);
}

.service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Solutions Section */
.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-points {
    margin-top: 2rem;
}

.solution-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.solution-point h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.solution-point p {
    color: var(--text-secondary);
}

.solutions-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.visual-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.visual-card h3 {
    margin-bottom: 0.5rem;
}

.visual-card p {
    opacity: 0.9;
}

/* Market Analysis */
.market-analysis {
    background: var(--bg-secondary);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.market-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.market-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.market-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.market-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}


.market-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.market-item p {
    color: var(--text-secondary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.team-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
}

.team-avatar-fallback svg {
    width: 60px;
    height: 60px;
    stroke: currentColor;
    stroke-width: 2;
}

.team-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.team-card p:not(.team-role) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.6;
}

.team-note {
    margin-top: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .team-note {
    background: rgba(99, 102, 241, 0.15);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .team-note {
        background: rgba(99, 102, 241, 0.15);
    }
}

.team-note p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Results Section */
.results {
    background: var(--bg-secondary);
}

.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chart-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-container {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    height: 450px;
    padding: 2.5rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.chart-bar {
    flex: 1;
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    min-width: 120px;
}

.chart-bar-1 {
    background: linear-gradient(to top, var(--primary-color), var(--primary-light));
}

.chart-bar-2 {
    background: linear-gradient(to top, var(--accent-color), #fbbf24);
}

.chart-bar-3 {
    background: linear-gradient(to top, var(--success-color), #34d399);
}

.chart-bar:hover {
    transform: scale(1.05);
}

.bar-value {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
}

.bar-label {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
    text-align: center;
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    opacity: 0.95;
}

.chart-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.results-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-stat {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.stat-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-content p {
    color: var(--text-secondary);
}

/* Revenue Section */
.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.revenue-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.revenue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.revenue-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.revenue-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.revenue-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.revenue-card p {
    color: var(--text-secondary);
}

/* Timeline Section */
.timeline-section {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
    display: flex;
    align-items: center;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Next Steps */
.next-steps-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 auto 1rem;
}

.step-number svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.step-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.3s ease, text-decoration-thickness 0.3s ease;
}

.contact-item p a:hover,
.contact-item p a:focus-visible {
    color: var(--primary-dark);
    text-decoration-thickness: 3px;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-style: italic;
}

.contact-form-container {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.form-group .required {
    color: #ef4444;
    font-weight: 700;
}

.form-group .optional {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #ef4444;
}

.form-group input[aria-invalid="true"]:focus,
.form-group textarea[aria-invalid="true"]:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.help-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.error-message {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.25rem;
    font-weight: 500;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.form-group input[aria-invalid="true"] ~ .error-message:not(:empty),
.form-group textarea[aria-invalid="true"] ~ .error-message:not(:empty) {
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand .brand-accent {
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus-visible {
    color: white;
    text-decoration-color: white;
    outline: 2px solid white;
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar .container {
        gap: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        flex: none;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .navbar-actions {
        margin-left: 0;
        gap: 0.75rem;
    }
    
    .language-selector {
        padding: 0.2rem;
        gap: 0.2rem;
    }
    
    .language-option {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        min-width: 40px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: flex !important;
    }
    
    .menu-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        z-index: 999;
    }
    
    .menu-overlay.active {
        display: block;
    }

    .solutions-content,
    .results-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 30px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }

    .chart-container {
        flex-direction: column;
        height: auto;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
    }

    .chart-bar {
        height: auto;
        min-height: 80px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        border-radius: 0.5rem;
        width: 100%;
    }
    
    .chart-bar .bar-value {
        font-size: 1rem;
        margin-bottom: 0;
        text-shadow: none;
        white-space: nowrap;
        overflow: visible;
    }
    
    .chart-bar .bar-label {
        margin-top: 0;
        font-size: 0.875rem;
        font-weight: 600;
        background: transparent;
        padding: 0;
    }
}

/* Animations */
/* Cards começam invisíveis e aparecem com animação */
.pitch-card,
.problem-card,
.service-card,
.team-card,
.market-item,
.revenue-card,
.step-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 1.5rem;
    border-top: 3px solid var(--primary-color);
    animation: slideUp 0.3s ease-out;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-banner-buttons .btn {
        width: 100%;
    }
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal[aria-hidden="false"] {
    display: flex;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.75rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-body > p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.cookie-category-header h3 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.cookie-category-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cookie-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--bg-primary);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: var(--primary-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal-actions .btn {
    flex: 1;
    min-width: 150px;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        max-height: 95vh;
        margin: 1rem;
    }
    
    .cookie-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .cookie-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-actions .btn {
        width: 100%;
    }
}

/* Cookie Settings Button (Floating) */
.cookie-settings-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.cookie-settings-button svg {
    width: 24px;
    height: 24px;
}

.cookie-settings-button .cookie-path {
    stroke: white;
    transition: stroke 0.3s ease;
}

[data-theme="dark"] .cookie-settings-button .cookie-path {
    stroke: #f9fafb;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .cookie-settings-button .cookie-path {
        stroke: #f9fafb;
    }
}

.cookie-settings-button:hover {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: var(--shadow-xl);
}

.cookie-settings-button:active {
    transform: scale(0.95);
}

/* Accessibility Panel Toggle Button */
.accessibility-toggle-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 28px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
}

.accessibility-toggle-button:hover,
.accessibility-toggle-button:focus-visible {
    width: auto;
    min-width: auto;
    padding: 0 20px;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.accessibility-toggle-button[aria-expanded="true"] {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.accessibility-toggle-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.accessibility-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: currentColor;
    display: block;
    margin: 0;
    padding: 0;
}

.accessibility-button-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.875rem;
    transition: opacity 0.2s ease 0.1s, width 0s ease 0.3s;
}

.accessibility-toggle-button:hover .accessibility-button-text,
.accessibility-toggle-button:focus-visible .accessibility-button-text {
    opacity: 1;
    width: auto;
    transition: opacity 0.2s ease 0.1s, width 0s ease 0s;
}

/* Accessibility Panel (Slide-in from right) */
.accessibility-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -4px 0 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.accessibility-panel[aria-hidden="false"] {
    right: 0;
}

.accessibility-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.accessibility-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.accessibility-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 1;
}

.accessibility-panel-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.accessibility-panel-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.accessibility-panel-close:hover,
.accessibility-panel-close:focus-visible {
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.accessibility-panel-body {
    padding: 1.5rem;
}

.accessibility-option {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accessibility-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.accessibility-label {
    display: block;
    margin-bottom: 0;
    flex: 1;
}

.label-text {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.label-description {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.label-value {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.5rem;
    min-width: 50px;
    text-align: right;
}

/* Toggle Switch */
.accessibility-option:has(.toggle-switch) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch {
    position: relative;
    display: block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--bg-primary);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:focus-visible + .toggle-slider {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Range Slider */
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* High Contrast Mode */
body.high-contrast {
    --text-primary: #000000;
    --text-secondary: #000000;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f0f0;
    --border-color: #000000;
}

[data-theme="dark"] body.high-contrast {
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --border-color: #ffffff;
}

body.high-contrast * {
    border-color: var(--border-color) !important;
}

body.high-contrast a {
    text-decoration: underline !important;
    text-decoration-thickness: 3px !important;
}

body.high-contrast button,
body.high-contrast .btn {
    border: 3px solid var(--border-color) !important;
}

@media (max-width: 768px) {
    .accessibility-toggle-button {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 24px;
        padding: 0 12px;
    }
    
    .accessibility-toggle-button:hover,
    .accessibility-toggle-button:focus-visible {
        width: auto;
        min-width: auto;
        padding: 0 16px;
    }
    
    .accessibility-icon {
        width: 20px;
        height: 20px;
    }
    
    .accessibility-button-text {
        font-size: 0.75rem;
    }
    
    .accessibility-panel {
        width: 100%;
        right: -100%;
    }
    
    .cookie-settings-button {
        bottom: 1rem;
        left: 1rem;
    }
}

/* Back to Top Button (Floating) */
.back-to-top-button {
    position: fixed;
    bottom: calc(2rem + 56px + 1rem);
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-button.visible {
    opacity: 0.9;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-button:hover {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
    box-shadow: var(--shadow-xl);
}

.back-to-top-button:active {
    transform: translateY(-3px) scale(0.95);
}

.back-to-top-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .cookie-settings-button {
        bottom: 1rem;
        left: 1rem;
        width: 48px;
        height: 48px;
    }
    
    .cookie-settings-button svg {
        width: 20px;
        height: 20px;
    }
    
    .cookie-settings-button svg {
        width: 20px;
        height: 20px;
    }
    
    .back-to-top-button {
        bottom: calc(1rem + 48px + 0.75rem);
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    
    .back-to-top-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Side Navigation (Desktop Only) */
.side-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: none;
}

@media (min-width: 969px) {
    .side-nav {
        display: block;
    }
}

.side-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem 0.75rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: 200px;
}

.side-nav-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateX(5px);
}

.side-nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.side-nav-link.active::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.side-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.side-nav-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.side-nav-link:hover .side-nav-icon {
    transform: scale(1.1);
}

.side-nav-link.active .side-nav-icon svg {
    stroke: white;
}

.side-nav-label {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.side-nav-link.active .side-nav-label {
    font-weight: 600;
}

/* Smooth scroll behavior - already defined above */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

