/* --- GLOBAL RESET & THEME --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    height: 100%;
    scroll-restoration: manual;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    height: auto;
    padding: 20px;
    overflow-x: hidden;
    color: #f1f5f9;
    transition: all 0.5s ease;
    scroll-behavior: auto;
}

/* Body quando mostra Vision4D */
body.vision4d-active {
    background: #0F0F23;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 0;
    scroll-behavior: auto;
    height: auto;
    min-height: 100vh;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

/* --- LANGUAGE TOGGLE BUTTON --- */
.lang-toggle-button {
    position: fixed;
    top: 20px;
    right: 30px;
    background-color: #fff;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100; /* Aumentado para estar acima de tudo */
    transition: all 0.3s ease;
}

.lang-toggle-button:hover {
    background-color: #4f46e5;
    color: #fff;
}

/* Estilo do botão na página escura */
body.vision4d-active .lang-toggle-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

body.vision4d-active .lang-toggle-button:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* --- WRAPPERS FOR PAGES --- */
#calculator-page {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
    min-height: auto;
    height: auto;
}

#calculator-page.hidden {
    display: none !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

#vision4d-landing-page {
    display: none;
    opacity: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0F0F23;
    color: #f1f5f9;
    transition: opacity 0.5s ease;
    min-height: 100vh;
    height: auto;
}

#vision4d-landing-page.active {
    display: block !important;
    opacity: 1;
}

#vision4d-landing-page.hidden {
    display: none !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* --- CALCULATOR CONTAINER --- */
.calculator-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* --- HEADER SECTION (CALCULATOR) --- */
.header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background: white;
    z-index: 10;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-left: 150px;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.header p {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
}

.logo-container {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.logo-container img {
    height: 190px;
    width: auto;
}

/* --- MAIN CONTENT LAYOUT (CALCULATOR) --- */
.main-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    padding: 40px;
    min-height: 600px;
}

/* --- INPUT SECTION (CALCULATOR) --- */
.input-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #4f46e5;
    height: fit-content;
}

.input-section h2 {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* --- DELAY SCENARIOS SECTION (CALCULATOR) --- */
.scenarios-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e5e7eb;
}

.scenarios-section h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.scenario-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.scenario-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scenario-input-group label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
    text-align: center;
}

.scenario-inputs input {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    background: #fff3cd;
    color: #856404;
    min-width: 80px;
}

.scenario-inputs input:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

/* --- RESULTS SECTION (CALCULATOR) --- */
.results-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.results-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin: 0;
}

/* --- SUMMARY CARDS (CALCULATOR) --- */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #4f46e5;
}

.summary-card h4 {
    color: #374151;
    font-size: 14px;
    margin-bottom: 10px;
}

.summary-card .value {
    color: #1e293b;
    font-size: 18px;
    font-weight: bold;
}

/* --- RESULTS TABLE (CALCULATOR) --- */
.table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.results-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    background: white;
}

.results-table th {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 15px 12px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.results-table td {
    color: #333;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    white-space: nowrap;
}

.results-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.results-table tr:hover {
    background-color: #e0e7ff;
    transition: all 0.3s ease;
}

/* --- CHART (CALCULATOR) --- */
.chart-container {
    flex: 1;
    text-align: center;
    min-height: 450px;
}

.chart-container h3 {
    color: #1e293b;
    margin-bottom: 20px;
}

.chart {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 30px;
    height: 400px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 80px 20px 50px 20px;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: visible;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.bar {
    width: 70px;
    background: linear-gradient(to top, #4f46e5, #7c3aed);
    border-radius: 6px 6px 0 0;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    max-height: 250px;
    min-height: 30px;
    margin: 0 auto;
}

.bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.bar-label {
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: bold;
    color: #1e293b;
    white-space: nowrap;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 160px;
    text-align: center;
    z-index: 1;
}

.bar-day {
    margin-top: 15px;
    font-weight: bold;
    color: #4f46e5;
    font-size: 14px;
}

.bar-day::after {
    content: ' dias';
    font-size: 12px;
    color: #6b7280;
}

/* --- INSTRUCTIONS SECTION (CALCULATOR) --- */
.instructions {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.instructions h3 {
    color: #1e40af;
    margin-bottom: 15px;
}

.instructions ul {
    color: #1e40af;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* --- CALL TO ACTION (CTA) SECTION (CALCULATOR) --- */
.cta-section-calculator {
    background: #141e52;
    color: white;
    padding: 40px;
    text-align: center;
    scroll-margin-top: 20px; /* Añade margen superior cuando se hace scroll a esta sección */
}

.cta-section-calculator h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section-calculator p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    background: #ffffff;
    color: #141e52;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.svisuals-logo-footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    width: 200px;
    max-width: 30vw;
    transition: opacity 0.3s ease;
}

.svisuals-logo-footer.hidden {
    opacity: 0;
    pointer-events: none;
}

.svisuals-logo-footer img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.svisuals-logo-footer img:hover {
    opacity: 1;
}

/* --- VISION4D NOW LANDING PAGE SPECIFIC STYLES --- */
#vision4d-landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#vision4d-landing-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- BACK BUTTON --- */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* —————————— ANIMAÇÃO AO ROLAR —————————— */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* —————————— HERO —————————— */
#vision4d-landing-page .hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 10rem 0;
}

#vision4d-landing-page .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(92, 45, 145, .15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(65, 105, 225, .15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse { 
    0%,100%{opacity:.8;} 
    50%{opacity:1;} 
}

#vision4d-landing-page .hero-content { 
    z-index: 1; 
    max-width: 56rem; 
    margin: 0 auto; 
}

#vision4d-landing-page .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.1; 
    letter-spacing: -0.02em;
}

