:root {
    --bg: #f7f7f5;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --text: #0d1117;
    --muted: #58606d;
    --line: rgba(13, 17, 23, 0.08);
    --line-strong: rgba(13, 17, 23, 0.16);
    --red: #ff4a2a;
    --blue: #3d7cff;
    --yellow: #f4b400;
    --dark: #071223;
    --shadow: 0 30px 80px rgba(13, 17, 23, 0.06);
    --radius: 24px;
    --content: min(1200px, calc(100% - 48px));
    --header-mobile-control: 48px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 74, 42, 0.06), transparent 28%),
        radial-gradient(circle at top right, rgba(61, 124, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #fbfbfa 0%, #f4f4f2 100%);
}

body.nav-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.site-header {
    width: 100%;
    padding: 12px 5%;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(247, 247, 245, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(13, 17, 23, 0.05);
}

.site-header::after {
    content: none;
}

.brand img {
    height: 38px;
    width: auto;
}

.footer-brand img {
    width: 176px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 0.96rem;
    color: var(--muted);
    z-index: 21;
}

.site-nav a {
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    padding-bottom: 6px;
}

.site-nav a.active {
    color: var(--blue);
    text-shadow: 0 0 16px rgba(61, 124, 255, 0.4);
    font-weight: 600;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
    transition: transform 0.25s ease;
}

.site-nav a.active::after {
    transform: translateX(-50%) scale(1);
}

.site-nav a:hover {
    color: var(--text);
}

.footer-links a,
.footer-contact a {
    transition: color 0.25s ease, opacity 0.25s ease;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 24px;
    font-size: 0.95rem;
    color: #fff;
    background: var(--blue);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button-with-icon {
    gap: 10px;
}

.button-with-icon svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(61, 124, 255, 0.25);
    color: #fff;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button-primary {
    padding: 15px 24px;
    background: var(--blue);
    color: #fff;
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.button-secondary {
    padding: 15px 24px;
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: transparent;
}

.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.button-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(61, 124, 255, 0.32);
    color: var(--blue);
    background: rgba(61, 124, 255, 0.04);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 24;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] {
    border-color: rgba(61, 124, 255, 0.2);
    background: #fff;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 35, 0.36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 19;
}

.nav-scrim.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.section {
    width: var(--content);
    margin: 0 auto;
    padding: 120px 0;
}

.hero {
    min-height: calc(85vh - 92px);
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero-ui-preview {
    position: relative;
    width: 100%;
    perspective: 1000px;
}

.mock-browser {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(4deg) scale(1.05);
    transform-origin: center right;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mock-browser:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mock-header {
    background: #f4f5f5;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e3e4;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mock-body {
    display: flex;
    height: 400px;
}

.mock-sidebar {
    width: 80px;
    background: #fafafa;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-line {
    height: 8px;
    border-radius: 4px;
    background: #eaebec;
}

.mock-line.short { width: 60%; background: var(--blue); }
.mock-line.mt-auto { margin-top: auto; }

.mock-content {
    flex: 1;
    padding: 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eaebec;
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mock-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 16px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mock-card.wide {
    grid-column: 1 / -1;
    height: auto;
}

.mock-chart {
    height: 60px;
    background: linear-gradient(180deg, rgba(61,124,255,0.1) 0%, transparent 100%);
    border-top: 2px solid var(--blue);
    border-radius: 4px 4px 0 0;
}

.mock-chart.bar {
    background: transparent;
    border-top: none;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.mock-chart.bar::before,
.mock-chart.bar::after {
    content: '';
    flex: 1;
    background: var(--yellow);
    border-radius: 2px 2px 0 0;
}

.mock-chart.bar::before { height: 40%; }
.mock-chart.bar::after { height: 80%; background: var(--red); }

.mock-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-row {
    height: 12px;
    background: #f4f5f5;
    border-radius: 4px;
}

.mock-row.header {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
    height: auto;
}

.hero-copy,
.hero-side,
.section-head,
.split-copy,
.flow-list,
.pricing-columns,
.final-cta {
    position: relative;
    z-index: 1;
}

.bg-decoration {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    width: min(420px, 48vw);
}

.bg-decoration.decor-left {
    left: -170px;
    top: 42px;
}

.bg-decoration.decor-right {
    right: -170px;
    top: 64px;
    transform: rotate(180deg);
}

.hero-main,
.hero-media,
.split-copy,
.flow-list,
.section-head,
.pricing-columns {
    position: relative;
    z-index: 1;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 17, 23, 0.06);
    color: var(--red);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.96;
}

h1 {
    margin-top: 22px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    max-width: 10.8ch;
}

h2 {
    margin-top: 18px;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    max-width: 11ch;
}

h3 {
    font-size: 1.9rem;
}

.hero-text,
.split-copy p,
.line-grid p,
.application-list em,
.pricing-column p,
.final-cta p,
.footer-brand p,
.legal-copy p,
.blog-intro p,
.contact-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
    font-size: 1.06rem;
}

.hero-text {
    margin-top: 22px;
    max-width: 58ch;
    font-size: 1.16rem;
}

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

.hero-actions.center {
    justify-content: center;
}

.hero-inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-inline-meta span {
    position: relative;
}

.hero-inline-meta span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    width: 1px;
    height: 14px;
    background: var(--line-strong);
    transform: translateY(-50%);
}

.hero-side {
    display: grid;
    gap: 18px;
    padding-bottom: 10px;
}

.hero-line,
.flow-item,
.pricing-column,
.application-list div,
.line-grid article,
.legal-section,
.blog-row,
.contact-line {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.hero-line strong,
.flow-item strong,
.application-list span,
.contact-line strong,
.blog-row h3 {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.hero-line span,
.flow-item span,
.contact-line span,
.blog-row p {
    color: var(--muted);
    line-height: 1.65;
}

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.4);
}

.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 24px 0;
    animation: marquee 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(13, 17, 23, 0.08);
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.marquee-item svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 28px;
        margin-bottom: 34px;
        flex-wrap: wrap;
    }

.section-head.center {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 34px;
    width: 100%;
}

.section-head.center h2 {
    max-width: 11ch;
    margin: 0;
}

.section-head.center p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

.section-head.pricing-head {
    align-items: center;
}

.free-download-shell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 32px;
    align-items: center;
    padding: 38px 40px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: var(--shadow);
}

.free-download-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(61, 124, 255, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 74, 42, 0.08), transparent 26%);
    pointer-events: none;
}

