/* --- Variables & Reset --- */
:root {
    --primary: #001F3F;
    /* Azul Naval más profundo y serio */
    --primary-light: #003366;
    --accent: #C5A028;
    /* Dorado más mate y elegante */
    --accent-hover: #A68520;
    --dark: #0A0A0A;
    --light: #F8F9FA;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --tracking-tight: -0.02em;
    --tracking-wide: 0.05em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Hero Section with Seamless Video --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background-color: #000;
    overflow: hidden;
    z-index: 1;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

#v-primary.active {
    opacity: 1;
    z-index: -1;
}

#v-secondary.active {
    opacity: 1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 31, 63, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 60px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-title .highlight {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cinematic-content {
    position: relative;
    z-index: 10;
    width: 100%;
    color: var(--white);
}

/* --- Preloader Styles --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
}

.preloader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3.5rem;
    letter-spacing: 10px;
    margin-bottom: 2rem;
    color: var(--white);
    animation: pulseLogo 2s infinite ease-in-out;
}

.progress-bar-container {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.loader-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* --- Premium CTA Buttons (Eternity UI Style) --- */
.btn-premium-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 40, 0.3);
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Border Beam Effect */
.border-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.border-beam::after {
    content: "";
    position: absolute;
    width: 60px;
    /* Thinner beam */
    height: 100%;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    top: 0;
    left: -60px;
    animation: borderBeamMove 6s linear infinite;
    /* Slower animation */
    opacity: 0.3;
    /* Much more subtle */
}

@keyframes borderBeamMove {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.btn-premium-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 40, 0.2);
    border-color: var(--accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-white:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-premium);
}

/* --- Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sutil retraso para elementos en grid */
.reveal-up.delay-1 {
    transition-delay: 0.1s;
}

.reveal-up.delay-2 {
    transition-delay: 0.2s;
}

.reveal-up.delay-3 {
    transition-delay: 0.3s;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    /* White initially for Hero */
    font-family: var(--font-body);
    letter-spacing: -1px;
}

/* Removed redundant scroll logic */

.logo .dot {
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Removed redundant scroll logic */

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
}

.btn-header {
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.header.scrolled .btn-header {
    border-color: var(--primary);
    color: var(--primary);
}

.header.scrolled .btn-header:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .bar {
    background-color: var(--dark);
}

/* --- End of File --- */

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--white);
    padding: 30px 0;
    transform: translateY(-50%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-body);
}

