﻿/* ==========================================
   EducaTop Pro - Premium Login Stylesheet
   ========================================== */

/* Color Tokens & System Defaults */
:root {
    --bg-page: #f8fafc; /* Pure soft light slate background */
    --bg-card: #ffffff; /* Solid white premium card background */
    --bg-input: #f8fafc; /* Soft slate/blue gray for inputs */
    --border-color: #e2e8f0; /* Soft border */
    --border-hover: rgba(232, 119, 34, 0.4);
    
    --text-primary: #1b365d; /* Brand Navy Blue */
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --color-accent: #e87722; /* Brand Orange */
    --color-accent-rgb: 232, 119, 34;
    --color-accent-hover: #cf6215;
    --color-gradient-start: #1b365d;
    --color-gradient-end: #132b4f;
    
    --shadow-premium: 0 20px 40px -15px rgba(27, 54, 93, 0.08), 0 0 50px -10px rgba(27, 54, 93, 0.04);
    --shadow-input-focus: 0 0 0 3px rgba(232, 119, 34, 0.15);
    
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.15s ease;
}

/* Reset and Core Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Background Blur Decorations */
.bg-blur-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.bg-blur-1 {
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.bg-blur-2 {
    background: radial-gradient(circle, #818cf8 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}

/* Login Modal Overlay & Content */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(19, 43, 79, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    padding: 1.5rem;
}

.login-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.login-modal-content {
    position: relative;
    width: 100%;
    max-width: 1050px;
    transform: translateY(30px) scale(0.97);
    transition: transform var(--transition-smooth);
}

.login-modal-overlay.active .login-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Login Container Box */
.login-container {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

/* ==========================================
   Left Panel: Art/Logo Section
   ========================================== */
.login-art-panel {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.art-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    z-index: 1;
    transition: transform 12s ease;
}

.login-container:hover .art-bg-image {
    transform: scale(1.08);
}

.art-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 50%, rgba(9, 15, 25, 0.95) 100%);
    z-index: 2;
}

.art-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #1b365d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-badge i {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.art-text-area h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.art-text-area p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 440px;
}

.art-footer-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
}

/* ==========================================
   Right Panel: Form Section
   ========================================== */
