/* Copia de guia.css aplicada a daytona.css para el diseño glass */

:root {
    --pink:        #46F2D7;
    --pink-dark:   #2abfa7;
    --pink-light:  #7ffaee;
    --pink-glow:   rgba(70, 242, 215, 0.38);
    --pink-soft:   rgba(70, 242, 215, 0.12);
    --pink-xsoft:  rgba(70, 242, 215, 0.07);
    --pink-border: rgba(70, 242, 215, 0.32);
    --bg-panel:    rgba(14, 14, 24, 0.62);
    --surface:     rgba(255, 255, 255, 0.07);
    --surface-2:   rgba(255, 255, 255, 0.11);
    --border:      rgba(255, 255, 255, 0.20);
    --glass-border:rgba(255, 255, 255, 0.20);
    --text:        #f4f4f6;
    --text-muted:  rgba(244, 244, 246, 0.55);
    --font:        'Outfit', 'Montserrat', sans-serif;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   14px;
    --radius-xl:   18px;
    --trans:       0.18s ease;
}

/* Glass panel base */
.glass-panel {
    padding: 1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255,255,255,0.38) 0%, rgba(70,242,213,0.32) 30%, rgba(255,255,255,0.08) 65%, rgba(70,242,213,0.12) 100%);
    position: relative;
    overflow: hidden;
}
.glass-panel-inner {
    position: relative;
    border-radius: inherit;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.16) 0%, rgba(14, 14, 24, 0.64) 22%, rgba(14, 14, 24, 0.60) 78%, rgba(255,255,255,0.07) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0  1.5px 0   rgba(255,255,255,0.30), inset 0 -1px   0   rgba(0,0,0,0.18), inset 1px 0    0   rgba(255,255,255,0.11), 0 20px 48px rgba(0,0,0,0.55), 0  4px 16px rgba(0,0,0,0.35);
}
.glass-panel-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(180deg, rgba(255,255,255,0.10)  0%, rgba(255,255,255,0.03) 55%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

/* Botón glass */
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--trans);
    color: var(--text);
    background: linear-gradient(145deg, rgba(255,255,255,0.13)  0%, rgba(14, 14, 24, 0.58) 25%, rgba(14, 14, 24, 0.52) 78%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0  1.5px 0 rgba(255,255,255,0.26), inset 0 -1px   0 rgba(0,0,0,0.16), 0 8px 18px rgba(0,0,0,0.35);
}
.btn-glass:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.18)  0%, rgba(70,242,215,0.12)   25%, rgba(14, 14, 24, 0.55) 78%, rgba(255,255,255,0.07) 100%);
    border-color: rgba(70,242,215,0.35);
    box-shadow: inset 0  1.5px 0 rgba(255,255,255,0.30), inset 0 -1px   0 rgba(0,0,0,0.16), 0 0 14px rgba(70,242,215,0.20), 0 8px 22px rgba(0,0,0,0.40);
    transform: translateY(-1px);
}
.btn-glass-primary {
    background: rgba(70,242,215,0.12);
    border: 1px solid var(--pink);
    color: white;
    box-shadow: inset 0  1.5px 0 rgba(255,255,255,0.20), 0 5px 20px rgba(70,242,215,0.18);
}
.btn-glass-primary:hover {
    background: var(--pink);
    color: #0a0f0e;
    box-shadow: 0 5px 28px rgba(70,242,215,0.40);
    transform: translateY(-1px);
}

/* Global harmony layer */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: radial-gradient(circle at 12% 10%, rgba(70, 242, 215, 0.14) 0%, rgba(70, 242, 215, 0) 34%),
                radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 36%),
                linear-gradient(145deg, #151920 0%, #131a1d 58%, #121617 100%);
    line-height: 1.45;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: 188px;
    max-width: 34vw;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(70, 242, 215, 0.2));
}

.site-logo-icon {
    width: 56px;
    max-width: 18vw;
}

.glass-panel {
    border-radius: var(--radius-xl);
}

.glass-panel-inner {
    border-radius: inherit;
}

header.glass-panel {
    margin-top: 18px;
    margin-bottom: 0 !important;
    position: relative;
    overflow: visible;
    border-radius: 20px;
    isolation: isolate;
    animation: nav-reveal 520ms ease-out both;
}