.trust-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services --- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    /* More rounded */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(197, 160, 40, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 40, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(197, 160, 40, 0.05);
    /* Softer background */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(197, 160, 40, 0.1);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #444;
    font-size: 0.9rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* --- Benefits (Por que Paraguay) --- */
.benefits.dark-mode {
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits .section-title {
    color: var(--white);
    text-align: left;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-number {
    font-size: 1.5rem;
    font-weight: bol;
    color: var(--accent);
    font-family: var(--font-heading);
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.benefit-item p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.visual-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #004d99, #003366);
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.c1 {
    top: 20%;
    right: -20px;
}

.c2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

/* --- CTA --- */
.cta-section {
    background-color: var(--accent);
    color: var(--primary);
    text-align: center;
    padding: 100px 0;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    margin-top: 30px;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}



/* --- Responsive --- */
@media (max-width: 768px) {
    .header .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .header .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-link {
        color: var(--dark);
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
    }

    .visual-placeholder {
        height: 300px;
    }
}

/* --- Premium Artistic Comparison Cards (Nano Banana Style) --- */
.comparison-section {
    background: radial-gradient(circle at 50% 50%, #1a252f 0%, #0d1217 100%);
    /* Fondo oscuro cinematográfico */
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo abstracto */
.comparison-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.comparison-section .section-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #D4AF37, #F2D272);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comparison-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

.comparison-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.compare-card {
    background: rgba(255, 255, 255, 0.03);
    /* Vidrio oscuro muy sutil */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 320px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.compare-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Header de la tarjeta */
.compare-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-header .flag {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.compare-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

/* Cuerpo de la tarjeta */
.compare-body {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tax-row {
    margin-bottom: 20px;
}

.tax-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.tax-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.tax-value.warning {
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

.tax-value.danger {
    color: #c0392b;
    text-shadow: 0 0 10px rgba(192, 57, 43, 0.4);
}

.tax-value.success {
    color: #2ecc71;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    font-size: 2.5rem;
    transition: var(--transition);
}

.tax-count.active {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(197, 160, 40, 0.6);
    transform: scale(1.1);
    font-weight: 800;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(197, 160, 40, 0.4);
        transform: scale(1.1);
    }

    50% {
        text-shadow: 0 0 30px rgba(197, 160, 40, 0.8), 0 0 50px rgba(197, 160, 40, 0.4);
        transform: scale(1.15);
    }
}

.vs-divider {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #D4AF37;
    margin: 10px 0;
    font-size: 1.2rem;
    position: relative;
    opacity: 0.8;
}

.vs-divider::before,
.vs-divider::after {
    content: '';
    display: constant;
    width: 30px;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
    vertical-align: middle;
    margin: 0 10px;
    display: inline-block;
}

/* Property Filters */
.property-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Property Badges Enhancements */
.success-badge,
.last-units-badge,
.new-launch-badge,
.rental-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.success-badge {
    background: #2ecc71;
    color: white;
}

.last-units-badge {
    background: #e67e22;
    color: white;
}

.new-launch-badge {
    background: var(--accent);
    color: var(--primary);
}

.rental-badge {
    background: #3498db;
    color: white;
}

/* Category specific animations */
.property-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    position: absolute;
}

/* Footer & Badge */
.compare-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.saving-text {
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Card (Argentina) */
.compare-card.featured {
    border: 2px solid #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    transform: scale(1.08);
    position: relative;
}

.compare-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge-best {
    background: linear-gradient(135deg, #D4AF37 0%, #F2D272 100%);
    color: #000;
    position: absolute;
    top: 15px;
    right: -40px;
    transform: rotate(45deg);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .compare-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .compare-card.featured {
        transform: scale(1);
    }

    .comparison-section {
        padding: 60px 20px;
    }
}

/* --- Propiedades Section (Nuevo) --- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background: var(--bg-card, #fff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.property-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    animation: livingProperty 20s ease-in-out infinite alternate;
}

@keyframes livingProperty {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Efecto de barrido de luz (Glint) */
.property-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: lightSweep 6s infinite;
}

@keyframes lightSweep {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.property-card:hover .property-image {
    transform: scale(1.15);
    /* Zoom extra al hover */
    animation-play-state: paused;
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.success-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent), #D4AF37);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(197, 160, 40, 0.3);
    z-index: 10;
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    backdrop-filter: grayscale(100%) blur(2px);
    transition: var(--transition);
}

.sold-out-text {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 10px 30px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-10deg);
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.last-units-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 10;
    animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(231, 76, 60, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    }
}

.new-launch-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
    z-index: 10;
    overflow: hidden;
}

.new-launch-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    30% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.rental-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.4);
    z-index: 10;
}

.property-card.sold-out .property-image {
    filter: grayscale(80%) brightness(0.6);
}

.btn-property.sold-out {
    background: #444;
    cursor: default;
    opacity: 0.8;
}

.btn-property.sold-out:hover {
    transform: none;
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-price-secondary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--dark);
}

.property-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #555;
}

.btn-property {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 10px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.btn-property:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.2);
}

.property-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-secondary-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 10px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    grid-column: 1 / -1;
}

/* --- EAS / Inversión Section --- */
.eas-section {
    background-color: #fff;
    padding: 100px 0;
}

.eas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-premium {
    background: rgba(212, 175, 55, 0.1);
    color: #b7952b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.eas-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.eas-benefits li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.eas-benefits .icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light, #f8f9fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.eas-benefits strong {
    display: block;
    color: var(--dark, #222);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.eas-benefits p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.infographic-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.infographic-container:hover {
    transform: translateY(-5px);
}

.rounded-shadow {
    width: 100%;
    height: auto;
    display: block;
}

.visual-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .eas-layout {
        grid-template-columns: 1fr;
    }

    .infographic-container {
        margin-top: 30px;
    }
}

/* --- Strategic Map Styles --- */
.map-section {
    background: linear-gradient(to bottom, var(--light), var(--white));
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    border-radius: 40px;
    /* More rounded premium feel */
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    /* Deep soft shadow */
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: var(--white);
    margin: 3rem 0;
    transition: var(--transition);
}

.map-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.2);
}

.map-container {
    height: 650px;
    /* Taller for better exploration */
    width: 100%;
    z-index: 1;
}

/* Glassmorphism Navigation Controls Overlay */
.map-legend {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    /* Vertical for premium desktop look */
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 200px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.legend-item:hover {
    transform: translateX(5px);
    color: var(--accent);
}

.marker-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.marker-icon.property {
    background: var(--primary);
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(0, 31, 63, 0.3);
}

.marker-icon.airport {
    background: var(--accent);
}

.marker-icon.hospital {
    background: #e74c3c;
}

.marker-icon.school {
    background: #2ecc71;
}

/* Custom Marker Styling in Leaflet */
.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

/* Property Marker Pulse Animation */
.property-marker-outer {
    position: relative;
    width: 40px;
    height: 40px;
}

.property-marker-inner {
    background: var(--primary);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.property-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: markerPulse 2s infinite;
    z-index: 1;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Premium Popup Styles */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95);
}

.map-popup {
    font-family: var(--font-body);
    width: 220px;
}

.map-popup strong {
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.map-popup p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.map-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white !important;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.map-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* --- Video Experience Section --- */
.video-experience {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at top right, #001F3F, #050505);
    overflow: hidden;
}

.video-experience::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(180px);
    opacity: 0.05;
    z-index: 0;
}

