/* Loquis Studio - Landing Page Styles */

:root {
    --brand-green: #00D06C;
    --brand-green-rgb: 0, 208, 108;
    --brand-dark: #050505;
    --brand-card: #121212;
    --brand-surface: #1E1E1E;
    --factory-accent: #8B5CF6;
    --factory-accent-rgb: 139, 92, 246;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Josefin Sans", sans-serif !important;
}

p {
    font-family: "Inter", sans-serif !important;
    font-size: 1.05rem !important;
}

p.text-xs {
    font-size: 0.95rem !important;
}

p.text-sm {
    font-size: 1.05rem !important;
}

p.text-lg {
    font-size: 1.15rem !important;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

.header-solid {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-toggle,
.menu-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover,
.menu-dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    flex-direction: column;
    gap: 0.28rem;
}

.menu-toggle span {
    display: block;
    width: 1.05rem;
    height: 2px;
    border-radius: 9999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
}

.mobile-nav-overlay,
.login-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay[hidden],
.login-modal-overlay[hidden] {
    display: none;
}

.mobile-nav-overlay {
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-overlay.is-open,
.login-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-panel {
    width: min(88vw, 420px);
    min-height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    transition: color 0.25s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-green);
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(5, 5, 5, 0.6) 0%,
            transparent 35%,
            transparent 60%,
            rgba(5, 5, 5, 0.95) 100%
        ),
        radial-gradient(
            ellipse at center bottom,
            rgba(0, 208, 108, 0.08) 0%,
            transparent 60%
        );
    z-index: 1;
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition:
        opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-child {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.logo-carousel {
    display: flex;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}

.logo-carousel-group {
    display: flex;
    align-items: center;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-carousel img {
    height: 100px;
    width: auto;
    border-radius: 12px;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 4rem;
    width: 9.5rem;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.logo-item span {
    max-width: 100%;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.logo-item:hover span {
    color: var(--brand-green);
    transform: translateX(4px);
}

.glow-pulse {
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(var(--brand-green-rgb), 0.15);
    }

    50% {
        box-shadow:
            0 0 35px rgba(var(--brand-green-rgb), 0.35),
            0 0 60px rgba(var(--brand-green-rgb), 0.1);
    }
}

.login-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-modal-card {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(20, 20, 20, 0.97) 0%,
            rgba(12, 12, 12, 0.98) 100%
        );
    backdrop-filter: blur(34px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.48),
        0 12px 30px rgba(0, 0, 0, 0.24);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.login-modal-overlay.is-open .login-modal-card {
    transform: scale(1) translateY(0);
}

.login-modal-subtitle {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.login-modal-description {
    margin-bottom: 0;
    color: #b8b8b8;
    font-size: 0.92rem !important;
    line-height: 1.6;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    color: white;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.social-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.social-btn span {
    flex: 1;
    text-align: left;
}

.social-btn i,
.social-btn svg {
    font-size: 1.1rem;
    width: 1.35rem;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.social-btn-google {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    color: #101214;
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.social-btn-google:hover {
    background: #f7f7f7;
    border-color: #ffffff;
}

.social-btn-google i {
    background: linear-gradient(
        135deg,
        #4285f4 0%,
        #4285f4 24%,
        #34a853 24%,
        #34a853 48%,
        #fbbc05 48%,
        #fbbc05 72%,
        #ea4335 72%,
        #ea4335 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.social-btn-apple {
    background: #0b0b0d;
    border-color: rgba(255, 255, 255, 0.16);
    color: white;
}

.social-btn-apple:hover {
    background: #151518;
}

.social-btn-apple i {
    color: white;
}

.social-btn-facebook {
    background: #1877f2;
    border-color: rgba(24, 119, 242, 0.65);
    color: white;
}

.social-btn-facebook:hover {
    background: #1f7ff5;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-btn-facebook i {
    color: white;
}

.social-btn-email {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: white;
}

.social-btn-email i {
    color: var(--brand-green);
}

.social-btn-email:hover {
    background: rgba(255, 255, 255, 0.07);
}

.social-btn:hover i {
    transform: scale(1.03);
}

.modal-divider span {
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal-support-link {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.82);
}

.modal-support-link:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.login-email-panel {
    display: grid;
    gap: 1rem;
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.login-back-link:hover {
    color: white;
    transform: translateX(-2px);
}

.login-email-form {
    display: grid;
    gap: 0.95rem;
}

.login-field {
    display: grid;
    gap: 0.45rem;
}

.login-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.login-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.login-input:focus {
    outline: none;
    border-color: rgba(var(--brand-green-rgb), 0.72);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(var(--brand-green-rgb), 0.12);
}

.login-submit-button {
    width: 100%;
    border: 0;
    border-radius: 9999px;
    background: var(--brand-green);
    color: #070707;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 14px 30px rgba(var(--brand-green-rgb), 0.24);
}

.login-submit-button:hover {
    background: #d3ff32;
    transform: translateY(-1px);
}

.login-register-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.5;
}

.login-register-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-weight: 700;
    border-bottom: 1px solid rgba(var(--brand-green-rgb), 0.6);
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.login-register-link:hover {
    color: var(--brand-green);
    border-color: rgba(var(--brand-green-rgb), 1);
}

.sales-modal-card {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(20, 20, 20, 0.97) 0%,
            rgba(12, 12, 12, 0.98) 100%
        );
    backdrop-filter: blur(34px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.48),
        0 12px 30px rgba(0, 0, 0, 0.24);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.sales-modal-overlay.is-open .sales-modal-card {
    transform: scale(1) translateY(0);
}

.sales-modal-eyebrow {
    margin: 0 0 0.8rem;
    color: var(--brand-green);
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sales-modal-description {
    margin: 0;
    color: #b8b8b8;
    font-size: 0.95rem !important;
    line-height: 1.6;
}

.sales-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.sales-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1rem;
}

.sales-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sales-field-full {
    grid-column: 1 / -1;
}

.sales-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sales-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    color: white;
    padding: 0.95rem 1rem;
    font: inherit;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.sales-input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.sales-input:focus {
    outline: none;
    border-color: rgba(var(--brand-green-rgb), 0.55);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(var(--brand-green-rgb), 0.14);
}

.sales-textarea {
    resize: vertical;
    min-height: 7.5rem;
}

.sales-field.is-invalid .sales-input {
    border-color: rgba(255, 107, 107, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.sales-field-error {
    margin: 0;
    color: #ff8d8d;
    font-size: 0.75rem !important;
    line-height: 1.4;
}

.sales-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sales-form-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem !important;
}

.sales-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.95rem 1.35rem;
    background: white;
    color: #080808;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.sales-submit-button:hover {
    background: var(--brand-green);
    transform: translateY(-1px);
}

.sales-hubspot-form {
    min-height: 18rem;
}

.sales-hubspot-error {
    border-radius: 1rem;
    border: 1px solid rgba(255, 107, 107, 0.28);
    background: rgba(86, 22, 28, 0.82);
    color: #ffd6d6;
    padding: 0.95rem 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.sales-hubspot-form .hs-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sales-hubspot-form .hs-form-field {
    margin: 0 0 0.15rem;
}

.sales-hubspot-form .hs-form-field > label,
.sales-hubspot-form .hs-richtext,
.sales-hubspot-form .legal-consent-container {
    color: rgba(255, 255, 255, 0.78);
}

.sales-hubspot-form .hs-form-field > label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sales-hubspot-form input,
.sales-hubspot-form textarea,
.sales-hubspot-form select {
    width: 100% !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: white !important;
    padding: 0.95rem 1rem !important;
    font: inherit !important;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease !important;
}

.sales-hubspot-form input:focus,
.sales-hubspot-form textarea:focus,
.sales-hubspot-form select:focus {
    outline: none !important;
    border-color: rgba(var(--brand-green-rgb), 0.55) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(var(--brand-green-rgb), 0.14) !important;
}

.sales-hubspot-form textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.sales-hubspot-form .hs-error-msgs {
    margin: 0.4rem 0 0;
    padding-left: 0;
    list-style: none;
}

.sales-hubspot-form .hs-error-msg {
    color: #ff8d8d;
    font-size: 0.75rem;
    line-height: 1.4;
}

.sales-hubspot-form .hs-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 9999px !important;
    padding: 0.95rem 1.35rem !important;
    background: white !important;
    color: #080808 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease !important;
}

.sales-hubspot-form .hs-button:hover {
    background: var(--brand-green) !important;
    transform: translateY(-1px);
}

.factory-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            var(--brand-dark) 0%,
            #0a0a18 8%,
            #0d0b1a 50%,
            #0a0a18 92%,
            var(--brand-dark) 100%
        );
}

.factory-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--factory-accent-rgb), 0.1);
    border: 1px solid rgba(var(--factory-accent-rgb), 0.25);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a78bfa;
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}

.factory-card {
    position: relative;
}

.factory-card-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(var(--factory-accent-rgb), 0.18);
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.26),
        0 8px 20px rgba(var(--factory-accent-rgb), 0.08);
    transition:
        transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.factory-card-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--factory-accent-rgb), 0.42);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.32),
        0 14px 26px rgba(var(--factory-accent-rgb), 0.18);
}