#global-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    padding: 0 16px;
    pointer-events: none;
}

#global-header > * {
    pointer-events: auto;
}

#global-header + main {
    padding-top: 124px !important;
}

#global-header + .hero {
    padding-top: 164px !important;
}

header.glass-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(90deg, rgba(70, 242, 215, 0) 0%, rgba(70, 242, 215, 0.5) 18%, rgba(255, 255, 255, 0.28) 50%, rgba(70, 242, 215, 0.5) 82%, rgba(70, 242, 215, 0) 100%);
    opacity: 0.5;
    filter: blur(7px);
    z-index: -2;
    pointer-events: none;
}

header.glass-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 32%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
    opacity: 0.75;
    pointer-events: none;
}

header .glass-panel-inner {
    position: relative;
    background: linear-gradient(125deg, rgba(16, 22, 29, 0.88) 0%, rgba(14, 20, 25, 0.78) 62%, rgba(12, 16, 20, 0.88) 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(70, 242, 215, 0.24) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 38px rgba(70, 242, 215, 0.08) !important;
    padding: 12px 24px !important;
}

header .glass-panel-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, rgba(70, 242, 215, 0), rgba(70, 242, 215, 0.62), rgba(70, 242, 215, 0));
    pointer-events: none;
}

header nav .btn-glass {
    border-radius: 13px;
    border-color: rgba(70, 242, 215, 0.56);
    background: linear-gradient(145deg, rgba(24, 34, 43, 0.9) 0%, rgba(18, 27, 35, 0.9) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(70, 242, 215, 0.12) !important;
    padding: 8px 16px;
    font-size: 0.92rem !important;
}

header nav .btn-glass:hover {
    transform: translateY(-2px);
    border-color: rgba(70, 242, 215, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 9px 22px rgba(0, 0, 0, 0.35), 0 0 24px rgba(70, 242, 215, 0.23) !important;
}

@keyframes nav-reveal {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.985);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero {
    padding: 116px 16px 72px !important;
}

.hero .glass-panel {
    border-radius: 22px !important;
}

.hero .glass-panel-inner {
    border-radius: 22px !important;
    background: linear-gradient(150deg, rgba(21, 28, 35, 0.92) 0%, rgba(14, 20, 26, 0.84) 48%, rgba(9, 14, 19, 0.92) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 16px 36px rgba(0, 0, 0, 0.36) !important;
}

.hero-title,
.hero-desc {
    text-wrap: balance;
}

.features {
    padding: 0 16px;
}

.feature-card,
.step-card {
    color: var(--text);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(18, 23, 31, 0.94) 0%, rgba(12, 17, 23, 0.90) 100%) !important;
}

.feature-title,
.step-title {
    color: var(--text);
    letter-spacing: 0.3px;
}

.feature-desc,
.step-desc {
    color: rgba(244, 244, 246, 0.72) !important;
}

.steps-section {
    margin-top: 18px;
    background: linear-gradient(125deg, rgba(14, 19, 24, 0.78) 0%, rgba(9, 14, 18, 0.68) 100%) !important;
    border-top: 1px solid rgba(70, 242, 215, 0.16);
    border-bottom: 1px solid rgba(70, 242, 215, 0.12);
}

.socials {
    padding: 0 16px;
    flex-wrap: wrap;
}

footer.glass-panel {
    margin: 44px 16px 0 !important;
}

footer .glass-panel-inner {
    color: rgba(244, 244, 246, 0.7) !important;
}

@media (max-width: 960px) {
    header.glass-panel {
        border-radius: 16px;
    }

    header.glass-panel::before {
        border-radius: 18px;
        inset: -1px;
        opacity: 0.42;
    }

    header .glass-panel-inner {
        border-radius: 16px !important;
        padding: 14px 16px !important;
        gap: 10px;
        flex-wrap: wrap;
    }

    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px !important;
    }

    header nav .btn-glass {
        min-width: 146px;
    }

    .hero-title {
        font-size: 2rem !important;
        letter-spacing: 3px !important;
    }
}

@media (max-width: 600px) {
    .site-logo {
        width: 154px;
        max-width: 56vw;
    }

    .site-logo-icon {
        width: 48px;
        max-width: 24vw;
    }

    .hero {
        min-height: 62vh !important;
        padding-top: 92px !important;
    }

    .hero .glass-panel-inner {
        padding: 28px 18px 26px !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
        letter-spacing: 2px !important;
    }

    .btn-glass {
        font-size: 0.86rem;
    }

    #global-header + main {
        padding-top: 108px !important;
    }

    #global-header + .hero {
        padding-top: 136px !important;
    }
}