.login-form-panel {
    flex: 1.0;
    padding: 3.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

/* Mobile Badge (Hidden on Desktop) */
.mobile-logo-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.mobile-logo-badge i {
    color: var(--color-accent);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h1 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Input Fields Groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Input States */
.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: var(--shadow-input-focus);
}

.input-wrapper input:focus + .input-icon {
    color: var(--color-accent);
}

/* Password Toggle */
.password-toggle-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

.forgot-password-link, .signup-link {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.forgot-password-link:hover, .signup-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Checkbox & Options styling */
.form-options {
    margin: 1.5rem 0 2rem 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    height: 18px;
    width: 18px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.6rem;
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
    border-color: var(--border-hover);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.checkbox-container .checkbox-checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Button Variants */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #e87722 0%, #d06318 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 119, 34, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 119, 34, 0.4);
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

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

/* Social Buttons Grid */
.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-divider::before, .form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.form-divider span {
    padding: 0 1rem;
}

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1b365d;
}

.btn-social:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

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

.social-icon-img {
    height: 18px;
    width: 18px;
}

.btn-social i {
    font-size: 1.15rem;
}

/* Form Footer text */
.form-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================
   Toast Notification Styling
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.toast {
    background-color: #ffffff;
    color: #1b365d;
    border-left: 4px solid var(--color-accent);
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 300px;
    max-width: 420px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    font-size: 1.15rem;
    color: var(--color-accent);
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-error i {
    color: #ef4444;
}

.toast-info {
    border-left-color: #eab308;
}

.toast-info i {
    color: #eab308;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes wrapperFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Media Queries (Responsive Layout)
   ========================================== */
@media (max-width: 900px) {
    .login-art-panel {
        display: none; /* Hide visual panel on tablets and smaller screens */
    }
    
    .login-container {
        max-width: 500px;
    }
    
    .mobile-logo-badge {
        display: flex; /* Show logo badge inside the form on mobile */
    }
    
    .login-form-panel {
        padding: 4rem 2.5rem;
        flex: 1;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .login-container {
        border: none;
        background-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .login-form-panel {
        padding: 2rem 0;
    }
    
    .social-login-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-header h1 {
        font-size: 1.65rem;
    }
    
    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Brand logo and text coloring */
.brand-logo-inline {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.text-educa {
    color: var(--text-primary);
    font-weight: 700;
}

.text-top {
    color: var(--color-accent);
    font-weight: 700;
}

.text-pro {
    color: var(--text-primary);
    font-weight: 700;
}

/* ==========================================
   Header Navigation Bar
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
}

.logo-text {
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(232, 119, 34, 0.1);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0.9;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 25px 50px -12px rgba(27, 54, 93, 0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border-color);
    display: block;
}

/* Floating Elements */
.floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.floating-badge span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.badge-1 {
    top: 15%;
    left: -40px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    right: -25px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================
   Section Settings
   ========================================== */
.section-padding {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   Benefits Section
   ========================================== */
.benefits-section {
    background-color: #ffffff;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.benefit-card {
    padding: 3rem 2.25rem;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(27, 54, 93, 0.05);
    border-color: var(--border-hover);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(232, 119, 34, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-section {
    background-color: #f8fafc;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(27, 54, 93, 0.06);
}

.pricing-card.recommended {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(232, 119, 34, 0.1);
}

.pricing-card.recommended:hover {
    box-shadow: 0 25px 45px rgba(232, 119, 34, 0.15);
}

.recommended-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    display: flex;
    align-items: flex-start;
}

.price span:first-child {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.3rem;
    margin-right: 0.15rem;
}

.price span:last-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.25rem;
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.billing-annually {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.pricing-features li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

.pricing-action {
    margin-top: auto;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    background-color: #ffffff;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(27, 54, 93, 0.04);
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.user-info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.user-info span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   Footer Styling
   ========================================== */
.footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-logo .text-educa {
    color: #1b365d !important;
    font-weight: 700;
}

.footer-logo .text-top {
    color: #e87722 !important;
    font-weight: 700;
}

.footer-logo .text-pro {
    color: #1b365d !important;
    font-weight: 700;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================
   Responsive Adaptations
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.85rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .benefits-grid, .pricing-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 65px;
    }
    
    .brand-logo-inline {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        transition: right var(--transition-smooth);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-section {
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        width: 100%;
    }
    
    .floating-badge {
        padding: 0.6rem 1rem;
    }
    
    .badge-1 {
        left: -15px;
    }
    
    .badge-2 {
        right: -15px;
    }
    
    .section-padding {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid, .pricing-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================
   Interactive Demo Simulator
   ========================================== */
.demo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.demo-card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.demo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.demo-title h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pulse-indicator {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.badge-test {
    font-size: 0.7rem;
    background-color: rgba(232, 119, 34, 0.1);
    color: var(--color-accent);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.demo-card-header p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.demo-input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.demo-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.demo-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.demo-input-group input {
    padding: 0.6rem 0.75rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    width: 100%;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.demo-input-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #ffffff;
}

.demo-action-row {
    margin-bottom: 1.25rem;
}

.demo-results {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.demo-results h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.demo-table th {
    text-align: left;
    padding: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.demo-table td {
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    font-family: var(--font-body);
}

.coords-cell {
    color: var(--color-accent) !important;
    font-weight: 700;
}

.font-mono {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.demo-upsell {
    background-color: rgba(232, 119, 34, 0.05);
    border-left: 3px solid var(--color-accent);
    padding: 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-upsell p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.demo-upsell p i {
    color: var(--color-accent);
    margin-top: 0.15rem;
}

.demo-upsell-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

.demo-upsell-link:hover {
    transform: translateX(3px);
}

/* ==========================================
   Placeholder Testimonials
   ========================================== */
.placeholder-testimonials-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.placeholder-card {
    background-color: #f8fafc;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.placeholder-card p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

/* ==========================================
   Trial / Demo Section (Prueba Online)
   ========================================== */
.trial-section {
    background-color: #f8fafc;
}

.trial-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    height: 750px;
    position: relative;
}

.trial-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .trial-container {
        height: 600px;
    }
}

/* ==========================================
   SPA View Switching
   ========================================== */
.app-view {
    transition: opacity 0.35s ease;
}

.hidden-view {
    display: none !important;
}

.active-view {
    display: block !important;
    animation: fadeInView 0.4s ease-in-out forwards;
}

@keyframes fadeInView {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    99% {
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/* Active Nav Link highlight */
.nav-links a.active-link {
    color: #f28e2b !important;
    font-weight: 700;
    border-bottom: 2px solid #f28e2b;
    padding-bottom: 4px;
}

/* ==========================================
   Planimetric Simulator V3 DMS Layout
   ========================================== */
.simulator-base-coords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.simulator-obs-row {
    display: grid;
    grid-template-columns: 65px 1.2fr 85px 135px;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.dms-inputs-layout {
    display: flex;
    gap: 3px;
}

.dms-inputs-layout input {
    padding: 0.6rem 0.2rem !important;
    text-align: center;
    min-width: 0;
}

/* Grados input takes wider space, minutes and seconds take less */
#demo-az-deg {
    flex: 2;
}

#demo-az-min, #demo-az-sec {
    flex: 1.45;
}

/* Prominent Orange Calculate Button */
.btn-prominent {
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #f28e2b 0%, #d87a1c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(242, 142, 43, 0.45);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-prominent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 142, 43, 0.55);
    background: linear-gradient(135deg, #f39c12 0%, #f28e2b 100%) !important;
}

.btn-prominent:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(242, 142, 43, 0.3);
}

/* Subscription Expiration Badges */
.plan-status-badge {
    margin-bottom: 1.25rem;
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-inactive {
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
}

.badge-active {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.btn-expire-now {
    background: none;
    border: none;
    color: #15803d;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    margin-left: 0.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.btn-expire-now:hover {
    color: #b91c1c;
}

@media (max-width: 480px) {
    .simulator-obs-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .simulator-base-coords {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Specific Input Styling for Simulator V3 */
.simulator-base-coords input,
.simulator-obs-row input {
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 0.75rem !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #ffffff !important;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box !important;
    width: 100%;
}

.simulator-base-coords input:focus,
.simulator-obs-row input:focus {
    border-color: #f28e2b !important;
    box-shadow: 0 0 0 3px rgba(242, 142, 43, 0.15) !important;
    outline: none;
}

/* DMS specific layout override */
.dms-inputs-layout input {
    padding: 0 !important;
    text-align: center;
}

/* Full Screen trial styles */
.trial-section-full {
    background-color: #ffffff;
    width: 100%;
    height: calc(100vh - 90px);
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.trial-iframe-full {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


.spa-content-wrapper {
    flex: 1;
}

/* Sticky Footer and New Footer Elements Styling */
.footer {
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 500;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.25rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.footer-social-btn:hover {
    background-color: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.simulator-grid-layout {
    display: grid;
    grid-template-columns: 130px 130px 50px 1.8fr 0.8fr 110px;
    gap: 0.75rem 0.5rem;
    margin-bottom: 1.25rem;
}

.nb-group { grid-column: 1; }
.eb-group { grid-column: 2; }
.pt-group { grid-column: 3; }
.az-group { grid-column: 4; }
.dist-group { grid-column: 5; }
.calc-group { grid-column: 6; }

/* Styling inputs inside the new grid layout */
.simulator-grid-layout input {
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 0.75rem !important;
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    background-color: #ffffff !important;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box !important;
    width: 100%;
}

/* Responsive adjustments for simulator grid layout */
@media (max-width: 768px) {
    .simulator-grid-layout {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .nb-group, .pt-group, .az-group, .dist-group, .eb-group, .calc-group {
        grid-column: auto;
    }
    .calc-group label {
        display: none !important;
    }
}



.simulator-grid-layout label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.78rem !important;
}

/* ==========================================
   Google Translate Custom Styles
   ========================================== */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}
#google_translate_element {
    display: flex;
    align-items: center;
}
#google_translate_element select {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    color: #1b365d;
    font-weight: 600;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0px !important;
}
.goog-te-gadget span {
    display: none !important;
}
.goog-te-gadget img {
    display: none !important;
}

/* ==========================================
   Google Translate Silent Integration
   ========================================== */
html {
    height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body {
    top: 0px !important;
    position: static !important;
}
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
#goog-gt-tt, 
.goog-te-balloon-frame,
iframe[name="goog_te_banner_frame"] {
    display: none !important;
    visibility: hidden !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
.VIpgJd-Zvi9od-ORHb-OEVmcd,
.VIpgJd-Zvi9od-aZ2wEe-wOHMyf,
.VIpgJd-Zvi9od-aZ2wEe-OiiCO,
.VIpgJd-Zvi9od-aZ2wEe {
    display: none !important;
}


/* Fix Mobile Overflow */
body, html { overflow-x: hidden; width: 100%; max-width: 100vw; }
.demo-card, .login-container { max-width: 100%; overflow-x: auto; box-sizing: border-box; }
* { box-sizing: border-box; }
table { width: 100%; display: block; overflow-x: auto; white-space: nowrap; }
/* ==========================================
   Mobile Simulator Modal Adaptations
   ========================================== */
.mobile-open-sim-container {
    display: none;
    width: 100%;
    margin-bottom: 2rem;
}

.btn-open-sim-mobile {
    font-size: 1.1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.close-sim-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    color: #1b365d;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
}

.close-sim-btn:hover {
    background: #f1f5f9;
    color: #ef4444;
}

body.no-scroll {
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .mobile-open-sim-container {
        display: block;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        width: calc(100% + 3rem) !important;
    }

    /* By default on mobile, hide the simulator visual */
    .hero-visual {
        display: none !important;
    }

    /* Inline mobile modifier */
    .hero-visual.simulador-mobile-inline {
        display: block !important;
        position: relative;
        order: -1 !important;
        margin: 0 -1.5rem 1.5rem -1.5rem !important;
        width: calc(100% + 3rem) !important;
        box-sizing: border-box !important;
        max-width: none !important;
        padding: 0;
        background-color: transparent;
        overflow-y: visible;
        border-radius: 0;
    }

    .hero-visual.simulador-mobile-inline .close-sim-btn {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        margin-left: auto;
        margin-bottom: 5px;
        align-items: center;
        justify-content: center;
    }

    /* Adapt content inside modal */
    .hero-visual.simulador-mobile-inline .demo-card {
        border-radius: 12px;
        margin: 10px 0 !important;
        padding: 0.8rem 0.5rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    .hero-visual.simulador-mobile-inline .calc-group button {
        font-size: 0.65rem !important;
        padding: 0 4px !important;
    }

    .hero-visual.simulador-mobile-inline .slogan-card {
        margin-top: 10px;
        font-size: 14px;
        padding: 12px;
    }

    .hero-visual.simulador-mobile-inline .demo-title {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
    
    .hero-visual.simulador-mobile-inline .badge-test {
        margin-left: 8px !important;
        float: none !important;
    }
    
    .hero-visual.simulador-mobile-inline .simulator-grid-layout {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .hero-visual.simulador-mobile-inline .simulator-grid-layout > div {
        grid-column: span 6 !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout .nb-group,
    .hero-visual.simulador-mobile-inline .simulator-grid-layout .eb-group {
        grid-column: span 3 !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout .pt-group {
        grid-column: span 2 !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout .az-group {
        grid-column: span 4 !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout .dist-group {
        grid-column: span 3 !important;
    }
    
    .hero-visual.simulador-mobile-inline .simulator-grid-layout .calc-group {
        grid-column: span 3 !important;
        margin-top: 0 !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout label {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
    }

    .hero-visual.simulador-mobile-inline .simulator-grid-layout input {
        padding: 0.4rem 0.2rem !important;
        font-size: 0.75rem !important;
    }
    
    .hero-visual.simulador-mobile-inline .dms-inputs-layout {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3px !important;
    }
    
    .hero-visual.simulador-mobile-inline .dms-inputs-layout input {
        padding: 0.4rem 0.1rem !important;
        font-size: 0.75rem !important;
        text-align: center;
    }

    #intro-text-mobile {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    #intro-text-mobile * {
        text-align: left !important;
    }

    .hero-visual.simulador-mobile-inline #sim-tabs-container {
        flex-wrap: nowrap !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .hero-visual.simulador-mobile-inline #sim-tabs-container button {
        padding: 6px 2px !important;
        font-size: 0.65rem !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        white-space: normal !important;
        line-height: 1.1 !important;
    }
    
    .hero-visual.simulador-mobile-inline .demo-results {
        overflow-x: auto;
        width: 100%;
    }

    #gps-localization-box,
    .cs-form-wrapper {
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        width: calc(100% + 3rem) !important;
        box-sizing: border-box !important;
        text-align: left !important;
        border-radius: 12px !important;
    }
    
    .cs-form-title, .cs-form-subtitle {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .hero-visual.simulador-mobile-inline .demo-table {
        font-size: 0.75rem;
    }
    
    .hero-visual.simulador-mobile-inline .demo-exports > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .hero-visual.simulador-mobile-inline .demo-exports button {
        font-size: 0.65rem !important;
        padding: 0.5rem 0.2rem !important;
        width: 100%;
    }
}

/* Zen Mode (Fullscreen Workspace) */
body.zen-mode-active {
    overflow: hidden !important;
}
.iframe-zen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    background: #f8fafc;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
}
.iframe-zen-mode iframe {
    flex: 1;
    height: 100vh !important;
    border-top: none !important;
    border-bottom: none !important;
}
.zen-close-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: transparent;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: all 0.3s ease;
}
.zen-close-area:hover {
    height: 70px;
    background: linear-gradient(180deg, rgba(27, 54, 93, 0.9) 0%, rgba(27, 54, 93, 0) 100%);
}
.zen-close-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transform: translateY(-60px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.zen-close-area:hover .zen-close-btn {
    transform: translateY(0);
}
