/* ==========================================================================
   UPWISE PREMIUM DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Colors */
    --bg-main: #070709;
    --bg-surface: #0e0e11;
    --bg-surface-hover: #141419;
    
    --copper: #c5a880;
    --copper-light: #dec7a7;
    --copper-dark: #a1835b;
    --copper-glow: rgba(197, 168, 128, 0.15);
    --copper-gradient: linear-gradient(135deg, #dec7a7 0%, #c5a880 50%, #9e7f55 100%);
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-copper: rgba(197, 168, 128, 0.12);
    --border-copper-active: rgba(197, 168, 128, 0.5);

    /* Grid & Animations */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Organic Noise Texture Overlay (Desktop only to prevent iOS WebKit OOM/process crash) */
@media (min-width: 1025px) {
    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        opacity: 0.04;
        pointer-events: none;
        z-index: 9999;
    }
}



body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection Color */
::selection {
    background-color: var(--copper-dark);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-copper);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--copper);
}

/* Unified Grid Container System */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--copper-gradient);
    width: 0%;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.5);
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   BACKGROUND DECORATIVE EFFECTS
   ========================================================================== */
.background-effects {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

/* Corner grid patterns using pure CSS radial gradient */
.dot-grid {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(197, 168, 128, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.5;
}

.dot-grid-tl { top: 40px; left: 40px; }
.dot-grid-tr { top: 40px; right: 40px; }
.dot-grid-bl { bottom: 40px; left: 40px; }
.dot-grid-br { bottom: 40px; right: 40px; }

/* Floating Code tag layer */
.code-bg-layer {
    position: absolute;
    font-family: var(--font-mono);
    color: var(--copper);
    opacity: 0.03;
    font-size: 0.875rem;
    line-height: 2;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transition: transform 0.2s ease-out;
}

#parallax-code-1 {
    top: 10%;
    left: 5%;
}

#parallax-code-2 {
    bottom: 15%;
    right: 5%;
    text-align: right;
}

.code-tag {
    white-space: pre;
}

/* Glowing orbs in the background */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
    transition: transform 0.3s var(--transition-smooth);
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8a7356 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(7, 7, 9, 0.75);
    backdrop-filter: blur(20px);
    transition: padding 0.3s var(--transition-smooth), background 0.3s var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 7, 9, 0.9);
    border-bottom: 1px solid var(--border-copper);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s var(--transition-smooth);
}

.navbar.scrolled .navbar-container {
    padding: 8px 5%;
}

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

.nav-logo-img {
    height: 30px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    transition: opacity 0.3s var(--transition-smooth);
}

.nav-logo-img:hover {
    opacity: 0.85;
}

.mini-logo-img {
    height: 22px;
    width: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    transition: opacity 0.3s var(--transition-smooth);
}

.footer-logo-img:hover {
    opacity: 0.85;
}

.logo-bold {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--copper);
}

.logo-subtitle {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.6em;
    color: var(--copper);
    margin-top: -3px;
    padding-left: 2px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s var(--transition-smooth);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--copper);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-cta {
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 6px 18px !important;
    border-radius: 9999px;
    background: rgba(14, 14, 17, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.725rem;
    font-weight: 700;
    transition: all 0.4s var(--transition-smooth) !important;
}

.btn-nav-cta::after {
    display: none;
}

.btn-nav-cta:hover {
    border-color: var(--copper);
    background: var(--copper);
    color: var(--bg-main) !important;
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.2);
}

/* Mobile Menu Toggle */
.mobile-toggle-btn {
    display: none;
    color: var(--text-primary);
}

/* Navbar actions grouped container */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language selector button and dropdown container */
.lang-selector-container {
    position: relative;
    display: inline-block;
}

.lang-selector-btn {
    background: rgba(14, 14, 17, 0.75);
    border: 1px solid var(--border-copper);
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s var(--transition-smooth);
    text-transform: uppercase;
}

