:root {
    /* Premium Color Palette */
    --color-bg-dark: #01040A;
    /* Brand Main Color */
    --color-bg-panel: #112d54;
    --color-graphite: #1a1e29;
    --color-metal: #a8b2c1;
    --color-metal-light: #e2e8f0;
    --color-metal-silver: #f1f5f9;
    --color-accent-blue: #1F4EBC;
    /* Brand Blue */
    --color-glow-blue: rgba(31, 62, 140, 0.5);
    /* #1f3e8c glow */
    --color-accent-orange: #FF6A00;
    /* Keyword highlight / CTA */

    --font-heading: 'Inter', sans-serif;
    --font-subheading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-highlight: 'Instrument Serif', serif;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;

    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-metal-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Typography Base */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.section-subtitle,
.premium-text,
.cta-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--color-metal-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
    line-height: 1.7;
}

.highlight-blue {
    color: #3a89c9;
    text-shadow: none;
    font-family: var(--font-highlight);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.highlight-orange {
    color: #3a89c9;
    font-family: var(--font-highlight);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
}

.metallic-btn {
    background: linear-gradient(180deg, #FF8C40 0%, var(--color-accent-orange) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
}

.metallic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.metallic-btn:hover::before {
    left: 200%;
}

.metallic-btn:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.6), 0 0 15px rgba(255, 106, 0, 0.3);
    transform: translateY(-2px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
}

.rounded-full {
    border-radius: 50px;
}

/* Background Effects */
.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: var(--color-bg-dark);
}

.site-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.metal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(20, 30, 50, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

/* Glassmorphism General */
.glassmorphism {
    background: rgba(11, 31, 58, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(31, 62, 140, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.flash-border-blue {
    border-color: rgba(31, 62, 140, 1);
    box-shadow: 0 0 20px rgba(31, 62, 140, 0.8), inset 0 0 15px rgba(31, 62, 140, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    background: rgba(11, 31, 58, 0.5);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    height: 60px;
    top: 10px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    object-fit: contain;
    animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    }

    50% {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }

    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-metal-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-subheading);
    transition: var(--transition-fast);
    position: relative;
    text-transform: uppercase;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 5rem;
    overflow: hidden;
}


.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cinematic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cinematic-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowPan 20s linear infinite alternate;
}

@keyframes slowPan {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

.cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 8, 15, 0.95) 0%, rgba(5, 8, 15, 0.7) 50%, rgba(5, 8, 15, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 800px;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-metal);
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.indicator-item {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.indicator-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.indicator-text {
    font-size: 0.9rem;
    color: var(--color-metal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Sections Common */
.section {
    padding: 120px 0;
    position: relative;
}

/* Split Layout (Sobre) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.premium-text {
    font-size: 1.25rem;
    color: var(--color-metal-light);
    margin-bottom: 3rem;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-card {
    padding: 2.5rem 2rem;
    /* Increased padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.about-card h4 {
    font-size: 1.25rem;
    font-family: var(--font-subheading);
    font-weight: 700;
}

.card-icon {
    font-size: 3.5rem;
    /* Larger icon */
    color: var(--color-accent-orange);
    margin-bottom: 0.5rem;
}

.hover-lift:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    min-height: 550px;
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(-10%);
    transition: transform 0.1s linear;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--color-bg-dark), transparent);
}

.with-glow::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    z-index: -1;
}

/* Marcas Section */
.brands-section {
    background: #ffffff;
    color: var(--color-bg-dark);
    position: relative;
    border-top: none;
    border-bottom: none;
}

.brands-section .section-title {
    color: var(--color-bg-dark);
}

.brands-section .section-subtitle {
    color: var(--color-bg-dark);
}

/* Gradient Borders */
.brands-section::before,
.brands-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 5;
    pointer-events: none;
}

