/*
Theme Name: Acronsys
Theme URI: https://acronsys.local/
Author: Acronsys
Description: Tema corporativo personalizado de Acronsys, convertido desde el sitio HTML/CSS/JS original.
Version: 1.0.0
Text Domain: acronsys
*/

:root {
    --bg: #071521;
    --surface: rgba(10, 24, 39, 0.58);
    --surface-strong: rgba(11, 29, 47, 0.88);
    --ink: #eef8ff;
    --muted: #95afc4;
    --line: rgba(127, 212, 255, 0.16);
    --primary: #31d7cb;
    --primary-deep: #0f7285;
    --accent: #68a8ff;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    background:
        radial-gradient(circle at 14% 18%, rgba(49, 215, 203, 0.2), transparent 22%),
        radial-gradient(circle at 82% 12%, rgba(104, 168, 255, 0.24), transparent 24%),
        radial-gradient(circle at 76% 72%, rgba(124, 86, 255, 0.16), transparent 20%),
        linear-gradient(145deg, #040b13 0%, #071521 38%, #0a2234 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(140, 214, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 214, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 88%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 30%, rgba(49, 215, 203, 0.1), transparent 18%),
        radial-gradient(circle at 78% 24%, rgba(104, 168, 255, 0.1), transparent 20%),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.05), transparent 16%);
    filter: blur(24px);
    animation: ambient-shift 22s ease-in-out infinite alternate;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 22px 64px;
    position: relative;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.26;
}

.page-shell::before {
    top: 8%;
    right: -120px;
    background: radial-gradient(circle, rgba(49, 215, 203, 0.18) 0%, rgba(49, 215, 203, 0.02) 62%, transparent 74%);
    animation: orb-drift 18s ease-in-out infinite;
}

.page-shell::after {
    bottom: 6%;
    left: -130px;
    background: radial-gradient(circle, rgba(104, 168, 255, 0.16) 0%, rgba(104, 168, 255, 0.02) 58%, transparent 74%);
    animation: orb-drift 24s ease-in-out infinite reverse;
}

.page-shell > * {
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    position: sticky;
    top: 18px;
    z-index: 10;
    margin-bottom: 34px;
    backdrop-filter: blur(16px);
    background: rgba(7, 22, 36, 0.62);
    border: 1px solid rgba(143, 214, 255, 0.12);
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #03111c;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong,
.main-nav a,
.button,
.nav-cta,
h1,
h2,
h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.brand-copy small {
    color: var(--muted);
}

.main-nav {
    display: flex;
    gap: 24px;
    color: var(--muted);
}

.main-nav a:hover,
.nav-cta:hover {
    color: var(--primary);
}

.main-nav a.is-active {
    color: #8ef5ed;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-cta,
.button-primary {
    color: #03111c;
    background: linear-gradient(135deg, #74f0e6, #57a8ff);
    box-shadow: 0 16px 32px rgba(49, 215, 203, 0.24);
}

.button-secondary {
    color: var(--ink);
    background: rgba(12, 28, 44, 0.62);
    border: 1px solid rgba(143, 214, 255, 0.14);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    min-height: 72vh;
}

.hero-copy,
.hero-card,
.trust-strip,
.feature-card,
.showcase-panel,
.showcase-list,
.contact-card,
.module-grid article,
.timeline article {
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-copy {
    padding: 44px 10px 44px 4px;
}

.motion-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    color: #8ef5ed;
    background: rgba(49, 215, 203, 0.1);
    border: 1px solid rgba(49, 215, 203, 0.12);
    font-weight: 700;
    font-size: 0.92rem;
}

.hero h1 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.98;
    margin: 0 0 20px;
    letter-spacing: -0.05em;
}

.hero p,
.section-heading p,
.feature-card p,
.module-grid p,
.timeline p,
.showcase p,
.contact p,
.form-note {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1rem;
}

.dynamic-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: rgba(10, 24, 39, 0.72);
    border: 1px solid rgba(143, 214, 255, 0.14);
    box-shadow: var(--shadow);
}

.dynamic-pill-label {
    color: var(--muted);
    font-weight: 700;
}

.dynamic-pill strong {
    min-width: 19ch;
    color: #8ef5ed;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.hero-points li {
    position: relative;
    padding-left: 26px;
    font-weight: 600;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.hero-card {
    display: flex;
    align-items: center;
}

.signal-card {
    width: 100%;
    padding: 28px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(155deg, rgba(9, 31, 48, 0.96), rgba(8, 17, 32, 0.92)),
        linear-gradient(135deg, rgba(104, 168, 255, 0.16), transparent 40%);
    border: 1px solid rgba(143, 214, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    color: #fff;
    animation: panel-float 10s ease-in-out infinite;
}

.signal-card::before,
.signal-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(104, 168, 255, 0.12);
}

.signal-card::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    animation: halo-pulse 12s ease-in-out infinite;
}

.signal-card::after {
    width: 160px;
    height: 160px;
    bottom: -50px;
    left: -40px;
    animation: halo-pulse 16s ease-in-out infinite reverse;
}

.signal-tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(143, 214, 255, 0.14);
    font-weight: 700;
    margin-bottom: 16px;
}