.factory-cta:focus-visible {
    outline-color: #c4b5fd;
}

.factory-card-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.35s ease;
}

.factory-card-frame:hover .factory-card-media {
    transform: scale(1.03);
    filter: saturate(1.04);
}

.factory-cta {
    border: 1px solid rgba(var(--factory-accent-rgb), 0.55);
    background: var(--factory-accent);
    color: white;
    box-shadow:
        0 14px 30px rgba(var(--factory-accent-rgb), 0.28),
        0 6px 16px rgba(0, 0, 0, 0.24);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.factory-cta:hover {
    transform: translateY(-2px);
    background: #9f78ff;
    border-color: rgba(var(--factory-accent-rgb), 0.85);
    box-shadow:
        0 18px 34px rgba(var(--factory-accent-rgb), 0.34),
        0 10px 18px rgba(0, 0, 0, 0.28);
}

.factory-section {
    position: relative;
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--factory-accent-rgb), 0.08), transparent 24%),
        linear-gradient(180deg, #070809 0%, #050505 100%);
}

.factory-shell {
    position: relative;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.factory-carousel-wrap {
    position: relative;
    overflow: visible;
    clip-path: inset(-0.75rem 0);
    mask-image: none;
    -webkit-mask-image: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.factory-carousel-track {
    display: flex;
    width: max-content;
    padding-block: 0.75rem;
    animation: scroll-logos 34s linear infinite;
}

.factory-carousel-wrap:hover .factory-carousel-track {
    animation-play-state: paused;
}

.factory-cta-row {
    margin-top: 4rem !important;
}

.factory-carousel-group {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 0;
}

.factory-carousel-item {
    flex: 0 0 auto;
    margin: 0 4rem;
}

.factory-carousel-frame {
    position: relative;
    width: 8rem;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.factory-carousel-media {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    transition:
        transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .factory-carousel-frame:hover {
        transform: translateY(-3px);
    }

    .factory-carousel-frame:hover .factory-carousel-media {
        transform: scale(1.03);
        filter: saturate(1.05);
    }
}

.pricing-section {
    position: relative;
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 208, 108, 0.04), transparent 30%),
        radial-gradient(circle at 80% 12%, rgba(139, 92, 246, 0.06), transparent 28%),
        linear-gradient(180deg, #050505 0%, #090b0e 100%);
}

.pricing-shell {
    position: relative;
}

.pricing-layout {
    display: grid;
    gap: 1.6rem;
}

.pricing-main-grid,
.pricing-secondary-grid {
    display: grid;
    gap: 1.5rem;
}

.pricing-main-actions {
    display: flex;
    justify-content: center;
}

.pricing-header p {
    font-size: 1rem !important;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    position: relative;
    display: block;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    border: 1px solid var(--pricing-border);
    border-radius: 1.5rem;
    text-align: left;
    color: white;
    background: linear-gradient(135deg, var(--pricing-gradient-start), var(--pricing-gradient-end));
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.45s ease,
        border-color 0.25s ease,
        background 0.25s ease;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(var(--pricing-accent-rgb), 0.1);
}

.pricing-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.6rem;
}

.pricing-card-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    overflow: hidden;
}

