/* ==========================================================================
   BRICKS V2 - AGENCY STYLESHEET
   ========================================================================== */

/* --- Custom Properties --- */
:root {
    /* Brand Colors */
    --color-primary: #1D2E45;
    --color-primary-rgb: 29, 46, 69;
    --color-accent: #9E7D49;
    --color-accent-light: #C5A880;
    --color-accent-rgb: 158, 125, 73;
    
    --color-blue-dark: #0A1220;
    --color-blue-slate: #294E6F;
    --color-blue-medium: #275286;
    --color-blue-light: #3769A3;
    
    --color-gold-gradient: linear-gradient(135deg, #C5A880 0%, #9E7D49 100%);
    --color-dark-gradient: linear-gradient(180deg, #16273F 0%, #16273F 100%);
    --color-glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --color-danger: #E11D48;
    --color-success: #10B981;
    
    /* Backgrounds */
    --bg-body: #16273F;
    --bg-section-light: #284166;
    --bg-card: rgba(29, 46, 69, 0.25);
    --bg-card-hover: rgba(29, 46, 69, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(197, 168, 128, 0.3);
    
    /* Typography */
    --font-title: 'DM Sans', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Glow Effects */
    --gold-glow: 0 0 40px rgba(158, 125, 73, 0.15);
    --gold-glow-strong: 0 0 50px rgba(158, 125, 73, 0.35);
    --blue-glow: 0 0 40px rgba(39, 82, 134, 0.2);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: initial; /* Lenis handles smooth scrolling */
}

body {
    background-color: var(--bg-body);
    color: #E2E8F0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* --- Lenis Styles --- */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overflow: clip;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-mark {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 14vw;
    line-height: 1;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    display: inline-block;
}

@media (min-width: 700px) {
    .preloader-mark {
        font-size: 110px;
    }
}

.preloader-sub {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-top: -6px; /* Offset spacing below large BRKS text */
    margin-bottom: 28px;
    opacity: 0.85;
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    margin: 24px auto 0;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--color-gold-gradient);
}

/* --- Typography Defaults --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensures anchored sections clear the fixed header even on native/instant jumps */
section[id] {
    scroll-margin-top: 110px;
}

/* --- Layout Grid --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- Custom Cursor --- */
.custom-cursor,
.custom-cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-light);
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 168, 128, 0.4);
    background-color: rgba(197, 168, 128, 0.02);
}

.custom-cursor-follower.hovering {
    width: 70px;
    height: 70px;
    border-color: var(--color-accent);
    background-color: rgba(158, 125, 73, 0.08);
}

@media (max-width: 1024px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none;
    }
}

/* --- Design Tokens / Elements --- */
.glass-panel {
    background: var(--color-glass-gradient);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: var(--transition-normal);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

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

.text-highlight {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--color-gold-gradient);
    opacity: 0.15;
    z-index: -1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--color-gold-gradient);
    color: var(--color-blue-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(158, 125, 73, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow-strong);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: var(--color-gold-gradient);
    filter: blur(15px);
    opacity: 0.3;
    z-index: -1;
    transition: var(--transition-normal);
}

.btn-glow:hover::after {
    opacity: 0.6;
    filter: blur(25px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.4);
}

.btn-outline:hover {
    border-color: var(--color-accent-light);
    background: rgba(197, 168, 128, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section Intros --- */
.section-subtitle {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 18px;
    color: #94A3B8;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

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

/* ==========================================================================
   HEADER / NAVBAR (AGENCY STYLE)
   ========================================================================== */
/* Top scroll progress bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 1100;
    background: var(--color-gold-gradient);
    box-shadow: 0 0 12px rgba(197, 168, 128, 0.6);
    will-change: width;
}

.agency-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-normal);
}

.agency-header.scrolled {
    padding: 16px 0;
    background: rgba(22, 39, 63, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--color-gold-gradient);
    border-radius: 6px;
    position: relative;
    transform: rotate(45deg);
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--bg-body);
    border-radius: 4px;
}

.brand-name {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.brand-mark {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 30px;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.brand-sub {
    font-family: var(--font-title);
    color: var(--color-accent-light);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: lowercase;
}

.header-container .logo-area {
    margin-left: -18px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

@media (max-width: 1150px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #16273F;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 40px;
        gap: 24px;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(7, 13, 25, 0.6) 0%, rgba(7, 13, 25, 0.95) 70%, #070D19 100%);
    z-index: -2;
}

.hero-glow-orb {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(158, 125, 73, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
}

.hero-description {
    font-size: 18px;
    color: #94A3B8;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}

.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-metric-card {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.hero-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-gold-gradient);
}

.metric-num {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.metric-label {
    font-size: 13px;
    color: #94A3B8;
    letter-spacing: 0.02em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--color-accent-light);
    border-radius: 2px;
    animation: scroll-anim 2s infinite ease-in-out;
}

@keyframes scroll-anim {
    0% { top: -15px; }
    50% { top: 35px; }
    100% { top: -15px; }
}

/* ==========================================================================
   SCENARIO / PROBLEM SECTION
   ========================================================================== */
.scenario-section {
    padding: 140px 0;
    position: relative;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .scenario-grid {
        grid-template-columns: 1fr;
    }
}

.scenario-card {
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 125, 73, 0.03) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.scenario-card:hover .card-glow {
    opacity: 1;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition-normal);
}

.card-icon {
    width: 24px;
    height: 24px;
    color: #94A3B8;
}

.scenario-card:hover .card-icon-wrapper {
    border-color: var(--color-accent-light);
    background: rgba(197, 168, 128, 0.05);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.1);
}

.scenario-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.scenario-card p {
    font-size: 15px;
    color: #94A3B8;
    margin-bottom: 28px;
    line-height: 1.6;
}

.scenario-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.scenario-list li {
    font-size: 14px;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scenario-list li i {
    width: 16px;
    height: 16px;
    color: var(--color-danger);
}

/* Highlight Card Style */
/* Side cards: thin beige border */
.scenario-card:not(.highlight) {
    border-width: 1px;
    border-color: rgba(197, 168, 128, 0.35);
}

/* Central highlighted card: thicker beige border */
.scenario-card.highlight {
    background: linear-gradient(135deg, rgba(29, 46, 69, 0.4) 0%, rgba(158, 125, 73, 0.08) 100%);
    border-width: 2.5px;
    border-color: rgba(197, 168, 128, 0.6);
    box-shadow: var(--gold-glow);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-light);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 4px 10px;
    border-radius: 50px;
}

.text-gold {
    color: var(--color-accent-light) !important;
}

.scenario-quote {
    font-style: italic;
    font-size: 18px;
    color: #FFFFFF;
    border-left: 2px solid var(--color-accent);
    padding-left: 16px;
    margin-top: auto;
    font-family: var(--font-title);
    font-weight: 500;
    line-height: 1.4;
}

/* Market Visualizer */
.market-visualizer {
    padding: 60px;
    margin-top: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .market-visualizer {
        padding: 30px;
    }
}

.visualizer-title {
    font-size: 22px;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.market-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 350px;
}

@media (max-width: 768px) {
    .market-circles {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
}

.market-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: var(--transition-normal);
}

.circle-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
}