.signal-line {
    position: relative;
    height: 6px;
    margin: 0 0 22px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.signal-line span {
    position: absolute;
    inset: 0;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(49, 215, 203, 0.1), rgba(143, 214, 255, 0.95), rgba(49, 215, 203, 0.1));
    box-shadow: 0 0 24px rgba(104, 168, 255, 0.42);
    animation: scan-line 4.8s ease-in-out infinite;
}

.signal-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
    margin: 0 0 24px;
    max-width: 12ch;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.metrics-grid article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(143, 214, 255, 0.12);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.metrics-grid strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.metrics-grid span {
    color: rgba(255, 255, 255, 0.78);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 36px 0 24px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(143, 214, 255, 0.12);
    box-shadow: var(--shadow);
}

.trust-strip div {
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(143, 214, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.trust-strip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.trust-strip span {
    color: var(--muted);
}

.section {
    padding: 84px 0 22px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.showcase-panel h2,
.contact-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.6vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.module-grid article,
.timeline article,
.showcase-panel,
.showcase-list,
.contact-card {
    background: rgba(10, 24, 39, 0.62);
    border: 1px solid rgba(143, 214, 255, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.topbar:hover,
.feature-card:hover,
.module-grid article:hover,
.timeline article:hover,
.trust-strip div:hover,
.metrics-grid article:hover,
.showcase-list div:hover {
    border-color: rgba(143, 214, 255, 0.24);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.feature-card:hover,
.module-grid article:hover,
.timeline article:hover,
.trust-strip div:hover,
.metrics-grid article:hover,
.showcase-list div:hover {
    transform: translateY(-4px);
}

.feature-card {
    padding: 28px;
    border-radius: var(--radius-md);
}

.card-index {
    display: inline-flex;
    margin-bottom: 18px;
    color: #8fd8ff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.feature-card h3,
.module-grid h3,
.timeline h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.section-accent {
    position: relative;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.module-grid article {
    border-radius: var(--radius-md);
    padding: 24px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.timeline article {
    border-radius: var(--radius-md);
    padding: 24px;
}

.timeline span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(49, 215, 203, 0.1);
    color: #92fff4;
    font-weight: 800;
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.showcase-panel,
.showcase-list {
    border-radius: 30px;
    padding: 30px;
}

.showcase-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: center;
}

.showcase-list div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(49, 215, 203, 0.06);
    border: 1px solid rgba(49, 215, 203, 0.1);
    font-weight: 700;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 72px;
}

.contact-card {
    border-radius: 30px;
    padding: 30px;
    display: grid;
    gap: 16px;
}

.contact-card label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-card input,
.contact-card select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(6, 18, 30, 0.92);
    color: var(--ink);
    font: inherit;
}

.contact-card input:focus,
.contact-card select:focus {
    outline: 2px solid rgba(49, 215, 203, 0.16);
    border-color: rgba(49, 215, 203, 0.42);
}

.form-note {
    margin: 0;
}

.is-highlighted {
    color: #8ef5ed;
    font-weight: 800;
}

@keyframes ambient-shift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.65;
    }
    100% {
        transform: translate3d(0, -18px, 0) scale(1.06);
        opacity: 0.9;
    }
}

@keyframes orb-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -22px, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-12px, 16px, 0) scale(0.96);
    }
}

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

@keyframes halo-pulse {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.72;
    }
}

@keyframes scan-line {
    0% {
        transform: translateX(-110%);
    }
    50%,
    100% {
        transform: translateX(175%);
    }
}

@media (max-width: 1024px) {
    .hero,
    .showcase,
    .contact,
    .cards-3,
    .module-grid,
    .timeline,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .topbar {
        border-radius: 28px;
        padding: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding: 14px 14px 44px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .metrics-grid,
    .showcase-list {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .signal-card,
    .feature-card,
    .module-grid article,
    .timeline article,
    .showcase-panel,
    .showcase-list,
    .contact-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