#vision4d-landing-page .hero-subtitle { 
    font-size: 1.4rem; 
    margin-bottom: 1rem; 
    opacity:.9; 
    color: #f1f5f9; 
}

#vision4d-landing-page .hero-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #5C2D91 0%, #4169E1 100%);
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    margin-bottom: 4rem;
}

#vision4d-landing-page .hero-stats { 
    display: flex; 
    justify-content: center; 
    gap: 3.5rem; 
    flex-wrap: wrap; 
}

#vision4d-landing-page .stat-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    text-align:center;
    transition: .3s;
}

#vision4d-landing-page .stat-item:hover { 
    transform: translateY(-5px); 
    background: rgba(255,255,255,.12); 
    box-shadow: 0 20px 40px rgba(0,0,0,.3); 
}

#vision4d-landing-page .stat-number {
    font-size: 2.5rem; 
    font-weight: 700; 
    display:block; 
    margin-bottom:.5rem;
    background: linear-gradient(135deg, #5C2D91 0%, #4169E1 100%);
    -webkit-background-clip:text; 
    background-clip:text; 
    -webkit-text-fill-color:transparent;
}

#vision4d-landing-page .stat-label { 
    font-size: 1rem; 
    font-weight:500; 
    opacity:.8; 
}

/* —————————— VIDEO —————————— */
#vision4d-landing-page .video-section { 
    padding: 9rem 0; 
    background: linear-gradient(180deg, #0F0F23 0%, #1A1A3A 100%); 
    text-align:center; 
}

#vision4d-landing-page .section-title {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing:-.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #5C2D91 0%, #4169E1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#vision4d-landing-page .section-subtitle { 
    font-size: 1.35rem; 
    color:#f1f5f9; 
    margin: 0 auto 5rem; 
    max-width: 40rem; 
}

#vision4d-landing-page .video-wrapper {
    max-width: 75rem;
    margin:0 auto;
    position:relative;
    border-radius: 1.75rem;
    overflow:hidden;
    box-shadow: 0 50px 120px rgba(0,0,0,.15), 0 20px 60px rgba(0,0,0,.1);
    aspect-ratio: 16/9;
}

#vision4d-landing-page .video-placeholder { 
    aspect-ratio: 16/9; 
    background: linear-gradient(135deg,#1a1a1a 0%,#2a2a2a 100%); 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer; 
    position:relative; 
    transition:.4s; 
    width: 100%;
    height: 100%;
}

#vision4d-landing-page .video-player-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    border-radius: 1.75rem;
    overflow: hidden;
}

#vision4d-landing-page .video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.75rem;
}

#vision4d-landing-page .video-placeholder:hover { 
    transform: scale(1.02); 
}

#vision4d-landing-page .video-placeholder::before { 
    content:''; 
    position:absolute; 
    top:50%; 
    left:50%; 
    width:200px; 
    height:200px; 
    transform:translate(-50%,-50%); 
    background: radial-gradient(circle, rgba(92, 45, 145, .3) 0%, transparent 70%); 
    border-radius:50%; 
    animation: ripple 3s ease-in-out infinite; 
}

