/* Variable Definitions */
:root {
    --brand-dark: #0f172a;
    --brand-darker: #020617;
    --brand-gold: #93816F;
    --brand-gold-light: #F7F7F3;
    --brand-gold-dark: #443C33;

    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    /* gray-400 */

    --hyafilia-soft: #A7D3EB;
    --hyafilia-mold: #F49E78;
    --hyafilia-volume: #9D96C6;

    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Darker glass */
    --glass-border: rgba(255, 255, 255, 0.1);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

/* --- LGPD Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cookie-content p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: #443C33;
    color: white;
}

.btn-cookie-accept:hover {
    background: #5d5246;
    transform: translateY(-2px);
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

.fade-out-down {
    animation: fadeOutDown 0.5s forwards;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    background-color: var(--brand-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 400;
    /* Julius is usually regular weight */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Gradients */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #CBB59D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
}

/* Navigation - Glassmorphism Dark */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    /* brand-dark with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    /* Adjust size as needed */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-gold);
    transition: var(--transition);
}

/* Scrolled State for Nav Links */
.glass-nav.scrolled .nav-links a {
    color: var(--brand-dark);
}

.glass-nav.scrolled .nav-links a:hover,
.glass-nav.scrolled .nav-links a.active {
    color: var(--brand-gold);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: fixed;
    /* Fixed for parallax */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background-color: var(--brand-darker);
    overflow: hidden;
    padding-bottom: 4rem;
    z-index: 0;
    /* Behind other content */
}

/* Abstract Background Glows */
/* Removed abstract glows in favor of video background */
.hero-section::before,
.hero-section::after {
    display: none;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Brightness filter removed to show original video */
}

/* Overlay removed */

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 129, 111, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(147, 129, 111, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(147, 129, 111, 0);
    }
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    /* Ensure content is above video */
}

/* Content Sections Parallax Setup */
/* Partnership banner removed, Brands section now pushes below hero */

.brands-section {
    margin-top: 100vh;
    /* Push content below fixed hero */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    /* Shadow for depth */
}

.brands-section,
.magazine-section,
.footer-section {
    position: relative;
    z-index: 10;
    background-color: var(--brand-dark);
}

.magazine-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--brand-dark), #000);
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.glass-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.glass-form h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-gold);
    background: rgba(0, 0, 0, 0.5);
}

.w-100 {
    width: 100%;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 900px) {
    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-section {
    background-color: #000;
    /* Keep footer black */
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--text-white);
    text-transform: none;
    /* Allow lowercase */
    font-family: 'Inter', sans-serif;
    /* Use Inter for the tagline for better readability */
    font-weight: 300;
}

.hero-title span {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    display: block;
    margin: 0.5rem 0;
    color: var(--brand-gold);
}

.btn-primary {
    display: inline-block;
    background: var(--brand-gold);
    color: var(--text-white);
    font-family: 'Julius Sans One', sans-serif;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: 1px solid var(--brand-gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: var(--text-white);
    color: var(--brand-darker);
    border-color: var(--text-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary.hero-cta {
    padding: 1.2rem 4rem;
    animation: pulse-ring 2s infinite;
}

.btn-primary.hero-cta:hover {
    transform: translateY(-8px) scale(1.05);
    animation: none;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Brand Sections */
/* Brand Sections */
.brands-section {
    padding: 10rem 0;
    /* background-color handled by shared rule above */
}

.bg-alternative {
    background-color: #0d1322;
    /* Slightly different dark */
    position: relative;
}

/* Background Texture for Revive */
.bg-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%2393816F' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.tag,
.tag-revive {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.tag {
    background: rgba(147, 129, 111, 0.1);
    color: var(--brand-gold);
    border: 1px solid rgba(147, 129, 111, 0.3);
}

.tag-revive {
    background: rgba(167, 211, 235, 0.1);
    color: var(--hyafilia-soft);
    border: 1px solid rgba(167, 211, 235, 0.3);
}

/* Tech Explanation */
.tech-explanation {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--brand-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.1;
    transition: var(--transition);
}

/* Hyafilia Colors Glows */
.hya-soft::before {
    background: var(--hyafilia-soft);
}

.hya-mold::before {
    background: var(--hyafilia-mold);
}

.hya-volume::before {
    background: var(--hyafilia-volume);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-gold);
}

.glass-card:hover::before {
    opacity: 0.2;
}

.card-image {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.card-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.glass-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.card-content .indication {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
}

.indication.soft {
    color: var(--hyafilia-soft);
}

.indication.mold {
    color: var(--hyafilia-mold);
}

.indication.volume {
    color: var(--hyafilia-volume);
}

.specs li {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
}

.specs li:last-child {
    border-bottom: none;
}

.specs strong {
    color: var(--text-white);
}

/* Revive Section Specifics */
.revive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.revive-info {
    padding: 1rem;
}

.revive-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list .icon {
    font-size: 1.2rem;
    color: var(--brand-darker);
    background: var(--brand-gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 700;
}

.feature-list strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-family: 'Julius Sans One', sans-serif;
}

.feature-list small {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.revive-image img {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.results-preview {
    text-align: center;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.5), rgba(2, 6, 23, 0.8));
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.results-preview h3 {
    margin-bottom: 3rem;
    color: var(--brand-gold);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-white);
    font-family: 'Julius Sans One', sans-serif;
}

.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Footer */
.footer-section {
    background: #000;
    color: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0.8;
}

.footer-logos img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-contact {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--brand-gold);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Simplification for mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .revive-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-logos {
        flex-direction: column;
        gap: 2rem;
    }

    .divider {
        width: 50px;
        height: 1px;
    }
}

/* Teaser Styles */
.partnership-banner {
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.6);
}

.partnership-banner p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.partnership-banner strong {
    color: var(--brand-gold);
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.teaser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.teaser-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* Ensure logos are white */
}

.teaser-card .card-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-text {
    color: var(--brand-gold);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.divider-gold {
    width: 60px;
    height: 2px;
    background: var(--brand-gold);
    margin: 1rem 0;
}

/* Mobile Adjustments for Teaser */
@media (max-width: 768px) {
    .teaser-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}