/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7b5bfa;
    --primary-hover: #6445e2;
    --secondary-color: #2e1f80;
    --dark-bg: #0a0a14;
    --text-color: #ffffff;
    --card-bg: #15141f;
    --border-color: #30295c;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

section {
    padding: 80px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn.primary i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn.primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn.primary:hover i {
    transform: translateX(3px);
}

.btn.secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

.btn.transparent {
    background-color: transparent;
    color: var(--text-color);
    padding: 14px 20px;
}

.btn.transparent:hover {
    color: var(--primary-color);
}

.btn.secondary:hover {
    background-color: rgba(123, 91, 250, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 20, 0.95);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(48, 41, 92, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: var(--text-color);
}

.logo-link:hover {
    color: var(--text-color);
}

.logo-va, .logo-n {
    font-weight: 800;
    color: white;
    letter-spacing: 0;
}

.logo .highlight {
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

.logo-global {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    font-size: 1.4rem;
    margin-left: 4px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 500;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to bottom, rgba(10, 10, 20, 0.8), rgba(10, 10, 20, 0.95), rgba(10, 10, 20, 1)), 
                      radial-gradient(circle at center, rgba(123, 91, 250, 0.2), transparent 70%);
    box-shadow: inset 0 0 100px rgba(123, 91, 250, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(123, 91, 250, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(123, 91, 250, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 70%, rgba(123, 91, 250, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 70% 80%, rgba(123, 91, 250, 0.1) 0%, transparent 15%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-1.343 2-3s-.895-3-2-3-2 .895-2 3 .895 3 2 3zm60 91c1.105 0 2-1.343 2-3s-.895-3-2-3-2 .895-2 3 .895 3 2 3zm-35-41c1.105 0 2-1.343 2-3s-.895-3-2-3-2 .895-2 3 .895 3 2 3zm-28-28c1.105 0 2-1.343 2-3s-.895-3-2-3-2 .895-2 3 .895 3 2 3zm-28-28c1.105 0 2-1.343 2-3s-.895-3-2-3-2 .895-2 3 .895 3 2 3z\' fill='%237b5bfa' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    max-width: 1000px;
}

.purple-line {
    width: 120px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 40px;
    border-radius: 2px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    opacity: 0.8;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 0.5rem;
}

/* Hero decoration - grid with 3 rows × 6 columns */
.hero-decoration {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    z-index: 5;
    width: 100%;
    opacity: 0.6;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    width: 85%;
    max-width: 1000px;
}

.grid-line {
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    border-radius: 999px;
    transition: all 0.5s ease;
    box-shadow: 0 0 8px rgba(123, 91, 250, 0.5);
    position: relative;
    overflow: hidden;
}

.grid-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    animation: sparkle 5s infinite;
    animation-delay: calc(var(--delay, 0) * 1s);
}

.grid-row:nth-child(1) .grid-line:nth-child(2)::after { --delay: 0.5; }
.grid-row:nth-child(1) .grid-line:nth-child(4)::after { --delay: 2.3; }
.grid-row:nth-child(2) .grid-line:nth-child(1)::after { --delay: 1.2; }
.grid-row:nth-child(2) .grid-line:nth-child(5)::after { --delay: 3.1; }
.grid-row:nth-child(3) .grid-line:nth-child(3)::after { --delay: 1.7; }
.grid-row:nth-child(3) .grid-line:nth-child(6)::after { --delay: 2.8; }

@keyframes sparkle {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Gradiente variado para cada linha da grid */
.grid-row:nth-child(1) .grid-line:nth-child(odd) {
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    height: 4px;
}

.grid-row:nth-child(1) .grid-line:nth-child(even) {
    background: linear-gradient(to right, transparent, #9370FF, transparent);
    height: 5px;
}

.grid-row:nth-child(2) .grid-line:nth-child(odd) {
    background: linear-gradient(to right, transparent, #8A61FF, transparent);
    height: 3px;
}

.grid-row:nth-child(2) .grid-line:nth-child(even) {
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    height: 5px;
}

.grid-row:nth-child(3) .grid-line:nth-child(odd) {
    background: linear-gradient(to right, transparent, #A682FF, transparent);
    height: 4px;
}

.grid-row:nth-child(3) .grid-line:nth-child(even) {
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    height: 3px;
}

/* Sobre Section */
.sobre {
    text-align: center;
    padding-top: 100px;
}

.sobre p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.05rem;
    opacity: 0.9;
}

.sobre h2::before {
    content: "Sobre Nós";
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Cards Layout */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 100%;
    overflow-x: hidden;
}

.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(87, 64, 219, 0.15);
}

.number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-weight: bold;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Section headers with subtitles */
.modelos h2::before {
    content: "Três maneiras de tokenizar ativos reais em tokens";
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.plataforma h2::before {
    content: "Nossa tecnologia descentraliza soluções";
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
}

/* Estrutura Jurídica */
.estrutura {
    padding-top: 100px;
    max-width: 100%;
    overflow-x: hidden;
}

.estrutura p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    opacity: 0.8;
}

.estrutura-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "item1 item2 item3"
        "item4 item5 item6";
    gap: 20px;
    margin: 50px 0 40px;
    max-width: 100%;
    overflow-x: hidden;
}

.estrutura-items .item:nth-child(1) { grid-area: item1; }
.estrutura-items .item:nth-child(2) { grid-area: item2; }
.estrutura-items .item:nth-child(3) { grid-area: item3; }
.estrutura-items .item:nth-child(4) { grid-area: item4; }
.estrutura-items .item:nth-child(5) { grid-area: item5; }
.estrutura-items .item:nth-child(6) { grid-area: item6; }

.estrutura-items .item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.icon i {
    font-size: 1.2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.tab {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    background-color: var(--card-bg);
    position: relative;
    z-index: 5;
}

.tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.tab:hover:not(.active) {
    background-color: rgba(87, 64, 219, 0.1);
}

/* Tab Content */
.tab-contents {
    margin-top: 40px;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-content {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tab-content p {
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 900px;
    text-align: left;
}

.tab-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.tab-feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tab-feature span {
    font-weight: 500;
}

/* Roadmap */
.roadmap {
    padding-top: 100px;
}

.timeline {
    position: relative;
    margin-top: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.year {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
}

.year-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.year-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.year-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.roadmap-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.year-content p {
    opacity: 0.8;
}

/* Contato */
.contato {
    padding-top: 100px;
}

.contato .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-form {
    margin-top: 50px;
    max-width: 800px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.form-col {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-col button {
    width: 100%;
    justify-content: center;
}

#form-success, #form-error {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

#form-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#form-error {
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
}

/* Responsive styles for 992px and below */
@media (max-width: 992px) {
    .contact-form {
        max-width: 600px;
    }
}

/* Responsive styles for 768px and below */
@media (max-width: 768px) {
    .contact-form {
        max-width: 100%;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .estrutura-items {
        grid-template-columns: 1fr; /* Uma única coluna */
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5"
            "item6"; /* Cada item ocupa uma linha */
        gap: 15px; /* Ajuste o espaçamento entre os itens se necessário */
        margin: 40px 0 30px; /* Mantenha ou ajuste as margens */
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
        width: 100%;
    }

    .form-group textarea {
        height: 120px;
    }

    .form-col button {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Mobile menu styles */
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s;
        z-index: 1000;
        border-left: 1px solid var(--border-color);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 1.1rem;
    }
    
    /* Mobile language selector */
    .language-selector {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1005;
    }
    
    nav ul li.language-selector {
        margin: 30px 0 10px;
        display: flex;
        justify-content: center;
        width: 100%;
        z-index: 1005;
    }
    
    .language-links {
        background-color: rgba(123, 91, 250, 0.3);
        padding: 4px;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        position: relative;
        z-index: 1005;
        width: 130px;
        justify-content: space-between;
    }
    
    .lang-link {
        padding: 10px 15px;
        font-size: 1rem;
        position: relative;
        z-index: 1006;
        min-width: 55px;
        min-height: 44px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--text-color);
        border-radius: 20px;
    }
    
    .lang-link.active {
        background-color: var(--primary-color);
        color: white;
        font-weight: 600;
        box-shadow: 0 0 8px rgba(123, 91, 250, 0.6);
    }

    /* Additional mobile tab fixes */
    .tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 25px 0;
    }
    
    .tab {
        flex: 0 0 calc(50% - 10px);
        margin: 0;
        padding: 12px 10px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .tab.active {
        transform: scale(1.05);
    }
    
    .tab-contents {
        margin-top: 20px;
        padding: 20px 15px;
    }
    
    /* Ensure the active tab content displays correctly */
    .tab-content.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .desktop-tabs {
        display: none;
    }
    
    .mobile-tab-select {
        display: none !important;
    }
    
    .tab-content {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 25px;
    }
    
    .tab-contents {
        background-color: transparent;
        border: none;
        padding: 0;
        margin-top: 30px;
    }

    /* Hide tab navigation completely on mobile */
    .tab-navigation {
        display: none !important;
    }
    
    /* Additional mobile card styling */
    .tab-content.mobile-card h3 {
        margin-top: 10px;
        font-size: 1.4rem;
    }
}

/* Responsive styles for 576px and below */
@media (max-width: 576px) {
    .contact-form {
        margin-top: 30px;
        padding: 0 15px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 15px;
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
    }

    .form-col button {
        padding: 12px;
    }
    
    /* Smaller mobile adjustments */
    .mobile-menu-btn {
        width: 25px;
        height: 18px;
    }
    
    .mobile-menu-btn span {
        height: 2px;
    }
    
    nav ul {
        width: 85%;
    }
    
    .language-links {
        width: 120px;
    }
    
    .lang-link {
        min-width: 50px;
        min-height: 40px;
        padding: 8px 12px;
    }
}

/* Footer Styles */
footer {
    background-color: #1a1a2e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Language selector styles */
.language-selector {
    display: flex;
    align-items: center;
}

.language-links {
    display: flex;
    align-items: center;
    background-color: rgba(123, 91, 250, 0.1);
    border-radius: 30px;
    padding: 3px;
}

.lang-link {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s;
    min-width: 30px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.lang-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.lang-link:hover:not(.active) {
    color: var(--primary-color);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 2px;
}

/* Mobile Tab Dropdown */
.mobile-tab-select {
    display: none;
    margin: 30px auto;
    width: 90%;
    max-width: 300px;
}

.mobile-tab-select select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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 10px center;
    background-size: 16px;
    cursor: pointer;
}

.mobile-tab-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(123, 91, 250, 0.2);
}

.mobile-tab-select select option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Mobile Tab Cards */
.tab-content.mobile-card {
    margin-bottom: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    background-color: var(--card-bg);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tab-content.mobile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(87, 64, 219, 0.2);
}

.tab-content.mobile-card:before {
    content: attr(data-title);
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(87, 64, 219, 0.3);
}

/* Tab navigation */
.tab-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

/* Card Navigation */
.card-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.card-nav-link {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    background-color: var(--card-bg);
    text-decoration: none;
    color: var(--text-color);
}

.card-nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.card-nav-link:hover:not(.active) {
    background-color: rgba(87, 64, 219, 0.1);
    color: var(--primary-color);
}

/* Content Cards */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.content-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    scroll-margin-top: 100px; /* Para scroll suave ao usar âncoras */
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(87, 64, 219, 0.2);
}

.card-header {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(87, 64, 219, 0.3);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-card p {
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 900px;
    text-align: left;
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.card-feature span {
    font-weight: 500;
}

/* Media queries */
@media (max-width: 768px) {
    .card-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .card-nav-link {
        padding: 8px 15px;
        font-size: 0.85rem;
        flex: 1 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h3 {
        font-size: 1.3rem;
    }
}