.pricing-card-pattern svg {
    width: 100%;
    height: 100%;
}

.pricing-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-card-icon,
.pricing-card-selected-indicator {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pricing-card-icon {
    background: var(--pricing-icon-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
}

.pricing-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #fcd34d;
    color: #422006;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(252, 211, 77, 0.18);
    margin-left: auto;
}

.pricing-card-selected-indicator {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: #78db8e;
    color: #003917;
    box-shadow: 0 10px 18px rgba(120, 219, 142, 0.22);
    display: none;
}

.pricing-card-copy {
    margin-bottom: 1.25rem;
}

.pricing-card-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.pricing-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.pricing-card-price {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--pricing-accent);
    font-family: "DM Sans", sans-serif !important;
}

.pricing-card-unit {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(169, 180, 167, 0.95);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    font-family: "DM Sans", sans-serif !important;
}

.pricing-card-meta {
    display: block;
    margin-top: 0.4rem;
    color: #a9b4a7;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: "Josefin Sans", sans-serif !important;
}

.pricing-card-intro {
    margin: 0.9rem 0 0;
    color: rgba(224, 225, 231, 0.72);
    font-size: 0.96rem !important;
    line-height: 1.65;
}

.pricing-card-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-card-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    margin-bottom: 0.9rem;
    color: #e0e1e7;
    font-size: 0.98rem;
    font-weight: 600;
    font-family: "Josefin Sans", sans-serif !important;
    line-height: 1.38;
}