.brands-section::before {
    top: -30px;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.brands-section::after {
    bottom: -30px;
    background: linear-gradient(to bottom, #ffffff 0%, transparent 100%);
}

.text-center {
    text-align: center;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.brand-card {
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem;
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brands-section .flash-border-blue {
    border-color: rgba(31, 62, 140, 0.8);
    box-shadow: 0 0 15px rgba(31, 62, 140, 0.4), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.brand-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(31, 62, 140, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.brand-card:hover {
    transform: translateY(-10px);
    border-color: rgba(31, 62, 140, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%) opacity(1) brightness(1);
}

.brand-card:hover .brand-glow {
    opacity: 1;
    width: 200px;
    height: 200px;
}

/* Products/Implementos Section */
.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 5rem;
}

.product-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    padding: 8rem 0;
}

.product-item.reverse {
    grid-template-columns: 2fr 1fr; /* keep the same layout */
}

/* Force image to be first in reverse items since DOM order is text first */
.product-item.reverse .product-image-container {
    order: -1;
}

.product-item.reverse .product-info {
    order: 1;
}

.product-image-container {
    border-radius: 16px;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cinematic-light {
    position: relative;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(150, 180, 255, 0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
}

.3d-hover:hover {
    transform: scale(1.02) rotateY(5deg) rotateX(2deg);
}

.product-info {
    padding: 3rem;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #a8b2c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.product-info p {
    font-size: 1.05rem;
    color: var(--color-metal);
    line-height: 1.7;
}

/* Diferenciais Section */
.tech-features-section {
    position: relative;
    overflow: hidden;
}

.tech-lines-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    opacity: 0.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.tech-feature-card {
    padding: 3rem 2.5rem;
    text-align: left;
    transition: var(--transition-smooth);
    border-radius: 12px;
    border: 1px solid rgba(31, 62, 140, 1);
    box-shadow: 0 0 20px rgba(31, 62, 140, 0.8), inset 0 0 15px rgba(31, 62, 140, 0.4);
}

.tech-feature-card:hover {
    transform: translateY(-10px);
    background: rgba(11, 31, 58, 0.9);
}

.tech-icon {
    font-size: 3.5rem;
    color: var(--color-accent-orange);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.tech-feature-card h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-feature-card p {
    font-size: 1.05rem;
    color: var(--color-metal-light);
}

/* CTA Final Section */
.cta-final-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.3) grayscale(0.5);
}

.cta-volumetric-lights {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
    mix-blend-mode: screen;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 3rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--color-metal-light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer Premium */
.premium-footer {
    background: #020408;
    padding-top: 6rem;
    position: relative;
}

.footer-metal-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
}

.footer-tagline {
    color: var(--color-metal);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: var(--color-metal);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
    width: fit-content;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: var(--color-metal);
    font-size: 0.9rem;
    position: relative;
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

/* WhatsApp Btn */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Siga-nos Section */
.social-media-section {
    position: relative;
    background: #ffffff;
    padding: 0;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-media-section::before,
.social-media-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 5;
    pointer-events: none;
}

.social-media-section::before {
    top: -30px;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.social-media-section::after {
    bottom: -30px;
    background: linear-gradient(to bottom, #ffffff 0%, transparent 100%);
}

.social-img-wrapper {
    width: 100%;
    max-width: 1500px;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.social-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Animations */
.reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.fade-in-up {
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
    transform: translateX(-40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    transform: translateX(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* About Card Descriptions */
.about-card-desc {
    font-size: 0.85rem;
    color: var(--color-metal);
    line-height: 1.5;
    font-family: var(--font-body);
}

/* Product Audience Tags */
.product-audience {
    font-size: 0.9rem;
    color: var(--color-accent-orange);
    margin-top: 1rem;
    font-weight: 500;
}

.product-audience strong {
    color: #ffffff;
}

/* Brands Support Text */
.brands-support-text {
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    color: var(--color-bg-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* CTA Microcopy */
.cta-microcopy {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--color-metal);
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* ===== WHY THB - Scroll-Based Animation Section ===== */
.why-thb-section {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.why-thb-scroll-container {
    position: relative;
    margin-top: 4rem;
}

.why-thb-sticky-wrapper {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left Nav / Progress */
.why-thb-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 120px;
}

.why-thb-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-thb-nav-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    min-width: 28px;
    transition: all 0.4s ease;
}

.why-thb-nav-item.active .why-thb-nav-number {
    color: var(--color-accent-orange);
    font-size: 0.9rem;
}

.why-thb-nav-bar {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.why-thb-nav-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent-orange);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.why-thb-nav-item.active .why-thb-nav-fill {
    width: 100%;
}

/* Right Content Cards */
.why-thb-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-thb-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    transform: translateY(10px);
}

.why-thb-card.active {
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(31, 62, 140, 1);
    box-shadow: 0 0 20px rgba(31, 62, 140, 0.8), inset 0 0 15px rgba(31, 62, 140, 0.4);
}

.why-thb-card-icon {
    font-size: 2.5rem;
    color: var(--color-accent-orange);
    margin-bottom: 1rem;
}

.why-thb-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.why-thb-card p {
    font-size: 1rem;
    color: var(--color-metal);
    line-height: 1.7;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 3rem 0;
    position: relative;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-by-title {
    font-size: 0.85rem;
    color: var(--color-metal);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.trusted-by-logos:hover {
    opacity: 1;
}

.trusted-logos-img {
    height: auto;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.trusted-logos-img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {

    .split-grid,
    .product-item,
    .product-item.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-image-container,
    .product-item.reverse .product-image-container {
        order: -1;
    }
    
    .product-info,
    .product-item.reverse .product-info {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .product-info {
        padding: 2rem 0;
    }

    .why-thb-sticky-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-thb-nav {
        flex-direction: row;
        position: static;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .why-thb-nav-bar {
        display: none;
    }

    .why-thb-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 0.5rem 0;
    }
    
    .navbar.scrolled {
        height: auto;
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .navbar .btn {
        display: none !important;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 80px 0;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 3rem;
    }

    .hero-indicators {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .indicator-item {
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .why-thb-card {
        padding: 1.5rem;
    }

    .why-thb-card h4 {
        font-size: 1.1rem;
    }

    .trusted-logos-img {
        max-height: 100px;
        margin: 0.5rem;
    }
}

/* Divisória discreta para as sessões de fundo azul */
.dark-tech-bg {
    border-top: 1px solid rgba(31, 62, 140, 0.3);
    border-bottom: 1px solid rgba(31, 62, 140, 0.3);
    background: rgba(11, 31, 58, 0.3); /* Adds a subtle blue tint */
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-item {
    background: rgba(11, 31, 58, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(31, 62, 140, 0.5);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.bento-item:nth-child(1) { grid-column: span 2; }
.bento-item:nth-child(2) { grid-column: span 1; }
.bento-item:nth-child(3) { grid-column: span 1; grid-row: span 2; }
.bento-item:nth-child(4) { grid-column: span 2; }
.bento-item:nth-child(5) { grid-column: span 1; }
.bento-item.bento-full { grid-column: span 4; }

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-item:nth-child(1), .bento-item:nth-child(2), .bento-item:nth-child(3), .bento-item:nth-child(4), .bento-item:nth-child(5) {
        grid-column: span 1;
        grid-row: auto;
    }
    .bento-item.bento-full { grid-column: span 2; }
    .bento-item.bento-full .bento-content { flex-direction: column; text-align: center !important; }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.bento-full {
        grid-column: span 1;
    }
}

/* ------------------------------------------- */
/* Liquid Glass Icons Enhancement              */
/* ------------------------------------------- */

/* Remove existing solid container styles so the icon itself can be the liquid blob */
.card-icon {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.card-icon i, 
.diff-card i, 
.inst-card i, 
.seg-card i, 
.tech-icon {
    /* Icon styling */
    color: var(--color-accent-orange);
    text-shadow: 0 0 8px rgba(255, 145, 0, 0.5), 0 0 20px rgba(255, 145, 0, 0.4);
    font-size: 2.2rem !important; /* Fixed size to fit the blob */
    
    /* Liquid Glass Blob container styling */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Glossy reflections */
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Depth shadow */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    
    /* Shape and Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    
    /* Liquid Morphing Animation */
    animation: liquidGlassAnim 6s ease-in-out infinite;
    transition: all 0.4s ease;
}

@keyframes liquidGlassAnim {
    0% {
        transform: translateY(0);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    33% {
        transform: translateY(-8px);
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    }
    66% {
        transform: translateY(3px);
        border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%;
    }
    100% {
        transform: translateY(0);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Hover effect */
.bento-item:hover .card-icon i,
.about-card:hover .card-icon i,
.diff-card:hover i,
.inst-card:hover i,
.seg-card:hover i,
.tech-feature-card:hover .tech-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 145, 0, 0.15) 100%);
    box-shadow: 
        0 20px 40px rgba(255, 145, 0, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    color: var(--color-accent-orange);
    text-shadow: 0 0 15px rgba(255, 145, 0, 0.8), 0 0 30px rgba(255, 145, 0, 1);
    transform: translateY(-10px) scale(1.1);
    border-radius: 50%; /* Smooth out the blob on hover for a perfect drop */
    animation: none; /* Pause liquid animation on hover to prevent jumping */
}

/* ------------------------------------------- */
/* Trusted Companies Section                   */
/* ------------------------------------------- */
.trusted-companies-section {
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-title {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--color-metal);
    letter-spacing: 2px;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
}

.trusted-logos-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.trusted-logo {
    flex: 1;
    min-width: 0;
    max-height: 150px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2) opacity(0.6);
    transition: all 0.4s ease;
}

.trusted-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.1);
}

/* ------------------------------------------- */
/* Typewriter Effect                           */
/* ------------------------------------------- */
.typing-cursor::after {
    content: '|';
    display: inline-block;
    color: var(--color-accent-orange);
    animation: blinkCursor 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}