.lang-selector-btn .chevron-icon {
    width: 10px;
    height: 10px;
    transition: transform 0.4s var(--transition-smooth);
    stroke-width: 2.5px;
}

.lang-selector-btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.lang-selector-btn:hover {
    border-color: var(--border-copper-active);
    color: var(--copper);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.08);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(7, 7, 9, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-copper);
    border-radius: 4px;
    padding: 6px 0;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.4s var(--transition-smooth);
    z-index: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s var(--transition-smooth);
    font-family: var(--font-body);
    text-transform: uppercase;
}

.lang-option:hover {
    background: rgba(197, 168, 128, 0.08);
    color: var(--copper);
}

.lang-option.active {
    color: var(--copper);
    background: rgba(197, 168, 128, 0.04);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.badge-line {
    width: 20px;
    height: 1px;
    background-color: var(--copper);
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--copper);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
}

.text-gradient {
    background: var(--copper-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Visual Panel (Right Column) */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.wireframe-globe-svg {
    width: 100%;
    height: auto;
    opacity: 0.55;
    transition: transform 0.2s ease-out;
}

.globe-base {
    fill: none;
    stroke: rgba(197, 168, 128, 0.05);
    stroke-width: 1;
}

.globe-line {
    fill: none;
    stroke: rgba(197, 168, 128, 0.12);
    stroke-width: 1;
    stroke-dasharray: 400;
    animation: drawGlobeLines 8s linear infinite;
}

.globe-node {
    fill: var(--copper);
    filter: drop-shadow(0 0 6px var(--copper));
}

.animate-pulse-node {
    animation: nodePulse 3s infinite alternate;
}

@keyframes drawGlobeLines {
    0% { stroke-dashoffset: 800; }
    100% { stroke-dashoffset: 0; }
}

@keyframes nodePulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 1; }
}

/* Floating UX Card overlay */
.floating-ui-card {
    position: absolute;
    bottom: 30px;
    right: -10px;
    width: 220px;
    background: rgba(14, 14, 17, 0.7);
    border: 1px solid var(--border-copper);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-out;
}

.ui-header {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.ui-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--border-copper-active);
}

.ui-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-line-short {
    width: 40%;
    height: 4px;
    background: var(--copper);
    border-radius: 2px;
}

.ui-line-long {
    width: 80%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}

.ui-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.ui-box {
    height: 32px;
    background: rgba(197, 168, 128, 0.03);
    border: 1px dashed rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   SERVICES SECTION (O Que Fazemos - Sticky Split Layout)
   ========================================================================== */
.services-section {
    padding: 140px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.services-split-container {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 80px;
    align-items: start;
}

.services-left-col {
    position: relative;
    height: 100%;
}

.services-sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 140px;
}

.services-sticky-header .section-subtitle {
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.services-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    color: var(--copper);
    opacity: 0.6;
}

.services-scroll-indicator .scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--copper);
    animation: scrollDotPulse 1.5s infinite alternate;
}

.services-scroll-indicator .scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes scrollDotPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 1; }
}

/* Services Right Column stacked cards */
.services-right-col {
    position: relative;
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Service Card redesign */
.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s var(--transition-smooth), border-color 0.6s var(--transition-smooth), box-shadow 0.6s var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-copper-active);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px var(--copper-glow);
}

.service-card-body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.service-card-content {
    padding: 48px;
}

.service-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(197, 168, 128, 0.04);
    border: 1px solid var(--border-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--copper);
    transition: background 0.4s var(--transition-smooth), color 0.4s var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--copper);
    color: var(--bg-main);
    box-shadow: 0 0 15px var(--copper-glow);
}

.service-icon {
    width: 22px;
    height: 22px;
}

