:root {
    --wings-blue: #0056b3;
    --wings-cyan: #00c6ff;
    --wings-purple: #6610f2;
    --wings-gradient: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    --wings-dark-gradient: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
}

.text-wings {
    color: var(--wings-blue);
}

.text-cyan {
    color: var(--wings-cyan);
}

.text-wings-cyan {
    color: #00ffea;
    /* Brighter cyan for dark backgrounds */
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

/* Custom Scrollbar for Console */
#consoleOutput {
    /* max-height: 200px;  Removed to eliminate scrollbar */
    /* overflow-y: auto; */
    padding-right: 0;
}

/* Hide scrollbar just in case but allow full height */
#consoleOutput::-webkit-scrollbar {
    display: none;
}


.bg-wings {
    background: var(--wings-blue);
}

.bg-cyan {
    background-color: var(--wings-cyan) !important;
    color: white;
}

.bg-wings-light {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-primary {
    background: linear-gradient(45deg, #0056b3, #00c6ff);
}

.bg-gradient-dark {
    background: var(--wings-dark-gradient);
}

/* Bonus Cards */
.bonus-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: transform 0.3s ease;
    border: 1px solid #f8f8f8;
    font-size: 0.9rem;
    /* Smaller general text */
}

.bonus-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.bonus-icon {
    font-size: 1.8rem;
    /* Smaller icon */
    color: #ffc107;
}

/* Navbar */
.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--wings-cyan) !important;
}

.promo-badge {
    background: linear-gradient(135deg, #0056b3 0%, #00c6ff 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

.pulsate {
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 198, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0);
    }
}

.pulsate-green {
    animation: pulsate-green 3s infinite;
}

@keyframes pulsate-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Section */
.hero-section {
    background: url('img/wings_hero.png') no-repeat center center/cover;
    background-blend-mode: overlay;
    background-color: rgba(0, 50, 100, 0.6);
    /* Reduced opacity to see image better */
    min-height: 80vh;
    padding-top: 80px;
}

@keyframes float-hero {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.main-hero-img {
    width: 80%;
    /* Reduced by 20% */
    margin: 0 auto;
    /* transform: rotate(-15deg); Removed tilt */
    transition: transform 0.3s ease;
    animation: float-hero 4s ease-in-out infinite;
}

.main-hero-img:hover {
    transform: rotate(0);
    animation-play-state: paused;
}

.btn-cyan {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-cyan:hover {
    background: linear-gradient(135deg, #0056b3 0%, #0072ff 100%);
    color: white;
    transform: translateY(-2px);
}

/* Planes */
/* Planes */
.plan-card {
    transition: transform 0.3s;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.plan-card .card-header {
    background: linear-gradient(135deg, #0056b3 0%, #0072ff 100%);
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.social-row i {
    font-size: 1.4rem;
    margin: 0 4px;
    color: #555;
    transition: 0.2s;
}

.social-row i:hover {
    color: var(--wings-cyan);
    transform: scale(1.2);
}

.tiny-text {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.comms-row i {
    color: var(--wings-blue);
}

.plan-go-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: 0.3s;
}

.plan-go-card:hover {
    border-color: var(--wings-cyan);
    background-color: #f8faff;
}

/* Pasos App */
.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

/* Arbol Nodos */
.tree-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tree-node img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--wings-cyan);
    background: white;
    padding: 2px;
}

.small-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.tree-lines {
    height: 30px;
    width: 2px;
    background: #e0e0e0;
    /* Lighter lines */
    margin: 0 auto;
}

/* Dashboard Calculator */
.dashboard-card {
    background: #1a1a2e;
    /* Dark Navy */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid #16213e;
}

.dashboard-header {
    background: #16213e;
    padding: 1.5rem;
    border-bottom: 1px solid #0f3460;
}

.dashboard-body {
    padding: 2rem;
}

.input-dark {
    background: #0f3460;
    border: 1px solid #1a1a2e;
    color: white;
    border-radius: 10px;
    padding: 0.8rem;
}

.input-dark:focus {
    background: #16213e;
    border-color: var(--wings-cyan);
    color: white;
    box-shadow: none;
}

.result-screen {
    background: black;
    border-radius: 10px;
    padding: 1.5rem;
    /* font-family: 'Consolas', monospace;  Removed monospace */
    font-family: inherit;
    /* Use default font (Montserrat) */
    /* color: #00ff00; */
    color: #4facfe;
    /* Lighter blue/cyan to match theme better than terminal green, or keep green if prefered? User said "font change", usually implies readable sans-serif. sticking to inherit is safest for "less wide" */
    border: 1px solid #333;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Remove Spinner Buttons */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 25px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    color: white;
    transform: scale(1.1);
}

/* Pyramid Structure */
.pyramid-level {
    position: relative;
    z-index: 2;
}

.level-badge {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    z-index: 5;
}

@media (max-width: 576px) {
    .level-badge {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        display: inline-block;
        margin-bottom: 5px;
    }
}

.root-node-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--wings-cyan);
    background: white;
    color: var(--wings-blue);
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.root-node-large:hover {
    transform: scale(1.1);
    background: var(--wings-cyan);
    color: white;
}

.pyramid-node {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--wings-cyan);
    background: white;
    padding: 2px;
    transition: transform 0.2s;
}

.pyramid-node:hover {
    transform: scale(1.2);
    border-color: var(--wings-blue);
    z-index: 10;
}

.pyramid-lines {
    height: 15px;
    width: 2px;
    background: #ccc;
    margin: 0 auto;
}

/* Video Placeholders */
.video-placeholder {
    cursor: pointer;
    background-color: #000;
    overflow: hidden;
    /* Ensure image respects border radius */
    border-radius: 25px;
    /* Distinct styling */
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.9);
    backdrop-filter: blur(2px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.play-button i {
    margin-left: 4px;
    /* Optically center the play icon */
}

/* Video Tutorials */
.tutorial-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--wings-cyan) !important;
    background-color: #f8faff !important;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Chip Gratis Section Refinement */
.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1rem;
    background: var(--wings-cyan);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chip-img-rotate {
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.chip-img-rotate:hover {
    transform: rotate(0deg) scale(1.02);
}

.promo-input-container {
    max-width: 300px;
}

.promo-input-width {
    width: 80px;
}

/* Input Group Merged (Custom for "S/" prefix) */
.input-group-merged {
    background: #0f3460;
    border: 1px solid #1a1a2e;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    /* Ensure it behaves like a flex container */
    align-items: center;
}

.input-group-merged:focus-within {
    background: #16213e;
    border-color: var(--wings-cyan);
}

.input-group-merged .input-group-text,
.input-group-merged .form-control {
    background-color: transparent !important;
    border: none !important;
    color: white !important;
    box-shadow: none !important;
    height: 100%;
    /* Fill height */
}

.input-group-merged .input-group-text {
    color: rgba(255, 255, 255, 0.5) !important;
    padding-right: 0;
}

.input-group-merged .form-control {
    padding-left: 5px;
}

/* Result Cards */
.result-card {
    background: #16213e;
    border: 1px solid #1a1a2e;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: var(--wings-cyan);
}

.result-card-soles {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    border-top: 4px solid var(--wings-cyan);
}

.result-card-usd {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(20, 140, 60, 0.1) 100%);
    border-top: 4px solid #25d366;
}

.result-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #888;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.35rem;
    /* Slightly smaller to fit */
    font-weight: 400;
    margin-bottom: 0;
}