.free-download-copy,
.free-download-actions {
    position: relative;
    z-index: 1;
}

.free-download-copy p {
    margin: 0;
    max-width: 54ch;
    color: var(--muted);
    line-height: 1.78;
    font-size: 1.05rem;
}

.free-download-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.free-download-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 17, 23, 0.08);
    color: var(--text);
    font-weight: 600;
    font-size: 0.94rem;
}

.free-download-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--blue);
}

.free-download-actions {
    display: grid;
    gap: 14px;
}

.free-download-actions a {
    min-height: 64px;
    padding-inline: 24px;
    justify-content: flex-start;
    font-size: 1rem;
}

.free-download-actions svg {
    width: 22px;
    height: 22px;
}

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

.line-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.line-grid article small,
.application-list em,
.pricing-column small,
.blog-row small {
    display: block;
    margin-bottom: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.line-grid article:nth-child(4n + 1) small,
.application-list div:nth-child(4n + 1) span,
.footer-links a:nth-child(4n + 1):hover {
    color: var(--red);
}

.line-grid article:nth-child(4n + 2) small,
.application-list div:nth-child(4n + 2) span,
.social-links a:nth-child(4n + 2):hover {
    color: var(--blue);
}

.line-grid article:nth-child(4n + 3) small,
.application-list div:nth-child(4n + 3) span,
.footer-contact a:nth-child(2):hover {
    color: var(--yellow);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 52px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.flow-list {
    display: grid;
    gap: 0;
}

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

.application-list span {
    font-size: 1.3rem;
    line-height: 1.2;
}

.application-list em {
    font-style: normal;
}

.section-darkband {
    width: 100%;
    padding-left: max(24px, calc((100% - var(--content)) / 2));
    padding-right: max(24px, calc((100% - var(--content)) / 2));
    background:
        radial-gradient(circle at right top, rgba(61, 124, 255, 0.16), transparent 28%),
        linear-gradient(180deg, var(--dark) 0%, #09172c 100%);
    color: #fff;
}

.section-darkband .section-head,
.section-darkband .line-grid {
    width: var(--content);
    margin-left: auto;
    margin-right: auto;
}

.section-darkband .section-kicker {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.section-darkband .section-kicker::before {
    background: var(--yellow);
}

.section-darkband h2,
.section-darkband .line-grid article p {
    color: #fff;
}

.section-darkband .line-grid article,
.section-darkband .line-grid article p {
    border-color: rgba(255, 255, 255, 0.12);
}

.section-darkband .line-grid article small {
    color: rgba(255, 255, 255, 0.72);
}

.price-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
}

.price-toggle-button {
    min-width: 74px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.price-toggle-button.is-active {
    background: var(--text);
    color: #fff;
}

.pricing-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.pricing-column h3 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    margin-top: 6px;
}

.price-period,
.pricing-footnote {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.price-copy {
    margin-top: 16px;
}

.pricing-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
}

.pricing-points li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.pricing-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--red);
}

.pricing-column:nth-child(2) .pricing-points li::before {
    background: var(--blue);
}

.pricing-column:nth-child(3) .pricing-points li::before {
    background: var(--yellow);
}

.pricing-footnote {
    margin-top: 24px;
}

.package-select {
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.package-select:focus {
    border-color: var(--blue);
}

.pricing-btn {
    width: 100%;
    margin-top: 24px;
}

/* Resources CTA */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: stretch;
}

.resource-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--line);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.resource-icon {
    width: 64px;
    height: 64px;
    background: #fbfbfa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text);
}