.circle-val {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.circle-label {
    font-size: 12px;
    color: #94A3B8;
    max-width: 140px;
    margin: 0 auto;
}

.circle-tam {
    width: 320px;
    height: 320px;
    background: rgba(29, 46, 69, 0.65);
    border: 2px solid rgba(55, 105, 163, 0.6);
    box-shadow: 0 0 30px rgba(55, 105, 163, 0.2);
    z-index: 1;
}

.circle-sam {
    width: 230px;
    height: 230px;
    background: rgba(39, 82, 134, 0.75);
    border: 2px solid rgba(197, 168, 128, 0.5);
    box-shadow: 0 0 30px rgba(197, 168, 128, 0.25);
    z-index: 2;
}

.circle-som {
    width: 150px;
    height: 150px;
    background: var(--color-gold-gradient);
    border: 2px solid #FFFFFF;
    z-index: 3;
    box-shadow: var(--gold-glow-strong);
}

.circle-som .circle-val,
.circle-som .circle-label {
    color: var(--color-blue-dark);
}

.circle-som .circle-label {
    font-weight: 600;
}

@media (min-width: 769px) {
    .circle-tam {
        left: calc(50% - 260px);
        top: calc(50% - 160px);
    }
    .circle-sam {
        left: calc(50% - 65px);
        top: calc(50% - 115px);
    }
    .circle-som {
        left: calc(50% + 105px);
        top: calc(50% - 75px);
    }
    
    .market-visualizer:hover .circle-tam {
        left: calc(50% - 280px);
    }
    .market-visualizer:hover .circle-sam {
        left: calc(50% - 75px);
    }
    .market-visualizer:hover .circle-som {
        left: calc(50% + 125px);
    }
}

@media (max-width: 768px) {
    .market-circle {
        position: relative !important;
        transform: none !important;
        width: 200px !important;
        height: 200px !important;
        left: auto !important;
        top: auto !important;
        margin: 0 auto;
    }
}

/* ==========================================================================
   QUEM SOMOS / TEAM SECTION
   ========================================================================== */
.team-section {
    padding: 140px 0;
    position: relative;
    background-color: var(--bg-section-light);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

.founder-card {
    padding: 44px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

@media (max-width: 560px) {
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.founder-photo {
    width: 120px;
    height: 120px;
    flex: none;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info h3 {
    font-size: 22px;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.founder-role {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.founder-info p {
    font-size: 14.5px;
    color: #94A3B8;
    line-height: 1.65;
}

.team-description {
    width: 100%;
    margin: 60px auto 0;
    text-align: justify;
}

.team-description p {
    font-size: 15.5px;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-description p:last-child {
    margin-bottom: 0;
}

.team-description strong {
    color: #FFFFFF;
    font-weight: 700;
}

.team-description em {
    color: #CBD5E1;
    font-style: italic;
}

/* ==========================================================================
   SOLUTION SECTION
   ========================================================================== */
.solution-section {
    padding: 140px 0;
    position: relative;
    background-color: var(--bg-section-light);
}

.solution-visual {
    position: relative;
    height: 100%;
}

.solution-image-container {
    width: 100%;
    height: 100%;
    min-height: 550px;
    overflow: hidden;
    position: relative;
    border-radius: 32px;
}

@media (max-width: 992px) {
    .solution-visual {
        height: auto;
    }
    .solution-image-container {
        height: auto;
        aspect-ratio: 16/10;
        min-height: auto;
    }
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.solution-image-container:hover .solution-img {
    transform: scale(1.06);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 46, 69, 0.4) 0%, rgba(7, 13, 25, 0.1) 100%);
    z-index: 1;
}

.floating-benefit-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(10, 18, 32, 0.75);
    border-color: rgba(197, 168, 128, 0.3);
    z-index: 2;
}

.badge-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-light);
}

.badge-title {
    display: block;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.badge-desc {
    display: block;
    font-size: 12px;
    color: #94A3B8;
}

.solution-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-content .section-title {
    margin-bottom: 24px;
}

.solution-content .section-desc {
    margin: 0 0 20px 0;
    text-align: left;
    max-width: 100%;
}

.solution-paragraph {
    font-size: 16px;
    color: #94A3B8;
    margin-bottom: 40px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sol-feature-card {
    display: flex;
    gap: 20px;
}

.sol-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sol-icon i {
    width: 20px;
    height: 20px;
    color: var(--color-accent-light);
}

.sol-feature-card h4 {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.sol-feature-card p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Comparison Table inside Solution section (dark theme) */
.solution-comparison {
    margin-top: 100px;
}

.solution-comparison .comparison-heading {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 14px 0 18px;
    color: #FFFFFF;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 24px;
    padding: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 720px;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 17px;
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
}

.comparison-table td {
    font-size: 14px;
    vertical-align: top;
    color: #94A3B8;
    line-height: 1.55;
}

.comparison-table td strong {
    color: #FFFFFF;
}

.feature-name {
    font-weight: 700;
    font-size: 15px !important;
    color: #FFFFFF !important;
    width: 24%;
}

.bank-col {
    width: 38%;
}

.bricks-col {
    width: 38%;
}

.comparison-table th.bricks-col {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: #FFFFFF;
}

.highlight-cell {
    background: rgba(197, 168, 128, 0.05);
    border-left: 1px solid rgba(197, 168, 128, 0.25);
    border-right: 1px solid rgba(197, 168, 128, 0.25);
}

.comparison-table td.highlight-cell strong {
    color: var(--color-accent-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:last-child .highlight-cell {
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 16px 18px;
    }
}

/* ==========================================================================
   FLOW SECTION (GSAP SCROLL TIMELINE)
   ========================================================================== */
/* ==========================================================================
   FLOW SECTION (GSAP SCROLL TIMELINE & INTERACTIVE HOVER CONNECTORS)
   ========================================================================== */
.flow-section {
    padding: 140px 0;
    position: relative;
    background-color: var(--bg-section-light);
}

.flow-interactive-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-top: 60px;
}

/* Left Column: Timeline */
.flow-timeline-col {
    flex: 0 0 44%;
    width: 44%;
}

.flow-timeline {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding-left: 40px; /* Shifted left */
    display: flex;
    flex-direction: column;
    gap: 36px; /* Spaced out to align with larger puzzle rows */
}

.flow-line {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 20px; /* Shifted left */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.flow-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--color-accent-light), var(--color-blue-light));
    border-radius: 2px;
}

.flow-dot {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent-light);
    box-shadow: 0 0 0 5px rgba(197, 168, 128, 0.16), 0 0 20px 5px rgba(197, 168, 128, 0.65);
    pointer-events: none;
    z-index: 5;
}

.flow-step {
    position: relative;
    padding: 10px 0 10px 15px; /* Spaced vertically to balance layout */
    opacity: 0.35;
    transition: opacity 0.5s var(--transition-normal), transform 0.5s var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.flow-step:first-child { padding-top: 10px; }
.flow-step:last-child { padding-bottom: 10px; }
.flow-step.active { opacity: 1; }

.flow-step-dot-anchor {
    position: absolute;
    left: -26px; /* Centers exactly on the line at 20px */
    top: 22px; /* Aligns with step title */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s;
    z-index: 10;
}

.flow-step.active .flow-step-dot-anchor {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    box-shadow: 0 0 12px 3px rgba(197, 168, 128, 0.55);
}

.flow-step.hovered .flow-step-dot-anchor {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    box-shadow: 0 0 16px 5px rgba(197, 168, 128, 0.8);
    transform: scale(1.3);
}

.flow-step-num {
    display: block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-accent-light);
    margin-bottom: 8px;
}

.flow-step h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.flow-step p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 440px;
}

/* Right Column: Puzzle Visualisation */
.flow-puzzle-col {
    flex: 0 0 54%;
    width: 54%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.puzzle-layout-container {
    display: grid;
    grid-template-columns: 1.1fr 320px 1.1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 40px; /* Push the puzzle further down to align perfectly */
}

.puzzle-explanations {
    display: flex;
    flex-direction: column;
    gap: 40px; /* High vertical gap to align with puzzle levels */
}

.puzzle-explanations.left-side {
    align-items: flex-end;
    text-align: right;
}

.puzzle-explanations.right-side {
    align-items: flex-start;
    text-align: left;
}

.puzzle-expl-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(29, 46, 69, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 18px;
    position: relative;
    opacity: 0.35;
    transition: opacity 0.4s var(--transition-normal), 
                border-color 0.4s var(--transition-normal), 
                box-shadow 0.4s var(--transition-normal), 
                background-color 0.4s var(--transition-normal);
}

.puzzle-expl-box.active {
    opacity: 1;
    background: rgba(29, 46, 69, 0.3);
    border-color: var(--color-accent-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.puzzle-expl-box p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.puzzle-expl-box.active p {
    color: #FFFFFF;
}

/* Fluid & Smooth Capsule Connectors pointing to the puzzle pieces */
.expl-arrow {
    width: 32px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(197, 168, 128, 0.35));
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s var(--transition-normal);
    border: none !important;
}

.expl-arrow::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.5);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.4);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.expl-arrow.arrow-left {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.08), rgba(197, 168, 128, 0.35));
}

.expl-arrow.arrow-left::after {
    left: -3px;
    right: auto;
}

.puzzle-expl-box.active .expl-arrow {
    width: 42px;
    background: linear-gradient(90deg, rgba(197, 168, 128, 0.3), var(--color-accent-light));
    box-shadow: 0 0 12px rgba(197, 168, 128, 0.3);
}

.puzzle-expl-box.active .expl-arrow.arrow-left {
    background: linear-gradient(270deg, rgba(197, 168, 128, 0.3), var(--color-accent-light));
}

.puzzle-expl-box.active .expl-arrow::after {
    transform: scale(1.4);
    background: #FFFFFF;
    box-shadow: 0 0 14px #FFFFFF, 0 0 25px rgba(197, 168, 128, 0.9);
}

/* Center Puzzle Graphic Board */
.puzzle-graphic-wrapper {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.puzzle-board {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.puzzle-piece {
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.4s var(--transition-normal), filter 0.4s var(--transition-normal);
}

.puzzle-piece .piece-path {
    fill: rgba(29, 46, 69, 0.35);
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.4s, stroke 0.4s;
}

.puzzle-piece .piece-text {
    fill: #94A3B8;
    font-size: 8.5px;
    font-weight: 700;
    font-family: var(--font-title);
    text-anchor: middle;
    letter-spacing: 0.25px;
    pointer-events: none;
    transition: fill 0.4s;
}

/* Active puzzle states */
.puzzle-piece.active {
    opacity: 1;
    filter: drop-shadow(0 4px 15px rgba(197, 168, 128, 0.25));
}

.puzzle-piece.active .piece-path {
    fill: url(#puzzle-gold);
    stroke: var(--color-accent-light);
    stroke-width: 1.8px;
}

.puzzle-piece.active .piece-text {
    fill: #070D19; /* Dark contrast text on active gold piece */
}

/* Central logo overlay */
.puzzle-center-logo {
    pointer-events: none;
}

.puzzle-center-logo circle {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.puzzle-center-logo .logo-text {
    fill: #FFFFFF;
    font-size: 6.5px;
    font-weight: 800;
    font-family: var(--font-title);
    text-anchor: middle;
    letter-spacing: 0.25px;
}

/* SVG Overlay & Connector Path */
.flow-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.flow-connector-path {
    fill: none;
    stroke: url(#connector-grad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 8, 8;
    filter: drop-shadow(0 0 6px rgba(197, 168, 128, 0.4)) drop-shadow(0 0 15px rgba(75, 125, 191, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flow-connector-path.visible {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .flow-interactive-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .flow-timeline-col,
    .flow-puzzle-col {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .flow-svg-overlay {
        display: none;
    }
    
    .puzzle-layout-container {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        margin-top: 0; /* Reset desktop margin on mobile */
    }
    
    .puzzle-explanations {
        gap: 16px;
        width: 100%;
    }
    
    .puzzle-explanations.left-side {
        align-items: center;
        text-align: center;
        order: 2;
    }
    
    .puzzle-explanations.right-side {
        align-items: center;
        text-align: center;
        order: 3;
    }
    
    .puzzle-graphic-wrapper {
        order: 1;
        width: 240px;
        height: 240px;
    }
    
    .expl-arrow {
        display: none;
    }
    
    .puzzle-expl-box {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        opacity: 0.8;
    }

    .flow-step {
        height: auto !important;
        padding: 20px 0 20px 15px !important;
    }
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */
.comparison-section {
    padding: 140px 0;
    background: #16273F;
}

.comparison-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: #64748B;
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: #FFFFFF;
}

.comparison-toggle-btn {
    width: 60px;
    height: 32px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.toggle-circle {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: var(--transition-normal);
}

.comparison-toggle-btn.active {
    background: rgba(197, 168, 128, 0.2);
    border-color: var(--color-accent-light);
}

.comparison-toggle-btn.active .toggle-circle {
    left: 30px;
    background: var(--color-accent-light);
    box-shadow: 0 0 10px var(--color-accent-light);
}

.comparison-cards-holder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 860px) {
    .comparison-cards-holder {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

.comparison-card {
    width: auto;
    height: auto;
    padding: 48px;
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.card-header-comp {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
}

.comp-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.badge-red {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: var(--color-danger);
}

.badge-gold {
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--color-accent-light);
}

.card-header-comp h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.card-header-comp .subtitle {
    font-size: 14px;
    color: #94A3B8;
}

.comp-main-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 32px;
}

@media (max-width: 576px) {
    .comp-main-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.comp-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comp-val {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.comp-lbl {
    font-size: 12px;
    color: #94A3B8;
}

.comp-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.comp-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.detail-label {
    color: #94A3B8;
}

.detail-value {
    font-weight: 600;
    color: #FFFFFF;
}

.highlight-red {
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
}

.highlight-red .detail-value {
    color: var(--color-danger);
    font-size: 16px;
}

.highlight-gold {
    border-bottom: 1px solid rgba(197, 168, 128, 0.4);
}

.highlight-gold .detail-value {
    font-size: 16px;
    text-shadow: 0 0 10px rgba(197, 168, 128, 0.2);
}

.comp-footer-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.red-alert {
    background: rgba(225, 29, 72, 0.05);
    border: 1px solid rgba(225, 29, 72, 0.15);
    color: #FDA4AF;
}

.red-alert i {
    color: var(--color-danger);
    flex-shrink: 0;
}

.gold-alert {
    background: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.15);
    color: #FDE047;
}

.gold-alert i {
    color: var(--color-accent-light);
    flex-shrink: 0;
}

/* ==========================================================================
   SIMULATOR DASHBOARD
   ========================================================================== */
.simulator-section {
    padding: 40px 0; /* Reduced padding from 110px to save height */
    background-color: var(--bg-section-light);
}

.simulator-section .section-intro {
    margin-bottom: 12px;
}

.simulator-section .section-desc {
    margin-bottom: 24px;
}

.simulator-dashboard {
    padding: 24px; /* Reduced padding from 36px to save height */
    box-shadow: var(--blue-glow);
}

@media (max-width: 992px) {
    .simulator-dashboard {
        padding: 24px 20px;
    }
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Reduced from 60px to save space */
}

@media (max-width: 992px) {
    .sim-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.sim-inputs-panel h3,
.sim-outputs-panel h3 {
    font-size: 18px; /* Slightly smaller h3 */
    margin-bottom: 12px; /* Reduced from 22px to save height */
    letter-spacing: -0.01em;
}

.input-group {
    margin-bottom: 12px; /* Reduced from 18px */
}

.input-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px; /* Reduced from 12px */
}

.input-labels label {
    font-size: 13.5px;
    font-weight: 600;
    color: #94A3B8;
}

.input-value-bubble {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent-light);
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 3px 10px;
    border-radius: 50px;
}

/* Range Slider Styles */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; /* Slightly smaller thumb */
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    cursor: pointer;
    box-shadow: var(--gold-glow);
    transition: transform 0.1s, box-shadow 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--gold-glow-strong);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    cursor: pointer;
    border: none;
    box-shadow: var(--gold-glow);
    transition: transform 0.1s, box-shadow 0.1s;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--gold-glow-strong);
}

.range-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #64748B;
    margin-top: 6px;
}

.sim-net-result {
    padding: 12px 16px; /* Reduced from 18px */
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 15px;
}

.res-lbl {
    font-size: 12px;
    color: #94A3B8;
}

.res-val {
    font-family: var(--font-title);
    font-size: 24px; /* Reduced from 28px */
    font-weight: 800;
}

/* Simulator Output Columns */
.chart-comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced from 18px */
    margin-bottom: 12px; /* Reduced from 20px */
}

.chart-label-group {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 6px;
}

.chart-label-group span {
    color: #94A3B8;
}

.chart-label-group strong {
    color: #FFFFFF;
}

.bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-bank {
    background: rgba(225, 29, 72, 0.7);
}

.fill-bricks {
    background: var(--color-gold-gradient);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.3);
}

.savings-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px; /* Reduced from 20px */
}

@media (max-width: 576px) {
    .savings-highlights-grid {
        grid-template-columns: 1fr;
    }
}

.savings-card {
    padding: 12px 16px; /* Reduced from 18px 20px */
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2px; /* Reduced from 4px */
    position: relative;
}

.sav-title {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sav-val {
    font-family: var(--font-title);
    font-size: 20px; /* Reduced from 24px */
    font-weight: 800;
    color: #FFFFFF;
}

.sav-badge {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--color-accent-light);
    margin-top: 2px;
}

.sav-lbl {
    font-size: 10.5px;
    color: #64748B;
    line-height: 1.4;
    margin-top: 2px;
}

@keyframes pulse {
    0% { border-color: rgba(197, 168, 128, 0.15); }
    50% { border-color: rgba(197, 168, 128, 0.35); box-shadow: 0 0 15px rgba(197, 168, 128, 0.08); }
    100% { border-color: rgba(197, 168, 128, 0.15); }
}

.animate-pulse {
    animation: pulse 3s infinite ease-in-out;
}

/* ==========================================================================
   SECURITY & GOVERNANCE SECTION
   ========================================================================== */
.security-section {
    padding: 90px 0 110px 0;
    background-color: var(--bg-section-light);
    position: relative;
    z-index: 2;
    scroll-margin-top: 90px;
}

/* Safety Repagined Layout */
.safety-repagined-layout {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.safety-top-header {
    margin-bottom: 8px;
}

.safety-icon-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--color-accent-light);
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.15);
}

.safety-icon-center i {
    width: 28px;
    height: 28px;
}

.safety-top-header h3 {
    font-size: 26px;
    font-family: var(--font-title);
    color: #FFFFFF;
    margin-bottom: 10px;
}

.safety-top-subtitle {
    color: #94A3B8;
    font-size: 15.5px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2x2 Structured Benefits Grid */
.safety-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 168, 128, 0.35);
    background: rgba(197, 168, 128, 0.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(197, 168, 128, 0.1);
}

.benefit-card .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--color-accent-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-card .benefit-icon i {
    width: 22px;
    height: 22px;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.benefit-text strong {
    font-family: var(--font-title);
    font-size: 17px;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.benefit-text p {
    font-size: 13.5px;
    color: #CBD5E1;
    line-height: 1.55;
    margin: 0;
}

/* Middle description text paragraph */
/* Middle description text banner horizontally spanning above Liquidez Consciente */
.safety-middle-desc {
    width: 100%;
    margin: 36px 0 40px 0;
    padding: 24px 36px;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-left: 4px solid var(--color-accent-light);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.safety-middle-desc p {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    text-align: center;
}

/* Liquidez Consciente Architectural Temple Box */
.liquidez-architectural-box {
    padding: 44px 48px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.liquidez-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.liq-subtitle-centered {
    font-family: var(--font-title);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.liq-title-main-centered {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* Reeducando o Mercado Section & Infographic Display */
.reeducando-mercado-section {
    padding: 48px 40px;
    width: 100%;
    position: relative;
    border-radius: 24px;
    background: rgba(11, 19, 43, 0.7);
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(197, 168, 128, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reeducando-header {
    margin-bottom: 36px;
    max-width: 820px;
}

.reeducando-subtitle {
    font-family: var(--font-title);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-accent-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.reeducando-title {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.reeducando-desc {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/* Infographic Image Container Frame */
.reeducando-image-container {
    width: 100%;
    max-width: 780px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.reeducando-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(197, 168, 128, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reeducando-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(197, 168, 128, 0.25);
}

.reeducando-infographic-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}
    border: 1.5px solid rgba(197, 168, 128, 0.5);
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.01);
}

.rm-room {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 40px 34px;
    transition: background 0.3s ease;
}

.rm-room:hover {
    background: rgba(197, 168, 128, 0.04);
}

.rm-room-1 {
    grid-area: r1;
    border-right: 1px solid rgba(197, 168, 128, 0.28);
    border-bottom: 1px solid rgba(197, 168, 128, 0.28);
    padding-right: 120px;
}

.rm-room-2 {
    grid-area: r2;
    border-right: 1px solid rgba(197, 168, 128, 0.28);
    padding-right: 120px;
}

.rm-room-3 {
    grid-area: r3;
    border-bottom: 1px solid rgba(197, 168, 128, 0.28);
    padding-left: 120px;
}

.rm-room-4 {
    grid-area: r4;
    padding-left: 120px;
}

.rm-passo-badge {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.45);
    border-radius: 999px;
    padding: 6px 18px;
}

.rm-room p {
    font-size: 14px;
    line-height: 1.65;
    color: #CBD5E1;
    margin: 0;
}

/* Center emblem at the intersection of the four rooms */
.rm-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(circle, rgba(11, 19, 43, 1) 55%, rgba(11, 19, 43, 0.92) 100%);
    border: 1px solid rgba(197, 168, 128, 0.35);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(197, 168, 128, 0.12);
}

.rm-emblem-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
    background: rgba(197, 168, 128, 0.08);
    border: 1.5px solid rgba(197, 168, 128, 0.6);
}

.rm-emblem-circle i {
    width: 26px;
    height: 26px;
}

.rm-emblem-label {
    font-family: var(--font-title);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
    color: var(--color-accent-light);
}

@media (max-width: 860px) {
    .rm-house-box {
        padding: 32px 20px 40px;
    }

    .rm-house-title {
        font-size: 22px;
    }

    .rm-roof {
        height: 90px;
    }

    .rm-body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "r1"
            "r2"
            "e"
            "r3"
            "r4";
    }

    .rm-room-1,
    .rm-room-2,
    .rm-room-3,
    .rm-room-4 {
        border-right: none;
        border-bottom: 1px solid rgba(197, 168, 128, 0.28);
        padding: 26px 22px;
    }

    .rm-room-4 {
        border-bottom: none;
    }

    .rm-emblem {
        position: static;
        transform: none;
        grid-area: e;
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(197, 168, 128, 0.28);
        box-shadow: none;
        padding: 26px 0;
        margin: 0;
    }
}

.foundation-pillar-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.foundation-pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 168, 128, 0.4);
    background: rgba(197, 168, 128, 0.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(197, 168, 128, 0.15);
}

.foundation-pillar-card.highlight-pillar {
    border-color: rgba(197, 168, 128, 0.3);
    background: rgba(197, 168, 128, 0.025);
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.08);
}

.pillar-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pillar-step-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: var(--color-blue-dark);
    background: var(--color-gold-gradient);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.4);
}

.pillar-metric-tag {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.green-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.gold-tag {
    background: rgba(197, 168, 128, 0.12);
    color: var(--color-accent-light);
    border: 1px solid rgba(197, 168, 128, 0.25);
}

.blue-tag {
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.pillar-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(197, 168, 128, 0.08);
    color: var(--color-accent-light);
    margin-bottom: 16px;
}

.pillar-icon-box i {
    width: 22px;
    height: 22px;
}

.foundation-pillar-card h4 {
    font-family: var(--font-title);
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.foundation-pillar-card p {
    font-size: 12.5px;
    color: #CBD5E1;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness for Pillars Grid */
@media (max-width: 992px) {
    .pillars-foundation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .liquidez-architectural-box {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .pillars-foundation-grid {
        grid-template-columns: 1fr;
    }
}

.graphic-center-house {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.house-outline-svg {
    width: 100%;
    max-width: 130px;
    height: auto;
    overflow: visible;
}

.core-pulse-glow {
    transform-origin: 80px 75px;
    animation: core-breath 3s ease-in-out infinite;
}

@keyframes core-breath {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.12); opacity: 0.3; }
}

.particle-float-1 {
    animation: particle-rise 2.5s ease-in-out infinite;
}

.particle-float-2 {
    animation: particle-rise 2.5s ease-in-out infinite 0.6s;
}

@keyframes particle-rise {
    0% { transform: translateY(0); opacity: 0.8; }
    100% { transform: translateY(-8px); opacity: 0; }
}

.shield-pulse-core {
    transform-origin: 80px 75px;
    animation: shield-glow-pulse 3s ease-in-out infinite;
}

@keyframes shield-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(197, 168, 128, 0.4)); }
    50% { filter: drop-shadow(0 0 10px rgba(197, 168, 128, 0.9)); }
}

.house-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -26px;
    text-align: center;
    pointer-events: none;
}

.house-label-top {
    font-size: 10px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.house-label-bottom {
    font-size: 10px;
    font-weight: 800;
    color: var(--color-accent-light);
    letter-spacing: 0.5px;
}

.liquidez-consciente-box {
    padding: 36px;
    height: 100%;
}

.liquidez-consciente-box h3 {
    font-size: 19px;
    font-family: var(--font-title);
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.folego-dashboard {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.folego-scenario {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scenario-title {
    font-size: 11.5px;
    font-family: var(--font-title);
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.scenario-status {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.status-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    animation: alert-blink 2s infinite;
}

.status-healthy {
    background: rgba(16, 185, 129, 0.08);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.folego-progress-wrapper {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.folego-progress-bar {
    height: 100%;
    border-radius: 20px;
}

.bar-trap {
    width: 15%;
    background: linear-gradient(90deg, #991B1B 0%, #EF4444 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.bar-conscious {
    width: 90%;
    background: linear-gradient(90deg, #9E7D49 0%, #C5A880 100%);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.35);
    animation: bar-pulse 2.5s infinite ease-in-out;
}

.folego-percent {
    position: absolute;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.scenario-desc {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0;
}

@keyframes alert-blink {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.45; }
}

@keyframes bar-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); box-shadow: 0 0 20px rgba(197, 168, 128, 0.5); }
}

.liquidez-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.liquidez-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 12px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.liquidez-card:hover {
    border-color: rgba(197, 168, 128, 0.25);
    background: rgba(197, 168, 128, 0.02);
    transform: translateY(-2px);
}

.liquidez-card .step-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.liquidez-card h4 {
    font-family: var(--font-title);
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.liquidez-card p {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .safety-benefits-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 24px;
    }
    
    .liquidez-consciente-fullbox {
        padding: 30px 20px;
    }
    
    .liquidez-consciente-fullbox .liquidez-graphic-layout {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
    }
    
    .liquidez-consciente-fullbox .graphic-center-house {
        order: -1;
    }
    
    .liquidez-consciente-fullbox .liquidez-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .liquidez-consciente-fullbox .liquidez-header h3 {
        font-size: 18px;
    }
}



/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 80px 0 120px 0;
    background-color: var(--bg-section-light);
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info .section-title {
    margin-bottom: 24px;
}

.contact-info .section-desc {
    text-align: left;
    margin: 0 0 40px 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
}

.contact-item span {
    display: block;
    font-size: 12px;
    color: #64748B;
}

.contact-item strong {
    display: block;
    font-family: var(--font-title);
    font-size: 18px;
    color: #FFFFFF;
}

/* Contact Form */
.contact-form-container {
    padding: 48px;
    box-shadow: var(--gold-glow);
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 30px 20px;
    }
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-header p {
    font-size: 13.5px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.agency-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 48px;
}

.form-group select option {
    background-color: #0c1424;
    color: #FFFFFF;
}

.form-group select option:disabled {
    color: #64748B;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent-light);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.10);
    outline: none;
}

.form-group input[readonly] {
    background: rgba(255, 255, 255, 0.01) !important;
    border-color: rgba(255, 255, 255, 0.04);
    color: var(--color-accent-light);
    cursor: not-allowed;
}

.form-group input[readonly]:focus {
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.01) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

/* Form Success State */
.form-success-state {
    text-align: center;
    padding: 40px 20px;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
}

.success-icon-wrapper i {
    width: 40px;
    height: 40px;
    color: var(--color-success);
}

.form-success-state h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.form-success-state p {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.agency-footer {
    background-color: #040810;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand-side .brand-name {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-brand-side p {
    color: #64748B;
    font-size: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 576px) {
    .footer-links-side {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: #64748B;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #475569;
}

@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



/* ==========================================================================
   ELIGIBLE PROPERTIES SECTION
   ========================================================================== */
.properties-eligible-section {
    padding: 140px 0;
    position: relative;
    background-color: var(--bg-section-light);
    border-top: 1px solid var(--border-color);
}

.eligible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.eligible-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(29, 46, 69, 0.15);
    border: 1px solid var(--border-color);
    transition: transform 0.4s var(--transition-normal), 
                box-shadow 0.4s var(--transition-normal), 
                border-color 0.4s var(--transition-normal);
}

.eligible-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--blue-glow);
}

.eligible-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.eligible-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eligible-card:hover .eligible-img {
    transform: scale(1.08);
}

.eligible-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(7, 13, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent-light);
    color: var(--color-accent-light);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.eligible-content {
    padding: 28px;
}

.eligible-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #FFFFFF;
    font-family: var(--font-title);
}

.eligible-content p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.eligible-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.eligible-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CBD5E1;
    font-size: 13px;
}

.eligible-details li i {
    width: 16px;
    height: 16px;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

/* Responsividade */
@media (max-width: 992px) {
    .eligible-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .properties-eligible-section {
        padding: 100px 0;
    }
}

@media (max-width: 576px) {
    .eligible-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .eligible-image-wrapper {
        height: 180px;
    }
    
    .eligible-content p {
        height: auto;
        -webkit-line-clamp: unset;
    }
}

/* Simulator Footnote */
.simulator-footnote {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: #64748B;
    line-height: 1.6;
    max-width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .simulator-footnote {
        font-size: 10px;
        margin-top: 16px;
        padding-top: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   NATIONAL PRESENCE SECTION
   ========================================================================== */
.presence-section {
    padding: 140px 0;
    background-color: var(--bg-section-light);
    position: relative;
    overflow: hidden;
}

.cities-list-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.city-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    cursor: pointer;
}

.city-item:hover, .city-item.active {
    background: rgba(197, 168, 128, 0.06);
    border-color: rgba(197, 168, 128, 0.35);
    transform: translateX(6px);
}

.city-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-light);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--color-accent-light);
}

.city-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.city-item p {
    font-size: 12.5px;
    color: #CBD5E1;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   INTERACTIVE BRAZIL MAP
   ========================================================================== */
.presence-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 40px auto 0;
}

.brazil-map {
    width: 100%;
}

.br-map-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* State outlines */
.br-state {
    fill: rgba(55, 105, 163, 0.03);
    stroke: rgba(201, 172, 132, 0.8);
    stroke-width: 1.3;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: fill 0.4s ease, stroke 0.4s ease;
}

.brazil-map:hover .br-state {
    stroke: rgba(220, 195, 158, 0.95);
}

/* Map Presence Pins */
.presence-pin-center {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), fill 0.2s ease;
}

.presence-pin:hover .presence-pin-center {
    transform: scale(1.4);
    fill: #FFFFFF !important;
}

/* ==========================================================================
   ANIMATED SVG BANNER KEYFRAMES & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes shield-pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(197, 168, 128, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px rgba(197, 168, 128, 0.8));
    }
}

@keyframes wave-slide {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -40;
    }
}

@keyframes chart-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.vector-shield {
    transform-origin: 50px 50px;
    animation: shield-pulse-glow 3s ease-in-out infinite;
}

.vector-wave-1 {
    stroke-dasharray: 8, 4;
    animation: wave-slide 5s linear infinite;
}

.vector-wave-2 {
    stroke-dasharray: 12, 6;
    animation: wave-slide 8s linear infinite reverse;
}

.vector-chart {
    transform-origin: 340px 50px;
    animation: chart-pulse 2.5s ease-in-out infinite;
}

.liquidez-card .step-num {
    transition: transform 0.3s var(--transition-normal), text-shadow 0.3s var(--transition-normal);
}

.liquidez-card:hover .step-num {
    text-shadow: 0 0 8px rgba(197, 168, 128, 0.6);
    transform: translateX(4px);
}

/* ==========================================================================
   TRUSTED COMPANIES CAROUSEL SECTION
   ========================================================================== */
.trusted-companies-section {
    padding: 85px 0 95px 0;
    background: var(--bg-section-light);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.trusted-carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
    position: relative;
    padding: 15px 0;
}

/* Fade Edges for Smooth Infinite Loop */
.trusted-carousel-container::before,
.trusted-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.trusted-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, #284166 0%, rgba(40, 65, 102, 0) 100%);
}

.trusted-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, #284166 0%, rgba(40, 65, 102, 0) 100%);
}

.trusted-carousel-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: trusted-marquee 28s linear infinite;
}