@keyframes ripple { 
    0%{transform:translate(-50%,-50%) scale(.8); opacity:1;}
    100%{transform:translate(-50%,-50%) scale(1.2); opacity:0;}
}

#vision4d-landing-page .play-button {
    width:110px;
    height:110px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2.5rem;
    color:#fff;
    background:linear-gradient(135deg,#5C2D91 0%, #4169E1 100%);
    border:none;
    cursor:pointer;
    box-shadow:0 25px 50px rgba(92, 45, 145, .4);
    transition:.3s;
    position:relative;
    z-index:2;
}

#vision4d-landing-page .play-button:hover { 
    transform:scale(1.15); 
    box-shadow:0 30px 60px rgba(92, 45, 145, .5); 
}

#vision4d-landing-page .play-button::before { 
    content:''; 
    position:absolute; 
    inset:-10px; 
    border:2px solid rgba(92, 45, 145, .5); 
    border-radius:50%; 
    animation: pulseRing 2s ease-in-out infinite; 
}

@keyframes pulseRing { 
    0%{transform:scale(.8); opacity:1;}
    100%{transform:scale(1.2); opacity:0;}
}

/* —————————— BUTTONS —————————— */
#vision4d-landing-page .btn { 
    padding:1.5rem 3rem; 
    border:none; 
    border-radius:50px; 
    font-size:1.1rem; 
    font-weight:600; 
    display:inline-flex; 
    align-items:center; 
    gap:.75rem; 
    justify-content:center; 
    cursor:pointer; 
    transition:.3s; 
    font-family:inherit; 
    min-width:260px; 
}

#vision4d-landing-page .btn-primary{
    background:linear-gradient(135deg,#5C2D91 0%, #4169E1 100%); 
    color:#fff; 
    box-shadow:0 15px 35px rgba(92, 45, 145, .4);
} 

#vision4d-landing-page .btn-primary:hover{
    transform:translateY(-3px); 
    box-shadow:0 20px 45px rgba(92, 45, 145, .5);
}

#vision4d-landing-page .btn-secondary{
    background:rgba(255,255,255,.1); 
    color:#fff; 
    border:2px solid rgba(92, 45, 145, .3); 
    backdrop-filter:blur(10px);
} 

#vision4d-landing-page .btn-secondary:hover{
    background:rgba(255,255,255,.2); 
    transform:translateY(-3px);
}

#vision4d-landing-page .btn-close{
    background:#34495e; 
    color:#fff; 
    padding:.75rem 2rem; 
    min-width:auto;
} 

#vision4d-landing-page .btn-close:hover{
    background:#2c3e50;
}

/* —————————— BENEFITS —————————— */
#vision4d-landing-page .benefits { 
    padding:9rem 0; 
    background: linear-gradient(180deg, #1A1A3A 0%, #0F0F23 100%); 
    position:relative; 
}

#vision4d-landing-page .benefits::before{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 20% 80%,rgba(92, 45, 145, .05)0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(65, 105, 225, .05)0%,transparent 50%);
    pointer-events:none;
}

#vision4d-landing-page .benefits-grid { 
    display:grid; 
    grid-template-columns:repeat(auto-fit,minmax(20rem,1fr)); 
    gap:3.125rem; 
    margin-top:5rem; 
    position:relative; 
    z-index:1; 
}

#vision4d-landing-page .benefit-card { 
    background:#1a1a1a; 
    border-radius:1.75rem; 
    padding:4rem 3rem; 
    text-align:center; 
    border:1px solid rgba(92, 45, 145, .05); 
    box-shadow:0 25px 70px rgba(0,0,0,.08); 
    transition:.4s; 
    overflow:hidden; 
    position:relative; 
    color:#f1f5f9; 
}

#vision4d-landing-page .benefit-card::before{
    content:'';
    position:absolute;
    inset:0;
    height:4px;
    background:linear-gradient(135deg,#5C2D91 0%, #4169E1 100%);
    transform:scaleX(0);
    transition:.4s; 
    transform-origin:left;
}

#vision4d-landing-page .benefit-card:hover::before{
    transform:scaleX(1);
} 