.service-card-title {
    font-size: 1.65rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Feature bullets list inside card */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features-list .feat-icon {
    width: 14px;
    height: 14px;
    color: var(--copper);
}

/* Render Visual side inside card */
.service-card-visual {
    position: relative;
    height: 100%;
    min-height: 300px;
    align-self: stretch;
    overflow: hidden;
    background: transparent;
}

.service-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.service-render-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    mix-blend-mode: screen;
    filter: brightness(0.8) contrast(1.1) saturate(0.85);
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth), filter 0.4s var(--transition-smooth);
}

.service-card:hover .service-render-img {
    transform: scale(1.02);
    opacity: 0.75;
    filter: brightness(1.0) contrast(1.2) saturate(1.0);
}

.service-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--copper-gradient);
    transition: width 0.6s var(--transition-smooth);
}

.service-card:hover .service-hover-line {
    width: 100%;
}

/* ==========================================================================
   SHOWCASE MASK SECTION (Reveal Mask Expansion)
   ========================================================================== */
.showcase-mask-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(7,7,9,0.95) 100%);
}

.mask-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.mask-section-header .section-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

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

.mask-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.mask-wrapper {
    position: relative;
    width: 75%; /* starts constrained */
    aspect-ratio: 2.3; /* wide proportion */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
    will-change: width, border-radius;
    transition: width 0.1s ease-out, border-radius 0.1s ease-out;
}

.mask-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.1s ease-out;
}

.mask-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 7, 9, 0.92) 0%, rgba(7, 7, 9, 0.6) 50%, rgba(7, 7, 9, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 60px;
}

.mask-content {
    max-width: 440px;
}

.mask-accent-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--copper);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 16px;
}

.mask-content h3 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 600;
}

.mask-content p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.6;
}

/* ==========================================================================
   PODCAST SECTION (UPWISE Talks)
   ========================================================================== */
.podcast-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(14, 14, 17, 0.4) 100%);
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.podcast-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.podcast-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.podcast-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* Hosts rows */
.hosts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.host-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    max-width: 480px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.host-row:hover {
    border-color: var(--border-copper);
    background: rgba(197, 168, 128, 0.02);
}

.host-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--copper);
}

.host-icon i {
    width: 18px;
    height: 18px;
}

.host-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.host-role {
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.podcast-cta-box {
    background: rgba(197, 168, 128, 0.04);
    border: 1px solid var(--border-copper);
    padding: 24px;
    border-radius: var(--radius-md);
    max-width: 480px;
}

.cta-mini-text {
    font-size: 0.875rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.btn-insta {
    background-color: var(--copper) !important;
    color: var(--bg-main) !important;
    border-radius: 9999px;
}

.btn-insta:hover {
    background-color: var(--copper-light) !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.35), 0 8px 25px rgba(197, 168, 128, 0.3) !important;
}

/* Podcast Visual (Right Column Frame matching reference) */
.podcast-visual {
    display: flex;
    justify-content: center;
}

.visual-frame {
    position: relative;
    border: 1px solid var(--border-copper);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: rgba(14,14,17,0.4);
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.frame-dot-grid {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(197, 168, 128, 0.15) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: 2;
}

.banner-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 0.85; /* matches visual card shape */
    border: 1px solid var(--border-subtle);
}

.podcast-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.6s var(--transition-smooth);
}

.visual-frame:hover .podcast-banner-img {
    transform: scale(1.03);
}

/* overlay gradient to blend bottom of image */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 7, 9, 0.9) 0%, rgba(7, 7, 9, 0) 50%);
}

/* Glass card layout over image */
.podcast-mini-card {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    background: rgba(7, 7, 9, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.mini-logo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.mini-talks {
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.4em;
    display: block;
    margin-top: -4px;
}

.mini-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--copper);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.mini-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--copper);
    letter-spacing: 0.15em;
}

.pulse-red {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
    animation: statusPulse 1.5s infinite;
}