.video-container-premium {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.video-container-premium:hover {
    transform: scale(1.01) translateY(-10px);
    border-color: rgba(197, 160, 40, 0.3);
    box-shadow: 0 50px 120px -20px rgba(197, 160, 40, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.experience-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(197, 160, 40, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    border: 1px solid rgba(197, 160, 40, 0.2);
}

.experience-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.experience-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .map-container {
        height: 400px;
    }

    .map-legend {
        top: 10px;
        right: 10px;
        padding: 15px;
    }
}

/* --- Corporate Roadmap --- */
.roadmap-section {
    background-color: #F9FAFB;
    /* White Smoke */
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Vertical Connecting Line */
.roadmap-line {
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 200px;
    /* Stop before button */
    width: 2px;
    background-color: rgba(0, 31, 63, 0.1);
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transition: height 0.1s linear;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.roadmap-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Alternating layout for timeline effect */
.roadmap-card:nth-child(odd) {
    grid-column: 1;
    text-align: right;
    margin-right: 40px;
}

.roadmap-card:nth-child(even) {
    grid-column: 2;
    text-align: left;
    margin-left: 40px;
}

/* Connector dots */
.roadmap-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 3;
    transition: var(--transition);
}

.roadmap-card:nth-child(odd)::after {
    right: -70px;
    /* Adjust based on gap/margin */
    transform: translateY(-50%);
}

.roadmap-card:nth-child(even)::after {
    left: -70px;
    /* Adjust based on gap/margin */
    transform: translateY(-50%);
}

.roadmap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 160, 40, 0.3);
}

.roadmap-card:hover::after {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.roadmap-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.roadmap-card:hover .roadmap-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(197, 160, 40, 0.5));
}

.roadmap-step {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.roadmap-content p {
    color: #64748b;
    /* Slate Gray */
    font-size: 0.95rem;
    line-height: 1.5;
}

.roadmap-cta {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.btn-wide {
    padding: 15px 50px;
    font-size: 1.1rem;
}

/* Mobile Responsiveness for Roadmap */
@media (max-width: 768px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .roadmap-line {
        left: 20px;
    }

    .roadmap-card:nth-child(odd),
    .roadmap-card:nth-child(even) {
        grid-column: 1;
        text-align: left;
        margin: 0 0 0 50px;
    }

    .roadmap-card:nth-child(odd)::after,
    .roadmap-card:nth-child(even)::after {
        left: -58px;
        right: auto;
    }
}

/* --- Tech/VASP Roadmap (Redesign) --- */
.roadmap-section-tech {
    background: radial-gradient(circle at center, #0B1120 0%, #020617 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 100px 0;
}

.roadmap-bg-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 229, 255, 0.2);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(197, 160, 40, 0.15);
    bottom: -100px;
    right: -100px;
}

.badge-tech {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #00e5ff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.tech-title {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.tech-desc {
    color: #94a3b8;
}

.roadmap-container-tech {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.tech-line-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    z-index: 1;
}

.tech-line {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.tech-line-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #00e5ff, #0077ff);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    transition: height 0.1s linear;
}

.tech-node-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.tech-node-row:last-child {
    margin-bottom: 0;
}

.tech-card {
    flex: 1;
    padding: 0 40px;
}

.tech-card.left {
    text-align: right;
}

.tech-card.right {
    text-align: left;
}

.tech-spacer {
    flex: 1;
}

.tech-card-body {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-card-body:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.tech-card-body h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.tech-card-body p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.tech-sphere-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-sphere {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2c3e50, #000000);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-sphere:hover {
    transform: scale(1.15);
    border-color: rgba(0, 229, 255, 0.5);
}

.tech-sphere .sphere-number {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
    z-index: 3;
}

.sphere-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tech-sphere:hover .sphere-glow {
    opacity: 1;
}

/* Button Tech Glow */
.btn-tech-glow {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-tech-glow:hover {
    background: #00e5ff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.btn-glow-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.btn-tech-glow:hover .btn-glow-effect {
    left: 100%;
}

@media (max-width: 768px) {
    .tech-node-row {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .tech-spacer {
        display: none;
    }

    .tech-card {
        width: 100%;
        text-align: center !important;
        margin-top: 20px;
        order: 2;
    }

    .tech-sphere-container {
        order: 1;
    }

    .tech-line-container {
        display: none;
        /* Hide central line on mobile for clearer stacking */
    }
}

/* --- Cinematic Launch Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container.cinematic-mode.compact {
    background: #000;
    width: 90%;
    max-width: 750px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 160, 40, 0.1);
}

.unmute-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(197, 160, 40, 0.9);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 20;
    display: none; /* Only show via JS if blocked */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.modal-overlay.active .modal-container.cinematic-mode.compact {
    transform: scale(1);
}

.modal-content-cinematic {
    position: relative;
    width: 100%;
}

.modal-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.modal-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    pointer-events: none;
}

.modal-bottom-bar {
    background: #0a0a0a;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-bottom-bar p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.modal-btn-minimal {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 5px 0;
    border-bottom: 2px solid var(--accent);
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--accent);
    color: #000;
}

@media (max-width: 768px) {
    .video-overlay-text {
        bottom: 20px;
        left: 20px;
    }
    .modal-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    .modal-title-launch {
        font-size: 1.8rem;
    }
}