#vision4d-landing-page .benefit-card:hover{
    transform:translateY(-12px); 
    box-shadow:0 35px 90px rgba(0,0,0,.15);
}

#vision4d-landing-page .benefit-icon{
    font-size:3.5rem;
    margin-bottom:1.875rem;
    display:block;
    background:linear-gradient(135deg,#5C2D91 0%,#4169E1 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-8px);}
}

#vision4d-landing-page .benefit-title{
    font-size:1.6rem;
    font-weight:700;
    margin-bottom:1rem; 
    color:#ffffff;
}

#vision4d-landing-page .benefit-text{
    font-size:1.1rem;
    color:#f1f5f9;
    line-height:1.8;
}

/* —————————— ROI SECTION —————————— */
#vision4d-landing-page .roi-call{
    padding:7rem 0;
    background:linear-gradient(135deg,#0a0a0a 0%,#1a1a1a 100%);
    color:#fff;
    text-align:center;
    position:relative;
}

#vision4d-landing-page .roi-call::before{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 30% 70%,rgba(92, 45, 145, .15)0%,transparent 70%),radial-gradient(circle at 70% 30%,rgba(65, 105, 225, .15)0%,transparent 70%);
    pointer-events:none;
}

#vision4d-landing-page .roi-highlight{
    font-size:clamp(2.8rem,7vw,4.5rem);
    font-weight:900;
    background:linear-gradient(135deg,#5C2D91 0%, #4169E1 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:2rem;
    display:block;
}

#vision4d-landing-page .roi-text{
    font-size:1.4rem;
    opacity:.9;
    margin-bottom:1rem;
}

/* —————————— CHECKLIST —————————— */
#vision4d-landing-page .checklist{
    padding:9rem 0;
    background: linear-gradient(180deg, #0F0F23 0%, #1A1A3A 100%);
}

#vision4d-landing-page .checklist-items{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(21.875rem,1fr));
    gap:2.5rem;
    margin-top:5rem;
}

#vision4d-landing-page .checklist-item{
    display:flex;
    gap:1.875rem;
    align-items:center;
    background:#1a1a1a;
    border-left:6px solid;
    border-image:linear-gradient(135deg,#5C2D91 0%,#4169E1 100%)1;
    border-radius:1.5rem;
    padding:2.5rem;
    transition:.3s; 
    color:#f1f5f9;
}

#vision4d-landing-page .checklist-item:hover{
    transform:translateX(12px);
    box-shadow:0 20px 40px rgba(0,0,0,.1);
} 

#vision4d-landing-page .checklist-number{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:1.2rem;
    color:#fff;
    background:linear-gradient(135deg,#5C2D91 0%, #4169E1 100%);
    box-shadow:0 10px 25px rgba(92, 45, 145, .3);
    flex-shrink:0;
}

#vision4d-landing-page .checklist-text{
    font-size:1.1rem;
    line-height:1.7;
    color:#f1f5f9;
} 

#vision4d-landing-page .checklist-text strong{
    color:#7A3EDC;
}

/* —————————— TOOLTIPS —————————— */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #7A3EDC;
    margin-left: 5px;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #1a1a1a;
    color: #f1f5f9;
    text-align: left;
    border-radius: 8px;
    padding: 12px 16px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(122, 62, 220, 0.3);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* —————————— CTA —————————— */
#vision4d-landing-page .cta-section{
    padding:9rem 0;
    background:linear-gradient(135deg,#0a0a0a 0%,#1a1a1a 100%);
    color:#fff;
    text-align:center;
    position:relative;
}

#vision4d-landing-page .cta-section::before{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 50% 50%,rgba(92, 45, 145, .1)0%,transparent 70%);
    pointer-events:none;
}

#vision4d-landing-page .cta-buttons{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:1.875rem;
    margin-top:4rem;
}

/* —————————— FAQ —————————— */
#vision4d-landing-page .faq{
    padding:9rem 0;
    background: linear-gradient(180deg, #1A1A3A 0%, #0F0F23 100%);
}

#vision4d-landing-page .faq-items{
    max-width:56rem;
    margin:5rem auto 0;
}

#vision4d-landing-page .faq-item{
    background:#1a1a1a;
    border-radius:1.25rem;
    overflow:hidden;
    margin-bottom:1.25rem;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    transition:.3s; 
    color:#f1f5f9;
}