.resource-icon.highlight-blue {
    color: var(--blue);
    background: rgba(61, 124, 255, 0.08);
}

.resource-icon.highlight-red {
    color: var(--red);
    background: rgba(255, 78, 66, 0.08);
}

.resource-icon svg {
    width: 32px;
    height: 32px;
}

.resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
}

.resource-card .button-outline {
    width: auto;
    align-self: flex-start;
}

.site-footer {
    width: 100%;
    padding: 80px 5% 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-brand,
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.footer-links strong,
.footer-contact strong {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    max-width: 280px;
}

.logo-light-wrap {
    position: relative;
    width: 176px;
    margin: 0 auto;
}

.logo-light-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dark);
    clip-path: inset(0 0 0 66.9%);
    z-index: 1;
}

.logo-light-base,
.logo-light-color {
    width: 100%;
    display: block;
}

.logo-light-base {
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 0;
}

.logo-light-color {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 66.9%);
    z-index: 2;
}

.footer-dev-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-dev-link:hover {
    color: var(--blue);
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.highlight-red {
    color: var(--red);
}

.highlight-blue {
    color: var(--blue);
}

.highlight-yellow {
    color: var(--yellow);
}

.page-hero,
.legal-hero,
.contact-hero,
.blog-hero,
.downloads-hero {
    width: var(--content);
    margin: 0 auto;
    padding: 100px 0 40px;
}

.page-hero h1,
.legal-hero h1,
.contact-hero h1,
.blog-hero h1,
.downloads-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    max-width: 14ch;
}

.blog-list,
.legal-copy,
.contact-grid,
.downloads-grid,
.changelog-wrap {
    width: var(--content);
    margin: 0 auto;
    padding: 18px 0 80px;
}

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

.download-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 38px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.download-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(61, 124, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.download-card > * {
    position: relative;
    z-index: 1;
}

.download-card small {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.download-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.download-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(61, 124, 255, 0.08);
    color: var(--blue);
}

.download-icon.windows {
    background: rgba(255, 74, 42, 0.08);
    color: var(--red);
}

.download-icon svg {
    width: 36px;
    height: 36px;
}

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

.download-meta div {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fbfbfa;
    border: 1px solid var(--line);
}

.download-meta strong,
.change-row strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.download-meta span,
.change-row span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.changelog-wrap {
    padding-top: 0;
}

.changelog-list {
    display: grid;
    gap: 18px;
}

.change-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.change-row:last-child {
    border-bottom: 1px solid var(--line);
}

.change-row small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.change-row small::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--blue);
}

.blog-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 30px;
    align-items: start;
}

.blog-row a {
    font-weight: 600;
    color: var(--text);
}

.legal-copy {
    display: grid;
    gap: 10px;
}

.legal-section h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    max-width: none;
    margin-bottom: 12px;
}

.legal-section ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
}

.contact-line a {
    color: var(--text);
}

.map-frame {
    width: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

/* Home Contact */
.home-contact {
    background: #f8f9fa;
    border-radius: 40px;
    margin: 40px auto 80px;
    padding: 80px 40px;
    max-width: calc(100% - 40px);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-form-ui {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.contact-form-ui input,
.contact-form-ui textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #fbfbfa;
    transition: all 0.25s ease;
}

.contact-form-ui input:focus,
.contact-form-ui textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(61, 124, 255, 0.1);
}

.contact-form-ui textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form-ui .button-primary {
    padding: 18px;
    font-size: 1.05rem;
    border-radius: 12px;
    margin-top: 8px;
}

.home-contact-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid var(--line);
}