/* ==========================================================================
   CONTACT SECTION (Conversão / Consultoria)
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quick-link-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.quick-link-item i {
    width: 20px;
    height: 20px;
    color: var(--copper);
    margin-top: 4px;
}

.quick-link-item h5 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.quick-link-item a, .quick-link-item span {
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.quick-link-item a:hover {
    color: var(--copper);
}

/* Contact Form Card styling */
.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

/* Floating label fields design */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.text-area-input {
    height: 90px;
    resize: none;
}

.form-label {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s var(--transition-smooth);
}

/* Floating behavior when input is focused or not empty */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--copper);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* Active bottom line */
.input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background: var(--copper);
    transition: all 0.3s var(--transition-smooth);
}

.form-input:focus ~ .input-line {
    width: 100%;
    left: 0%;
}

.form-input:focus {
    border-bottom-color: transparent;
}

.btn-submit {
    margin-top: 12px;
}

/* Success Card overlay */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s var(--transition-smooth);
    z-index: 10;
}

.form-success-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.success-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-copper);
    color: var(--copper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px var(--copper-glow);
}

.success-icon-box i {
    width: 32px;
    height: 32px;
}

.form-success-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.form-success-overlay p {
    color: var(--text-secondary);
    max-width: 320px;
    font-size: 0.925rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================================================
   BUTTONS UTILITY
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 9999px;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn i {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--copper-gradient);
    color: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.35), 0 8px 25px rgba(197, 168, 128, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(14, 14, 17, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--copper);
    color: var(--bg-main);
    border-color: var(--copper);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.25);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.7rem;
}

/* ==========================================================================
   TOAST SYSTEM
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-copper);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: toastSlideIn 0.4s var(--transition-smooth) forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast i {
    color: var(--copper);
    width: 20px;
    height: 20px;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
    will-change: transform, opacity;
}

/* Default state options */
.scroll-reveal.reveal-slide-up {
    transform: translateY(50px);
}
.scroll-reveal.reveal-slide-left {
    transform: translateX(-50px);
}
.scroll-reveal.reveal-slide-right {
    transform: translateX(50px);
}
.scroll-reveal.reveal-zoom {
    transform: scale(0.92);
}
.scroll-reveal.reveal-fade {
    transform: none;
}

/* Active triggered state */
.scroll-reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ==========================================================================
   SVG VECTOR BACKGROUNDS
   ========================================================================== */
.bg-vector {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
    transition: transform 0.3s var(--transition-smooth);
}

.vector-constellation {
    width: 100%;
    height: 100%;
    max-width: 900px;
    max-height: 600px;
}

#vector-hero {
    top: 50px;
    left: -100px;
}

#vector-services {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

#vector-contact {
    bottom: -50px;
    right: -100px;
}

.vec-poly {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.vec-line {
    stroke: rgba(197, 168, 128, 0.05);
    stroke-width: 0.6;
}

.vec-node {
    fill: var(--copper);
    filter: drop-shadow(0 0 4px var(--copper));
    opacity: 0.75;
}

/* Canvas Plexus Background Container & Canvas */
.bg-canvas-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-out; /* smooth mouse parallax response */
}

.plexus-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7) rotate(-10deg);
    width: 100%;
    height: 100%;
    max-width: 900px; /* increased size for premium background canvas */
    max-height: 900px;
    display: block;
    z-index: 0;
    pointer-events: none;
    /* Removed drop-shadow filter to prevent WebKit GPU memory crash on iOS mobile browsers */
    opacity: 0;
    transition: opacity 1.8s var(--transition-smooth) 0.35s, transform 1.8s var(--transition-smooth) 0.35s;
}

/* Delay modifiers for grids */
.services-grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background: #040405;
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 16px;
    display: inline-block;
}

.brand-phrase {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--copper);
}

.social-link i {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   WHO WE SERVE SECTION & PORTFOLIO GALLERY
   ========================================================================== */
/* ==========================================================================
   WHO WE SERVE SECTION & PORTFOLIO GALLERY
   ========================================================================== */
.who-section {
    padding: 140px 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(7,7,9,0.95) 0%, var(--bg-main) 100%);
}