#vision4d-landing-page .faq-item:hover{
    box-shadow:0 25px 50px rgba(0,0,0,.1);
} 

#vision4d-landing-page .faq-question{
    padding:2.1875rem 2.1875rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:600;
    font-size:1.1rem;
    cursor:pointer;
    transition:.3s; 
    color:#ffffff;
}

#vision4d-landing-page .faq-question:hover{
    background:#2a2a2a;
}

#vision4d-landing-page .faq-answer{
    padding:0 2.1875rem 2.1875rem;
    display:none;
    color:#f1f5f9;
    line-height:1.8;
    font-size:1rem;
}

#vision4d-landing-page .faq-answer.active{
    display:block;
    animation:fadeIn .3s ease-in-out;
} 

@keyframes fadeIn{
    from{opacity:0;transform:translateY(-10px);}
    to{opacity:1;transform:translateY(0);}
} 

#vision4d-landing-page .faq-icon{
    font-size:1.2rem;
    color:#7A3EDC;
    transition:transform .3s;
}

#vision4d-landing-page .faq-icon.rotated{
    transform:rotate(180deg);
}

/* —————————— SUCCESS MSG —————————— */
#vision4d-landing-page .success-message{
    position:fixed;
    top:1.25rem;
    right:1.25rem;
    background:#7A3EDC;
    color:#fff;
    padding:1.25rem 1.75rem;
    border-radius:.625rem;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    transform:translateX(400px);
    transition:.3s;
    z-index:1000;
}

#vision4d-landing-page .success-message.show{
    transform:translateX(0);
}

/* —————————— RESPONSIVE —————————— */
@media(max-width:768px){
    body.vision4d-active {
        padding: 0;
    }
    
    .calculator-container {
        border-radius: 0;
    }
    
    .header {
        padding: 20px 15px;
        min-height: auto;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header::before {
        display: none;
    }
    
    .header-text {
        position: static;
        padding-left: 0;
    }
    
    .logo-container {
        position: static;
        transform: none;
        background: none;
        box-shadow: none;
        padding: 0;
        z-index: auto;
        height: auto;
    }
    
    .logo-container img {
        height: 160px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }
    
    .input-section {
        max-width: none;
    }
    
    .scenario-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .scenario-inputs input {
        min-width: 100%;
    }
    
    .chart {
        height: 350px;
        padding: 60px 15px 45px 15px;
        gap: 20px;
    }
    
    .bar {
        width: 50px;
        max-height: 200px;
    }
    
    .results-table th,
    .results-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .svisuals-logo-footer {
        width: 100px;
        bottom: 15px;
        right: 15px;
    }

    /* Landing page responsive */
    #vision4d-landing-page .hero{
        padding:7rem 0;
    }
    
    #vision4d-landing-page .hero h1 { 
        font-size: clamp(2.2rem, 8vw, 3.5rem); 
    }
    
    #vision4d-landing-page .hero-subtitle { 
        font-size: 1.2rem; 
    }
    
    #vision4d-landing-page .hero-stats{
        flex-direction:column;
        gap:1.5rem;
    }
    
    #vision4d-landing-page .section-title { 
        font-size: clamp(1.8rem, 6vw, 2.5rem); 
    }
    
    #vision4d-landing-page .section-subtitle{
        font-size:1.1rem;
    }
    
    #vision4d-landing-page .roi-highlight{
        font-size:3rem;
    }
    
    #vision4d-landing-page .checklist-items,.benefits-grid{
        grid-template-columns:1fr;
    }
    
    #vision4d-landing-page .cta-buttons{
        flex-direction:column;
    }
    
    #vision4d-landing-page .btn { 
        min-width: 200px; 
        padding: 1.2rem 2.5rem; 
    }
    
    .back-button {
        top: 10px;
        left: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .tooltip .tooltip-text {
        width: 250px;
        margin-left: -125px;
    }
    
    .lang-toggle-button {
        top: 10px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .input-section,
    .results-section {
        padding: 20px;
    }
    
    .cta-section-calculator {
        padding: 30px 20px;
    }
    
    .cta-section-calculator h2 {
        font-size: 1.5rem;
    }
    
    .cta-section-calculator p {
        font-size: 1rem;
    }
    
    .tooltip .tooltip-text {
        width: 200px;
        margin-left: -100px;
    }
}