.pricing-card-check {
    position: relative;
    flex-shrink: 0;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 9999px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 14px rgba(0, 0, 0, 0.14);
}

.pricing-card-check::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.3rem;
    width: 0.3rem;
    height: 0.62rem;
    border-right: 2px solid #7fe89a;
    border-bottom: 2px solid #7fe89a;
    transform: rotate(45deg);
}

.pricing-card-features-full,
.pricing-card-enterprise-note {
    display: none;
}

.pricing-section.show-all-details .pricing-card-standard .pricing-card-features-short {
    display: none;
}

.pricing-section.show-all-details .pricing-card-standard .pricing-card-features-full {
    display: block;
}

.pricing-card-enterprise-note {
    margin-top: 1rem;
    color: #a9b4a7;
    font-size: 0.9rem !important;
    line-height: 1.55;
}

.pricing-card-secondary-actions {
    display: grid;
    gap: 0.8rem;
}

.pricing-card-cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 800;
    font-family: "Josefin Sans", sans-serif !important;
    letter-spacing: 0;
    background: var(--pricing-cta-bg);
    color: var(--pricing-cta-text);
    box-shadow: 0 12px 30px rgba(var(--pricing-accent-rgb), 0.2);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    border: 1px solid transparent;
}

.pricing-card-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricing-card-cta-icon svg {
    display: block;
}

.pricing-card-standard {
    min-height: 100%;
}

.pricing-card-standard .pricing-card-title {
    font-size: 2rem;
}

.pricing-card-standard .pricing-card-copy {
    margin-bottom: 1.35rem;
}

.pricing-card-free {
    min-height: 100%;
}

.pricing-card-free .pricing-card-inner {
    padding: 1.7rem;
}

.pricing-card-free .pricing-card-features {
    margin-bottom: 1.1rem;
}