.who-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--copper);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.who-header .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.who-header .section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    aspect-ratio: 1.4;
    transition: transform 0.6s var(--transition-smooth), border-color 0.6s var(--transition-smooth), box-shadow 0.6s var(--transition-smooth);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: var(--border-copper-active);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--copper-glow);
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0) 40%, rgba(7, 7, 9, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.portfolio-info {
    transform: translateY(10px);
    transition: transform 0.6s var(--transition-smooth);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--copper);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.portfolio-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.portfolio-zoom-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(14, 14, 17, 0.85);
    border: 1px solid var(--border-copper);
    color: var(--copper);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) translate(5px, -5px);
    transition: opacity 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth), background 0.3s, color 0.3s;
    z-index: 5;
}

.portfolio-item:hover .portfolio-zoom-icon {
    opacity: 1;
    transform: scale(1) translate(0);
}

.portfolio-zoom-icon:hover {
    background: var(--copper);
    color: var(--bg-main);
    box-shadow: 0 0 15px var(--copper-glow);
}

.portfolio-zoom-icon i {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   LIGHTBOX SYSTEM
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 7, 9, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--transition-smooth), visibility 0.5s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(14, 14, 17, 0.85);
    border: 1px solid var(--border-copper);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
    z-index: 10002;
}

.lightbox-close:hover {
    background: var(--copper);
    color: var(--bg-main);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 20px var(--copper-glow);
}

.lightbox-close i {
    width: 24px;
    height: 24px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s var(--transition-smooth);
    z-index: 10001;
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin-top: 24px;
    text-align: center;
    max-width: 600px;
}

.lightbox-cat {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--copper);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.lightbox-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsividade de Quem Atendemos */
@media (max-width: 1024px) {
    .portfolio-gallery {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .who-section {
        padding: 80px 0;
    }
    .who-header .section-title {
        font-size: 2rem;
    }
    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lightbox {
        padding: 20px;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .lightbox-close i {
        width: 20px;
        height: 20px;
    }
    .lightbox-title {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {

    .hero-title {
        font-size: 2.75rem;
    }
    
    /* Services Split Column stack for mobile/tablet */
    .services-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-sticky-header {
        position: relative;
        top: 0;
        text-align: center;
    }

    .services-scroll-indicator {
        display: none;
    }

    .service-card-body {
        grid-template-columns: 1fr;
    }

    .service-card-visual {
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        min-height: 250px;
    }

    .service-card-visual::before {
        background: linear-gradient(to bottom, var(--bg-surface) 0%, transparent 100%);
    }

    /* Showcase Reveal Mask on mobile/tablet */
    .mask-wrapper {
        width: 90%;
        aspect-ratio: 1.6;
    }

    .mask-overlay {
        padding: 40px;
    }

    .mask-content h3 {
        font-size: 1.75rem;
    }
    
    .podcast-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .podcast-visual, .hero-visual {
        order: -1; /* Display graphic above text on small screens */
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 16px 5%;
    }
    
    .mobile-toggle-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        border-bottom: 1px solid var(--border-copper);
        flex-direction: column;
        padding: 40px 20px;
        gap: 24px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--transition-smooth);
        z-index: 450;
    }
    
    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
        text-align: center;
    }
    
    .hero-visual {
        display: none; /* Hide complex wireframe globe visual on mobile to optimize performance */
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .mask-wrapper {
        width: 95%;
        aspect-ratio: 1.2;
    }
    
    .mask-overlay {
        padding: 24px;
    }
    
    .mask-content h3 {
        font-size: 1.4rem;
    }
    
    .section-title, .podcast-title, .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   PRELOADER & ENTRANCE ANIMATIONS (PAGE LOAD)
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #070709;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--transition-smooth), visibility 0.8s var(--transition-smooth);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 200px;
}

.preloader-logo {
    height: 36px;
    width: auto;
    opacity: 0;
    transform: scale(0.9);
    filter: brightness(0) invert(1); /* Ensure white vector logo */
    animation: preloaderLogoReveal 1.2s var(--transition-smooth) forwards;
}

.preloader-line-bg {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.preloader-line-progress {
    width: 0%;
    height: 100%;
    background: var(--copper-gradient);
    position: absolute;
    top: 0;
    left: 0;
    animation: preloaderProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloaderLogoReveal {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); filter: blur(5px) brightness(0) invert(1); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) brightness(0) invert(1); }
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    50% { width: 40%; }
    100% { width: 100%; }
}

/* Entrance initial states */
.navbar {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 1s var(--transition-smooth) 0.1s, opacity 1s var(--transition-smooth) 0.1s;
}

body.page-loaded .navbar {
    transform: translateY(0);
    opacity: 1;
}

.hero-content .badge-accent {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--transition-smooth) 0.3s, transform 0.8s var(--transition-smooth) 0.3s;
}