.map-overlay-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-overlay-info strong {
    color: var(--text);
    font-weight: 600;
}

.map-overlay-info span {
    color: var(--muted);
    font-size: 0.85rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .hero,
    .split-section,
    .free-download-shell,
    .contact-grid,
    .downloads-grid,
    .site-footer,
    .section-head,
    .line-grid,
    .line-grid.compact,
    .application-list,
    .pricing-columns,
    .blog-row,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .site-footer,
    .section-head {
        gap: 24px;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-meta,
    .change-row {
        grid-template-columns: 1fr;
    }

    .section-darkband {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .free-download-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-contact {
        width: 90%;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        grid-template-columns: var(--header-mobile-control) 1fr var(--header-mobile-control);
        gap: 10px;
        padding: 12px max(14px, 4.5vw);
        align-items: center;
        min-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        grid-column: 1;
        justify-self: start;
        margin: 0;
        position: absolute;
        left: max(14px, 4.5vw);
        top: 50%;
        transform: translateY(-50%);
        z-index: 24;
    }

    .nav-toggle[aria-expanded="true"] {
        transform: translateY(-50%);
    }

    .site-header::after {
        display: none;
    }

    .brand {
        grid-column: 1 / -1;
        justify-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .brand img {
        height: 38px;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: min(320px, 82vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        padding: 96px 26px 32px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 18px;
        background: rgba(247, 247, 245, 0.97);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border-right: 1px solid rgba(13, 17, 23, 0.08);
        box-shadow: 0 30px 80px rgba(7, 18, 35, 0.16);
        transform: translateX(-100%);
        transition: transform 0.32s ease;
        overflow-y: auto;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        padding-bottom: 0;
        font-size: 1rem;
    }

    .header-cta {
        display: none;
    }

    .hero-actions {
        display: none;
    }

    .hero-inline-meta span:not(:last-child)::after {
        display: none;
    }

    .free-download-shell {
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        grid-template-columns: 1fr;
    }

    :root {
        --content: min(1200px, calc(100% - 28px));
    }

    .site-header {
        padding: 12px max(14px, 4.5vw);
        align-items: center;
    }

    .brand img {
        height: 38px;
    }

    h1 {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
        hyphens: none;
        text-align: inherit;
    }

    h2 {
        font-size: clamp(2rem, 7.5vw, 2.8rem);
        hyphens: none;
        text-align: inherit;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-head.center {
        align-items: center;
        text-align: center;
    }

    .section-head.pricing-head {
        align-items: center;
        text-align: center;
    }

    .section-darkband .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        width: min(300px, 86vw);
        height: 100dvh;
        max-height: 100dvh;
        padding: 88px 22px 28px;
    }

    .section,
    .page-hero,
    .legal-hero,
    .contact-hero,
    .blog-hero,
    .downloads-hero,
    .blog-list,
    .legal-copy,
    .contact-grid,
    .downloads-grid,
    .changelog-wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero {
        gap: 20px;
        padding-top: 32px;
    }

    .hero-text,
    .split-copy p,
    .line-grid p,
    .application-list em,
    .pricing-column p,
    .final-cta p,
    .footer-brand p,
    .legal-copy p,
    .blog-intro p,
    .contact-copy p,
    .hero-line span,
    .flow-item span,
    .contact-line span,
    .blog-row p {
        font-size: 0.98rem;
    }

    .hero-inline-meta {
        gap: 8px 14px;
        font-size: 0.88rem;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .free-download-shell {
        padding: 26px 20px;
        gap: 24px;
    }

    .free-download-copy p {
        font-size: 0.98rem;
    }

    .free-download-actions {
        grid-template-columns: 1fr;
    }

    .free-download-actions a {
        justify-content: center;
    }

    .site-footer {
        padding-top: 28px;
    }

    .map-frame {
        min-height: 360px;
    }
}

/* Isometric 3D UI */
.isometric-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.isometric-wrapper {
    position: relative;
    width: 260px;
    height: 340px;
    transform: rotateX(55deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    animation: float-iso 6s ease-in-out infinite;
}

@keyframes float-iso {
    0%, 100% { transform: rotateX(55deg) rotateZ(-45deg) translateZ(0); }
    50% { transform: rotateX(55deg) rotateZ(-45deg) translateZ(20px); }
}

.iso-layer {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.iso-layer-1 {
    transform: translateZ(0);
    background: #ffffff;
    border: 1px solid var(--line-strong);
    box-shadow: -30px 40px 50px rgba(0, 0, 0, 0.08);
}

.iso-layer-2 {
    transform: translateZ(50px);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
}

.iso-layer-3 {
    transform: translateZ(100px);
    pointer-events: none;
    transform-style: preserve-3d;
}

.iso-header {
    display: flex;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.iso-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-strong);
}
.iso-dot:nth-child(1) { background: var(--red); }
.iso-dot:nth-child(2) { background: var(--yellow); }
.iso-dot:nth-child(3) { background: #22c55e; }

.iso-content-grid {
    display: flex;
    gap: 12px;
    flex: 1;
}

.iso-sidebar {
    width: 60px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.iso-side-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.06);
}

.iso-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iso-chart {
    flex: 1;
    background: linear-gradient(135deg, rgba(61, 124, 255, 0.1), rgba(61, 124, 255, 0.02));
    border-radius: 12px;
    border: 1px solid rgba(61, 124, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.iso-chart::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(0deg, rgba(61,124,255,0.2) 0%, transparent 100%);
    border-radius: 0 0 12px 12px;
}

.iso-bars {
    display: flex;
    gap: 8px;
    height: 60px;
    align-items: flex-end;
}

.iso-bar {
    flex: 1;
    background: var(--blue);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}
.iso-bar:nth-child(1) { height: 40%; }
.iso-bar:nth-child(2) { height: 70%; }
.iso-bar:nth-child(3) { height: 100%; }

.iso-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    animation: float-card 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.iso-floating-card svg {
    width: 18px;
    height: 18px;
}

.card-blue {
    background: var(--blue);
    box-shadow: -8px 12px 24px rgba(61, 124, 255, 0.3);
    top: 20%;
    right: -40%;
}

.card-red {
    background: var(--red);
    box-shadow: -8px 12px 24px rgba(255, 78, 66, 0.3);
    bottom: 20%;
    left: -40%;
    animation-delay: -2s;
}

@keyframes float-card {
    0% { transform: translateZ(0); }
    100% { transform: translateZ(20px); }
}

@media (max-width: 860px) {
    .isometric-wrapper {
        transform: scale(0.8) rotateX(55deg) rotateZ(-45deg);
    }
    @keyframes float-iso {
        0%, 100% { transform: scale(0.8) rotateX(55deg) rotateZ(-45deg) translateZ(0); }
        50% { transform: scale(0.8) rotateX(55deg) rotateZ(-45deg) translateZ(20px); }
    }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    border: none;
    box-shadow: 0 12px 28px rgba(61, 124, 255, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 32px rgba(61, 124, 255, 0.45);
}

.chatbot-window {
    position: absolute;
    bottom: 84px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
    border: 1px solid var(--line);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-window.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--blue), #1e5de8);
    color: white;
    padding: 28px 24px 24px;
    position: relative;
}

.chatbot-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chatbot-header-info h4 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.chatbot-header-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.chatbot-avatars {
    display: flex;
    margin-top: 18px;
}

.chatbot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    margin-left: -12px;
    position: relative;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chatbot-avatar:first-child {
    margin-left: 0;
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-status.online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}

.chatbot-body {
    padding: 24px;
    max-height: 420px;
    overflow-y: auto;
}

.chatbot-welcome h5 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: var(--text);
}

.chatbot-welcome p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.chatbot-departments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dept-btn {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.dept-btn:hover {
    background: #ffffff;
    border-color: var(--blue);
    box-shadow: 0 6px 16px rgba(61, 124, 255, 0.08);
    transform: translateY(-2px);
}

.dept-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(61, 124, 255, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 14px;
    flex-shrink: 0;
}

.dept-btn[data-dept="ventas"] .dept-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.dept-btn[data-dept="soporte"] .dept-icon {
    background: rgba(255, 78, 66, 0.1);
    color: var(--red);
}

.dept-info {
    flex: 1;
}

.dept-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2px;
}

.dept-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.dept-arrow {
    color: var(--muted);
    font-size: 18px;
    transition: transform 0.2s;
}

.dept-btn:hover .dept-arrow {
    transform: translateX(4px);
    color: var(--blue);
}

.chatbot-history {
    margin-top: 28px;
}

.history-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.history-divider::before,
.history-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--line);
}

.history-divider span {
    padding: 0 12px;
}

.empty-history {
    text-align: center;
    padding: 24px 0;
    color: var(--muted);
}

.empty-history i {
    font-size: 36px;
    opacity: 0.4;
    margin-bottom: 10px;
    display: block;
}

.empty-history p {
    font-size: 0.9rem;
    margin: 0;
}