.pricing-card-cta-free {
    background: linear-gradient(135deg, #ddffe1 0%, #99f2b1 42%, #67da87 100%);
    color: #062d15;
    border-color: rgba(111, 225, 142, 0.42);
    box-shadow:
        0 16px 30px rgba(95, 214, 127, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pricing-card-cta-free:hover {
    background: linear-gradient(135deg, #ebffed 0%, #a7f5bc 42%, #78e194 100%);
    box-shadow:
        0 18px 34px rgba(95, 214, 127, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.pricing-card-cta-free .pricing-card-cta-icon {
    color: #0b5f2b;
}

.pricing-card-enterprise {
    border-radius: 1.85rem;
    border-width: 2px;
    border-color: rgba(120, 219, 142, 0.38);
    background:
        radial-gradient(circle at 82% 22%, rgba(120, 219, 142, 0.1), transparent 26%),
        linear-gradient(140deg, rgba(19, 29, 23, 0.98) 0%, rgba(11, 14, 13, 0.98) 100%);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        0 10px 28px rgba(120, 219, 142, 0.06);
}

.pricing-card-enterprise .pricing-card-inner {
    padding: 1.9rem;
}

.pricing-card-enterprise .pricing-card-pattern {
    opacity: 0.2;
}

.pricing-card-inner-enterprise {
    gap: 1.5rem;
}

.pricing-enterprise-head {
    display: grid;
    gap: 1.1rem;
}

.pricing-enterprise-copy {
    min-width: 0;
}

.pricing-card-top-enterprise {
    margin-bottom: 1.25rem;
}

.pricing-overline-enterprise {
    color: #8fe6a1;
}

.pricing-card-copy-enterprise {
    margin-bottom: 0;
}

.pricing-enterprise-title {
    font-size: 2rem;
    line-height: 1.02;
}

.pricing-enterprise-intro {
    max-width: 42rem;
}

.pricing-card-features-enterprise {
    margin-bottom: 0;
}

.pricing-enterprise-feature-grid {
    display: grid;
    gap: 0.9rem 1.8rem;
}

.pricing-enterprise-feature-grid li {
    margin-bottom: 0;
    align-items: flex-start;
    gap: 1.1rem;
    line-height: 1.38;
}

.pricing-card-features-enterprise .pricing-card-check {
    margin-top: 0.44rem;
}

.pricing-card-features-enterprise .pricing-card-features-short,
.pricing-card-features-enterprise .pricing-card-features-full {
    row-gap: 1.2rem;
}

[data-pricing-secondary-card] .pricing-card-features-full {
    display: block;
}

[data-pricing-secondary-card] .pricing-card-enterprise-note {
    display: block;
}

[data-pricing-secondary-card] .pricing-card-features-short {
    display: none;
}

[data-pricing-secondary-card] .pricing-card-check {
    width: 0.35rem;
    height: 0.35rem;
    margin-top: 0.5rem;
    border-radius: 9999px;
    background: #7fe89a;
    box-shadow:
        0 0 0 4px rgba(127, 232, 154, 0.07),
        0 0 12px rgba(127, 232, 154, 0.16);
}

[data-pricing-secondary-card] .pricing-card-check::before {
    content: none;
}

.pricing-card-enterprise .pricing-card-features {
    margin-bottom: 1.3rem;
}

.pricing-card-secondary-actions-enterprise {
    margin-top: auto;
}

.pricing-card-cta-enterprise {
    max-width: 17.5rem;
    margin-left: 0;
}

.pricing-compare-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(63, 74, 63, 0.9);
    background: #1b1c22;
    color: #e0e1e7;
    font-size: 1rem;
    font-weight: 800;
    font-family: "Josefin Sans", sans-serif !important;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.pricing-compare-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(120, 219, 142, 0.9);
    background: #272730;
    box-shadow: 0 18px 28px rgba(120, 219, 142, 0.08);
}

.pricing-compare-toggle [data-pricing-compare-icon] {
    color: #78db8e;
}

@media (min-width: 768px) {
    .factory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .factory-carousel-frame {
        width: 9rem;
        border-radius: 1.25rem;
    }

}

@media (min-width: 1024px) {
    .factory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .pricing-secondary-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
        align-items: stretch;
    }

    .pricing-enterprise-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-enterprise-head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .pricing-card-enterprise .pricing-card-inner {
        padding: 1.75rem 1.55rem 1.6rem;
    }
}

@media (max-width: 768px) {
    .pricing-card-inner {
        padding: 1.25rem;
    }

    .pricing-card-standard .pricing-card-title,
    .pricing-enterprise-title {
        font-size: 1.8rem;
    }

    .pricing-card-features li {
        font-size: 0.95rem;
    }

    .pricing-card-check {
        width: 1.4rem;
        height: 1.4rem;
        border-radius: 9999px;
    }

    .pricing-card-check::before {
        left: 0.45rem;
        top: 0.26rem;
        width: 0.26rem;
        height: 0.56rem;
    }

    [data-pricing-secondary-card] .pricing-card-check {
        width: 0.31rem;
        height: 0.31rem;
        margin-top: 0.48rem;
    }

    .pricing-card-enterprise .pricing-card-inner,
    .pricing-card-free .pricing-card-inner {
        padding: 1.35rem;
    }

    .factory-shell {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .factory-carousel-wrap {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .factory-carousel-item {
        margin: 0 1.35rem;
    }

    .factory-carousel-frame {
        width: 7.8rem;
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-green);
}

.section-tag::before {
    content: none;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 24px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.social-link:hover {
    color: white;
    border-color: rgba(var(--brand-green-rgb), 0.4);
    background: rgba(var(--brand-green-rgb), 0.12);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(0, 0, 0, 0.22);
}

.social-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.footer-brand {
    min-height: 2.5rem;
}

.footer-logo {
    opacity: 0.96;
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.06))
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.footer-socials {
    color: rgba(255, 255, 255, 0.86);
}

.footer-nav {
    justify-content: flex-start;
    text-align: left;
    color: #d1d5db;
}

.footer-legal {
    font-size: 0.68rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.text-gradient-green {
    display: inline-block;
    line-height: 1.08;
    padding-top: 0.08em;
    background: linear-gradient(135deg, #00D06C, #00f080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-cta {
    background: linear-gradient(135deg, #061a0e, #0a2e1d, #051510);
}

.bg-noise {
    position: relative;
}

.bg-noise::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 128px;
    pointer-events: none;
    z-index: 0;
}

.come-funziona-compact {
    max-width: 72rem;
}

.come-funziona-grid {
    align-items: stretch;
}

.come-funziona-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.028) 0%,
        rgba(255, 255, 255, 0.012) 100%
    );
}

.come-funziona-media {
    position: relative;
    overflow: hidden;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    aspect-ratio: 16 / 9;
}

.come-funziona-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.02);
}

.come-funziona-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.come-funziona-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
}

.come-funziona-badge.is-step-1 {
    color: var(--brand-green);
    border-color: rgba(var(--brand-green-rgb), 0.22);
    background: rgba(var(--brand-green-rgb), 0.08);
}

.come-funziona-badge.is-step-2 {
    color: #9cc8ff;
    border-color: rgba(96, 165, 250, 0.22);
    background: rgba(59, 130, 246, 0.08);
}

.come-funziona-badge.is-step-3 {
    color: #d2bcff;
    border-color: rgba(168, 85, 247, 0.22);
    background: rgba(168, 85, 247, 0.08);
}

.come-funziona-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
    line-height: 1.05;
}

.come-funziona-text {
    margin: 0;
    color: #a5a5a5;
    font-size: 0.98rem !important;
    line-height: 1.65;
}

::selection {
    background: rgba(var(--brand-green-rgb), 0.3);
    color: white;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh !important;
        min-height: 100svh !important;
        height: auto !important;
        justify-content: flex-start !important;
        overflow: visible !important;
        padding-top: max(clamp(5.25rem, 11svh, 7rem), env(safe-area-inset-top)) !important;
        padding-bottom: max(clamp(1.5rem, 4svh, 2.5rem), env(safe-area-inset-bottom)) !important;
    }

    .hero-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-title {
        margin-bottom: clamp(1.25rem, 3.2svh, 2rem) !important;
    }

    .hero-title > span:first-child {
        font-size: 1.35rem !important;
    }

    .hero-title .text-gradient-green {
        font-size: 2.7rem !important;
        margin-top: clamp(0.8rem, 2.4svh, 1.25rem) !important;
        line-height: 1.02;
    }

    .hero-content .hero-copy {
        font-size: 1.035rem !important;
        margin-bottom: clamp(1.75rem, 4svh, 2.5rem) !important;
        line-height: 1.5;
    }

    .hero-cta-group {
        gap: clamp(0.75rem, 2svh, 1rem) !important;
    }

    .hero-cta-button {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .hero-cta-button i {
        flex: 0 0 auto;
    }

    .hero-logo-wall {
        margin-top: clamp(2.5rem, 7svh, 4.25rem) !important;
        margin-bottom: clamp(0.75rem, 2svh, 1.25rem) !important;
    }

    .hero-scroll-cue {
        position: relative !important;
        bottom: auto !important;
        margin-top: clamp(1.25rem, 3svh, 2rem);
        margin-bottom: 0;
        animation: none !important;
        transform: none !important;
    }

    .footer-nav {
        align-self: center !important;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .logo-carousel img {
        height: 60px;
        margin: 0;
    }

    .logo-item {
        width: 7.75rem;
        margin: 0 1.15rem;
        gap: 0.65rem;
    }

    .logo-item span {
        font-size: 0.66rem;
        line-height: 1.22;
        letter-spacing: 0.12em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-nav-panel {
        width: 100%;
    }

    .login-modal-card {
        padding: 1.5rem;
    }

    .sales-modal-card {
        padding: 1.5rem;
    }

    .sales-form-grid {
        grid-template-columns: 1fr;
    }

    .sales-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .sales-submit-button {
        width: 100%;
    }

    .come-funziona-card {
        padding: 0.95rem;
    }

    .come-funziona-copy {
        gap: 0.65rem;
    }

    .come-funziona-text {
        font-size: 0.95rem !important;
    }

}

@media (max-width: 768px) and (max-height: 860px) {
    .hero-section {
        padding-top: max(clamp(4.75rem, 10svh, 5.75rem), env(safe-area-inset-top)) !important;
        padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
    }

    .hero-title {
        margin-bottom: 1rem !important;
    }

    .hero-copy {
        margin-bottom: 1.35rem !important;
        line-height: 1.42;
    }

    .hero-logo-wall {
        margin-top: 2rem !important;
    }

    .hero-scroll-cue {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .slide-left,
    .slide-right,
    .scale-in,
    .stagger-child {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0ms !important;
    }

    .glow-pulse,
    .logo-carousel,
    .hero-scroll-cue {
        animation: none !important;
    }
}

/* --- B2B REFACTORING UPDATES --- */

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-green);
}

.section-tag::before {
    content: "";
    width: 12px;
    height: 2px;
    background: var(--brand-green);
}

/* Pricing Overlines & Groups */
.pricing-overline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: block;
}

.pricing-group-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0 1rem;
    opacity: 0.7;
}