.hero-content .hero-title {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
    transition: opacity 1.2s var(--transition-smooth) 0.45s, transform 1.2s var(--transition-smooth) 0.45s, clip-path 1.2s var(--transition-smooth) 0.45s;
}

.hero-content .hero-lead {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s var(--transition-smooth) 0.65s, transform 1s var(--transition-smooth) 0.65s;
}

.hero-content .hero-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s var(--transition-smooth) 0.8s, transform 1s var(--transition-smooth) 0.8s;
}

/* Globe and floating card initial states */
.hero-visual .floating-ui-card {
    opacity: 0;
    transform: translate(40px, 40px) rotate(10deg);
    transition: opacity 1.2s var(--transition-smooth) 0.95s, transform 1.2s var(--transition-smooth) 0.95s;
}

/* Triggered states when body has .page-loaded */
body.page-loaded .plexus-canvas {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1) rotate(0);
}

body.page-loaded .hero-content .badge-accent {
    opacity: 1;
    transform: translateY(0);
}

body.page-loaded .hero-content .hero-title {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
}

body.page-loaded .hero-content .hero-lead {
    opacity: 1;
    transform: translateY(0);
}

body.page-loaded .hero-content .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

body.page-loaded .hero-visual .floating-ui-card {
    opacity: 1;
    transform: translate(0) rotate(0);
}

/* ==========================================================================
   ARABIC RTL & TYPOGRAPHY OVERRIDES
   ========================================================================== */
[dir="rtl"] {
    font-family: 'Cairo', 'Montserrat', sans-serif;
    text-align: right;
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6,
[dir="rtl"] .section-title,
[dir="rtl"] .hero-title,
[dir="rtl"] .service-card-title,
[dir="rtl"] .form-title,
[dir="rtl"] .contact-title,
[dir="rtl"] .podcast-title {
    font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* Form label alignment in RTL */
[dir="rtl"] .form-group label {
    left: auto;
    right: 16px;
    transform-origin: top right;
}

[dir="rtl"] .form-input:focus ~ label,
[dir="rtl"] .form-input:not(:placeholder-shown) ~ label {
    transform: translateY(-26px) scale(0.8);
}

/* Chevron icons or items with spacing in RTL */
[dir="rtl"] .badge-accent {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .chevron-icon {
    margin-right: 6px;
    margin-left: 0;
}

/* Align list items checkmarks in RTL */
[dir="rtl"] .service-features-list li {
    padding-left: 0;
    padding-right: 28px;
}

[dir="rtl"] .service-features-list li i {
    left: auto;
    right: 0;
}

/* Header menu alignment */
[dir="rtl"] .nav-menu {
    gap: 32px;
}

[dir="rtl"] .nav-link.btn-nav-cta {
    margin-left: 0;
    margin-right: 16px;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
}

[dir="rtl"] .quick-link-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .host-row {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .host-details {
    padding-left: 0;
    padding-right: 16px;
}


