:root {
    --brand-primary: #ff9900;
    --brand-dark: #131921;
    --brand-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-premium: 0 10px 30px rgba(0,0,0,0.15);
}

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

body {
    font-family: var(--font-main);
    background: url('bg.png') no-repeat center 20% fixed;
    background-size: cover;
    color: var(--brand-dark);
    line-height: 1.6;
}

/* Background Overlay for readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 25, 33, 0.9) 0%, rgba(19, 25, 33, 0.6) 100%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header Branding --- */
header {
    background: rgba(19, 25, 33, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-container {
    text-align: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--brand-primary);
}

/* --- Navigation Tab System --- */
.nav-tabs {
    background: rgba(30, 41, 59, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 73px;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.tabs-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 10px 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 20px;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.tab-btn.active {
    background: var(--brand-primary);
    color: var(--brand-dark);
}

/* --- Content Styling (Glassmorphism) --- */
.main-content {
    padding: 3rem 0;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease both;
}

.tab-content.active {
    display: block;
}

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

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    margin-bottom: 2rem;
}

/* --- Início Tab Details --- */
.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
}

.profile-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.profile-img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

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

.bio-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.bio-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.2rem;
}

.results-section {
    margin-top: 4rem;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-premium);
}

/* --- Medicamentos Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

.product-image {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--brand-primary);
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 800;
    border-radius: 10px;
    margin-top: auto;
    transition: 0.2s;
}

.btn-cta:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* Placeholder for new tab */
.coming-soon {
    text-align: center;
    padding: 5rem 2rem;
}

.coming-soon i {
    font-size: 4rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

/* --- Mobile Adaptations --- */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-img-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .bio-content h2 {
        font-size: 2rem;
    }
}