.pricing-group-header span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-green);
    white-space: nowrap;
}

.pricing-group-header::before,
.pricing-group-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--brand-green-rgb), 0.3), transparent);
}

/* Split cards - Section 3 */
.split-card {
    position: relative;
    border-radius: 2rem;
    padding: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.split-card:hover {
    transform: translateY(-10px);
}

.split-card-business {
    border: 1px solid rgba(var(--brand-green-rgb), 0.3);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
}

.split-card-creator {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.6);
}

/* Logo strip in Hero */
.hero-logo-wall {
    padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
}

.hero-logo-heading {
    max-width: min(36rem, 100%);
    margin-inline: auto;
    padding-inline: 0.75rem;
    line-height: 1.55;
}

.hero-logo-strip {
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
}

.logo-carousel.hero-logo-strip img {
    height: 60px;
    opacity: 0.5;
    margin: 0;
}

.logo-carousel.hero-logo-strip img:hover {
    opacity: 1;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .logo-carousel.hero-logo-strip img {
        height: 72px;
        max-width: 72px;
        object-fit: contain;
    }

    .hero-logo-wall {
        padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
    }

    .hero-logo-heading {
        padding-inline: 1rem;
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        letter-spacing: 0.16em !important;
    }
}

/* Factory Inline version */
.factory-section-inline {
    background: transparent;
    border: none;
    box-shadow: none;
}