/* Motion layer */
html {
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 20% 30%, rgba(70, 242, 215, 0.14) 0%, rgba(70, 242, 215, 0) 36%),
                radial-gradient(circle at 78% 22%, rgba(121, 203, 255, 0.12) 0%, rgba(121, 203, 255, 0) 34%),
                radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 36%);
    animation: aurora-drift 15s ease-in-out infinite alternate;
}

body > div {
    position: relative;
    z-index: 1;
}

header.glass-panel::before {
    background-size: 220% 100%;
    animation: border-scan 6s linear infinite;
}

.site-logo-icon {
    animation: logo-breathe 2.6s ease-in-out infinite;
}

.hero {
    background-size: 108% auto !important;
    animation: hero-pan 18s ease-in-out infinite alternate;
}

.hero > div:first-child {
    animation: hero-overlay-breathe 6s ease-in-out infinite;
}

.hero > .glass-panel {
    animation: hero-card-float 4.5s ease-in-out infinite;
}

.hero-title {
    animation: title-glow 2.8s ease-in-out infinite;
}

.btn-glass {
    position: relative;
    overflow: hidden;
}

.btn-glass::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 45%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: button-sheen 3.8s ease-in-out infinite;
}

.features > div > .glass-panel,
.steps-section > div + div > .glass-panel,
.socials .btn-glass,
footer.glass-panel {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.features > div > .glass-panel:nth-child(1) { animation-delay: 110ms; }
.features > div > .glass-panel:nth-child(2) { animation-delay: 220ms; }
.features > div > .glass-panel:nth-child(3) { animation-delay: 330ms; }
.features > div > .glass-panel:nth-child(4) { animation-delay: 440ms; }

.steps-section > div + div > .glass-panel:nth-child(1) { animation-delay: 520ms; }
.steps-section > div + div > .glass-panel:nth-child(2) { animation-delay: 630ms; }
.steps-section > div + div > .glass-panel:nth-child(3) { animation-delay: 740ms; }

.socials .btn-glass:nth-child(1) { animation-delay: 820ms; }
.socials .btn-glass:nth-child(2) { animation-delay: 900ms; }
.socials .btn-glass:nth-child(3) { animation-delay: 980ms; }
.socials .btn-glass:nth-child(4) { animation-delay: 1060ms; }

footer.glass-panel { animation-delay: 1120ms; }

.feature-icon i,
.socials i {
    animation: icon-pop 2.9s ease-in-out infinite;
}

.feature-icon i { animation-delay: 220ms; }

.feature-card:hover,
.step-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 22px rgba(70, 242, 215, 0.2) !important;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

@keyframes aurora-drift {
    0% { transform: translate3d(-2%, -1%, 0) scale(1); }
    50% { transform: translate3d(1%, 2%, 0) scale(1.03); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

@keyframes border-scan {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes logo-breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 14px rgba(70, 242, 215, 0.2)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 5px 16px rgba(70, 242, 215, 0.35)); }
}

@keyframes hero-pan {
    0% { background-position: 50% 50%; }
    100% { background-position: 53% 44%; }
}

@keyframes hero-overlay-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes hero-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes title-glow {
    0%, 100% { text-shadow: 0 2px 12px rgba(70, 242, 215, 0.14); }
    50% { text-shadow: 0 6px 20px rgba(70, 242, 215, 0.35), 0 0 26px rgba(70, 242, 215, 0.22); }
}

@keyframes button-sheen {
    0% { left: -130%; opacity: 0; }
    16% { opacity: 1; }
    38% { left: 145%; opacity: 0; }
    100% { left: 145%; opacity: 0; }
}

@keyframes rise-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes icon-pop {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-2px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
