/* Sistemas de Secado — estilos locales complementarios a Tailwind CDN */

:root {
    --forge-950: #070b10;
    --forge-900: #0c1219;
    --ember: #e85d04;
    --coolant: #1a8cff;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

.font-800 {
    font-weight: 800;
}

.font-700 {
    font-weight: 700;
}

.nav-link {
    border-radius: 2px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a8b8c8;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover,
.nav-link-active {
    color: #e6edf4;
    background-color: rgba(30, 42, 58, 0.7);
}

.mobile-link {
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #e6edf4;
}

.mobile-link:hover {
    background-color: rgba(30, 42, 58, 0.9);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero airflow SVG strokes */
.air-stream {
    stroke-dasharray: 8 6;
    animation: airflow 2.8s linear infinite;
}

@keyframes airflow {
    to {
        stroke-dashoffset: -56;
    }
}

/* Form focus ring industrial */
.field-label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a8fa8;
}

.field-input {
    width: 100%;
    border-radius: 2px;
    border: 1px solid #2a3a50;
    background-color: #0c1219;
    padding: 0.7rem 0.85rem;
    color: #e6edf4;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus {
    outline: none;
    border-color: #e85d04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.2);
}

.field-input::placeholder {
    color: #4a5d73;
}

.field-error {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #fb7185;
}

/* Application panel hover */
.app-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 58, 80, 0.9);
    background:
        linear-gradient(160deg, rgba(20, 28, 40, 0.95), rgba(12, 18, 25, 0.98)),
        radial-gradient(ellipse at top right, rgba(232, 93, 4, 0.08), transparent 55%);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.app-tile:hover {
    border-color: rgba(232, 93, 4, 0.45);
    transform: translateY(-2px);
}

.app-photo img {
    filter: saturate(0.92) contrast(1.05);
}

.app-tile:hover .app-photo img {
    transform: scale(1.03);
}

/* Success panel */
.success-panel {
    border: 1px solid rgba(74, 222, 128, 0.35);
    background: linear-gradient(145deg, rgba(20, 40, 28, 0.95), rgba(12, 18, 25, 0.98));
}

/* Video section — click-to-play frames */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #070b10;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #070b10;
    color: #e6edf4;
}

.video-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0;
    border-radius: 999px;
    background: rgba(232, 93, 4, 0.92);
    color: #070b10;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
}

.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon {
    transform: translate(-50%, -50%) scale(1.06);
    background: #ff7a1a;
}

.video-play:focus-visible {
    outline: 2px solid #e85d04;
    outline-offset: 2px;
}