.trusted-carousel-container:hover .trusted-carousel-track {
    animation-play-state: paused;
}

@keyframes trusted-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

.trusted-logo-card {
    background: #FFFFFF;
    border-radius: 16px;
    width: 220px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.trusted-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 168, 128, 0.35);
    border-color: var(--color-accent-light);
}

.trusted-logo-card img {
    max-width: 168px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.trusted-logo-card img.proquality-img {
    max-width: 184px;
    max-height: 64px;
    transform: scale(1.12);
}

.trusted-logo-card img.b2btrade-img {
    max-width: 184px;
    max-height: 64px;
    transform: scale(1.12);
}

.trusted-logo-card img.easyflow-img {
    max-width: 180px;
    max-height: 62px;
    transform: scale(1.08);
}

.trusted-logo-card img.iridium-img {
    max-width: 188px;
    max-height: 66px;
    transform: scale(1.1);
}

.trusted-logo-card img.liloo-img {
    max-width: 175px;
    max-height: 60px;
    transform: scale(1.05);
}

.trusted-logo-card img.fratelli-img {
    max-width: 184px;
    max-height: 64px;
    transform: scale(1.08);
}

/* Card variant for dark background logo (Iridium) */
.trusted-logo-card.card-dark-logo {
    background: #232E3C !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.trusted-logo-card.card-dark-logo:hover {
    background: #232E3C !important;
    border-color: var(--color-accent-light);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 22px rgba(197, 168, 128, 0.4);
}

